/packages/apps/Settings/tests/unit/src/com/android/settings/safetycenter/ |
D | LockScreenSafetySourceTest.java | 151 SafetySourceData safetySourceData = captor.getValue(); in setSafetySourceData_whenScreenLockIsEnabled_setData() local 152 SafetySourceStatus safetySourceStatus = safetySourceData.getStatus(); in setSafetySourceData_whenScreenLockIsEnabled_setData() 182 SafetySourceData safetySourceData = captor.getValue(); in setSafetySourceData_whenPwdQualIsNotMan_whenLockPattIsSec_setStatusLevelInfo() local 183 SafetySourceStatus safetySourceStatus = safetySourceData.getStatus(); in setSafetySourceData_whenPwdQualIsNotMan_whenLockPattIsSec_setStatusLevelInfo() 203 SafetySourceData safetySourceData = captor.getValue(); in setSafetySourceData_whenPwdQualIsNotMan_whenLockPattIsNotSec_setStatusLevelRec() local 204 SafetySourceStatus safetySourceStatus = safetySourceData.getStatus(); in setSafetySourceData_whenPwdQualIsNotMan_whenLockPattIsNotSec_setStatusLevelRec() 224 SafetySourceData safetySourceData = captor.getValue(); in setSafetySourceData_whenPwdQualIsMan_whenLockPattIsSec_setStatusLevelUnsp() local 225 SafetySourceStatus safetySourceStatus = safetySourceData.getStatus(); in setSafetySourceData_whenPwdQualIsMan_whenLockPattIsSec_setStatusLevelUnsp() 245 SafetySourceData safetySourceData = captor.getValue(); in setSafetySourceData_whenPwdQualIsMan_whenLockPattIsNotSec_setStatusLevelUnsp() local 246 SafetySourceStatus safetySourceStatus = safetySourceData.getStatus(); in setSafetySourceData_whenPwdQualIsMan_whenLockPattIsNotSec_setStatusLevelUnsp() [all …]
|
D | BiometricsSafetySourceTest.java | 600 SafetySourceData safetySourceData = captor.getValue(); in assertSafetySourceDisabledDataSet() local 601 SafetySourceStatus safetySourceStatus = safetySourceData.getStatus(); in assertSafetySourceDisabledDataSet() 619 SafetySourceData safetySourceData = captor.getValue(); in assertSafetySourceEnabledDataSet() local 620 SafetySourceStatus safetySourceStatus = safetySourceData.getStatus(); in assertSafetySourceEnabledDataSet()
|
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/ |
D | SafetySourceDataTest.kt | 49 val safetySourceData = in getStatus_withDefaultBuilder_returnsNull() constant 52 assertThat(safetySourceData.status).isNull() in getStatus_withDefaultBuilder_returnsNull() 58 val safetySourceData = SafetySourceData.Builder().setStatus(status).build() in getStatus_whenSetExplicitly_returnsStatus() constant 60 assertThat(safetySourceData.status).isEqualTo(status) in getStatus_whenSetExplicitly_returnsStatus() 65 val safetySourceData = in getIssues_withDefaultBuilder_returnsEmptyList() constant 68 assertThat(safetySourceData.issues).isEmpty() in getIssues_withDefaultBuilder_returnsEmptyList() 75 val safetySourceData = in getIssues_whenSetExplicitly_returnsIssues() constant 78 assertThat(safetySourceData.issues).containsExactly(firstIssue, secondIssue).inOrder() in getIssues_whenSetExplicitly_returnsIssues() 85 val safetySourceData = in clearIssues_removesAllIssues() constant 93 assertThat(safetySourceData.issues).isEmpty() in clearIssues_removesAllIssues() [all …]
|
D | SafetyCenterManagerTest.kt | 224 CTS_SOURCE_ID, safetySourceData = null, EVENT_SOURCE_STATE_CHANGED) in setSafetySourceData_null_clearsValue() 478 CTS_SOURCE_ID, safetySourceData = null, EVENT_SOURCE_STATE_CHANGED) in addOnSafetyCenterDataChangedListener_listenerCalledWhenSafetySourceDataCleared() 494 CTS_SOURCE_ID, safetySourceData = null, EVENT_SOURCE_STATE_CHANGED) in addOnSafetyCenterDataChangedListener_listenerNotCalledWhenSafetySourceDataStaysNull()
|
/packages/modules/Permission/service/java/com/android/safetycenter/ |
D | SafetyCenterDataTracker.java | 91 @Nullable SafetySourceData safetySourceData, in setSafetySourceData() argument 101 if (Objects.equals(safetySourceData, existingSafetySourceData)) { in setSafetySourceData() 105 mSafetySourceDataForKey.put(key, safetySourceData); in setSafetySourceData() 275 SafetySourceData safetySourceData = mSafetySourceDataForKey.get(key); in addSafetyCenterIssues() local 276 if (safetySourceData == null) { in addSafetyCenterIssues() 280 List<SafetySourceIssue> safetySourceIssues = safetySourceData.getIssues(); in addSafetyCenterIssues() 519 @Nullable SafetySourceData safetySourceData) { in getSafetySourceStatus() 520 if (safetySourceData == null) { in getSafetySourceStatus() 524 return safetySourceData.getStatus(); in getSafetySourceStatus()
|
D | SafetyCenterService.java | 123 @Nullable SafetySourceData safetySourceData, in setSafetySourceData() argument 145 safetySourceId, safetySourceData, packageName, userId); in setSafetySourceData()
|
/packages/apps/Settings/src/com/android/settings/safetycenter/ |
D | SafetyCenterManagerWrapper.java | 52 SafetySourceData safetySourceData, in setSafetySourceData() argument 65 safetySourceData, in setSafetySourceData()
|
D | LockScreenSafetySource.java | 93 final SafetySourceData safetySourceData = safetySourceDataBuilder.build(); in setSafetySourceData() local 98 safetySourceData, in setSafetySourceData()
|
D | BiometricsSafetySource.java | 138 final SafetySourceData safetySourceData = in setBiometricSafetySourceData() local 142 context, SAFETY_SOURCE_ID, safetySourceData, safetyEvent); in setBiometricSafetySourceData()
|
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/testing/ |
D | SafetyCenterApisWithShellPermissions.kt | 51 safetySourceData: SafetySourceData?, in SafetyCenterManager() 55 { setSafetySourceData(safetySourceId, safetySourceData, safetyEvent) }, in SafetyCenterManager()
|
/packages/modules/Permission/framework-s/java/android/safetycenter/ |
D | SafetyCenterManager.java | 350 @Nullable SafetySourceData safetySourceData, in setSafetySourceData() argument 358 safetySourceData, in setSafetySourceData()
|
D | ISafetyCenterManager.aidl | 49 in SafetySourceData safetySourceData, in setSafetySourceData() argument
|