/packages/modules/Permission/service/java/com/android/safetycenter/ |
D | SafetyCenterConfigReader.java | 81 SafetyCenterConfig safetyCenterConfig = loadSafetyCenterConfig(); in loadConfig() local 82 if (safetyCenterConfig == null) { in loadConfig() 85 mConfigInternalFromXml = SafetyCenterConfigInternal.from(safetyCenterConfig); in loadConfig() 95 void setConfigOverrideForTests(SafetyCenterConfig safetyCenterConfig) { in setConfigOverrideForTests() argument 96 mConfigInternalOverrideForTests = SafetyCenterConfigInternal.from(safetyCenterConfig); in setConfigOverrideForTests() 243 SafetyCenterConfig safetyCenterConfig = in loadSafetyCenterConfig() local 246 return safetyCenterConfig; in loadSafetyCenterConfig() 272 SafetyCenterConfig safetyCenterConfig, in SafetyCenterConfigInternal() argument 276 mConfig = safetyCenterConfig; in SafetyCenterConfigInternal() 325 private static SafetyCenterConfigInternal from(SafetyCenterConfig safetyCenterConfig) { in from() argument [all …]
|
D | SafetyCenterService.java | 632 public void setSafetyCenterConfigForTests(SafetyCenterConfig safetyCenterConfig) { in setSafetyCenterConfigForTests() argument 633 requireNonNull(safetyCenterConfig); in setSafetyCenterConfigForTests() 644 mSafetyCenterConfigReader.setConfigOverrideForTests(safetyCenterConfig); in setSafetyCenterConfigForTests()
|
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/config/ |
D | XmlConfigTest.kt | 52 val safetyCenterConfig = safetyCenterManager.getSafetyCenterConfigWithPermission() in safetyCenterConfigResource_validConfig() constant 54 assertThat(parsedSafetyCenterConfig).isEqualTo(safetyCenterConfig) in safetyCenterConfigResource_validConfig() 81 val safetyCenterConfig = parseXmlConfig() in isIntentInConfig() constant 82 return safetyCenterConfig.safetySourcesGroups in isIntentInConfig() 90 safetyCenterResourcesApk.safetyCenterConfig!!, in parseXmlConfig()
|
/packages/modules/Permission/SafetyCenter/Config/tests/java/com/android/safetycenter/config/ |
D | ParserConfigOverlayTest.kt | 41 val safetyCenterConfig = in <lambda>() constant 44 assertThat(safetyCenterConfig.safetySourcesGroups.size).isEqualTo(1) in <lambda>() 45 val safetySourcesGroup = safetyCenterConfig.safetySourcesGroups[0] in <lambda>() 75 val safetyCenterConfig = in <lambda>() constant 78 assertThat(safetyCenterConfig.safetySourcesGroups.size).isEqualTo(1) in <lambda>() 79 val safetySourcesGroup = safetyCenterConfig.safetySourcesGroups[0] in <lambda>()
|
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/ |
D | SafetyCenterTestHelper.kt | 87 val safetyCenterConfig = safetyCenterManager.getSafetyCenterConfigWithPermission() in setEnabled() constant 88 if (safetyCenterConfig == null) { in setEnabled() 100 setEnabledWaitingForSafetyCenterBroadcastIdle(value, safetyCenterConfig) in setEnabled() 161 safetyCenterConfig: SafetyCenterConfig in setEnabledWaitingForSafetyCenterBroadcastIdle() 168 if (safetyCenterConfig.containsTestSource()) { in setEnabledWaitingForSafetyCenterBroadcastIdle()
|
D | SafetyCenterApisWithShellPermissions.kt | 104 callWithShellPermissionIdentity(MANAGE_SAFETY_CENTER) { safetyCenterConfig } in SafetyCenterManager() 173 safetyCenterConfig: SafetyCenterConfig in SafetyCenterManager() 176 setSafetyCenterConfigForTests(safetyCenterConfig) in SafetyCenterManager()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/ |
D | InteractionLogger.kt | 56 safetyCenterConfig: SafetyCenterConfig? 57 ) : this(extractNoLogSourceIds(safetyCenterConfig)) 157 private fun extractNoLogSourceIds(safetyCenterConfig: SafetyCenterConfig?): Set<String?> { in extractNoLogSourceIds() 158 if (safetyCenterConfig == null) return setOf() in extractNoLogSourceIds() 160 return safetyCenterConfig.safetySourcesGroups in extractNoLogSourceIds()
|
D | SafetyCenterActivity.java | 309 SafetyCenterConfig safetyCenterConfig = mSafetyCenterManager.getSafetyCenterConfig(); in getParentGroupId() local 321 if (safetyCenterConfig == null || splitKey.length == 0) { in getParentGroupId() 325 List<SafetySourcesGroup> groups = safetyCenterConfig.getSafetySourcesGroups(); in getParentGroupId()
|
/packages/modules/Permission/framework-s/java/android/safetycenter/config/ |
D | SafetyCenterConfig.java | 123 public Builder(@NonNull SafetyCenterConfig safetyCenterConfig) { in Builder() argument 128 requireNonNull(safetyCenterConfig); in Builder() 129 mSafetySourcesGroups.addAll(safetyCenterConfig.mSafetySourcesGroups); in Builder()
|
/packages/modules/Permission/framework-s/java/android/safetycenter/ |
D | SafetyCenterManager.java | 631 public void setSafetyCenterConfigForTests(@NonNull SafetyCenterConfig safetyCenterConfig) { in setSafetyCenterConfigForTests() argument 632 requireNonNull(safetyCenterConfig, "safetyCenterConfig cannot be null"); in setSafetyCenterConfigForTests() 635 mService.setSafetyCenterConfigForTests(safetyCenterConfig); in setSafetyCenterConfigForTests()
|
D | ISafetyCenterManager.aidl | 128 void setSafetyCenterConfigForTests(in SafetyCenterConfig safetyCenterConfig); in setSafetyCenterConfigForTests() argument
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/model/ |
D | LiveSafetyCenterViewModel.kt | 60 InteractionLogger(safetyCenterManager.safetyCenterConfig) in <lambda>() 157 safetyCenterManager.safetyCenterConfig?.safetySourcesGroups?.find { in <lambda>()
|
/packages/modules/Permission/SafetyCenter/ResourcesLib/tests/java/com/android/safetycenter/resources/ |
D | SafetyCenterResourcesApkTest.kt | 123 val config = resourcesApk.safetyCenterConfig in getSafetyCenterConfig_withValidInputs_returnsConfigContent() 162 assertFailsWith(IllegalStateException::class) { resourcesApk.safetyCenterConfig } in getSafetyCenterConfig_nullContext_throwsRegardlessOfFallback()
|
/packages/modules/Permission/SafetyCenter/Config/java/com/android/safetycenter/config/ |
D | SafetyCenterConfigParser.java | 120 SafetyCenterConfig safetyCenterConfig = parseSafetyCenterConfig(parser, resources); in parseXmlResource() local 127 return safetyCenterConfig; in parseXmlResource()
|
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/ |
D | SafetyCenterUnsupportedTest.kt | 239 assertFailsWith(SecurityException::class) { safetyCenterManager.safetyCenterConfig } in getSafetyCenterConfig_withoutPermission_throwsSecurityException()
|
D | SafetyCenterManagerTest.kt | 1541 assertFailsWith(SecurityException::class) { safetyCenterManager.safetyCenterConfig } in getSafetyCenterConfig_withoutPermission_throwsSecurityException()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/service/ |
D | SafetyCenterSearchIndexablesProvider.kt | 243 safetyCenterConfig?.safetySourcesGroups?.asSequence()?.filter { in <lambda>()
|