Home
last modified time | relevance | path

Searched refs:setSafetySourceData (Results 1 – 25 of 35) sorted by relevance

12

/packages/apps/Settings/tests/unit/src/com/android/settings/safetycenter/
DLockScreenSafetySourceTest.java94 LockScreenSafetySource.setSafetySourceData( in setSafetySourceData_whenScreenLockEnabled_safetyCenterDisabled_doesNotSetData()
98 .setSafetySourceData(any(), any(), any(), any()); in setSafetySourceData_whenScreenLockEnabled_safetyCenterDisabled_doesNotSetData()
106 LockScreenSafetySource.setSafetySourceData( in setSafetySourceData_whenScreenLockIsDisabled_setsNullData()
110 .setSafetySourceData( in setSafetySourceData_whenScreenLockIsDisabled_setsNullData()
119 LockScreenSafetySource.setSafetySourceData( in setSafetySourceData_setsDataForLockscreenSafetySource()
123 .setSafetySourceData( in setSafetySourceData_setsDataForLockscreenSafetySource()
132 LockScreenSafetySource.setSafetySourceData( in setSafetySourceData_setsDataWithCorrectSafetyEvent()
136 .setSafetySourceData(any(), any(), any(), eq(EVENT_SOURCE_STATE_CHANGED)); in setSafetySourceData_setsDataWithCorrectSafetyEvent()
144 LockScreenSafetySource.setSafetySourceData( in setSafetySourceData_whenScreenLockIsEnabled_setData()
149 .setSafetySourceData(any(), any(), captor.capture(), any()); in setSafetySourceData_whenScreenLockIsEnabled_setData()
[all …]
DBiometricsSafetySourceTest.java117 BiometricsSafetySource.setSafetySourceData(mApplicationContext, EVENT_SOURCE_STATE_CHANGED); in setSafetyData_whenSafetyCenterIsDisabled_doesNotSetData()
120 .setSafetySourceData(any(), any(), any(), any()); in setSafetyData_whenSafetyCenterIsDisabled_doesNotSetData()
129 BiometricsSafetySource.setSafetySourceData(mApplicationContext, EVENT_SOURCE_STATE_CHANGED); in setSafetySourceData_whenSafetyCenterIsEnabled_withoutBiometrics_setsNullData()
132 .setSafetySourceData( in setSafetySourceData_whenSafetyCenterIsEnabled_withoutBiometrics_setsNullData()
144 BiometricsSafetySource.setSafetySourceData(mApplicationContext, EVENT_SOURCE_STATE_CHANGED); in setSafetySourceData_setsDataForBiometricSource()
147 .setSafetySourceData( in setSafetySourceData_setsDataForBiometricSource()
159 BiometricsSafetySource.setSafetySourceData(mApplicationContext, EVENT_SOURCE_STATE_CHANGED); in setSafetySourceData_setsDataWithCorrectSafetyEvent()
162 .setSafetySourceData(any(), any(), any(), eq(EVENT_SOURCE_STATE_CHANGED)); in setSafetySourceData_setsDataWithCorrectSafetyEvent()
174 BiometricsSafetySource.setSafetySourceData(mApplicationContext, EVENT_SOURCE_STATE_CHANGED); in setSafetySourceData_withFingerprintNotEnrolled_whenDisabledByAdmin_setsData()
189 BiometricsSafetySource.setSafetySourceData(mApplicationContext, EVENT_SOURCE_STATE_CHANGED); in setSafetySourceData_withFingerprintNotEnrolled_whenNotDisabledByAdmin_setsData()
[all …]
DSafetySourceBroadcastReceiverTest.java98 .setSafetySourceData(any(), any(), any(), any()); in onReceive_onRefresh_whenSafetyCenterIsDisabled_doesNotSetData()
114 .setSafetySourceData(any(), any(), any(), any()); in onReceive_onRefresh_whenSafetyCenterIsEnabled_withNoIntentAction_doesNotSetData()
128 .setSafetySourceData(any(), any(), any(), any()); in onReceive_onRefresh_whenSafetyCenterIsEnabled_withNullSourceIds_doesNotSetData()
143 .setSafetySourceData(any(), any(), any(), any()); in onReceive_onRefresh_whenSafetyCenterIsEnabled_withNoSourceIds_doesNotSetData()
159 .setSafetySourceData(any(), any(), any(), any()); in onReceive_onRefresh_whenSafetyCenterIsEnabled_withNoBroadcastId_doesNotSetData()
176 .setSafetySourceData(any(), any(), any(), captor.capture()); in onReceive_onRefresh_setsRefreshEvent()
199 .setSafetySourceData(any(), captor.capture(), any(), any()); in onReceive_onRefresh_withLockscreenSourceId_setsLockscreenData()
218 .setSafetySourceData(any(), captor.capture(), any(), any()); in onReceive_onRefresh_withBiometricsSourceId_setsBiometricData()
241 .setSafetySourceData(any(), captor.capture(), any(), any()); in onReceive_onRefresh_withPrivateSpaceSourceId_setsPrivateSpaceData()
264 .setSafetySourceData(any(), any(), captor.capture(), any()); in onReceive_onRefresh_withPrivateSpaceFeatureDisabled_setsNullData()
[all …]
/packages/apps/Settings/tests/unit/src/com/android/settings/privatespace/
DPrivateSpaceSafetySourceTest.java83 PrivateSpaceSafetySource.setSafetySourceData(mContext, EVENT_TYPE_DEVICE_REBOOTED); in onDeviceRebootedEvent_whenSafetyCenterDisabled_doesNotSetData()
85 verify(mSafetyCenterManagerWrapper, never()).setSafetySourceData( in onDeviceRebootedEvent_whenSafetyCenterDisabled_doesNotSetData()
96 PrivateSpaceSafetySource.setSafetySourceData(mContext, EVENT_TYPE_DEVICE_REBOOTED); in onDeviceRebootedEvent_whenSafetyCenterEnabled_setsData()
98 verify(mSafetyCenterManagerWrapper).setSafetySourceData( in onDeviceRebootedEvent_whenSafetyCenterEnabled_setsData()
109 PrivateSpaceSafetySource.setSafetySourceData(mContext, EVENT_TYPE_DEVICE_REBOOTED); in setSafetySourceData_whenFeatureDisabled_setsNullData()
112 verify(mSafetyCenterManagerWrapper).setSafetySourceData( in setSafetySourceData_whenFeatureDisabled_setsNullData()
125 PrivateSpaceSafetySource.setSafetySourceData(mContext, EVENT_TYPE_DEVICE_REBOOTED); in setSafetySourceData_setsEnabled()
128 verify(mSafetyCenterManagerWrapper).setSafetySourceData( in setSafetySourceData_setsEnabled()
142 PrivateSpaceSafetySource.setSafetySourceData(mContext, EVENT_TYPE_DEVICE_REBOOTED); in setSafetySourceData_setsPsAuthenticatorIntent()
145 verify(mSafetyCenterManagerWrapper).setSafetySourceData( in setSafetySourceData_setsPsAuthenticatorIntent()
[all …]
/packages/apps/Settings/src/com/android/settings/safetycenter/
DSafetySourceBroadcastReceiver.java76 LockScreenSafetySource.setSafetySourceData(context, in refreshSafetySources()
81 BiometricsSafetySource.setSafetySourceData(context, safetyEvent); in refreshSafetySources()
85 PrivateSpaceSafetySource.setSafetySourceData(context, safetyEvent); in refreshSafetySources()
90 LockScreenSafetySource.setSafetySourceData(context, in refreshAllSafetySources()
92 BiometricsSafetySource.setSafetySourceData(context, safetyEvent); in refreshAllSafetySources()
93 PrivateSpaceSafetySource.setSafetySourceData(context, safetyEvent); in refreshAllSafetySources()
DBiometricsSafetySource.java51 public static void setSafetySourceData(Context context, SafetyEvent safetyEvent) { in setSafetySourceData() method in BiometricsSafetySource
70 SafetyCenterManagerWrapper.get().setSafetySourceData( in setSafetySourceData()
183 .setSafetySourceData( in setSafetySourceData()
189 setSafetySourceData( in onBiometricsChanged()
217 .setSafetySourceData(context, SAFETY_SOURCE_ID, safetySourceData, safetyEvent); in setBiometricSafetySourceData()
DLockScreenSafetySource.java52 public static void setSafetySourceData( in setSafetySourceData() method in LockScreenSafetySource
67 .setSafetySourceData( in setSafetySourceData()
113 .setSafetySourceData(context, SAFETY_SOURCE_ID, safetySourceData, safetyEvent); in setSafetySourceData()
118 setSafetySourceData( in onLockScreenChange()
DSafetyCenterManagerWrapper.java53 public void setSafetySourceData(Context context, String safetySourceId, in setSafetySourceData() method in SafetyCenterManagerWrapper
65 safetyCenterManager.setSafetySourceData( in setSafetySourceData()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/safetycenter/
DHealthConnectSafetySourceTest.kt61 safetySource.setSafetySourceData(context, EVENT_SOURCE_STATE_CHANGED) in setSafetySourceData_whenSafetyCenterIsDisabled_doesNotSetData()
64 .setSafetySourceData(any(), any(), any(), any()) in setSafetySourceData_whenSafetyCenterIsDisabled_doesNotSetData()
71 safetySource.setSafetySourceData(context, EVENT_SOURCE_STATE_CHANGED) in setSafetySourceData_whenEntryPointsIsDisabled_setsNullData()
74 .setSafetySourceData( in setSafetySourceData_whenEntryPointsIsDisabled_setsNullData()
80 safetySource.setSafetySourceData(context, EVENT_SOURCE_STATE_CHANGED) in setSafetySourceData_setsData()
99 .setSafetySourceData( in setSafetySourceData_setsData()
DSafetyCenterManagerWrapperTest.kt79 wrapper.setSafetySourceData( in setSafetySourceData_callsSafetyCenterManager()
83 .setSafetySourceData(HEALTH_CONNECT_SOURCE_ID, safetySourceData, safetyEvent) in setSafetySourceData_callsSafetyCenterManager()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/safetycenter/
DHealthConnectSafetySource.kt40 fun setSafetySourceData(context: Context, safetyEvent: SafetyEvent) { in setSafetySourceData() method in com.android.healthconnect.controller.safetycenter.HealthConnectSafetySource
45 safetyCenterManagerWrapper.setSafetySourceData( in setSafetySourceData()
67 safetyCenterManagerWrapper.setSafetySourceData( in setSafetySourceData()
DSafetyCenterManagerWrapper.kt30 fun setSafetySourceData( in setSafetySourceData() method in com.android.healthconnect.controller.safetycenter.SafetyCenterManagerWrapper
42 safetyCenterManager.setSafetySourceData(safetySourceId, safetySourceData, safetyEvent) in setSafetySourceData()
DSafetySourceBroadcastReceiver.kt102 safetySource.setSafetySourceData(context, safetyEvent) in refreshSafetySources()
107 safetySource.setSafetySourceData( in refreshAllSafetySources()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/privacysources/
DWorkPolicyInfoTest.kt158 .setSafetySourceData( in safetyCenterEnabledChanged_safetyCenterEnabled()
183 .setSafetySourceData( in safetyCenterEnabledChanged_safetyCenterEnabled_hasWorkPolicyFalse()
228 .setSafetySourceData( in rescanAndPushSafetyCenterData_eventRebooted_deviceOwner()
275 .setSafetySourceData( in rescanAndPushSafetyCenterData_eventRefresh_deviceOwner()
309 .setSafetySourceData( in rescanAndPushSafetyCenterData_eventUnknown_profileOwner()
329 .setSafetySourceData( in rescanAndPushSafetyCenterData_hasWorkPolicyFalse()
DNotificationListenerPrivacySourceTest.kt199 .setSafetySourceData( in safetyCenterEnabledChanged_doesNotUpdateSafetyCenterData()
228 .setSafetySourceData(SC_NLS_SOURCE_ID, expectedSafetySourceData, expectedSafetyEvent) in rescanAndPushSafetyCenterData_eventDeviceRebooted_updateSafetyCenterData()
255 .setSafetySourceData(SC_NLS_SOURCE_ID, expectedSafetySourceData, expectedSafetyEvent) in rescanAndPushSafetyCenterData_updatesSafetyCenterEventRefresh()
271 .setSafetySourceData(SC_NLS_SOURCE_ID, expectedSafetySourceData, expectedSafetyEvent) in rescanAndPushSafetyCenterData_updatesSafetyCenterEventUnknown()
DAppDataSharingUpdatesPrivacySourceTest.kt151 .setSafetySourceData( in rescanAndPushSafetyCenterData_bothFeaturesEnabled_setsDataWithStatus()
171 .setSafetySourceData(APP_DATA_SHARING_UPDATES_SOURCE_ID, null, expectedSafetyEvent) in rescanAndPushSafetyCenterData_safetyLabelChangeNotificationsDisabled_setsNullData()
192 .setSafetySourceData(APP_DATA_SHARING_UPDATES_SOURCE_ID, null, expectedSafetyEvent) in rescanAndPushSafetyCenterData_bothFeaturesDisabled_setsNullData()
/packages/apps/Settings/src/com/android/settings/privatespace/
DPrivateSpaceSafetySource.java40 public static void setSafetySourceData(Context context, in setSafetySourceData() method in PrivateSpaceSafetySource
72 SafetyCenterManagerWrapper.get().setSafetySourceData( in setSafetySourceData()
92 SafetyCenterManagerWrapper.get().setSafetySourceData( in setSafetySourceData()
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/
DSafetySourceIntentHandler.kt228 is Response.ClearData -> setSafetySourceData(request.sourceId, null, safetyEvent) in processRequest()
230 setSafetySourceData(request.sourceId, response.safetySourceData, safetyEvent) in processRequest()
DSafetyCenterApisWithShellPermissions.kt58 setSafetySourceData(safetySourceId, safetySourceData, safetyEvent) in SafetyCenterManager()
/packages/modules/Permission/framework-s/java/android/safetycenter/
DISafetyCenterManager.aidl48 void setSafetySourceData( in setSafetySourceData() method
DSafetyCenterManager.java367 public void setSafetySourceData( in setSafetySourceData() method in SafetyCenterManager
375 mService.setSafetySourceData( in setSafetySourceData()
/packages/modules/Permission/service/java/com/android/safetycenter/data/
DSafetyCenterDataManager.java132 public boolean setSafetySourceData( in setSafetySourceData() method in SafetyCenterDataManager
164 mSafetySourceDataRepository.setSafetySourceData(safetySourceKey, safetySourceData); in setSafetySourceData()
DSafetySourceDataRepository.java91 boolean setSafetySourceData( in setSafetySourceData() method in SafetySourceDataRepository
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/privacysources/v34/
DAppDataSharingUpdatesPrivacySource.kt91 safetyCenterManager.setSafetySourceData( in rescanAndPushSafetyCenterData()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/privacysources/
DWorkPolicyInfo.kt76 safetyCenterManager.setSafetySourceData( in rescanAndPushSafetyCenterData()

12