Home
last modified time | relevance | path

Searched refs:SafetyCenterConfig (Results 1 – 18 of 18) sorted by relevance

/packages/modules/Permission/framework-s/java/android/safetycenter/config/
DSafetyCenterConfig.java47 public final class SafetyCenterConfig implements Parcelable { class
50 public static final Creator<SafetyCenterConfig> CREATOR =
51 new Creator<SafetyCenterConfig>() {
53 public SafetyCenterConfig createFromParcel(Parcel in) {
64 public SafetyCenterConfig[] newArray(int size) {
65 return new SafetyCenterConfig[size];
71 private SafetyCenterConfig(@NonNull List<SafetySourcesGroup> safetySourcesGroups) { in SafetyCenterConfig() method in SafetyCenterConfig
88 if (!(o instanceof SafetyCenterConfig)) return false; in equals()
89 SafetyCenterConfig that = (SafetyCenterConfig) o; in equals()
123 public Builder(@NonNull SafetyCenterConfig safetyCenterConfig) { in Builder()
[all …]
DSafetyCenterConfig.aidl24 parcelable SafetyCenterConfig;
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/config/
DSafetyCenterConfigTest.kt20 import android.safetycenter.config.SafetyCenterConfig
56 SafetyCenterConfig.Builder() in builder_addSafetySourcesGroup_doesNotMutatePreviouslyBuiltInstance()
80 assertThat(BASE).recreatesEqual(SafetyCenterConfig.CREATOR) in parcelRoundTrip_recreatesEqual()
92 createCopyFromBuilder = { SafetyCenterConfig.Builder(it).build() } in equalsHashCodeToString_usingEqualsHashCodeToStringTester_atLeastAndroidU()
98 createCopyFromBuilder: ((SafetyCenterConfig) -> SafetyCenterConfig)? = null in newTiramisuEqualsHashCodeToStringTester()
101 parcelableCreator = SafetyCenterConfig.CREATOR, in newTiramisuEqualsHashCodeToStringTester()
106 SafetyCenterConfig.Builder() in newTiramisuEqualsHashCodeToStringTester()
112 SafetyCenterConfig.Builder() in newTiramisuEqualsHashCodeToStringTester()
120 SafetyCenterConfig.Builder() in newTiramisuEqualsHashCodeToStringTester()
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/
DSafetyCenterTestConfigs.kt26 import android.safetycenter.config.SafetyCenterConfig
96 val singleSourceWithFakeCert: SafetyCenterConfig
109 val singleSourceWithInvalidCert: SafetyCenterConfig
142 SafetyCenterConfig.Builder()
179 SafetyCenterConfig.Builder()
203 SafetyCenterConfig.Builder()
214 val multipleSourcesWithDeduplicationInfoConfig: SafetyCenterConfig
217 SafetyCenterConfig.Builder()
279 val privacySubpageConfig: SafetyCenterConfig
282 SafetyCenterConfig.Builder()
[all …]
DSafetyCenterTestHelper.kt28 import android.safetycenter.config.SafetyCenterConfig
104 fun setConfig(config: SafetyCenterConfig) { in setConfig()
161 safetyCenterConfig: SafetyCenterConfig in setEnabledWaitingForSafetyCenterBroadcastIdle()
197 private fun SafetyCenterConfig.containsTestSource(): Boolean = in containsTestSource() method
DSafetyCenterApisWithShellPermissions.kt29 import android.safetycenter.config.SafetyCenterConfig
103 fun SafetyCenterManager.getSafetyCenterConfigWithPermission(): SafetyCenterConfig? = in SafetyCenterManager()
173 safetyCenterConfig: SafetyCenterConfig in SafetyCenterManager()
/packages/modules/Permission/service/java/com/android/safetycenter/
DSafetyCenterConfigReader.java28 import android.safetycenter.config.SafetyCenterConfig;
81 SafetyCenterConfig safetyCenterConfig = loadSafetyCenterConfig(); in loadConfig()
95 void setConfigOverrideForTests(SafetyCenterConfig safetyCenterConfig) { in setConfigOverrideForTests()
108 SafetyCenterConfig getSafetyCenterConfig() { in getSafetyCenterConfig()
234 private SafetyCenterConfig loadSafetyCenterConfig() { in loadSafetyCenterConfig()
243 SafetyCenterConfig safetyCenterConfig = in loadSafetyCenterConfig()
266 private final SafetyCenterConfig mConfig;
272 SafetyCenterConfig safetyCenterConfig, in SafetyCenterConfigInternal()
282 private SafetyCenterConfig getSafetyCenterConfig() { in getSafetyCenterConfig()
325 private static SafetyCenterConfigInternal from(SafetyCenterConfig safetyCenterConfig) { in from()
[all …]
DSafetyCenterService.java65 import android.safetycenter.config.SafetyCenterConfig;
444 public SafetyCenterConfig getSafetyCenterConfig() { in getSafetyCenterConfig()
632 public void setSafetyCenterConfigForTests(SafetyCenterConfig safetyCenterConfig) { in setSafetyCenterConfigForTests()
DSafetyCenterDataFactory.java50 import android.safetycenter.config.SafetyCenterConfig;
/packages/modules/Permission/framework-s/java/android/safetycenter/
DISafetyCenterManager.aidl24 import android.safetycenter.config.SafetyCenterConfig;
83 SafetyCenterConfig getSafetyCenterConfig(); in getSafetyCenterConfig()
128 void setSafetyCenterConfigForTests(in SafetyCenterConfig safetyCenterConfig); in setSafetyCenterConfigForTests()
DSafetyCenterManager.java41 import android.safetycenter.config.SafetyCenterConfig;
490 public SafetyCenterConfig getSafetyCenterConfig() { in getSafetyCenterConfig()
631 public void setSafetyCenterConfigForTests(@NonNull SafetyCenterConfig safetyCenterConfig) { in setSafetyCenterConfigForTests()
/packages/modules/Permission/SafetyCenter/Config/java/com/android/safetycenter/config/
DSafetyCenterConfigParser.java33 import android.safetycenter.config.SafetyCenterConfig;
107 public static SafetyCenterConfig parseXmlResource(InputStream in, Resources resources) in parseXmlResource()
120 SafetyCenterConfig safetyCenterConfig = parseSafetyCenterConfig(parser, resources); in parseXmlResource()
133 private static SafetyCenterConfig parseSafetyCenterConfig( in parseSafetyCenterConfig()
140 SafetyCenterConfig.Builder builder = new SafetyCenterConfig.Builder(); in parseSafetyCenterConfig()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/
DInteractionLogger.kt30 import android.safetycenter.config.SafetyCenterConfig
56 safetyCenterConfig: SafetyCenterConfig?
157 private fun extractNoLogSourceIds(safetyCenterConfig: SafetyCenterConfig?): Set<String?> { in extractNoLogSourceIds()
DSafetyCenterActivity.java38 import android.safetycenter.config.SafetyCenterConfig;
309 SafetyCenterConfig safetyCenterConfig = mSafetyCenterManager.getSafetyCenterConfig(); in getParentGroupId()
/packages/modules/Permission/SafetyCenter/Config/tests/java/com/android/safetycenter/config/
DParserConfigValidTest.kt20 import android.safetycenter.config.SafetyCenterConfig
43 SafetyCenterConfig.Builder() in validConfig_matchesExpected()
/packages/modules/Permission/framework-s/api/
Dsystem-current.txt265 …ermission.MANAGE_SAFETY_CENTER) public android.safetycenter.config.SafetyCenterConfig getSafetyCen…
273 …public void setSafetyCenterConfigForTests(@NonNull android.safetycenter.config.SafetyCenterConfig);
546 public final class SafetyCenterConfig implements android.os.Parcelable {
550 …static final android.os.Parcelable.Creator<android.safetycenter.config.SafetyCenterConfig> CREATOR;
553 public static final class SafetyCenterConfig.Builder {
554 ctor public SafetyCenterConfig.Builder();
555 ctor public SafetyCenterConfig.Builder(@NonNull android.safetycenter.config.SafetyCenterConfig);
556 …method @NonNull public android.safetycenter.config.SafetyCenterConfig.Builder addSafetySourcesGrou…
557 method @NonNull public android.safetycenter.config.SafetyCenterConfig build();
/packages/modules/Permission/service/java/com/android/safetycenter/data/
DSafetyCenterDataManager.java31 import android.safetycenter.config.SafetyCenterConfig;
/packages/modules/Permission/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/
DSafetyCenterManagerTest.kt59 import android.safetycenter.config.SafetyCenterConfig in <lambda>()
3825 private fun SafetyCenterConfig?.getDynamicSettingsSources(): List<SafetySource> { in <lambda>() method