/packages/apps/Settings/tests/unit/src/com/android/settings/safetycenter/ |
D | LockScreenSafetySourceTest.java | 94 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 …]
|
D | BiometricsSafetySourceTest.java | 117 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 …]
|
D | SafetySourceBroadcastReceiverTest.java | 98 .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/ |
D | PrivateSpaceSafetySourceTest.java | 83 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/ |
D | SafetySourceBroadcastReceiver.java | 76 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()
|
D | BiometricsSafetySource.java | 51 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()
|
D | LockScreenSafetySource.java | 52 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()
|
D | SafetyCenterManagerWrapper.java | 53 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/ |
D | HealthConnectSafetySourceTest.kt | 61 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()
|
D | SafetyCenterManagerWrapperTest.kt | 79 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/ |
D | HealthConnectSafetySource.kt | 40 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()
|
D | SafetyCenterManagerWrapper.kt | 30 fun setSafetySourceData( in setSafetySourceData() method in com.android.healthconnect.controller.safetycenter.SafetyCenterManagerWrapper 42 safetyCenterManager.setSafetySourceData(safetySourceId, safetySourceData, safetyEvent) in setSafetySourceData()
|
D | SafetySourceBroadcastReceiver.kt | 102 safetySource.setSafetySourceData(context, safetyEvent) in refreshSafetySources() 107 safetySource.setSafetySourceData( in refreshAllSafetySources()
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/privacysources/ |
D | WorkPolicyInfoTest.kt | 158 .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()
|
D | NotificationListenerPrivacySourceTest.kt | 199 .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()
|
D | AppDataSharingUpdatesPrivacySourceTest.kt | 151 .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/ |
D | PrivateSpaceSafetySource.java | 40 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/ |
D | SafetySourceIntentHandler.kt | 228 is Response.ClearData -> setSafetySourceData(request.sourceId, null, safetyEvent) in processRequest() 230 setSafetySourceData(request.sourceId, response.safetySourceData, safetyEvent) in processRequest()
|
D | SafetyCenterApisWithShellPermissions.kt | 58 setSafetySourceData(safetySourceId, safetySourceData, safetyEvent) in SafetyCenterManager()
|
/packages/modules/Permission/framework-s/java/android/safetycenter/ |
D | ISafetyCenterManager.aidl | 48 void setSafetySourceData( in setSafetySourceData() method
|
D | SafetyCenterManager.java | 367 public void setSafetySourceData( in setSafetySourceData() method in SafetyCenterManager 375 mService.setSafetySourceData( in setSafetySourceData()
|
/packages/modules/Permission/service/java/com/android/safetycenter/data/ |
D | SafetyCenterDataManager.java | 132 public boolean setSafetySourceData( in setSafetySourceData() method in SafetyCenterDataManager 164 mSafetySourceDataRepository.setSafetySourceData(safetySourceKey, safetySourceData); in setSafetySourceData()
|
D | SafetySourceDataRepository.java | 91 boolean setSafetySourceData( in setSafetySourceData() method in SafetySourceDataRepository
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/privacysources/v34/ |
D | AppDataSharingUpdatesPrivacySource.kt | 91 safetyCenterManager.setSafetySourceData( in rescanAndPushSafetyCenterData()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/privacysources/ |
D | WorkPolicyInfo.kt | 76 safetyCenterManager.setSafetySourceData( in rescanAndPushSafetyCenterData()
|