/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenPolicyTest.java | 199 ZenPolicy policy = builder.build(); in testZenPolicyMessagesInvalid() local 200 assertEquals(ZenPolicy.STATE_UNSET, policy.getPriorityCategoryMessages()); in testZenPolicyMessagesInvalid() 201 assertEquals(ZenPolicy.PEOPLE_TYPE_UNSET, policy.getPriorityMessageSenders()); in testZenPolicyMessagesInvalid() 202 assertProtoMatches(policy, policy.toProto()); in testZenPolicyMessagesInvalid() 211 ZenPolicy policy = builder.build(); in testZenPolicyCallsInvalid() local 212 assertEquals(ZenPolicy.STATE_ALLOW, policy.getPriorityCategoryCalls()); in testZenPolicyCallsInvalid() 213 assertEquals(ZenPolicy.PEOPLE_TYPE_ANYONE, policy.getPriorityCallSenders()); in testZenPolicyCallsInvalid() 214 assertProtoMatches(policy, policy.toProto()); in testZenPolicyCallsInvalid() 221 ZenPolicy policy = builder.build(); in testEmptyZenPolicy() local 222 assertAllPriorityCategoriesUnsetExcept(policy, -1); in testEmptyZenPolicy() [all …]
|
D | ZenModeFilteringTest.java | 186 Policy policy = new Policy(0, 0, 0, Policy.getAllSuppressedVisualEffects() in testSuppressDNDInfo_yes_VisEffectsAllowed() local 189 assertTrue(mZenModeFiltering.shouldIntercept(ZEN_MODE_IMPORTANT_INTERRUPTIONS, policy, r)); in testSuppressDNDInfo_yes_VisEffectsAllowed() 197 Policy policy = new Policy(0, 0, 0, Policy.getAllSuppressedVisualEffects(), 0); in testSuppressDNDInfo_yes_WrongId() local 199 assertTrue(mZenModeFiltering.shouldIntercept(ZEN_MODE_IMPORTANT_INTERRUPTIONS, policy, r)); in testSuppressDNDInfo_yes_WrongId() 207 Policy policy = new Policy(0, 0, 0, Policy.getAllSuppressedVisualEffects(), 0); in testSuppressDNDInfo_yes_WrongPackage() local 209 assertTrue(mZenModeFiltering.shouldIntercept(ZEN_MODE_IMPORTANT_INTERRUPTIONS, policy, r)); in testSuppressDNDInfo_yes_WrongPackage() 217 Policy policy = new Policy(0, 0, 0, Policy.getAllSuppressedVisualEffects(), 0); in testSuppressDNDInfo_no() local 219 assertFalse(mZenModeFiltering.shouldIntercept(ZEN_MODE_IMPORTANT_INTERRUPTIONS, policy, r)); in testSuppressDNDInfo_no() 220 assertFalse(mZenModeFiltering.shouldIntercept(ZEN_MODE_ALARMS, policy, r)); in testSuppressDNDInfo_no() 221 assertFalse(mZenModeFiltering.shouldIntercept(ZEN_MODE_NO_INTERRUPTIONS, policy, r)); in testSuppressDNDInfo_no() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | NetworkPolicyEditor.java | 63 for (NetworkPolicy policy : policies) { in read() 65 if (policy.limitBytes < -1) { in read() 66 policy.limitBytes = LIMIT_DISABLED; in read() 69 if (policy.warningBytes < -1) { in read() 70 policy.warningBytes = WARNING_DISABLED; in read() 74 mPolicies.add(policy); in read() 98 final NetworkPolicy policy = getPolicy(template); in hasLimitedPolicy() local 99 return policy != null && policy.limitBytes != LIMIT_DISABLED; in hasLimitedPolicy() 103 NetworkPolicy policy = getPolicy(template); in getOrCreatePolicy() local 104 if (policy == null) { in getOrCreatePolicy() [all …]
|
/frameworks/base/core/tests/coretests/src/android/app/admin/ |
D | PackagePolicyTest.java | 77 PackagePolicy policy = new PackagePolicy(PACKAGE_POLICY_BLOCKLIST); in testEmptyBlocklistCreation() local 78 assertEquals(PACKAGE_POLICY_BLOCKLIST, policy.getPolicyType()); in testEmptyBlocklistCreation() 79 assertNotNull(policy.getPackageNames()); in testEmptyBlocklistCreation() 80 assertTrue(policy.getPackageNames().isEmpty()); in testEmptyBlocklistCreation() 85 PackagePolicy policy = new PackagePolicy(PACKAGE_POLICY_ALLOWLIST); in testEmptyAllowlistCreation() local 86 assertEquals(PACKAGE_POLICY_ALLOWLIST, policy.getPolicyType()); in testEmptyAllowlistCreation() 87 assertNotNull(policy.getPackageNames()); in testEmptyAllowlistCreation() 88 assertTrue(policy.getPackageNames().isEmpty()); in testEmptyAllowlistCreation() 93 PackagePolicy policy = new PackagePolicy(PACKAGE_POLICY_ALLOWLIST_AND_SYSTEM); in testEmptyAllowlistAndSystemCreation() local 94 assertEquals(PACKAGE_POLICY_ALLOWLIST_AND_SYSTEM, policy.getPolicyType()); in testEmptyAllowlistAndSystemCreation() [all …]
|
D | PasswordPolicyTest.java | 55 PasswordPolicy policy = testPolicy(PASSWORD_QUALITY_UNSPECIFIED); in testGetMinMetrics_unspecified() local 56 PasswordMetrics minMetrics = policy.getMinMetrics(); in testGetMinMetrics_unspecified() 64 PasswordPolicy policy = testPolicy(PASSWORD_QUALITY_SOMETHING); in testGetMinMetrics_something() local 65 PasswordMetrics minMetrics = policy.getMinMetrics(); in testGetMinMetrics_something() 73 PasswordPolicy policy = testPolicy(PASSWORD_QUALITY_BIOMETRIC_WEAK); in testGetMinMetrics_biometricWeak() local 74 PasswordMetrics minMetrics = policy.getMinMetrics(); in testGetMinMetrics_biometricWeak() 82 PasswordPolicy policy = testPolicy(PASSWORD_QUALITY_NUMERIC); in testGetMinMetrics_numeric() local 83 PasswordMetrics minMetrics = policy.getMinMetrics(); in testGetMinMetrics_numeric() 98 PasswordPolicy policy = testPolicy(PASSWORD_QUALITY_NUMERIC); in testGetMinMetrics_numericDefaultLength() local 99 policy.length = 0; // reset to default in testGetMinMetrics_numericDefaultLength() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/dagger/ |
D | StatusBarPolicyModule.java | 17 package com.android.systemui.statusbar.policy.dagger; 34 import com.android.systemui.statusbar.policy.BluetoothController; 35 import com.android.systemui.statusbar.policy.BluetoothControllerImpl; 36 import com.android.systemui.statusbar.policy.CastController; 37 import com.android.systemui.statusbar.policy.CastControllerImpl; 38 import com.android.systemui.statusbar.policy.ConfigurationController; 39 import com.android.systemui.statusbar.policy.DataSaverController; 40 import com.android.systemui.statusbar.policy.DeviceControlsController; 41 import com.android.systemui.statusbar.policy.DeviceControlsControllerImpl; 42 import com.android.systemui.statusbar.policy.DevicePostureController; [all …]
|
D | SmartRepliesInflationModule.kt | 16 package com.android.systemui.statusbar.policy.dagger 18 import com.android.systemui.statusbar.policy.SmartActionInflater 19 import com.android.systemui.statusbar.policy.SmartActionInflaterImpl 20 import com.android.systemui.statusbar.policy.SmartReplyInflater 21 import com.android.systemui.statusbar.policy.SmartReplyInflaterImpl 22 import com.android.systemui.statusbar.policy.SmartReplyStateInflater 23 import com.android.systemui.statusbar.policy.SmartReplyStateInflaterImpl
|
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Settings/ |
D | strategy_for_usage.pfw | 5 /Policy/policy/usages/unknown/applicable_strategy/strategy = media 6 /Policy/policy/usages/media/applicable_strategy/strategy = media 7 /Policy/policy/usages/voice_communication/applicable_strategy/strategy = phone 8 /Policy/policy/usages/voice_communication_signalling/applicable_strategy/strategy = dtmf 9 /Policy/policy/usages/alarm/applicable_strategy/strategy = sonification 10 /Policy/policy/usages/notification/applicable_strategy/strategy = sonification_respectful 11 /Policy/policy/usages/notification_telephony_ringtone/applicable_strategy/strategy = sonification 12 …/Policy/policy/usages/notification_communication_request/applicable_strategy/strategy = sonificati… 13 …/Policy/policy/usages/notification_communication_instant/applicable_strategy/strategy = sonificati… 14 …/Policy/policy/usages/notification_communication_delayed/applicable_strategy/strategy = sonificati… [all …]
|
D | volumes.pfw | 4 /Policy/policy/streams/voice_call/applicable_volume_profile/volume_profile = voice_call 5 /Policy/policy/streams/system/applicable_volume_profile/volume_profile = system 6 /Policy/policy/streams/ring/applicable_volume_profile/volume_profile = ring 7 /Policy/policy/streams/music/applicable_volume_profile/volume_profile = music 8 /Policy/policy/streams/alarm/applicable_volume_profile/volume_profile = alarm 9 /Policy/policy/streams/notification/applicable_volume_profile/volume_profile = notification 10 /Policy/policy/streams/bluetooth_sco/applicable_volume_profile/volume_profile = bluetooth_sco 11 …/Policy/policy/streams/enforced_audible/applicable_volume_profile/volume_profile = enforced_audible 12 /Policy/policy/streams/tts/applicable_volume_profile/volume_profile = tts 13 /Policy/policy/streams/accessibility/applicable_volume_profile/volume_profile = accessibility [all …]
|
D | device_for_input_source.pfw | 4 component: /Policy/policy/input_sources/default/applicable_input_device/mask 21 component: /Policy/policy/input_sources/mic/applicable_input_device/mask 38 component: /Policy/policy/input_sources/voice_downlink/applicable_input_device/mask 59 component: /Policy/policy/input_sources/voice_call/applicable_input_device/mask 80 component: /Policy/policy/input_sources/voice_uplink/applicable_input_device/mask 101 component: /Policy/policy/input_sources/camcorder/applicable_input_device/mask 121 component: /Policy/policy/input_sources/voice_recognition/applicable_input_device/mask 139 component: /Policy/policy/input_sources/voice_communication/applicable_input_device/mask 156 component: /Policy/policy/input_sources/remote_submix/applicable_input_device/mask 177 component: /Policy/policy/input_sources/hotword/applicable_input_device/mask [all …]
|
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Car/Settings/ |
D | device_for_product_strategies.pfw | 5 … component: /Policy/policy/product_strategies/oem_traffic_anouncement/selected_output_devices/mask 33 /Policy/policy/product_strategies/oem_traffic_anouncement/device_address = BUS08_OEM1 40 … component: /Policy/policy/product_strategies/oem_traffic_anouncement/selected_output_devices/mask 44 … component: /Policy/policy/product_strategies/oem_traffic_anouncement/selected_output_devices/mask 50 component: /Policy/policy/product_strategies/oem_strategy_1/selected_output_devices/mask 78 /Policy/policy/product_strategies/oem_strategy_1/device_address = BUS08_OEM1 85 component: /Policy/policy/product_strategies/oem_strategy_1/selected_output_devices/mask 89 component: /Policy/policy/product_strategies/oem_strategy_1/selected_output_devices/mask 97 component: /Policy/policy/product_strategies/oem_strategy_2/selected_output_devices/mask 125 /Policy/policy/product_strategies/oem_strategy_2/device_address = BUS08_OEM1 [all …]
|
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/CarEmu/Settings/ |
D | device_for_product_strategies.pfw | 5 … component: /Policy/policy/product_strategies/oem_traffic_anouncement/selected_output_devices/mask 33 /Policy/policy/product_strategies/oem_traffic_anouncement/device_address = BUS00_MEDIA 40 … component: /Policy/policy/product_strategies/oem_traffic_anouncement/selected_output_devices/mask 44 … component: /Policy/policy/product_strategies/oem_traffic_anouncement/selected_output_devices/mask 50 component: /Policy/policy/product_strategies/oem_strategy_1/selected_output_devices/mask 78 /Policy/policy/product_strategies/oem_strategy_1/device_address = BUS02_OEM1 85 component: /Policy/policy/product_strategies/oem_strategy_1/selected_output_devices/mask 89 component: /Policy/policy/product_strategies/oem_strategy_1/selected_output_devices/mask 97 component: /Policy/policy/product_strategies/oem_strategy_2/selected_output_devices/mask 125 /Policy/policy/product_strategies/oem_strategy_2/device_address = BUS01_NAV_GUIDANCE [all …]
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | SetPersistentVrThreadTest.java | 93 int vr_thread = 0, policy = 0; in testSetPersistentVrThreadAPISuccess() local 98 policy = (int) Process.getThreadScheduler(vr_thread); in testSetPersistentVrThreadAPISuccess() 99 assertEquals((SCHED_FIFO | SCHED_RESET_ON_FORK), policy); in testSetPersistentVrThreadAPISuccess() 103 policy = (int) Process.getThreadScheduler(vr_thread); in testSetPersistentVrThreadAPISuccess() 104 assertEquals(SCHED_OTHER, policy); in testSetPersistentVrThreadAPISuccess() 113 policy = (int) Process.getThreadScheduler(vr_thread); in testSetPersistentVrThreadAPISuccess() 114 assertEquals((SCHED_FIFO | SCHED_RESET_ON_FORK), policy); in testSetPersistentVrThreadAPISuccess() 117 assertEquals((SCHED_FIFO | SCHED_RESET_ON_FORK), policy); in testSetPersistentVrThreadAPISuccess() 119 policy = (int) Process.getThreadScheduler(vr_thread); in testSetPersistentVrThreadAPISuccess() 120 assertEquals(SCHED_OTHER, policy); in testSetPersistentVrThreadAPISuccess() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/ |
D | BatterySaverPolicyTest.java | 376 Policy policy = Policy.fromSettings( in testUserSettingsOverrideDeviceConfig() local 421 assertEquals(.1f, policy.adjustBrightnessFactor); in testUserSettingsOverrideDeviceConfig() 422 assertTrue(policy.advertiseIsEnabled); in testUserSettingsOverrideDeviceConfig() 423 assertTrue(policy.deferFullBackup); in testUserSettingsOverrideDeviceConfig() 424 assertTrue(policy.deferKeyValueBackup); in testUserSettingsOverrideDeviceConfig() 425 assertTrue(policy.disableAnimation); in testUserSettingsOverrideDeviceConfig() 426 assertTrue(policy.disableAod); in testUserSettingsOverrideDeviceConfig() 427 assertTrue(policy.disableLaunchBoost); in testUserSettingsOverrideDeviceConfig() 428 assertTrue(policy.disableOptionalSensors); in testUserSettingsOverrideDeviceConfig() 429 assertTrue(policy.disableVibration); in testUserSettingsOverrideDeviceConfig() [all …]
|
/frameworks/av/services/mediacodec/ |
D | Android.bp | 48 name: "mediaswcodec.policy", 52 src: "seccomp_policy/mediaswcodec-arm.policy", 55 src: "seccomp_policy/mediaswcodec-arm64.policy", 58 src: "seccomp_policy/mediaswcodec-riscv64.policy", 61 src: "seccomp_policy/mediaswcodec-x86.policy", 64 src: "seccomp_policy/mediaswcodec-x86_64.policy", 68 "crash_dump.policy", 69 "code_coverage.policy", 129 "mediacodec.policy", 141 name: "mediacodec.policy", [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | FactoryResetProtectionPolicyTest.java | 65 FactoryResetProtectionPolicy policy = new FactoryResetProtectionPolicy.Builder() in testNonDefaultFactoryResetProtectionPolicyObject() local 70 testParcelAndUnparcel(policy); in testNonDefaultFactoryResetProtectionPolicyObject() 71 testSerializationAndDeserialization(policy); in testNonDefaultFactoryResetProtectionPolicyObject() 80 FactoryResetProtectionPolicy policy = new FactoryResetProtectionPolicy.Builder() in testInvalidXmlFactoryResetProtectionPolicyObject() local 85 testParcelAndUnparcel(policy); in testInvalidXmlFactoryResetProtectionPolicyObject() 86 testInvalidXmlSerializationAndDeserialization(policy); in testInvalidXmlFactoryResetProtectionPolicyObject() 89 private void testParcelAndUnparcel(FactoryResetProtectionPolicy policy) { in testParcelAndUnparcel() argument 91 policy.writeToParcel(parcel, 0); in testParcelAndUnparcel() 95 assertPoliciesAreEqual(policy, actualPolicy); in testParcelAndUnparcel() 99 private void testSerializationAndDeserialization(FactoryResetProtectionPolicy policy) in testSerializationAndDeserialization() argument [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
D | AlwaysOnDisplayPolicyTest.java | 63 AlwaysOnDisplayPolicy policy = new AlwaysOnDisplayPolicy(mContext); in testPolicy_valueNull_containsDefaultValue() local 65 assertThat(policy.proxScreenOffDelayMs).isEqualTo(10 * DateUtils.SECOND_IN_MILLIS); in testPolicy_valueNull_containsDefaultValue() 66 assertThat(policy.proxCooldownTriggerMs).isEqualTo(2 * DateUtils.SECOND_IN_MILLIS); in testPolicy_valueNull_containsDefaultValue() 67 assertThat(policy.proxCooldownPeriodMs).isEqualTo(5 * DateUtils.SECOND_IN_MILLIS); in testPolicy_valueNull_containsDefaultValue() 68 assertThat(policy.screenBrightnessArray).isEqualTo(mContext.getResources().getIntArray( in testPolicy_valueNull_containsDefaultValue() 70 assertThat(policy.dimmingScrimArray).isEqualTo(mContext.getResources().getIntArray( in testPolicy_valueNull_containsDefaultValue() 79 AlwaysOnDisplayPolicy policy = new AlwaysOnDisplayPolicy(mContext); in testPolicy_valueNotNull_containsValue() local 81 assertThat(policy.proxScreenOffDelayMs).isEqualTo(1000); in testPolicy_valueNotNull_containsValue() 82 assertThat(policy.proxCooldownTriggerMs).isEqualTo(2000); in testPolicy_valueNotNull_containsValue() 83 assertThat(policy.proxCooldownPeriodMs).isEqualTo(3000); in testPolicy_valueNotNull_containsValue() [all …]
|
/frameworks/base/cmds/idmap2/libidmap2/ |
D | PolicyUtils.cpp | 26 using android::idmap2::policy::kPolicyStringToFlag; 33 for (const std::string& policy : policies) { in PoliciesToBitmaskResult() local 35 [policy](const auto& it) { return policy == it.first; }); in PoliciesToBitmaskResult() 39 unknown_policies.emplace_back(policy.empty() ? "empty" : policy); in PoliciesToBitmaskResult() 54 for (const auto& policy : kPolicyStringToFlag) { in BitmaskToPolicies() local 55 if ((bitmask & policy.second) != 0) { in BitmaskToPolicies() 56 policies.emplace_back(policy.first); in BitmaskToPolicies()
|
/frameworks/base/cmds/incidentd/src/ |
D | Privacy.cpp | 39 << " children=" << ((void*)children) << " policy=" << ((int)policy) << "}"; in toString() 53 static bool isAllowed(const uint8_t policy, const uint8_t check) { in isAllowed() argument 56 return policy == PRIVACY_POLICY_LOCAL; in isAllowed() 59 return policy == PRIVACY_POLICY_LOCAL in isAllowed() 60 || policy == PRIVACY_POLICY_EXPLICIT in isAllowed() 61 || policy == PRIVACY_POLICY_UNSET; in isAllowed() 89 uint8_t check = privacy != NULL ? privacy->policy : defaultDest; in CheckPremission() 97 uint8_t cleanup_privacy_policy(uint8_t policy) { in cleanup_privacy_policy() argument 98 if (policy >= PRIVACY_POLICY_AUTOMATIC) { in cleanup_privacy_policy() 101 if (policy >= PRIVACY_POLICY_EXPLICIT) { in cleanup_privacy_policy()
|
/frameworks/av/services/mediaextractor/ |
D | Android.bp | 64 required: ["mediaextractor.policy"], 68 name: "mediaextractor.policy", 72 src: "seccomp_policy/mediaextractor-arm.policy", 75 src: "seccomp_policy/mediaextractor-arm64.policy", 78 src: "seccomp_policy/mediaextractor-riscv64.policy", 81 src: "seccomp_policy/mediaextractor-x86.policy", 84 src: "seccomp_policy/mediaextractor-x86_64.policy", 88 "crash_dump.policy", 89 "code_coverage.policy",
|
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Phone/Settings/ |
D | device_for_product_strategy_media.pfw | 5 component: /Policy/policy/product_strategies/media/selected_output_devices/mask 18 /Policy/policy/product_strategies/media/device_address = 25 component: /Policy/policy/product_strategies/media/selected_output_devices/mask 45 component: /Policy/policy/product_strategies/media/selected_output_devices/mask 65 component: /Policy/policy/product_strategies/media/selected_output_devices/mask 85 component: /Policy/policy/product_strategies/media/selected_output_devices/mask 108 component: /Policy/policy/product_strategies/media/selected_output_devices/mask 126 component: /Policy/policy/product_strategies/media/selected_output_devices/mask 144 component: /Policy/policy/product_strategies/media/selected_output_devices/mask 162 component: /Policy/policy/product_strategies/media/selected_output_devices/mask [all …]
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayAreaPolicyTests.java | 69 final DisplayAreaPolicy policy = result.first; in testGetDefaultTaskDisplayArea() local 71 assertEquals(taskDisplayArea1, policy.getDefaultTaskDisplayArea()); in testGetDefaultTaskDisplayArea() 78 final DisplayAreaPolicy policy = result.first; in testTaskDisplayArea_taskPositionChanged_updatesTaskDisplayAreaPosition() local 87 assertTaskDisplayAreasOrder(policy, taskDisplayArea1, taskDisplayArea2); in testTaskDisplayArea_taskPositionChanged_updatesTaskDisplayAreaPosition() 92 assertTaskDisplayAreasOrder(policy, taskDisplayArea2, taskDisplayArea1); in testTaskDisplayArea_taskPositionChanged_updatesTaskDisplayAreaPosition() 97 assertTaskDisplayAreasOrder(policy, taskDisplayArea2, taskDisplayArea1); in testTaskDisplayArea_taskPositionChanged_updatesTaskDisplayAreaPosition() 102 assertTaskDisplayAreasOrder(policy, taskDisplayArea1, taskDisplayArea2); in testTaskDisplayArea_taskPositionChanged_updatesTaskDisplayAreaPosition() 107 assertTaskDisplayAreasOrder(policy, taskDisplayArea1, taskDisplayArea2); in testTaskDisplayArea_taskPositionChanged_updatesTaskDisplayAreaPosition() 141 final DisplayAreaPolicy policy = new DisplayAreaPolicyBuilder() in testDisplayAreaGroup_taskPositionChanged_updatesDisplayAreaGroupPosition() local 160 assertTaskDisplayAreasOrder(policy, taskDisplayArea1, taskDisplayArea2, taskDisplayArea3, in testDisplayAreaGroup_taskPositionChanged_updatesDisplayAreaGroupPosition() [all …]
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyData.java | 436 static void load(DevicePolicyData policy, JournaledFile journaledFile, in load() argument 441 if (VERBOSE_LOG) Slogf.v(TAG, "Loading data for user %d from %s", policy.mUserId, file); in load() 460 policy.mRestrictionsProvider = in load() 466 policy.mUserSetupComplete = true; in load() 470 policy.mPaired = true; in load() 475 policy.mDeviceProvisioningConfigApplied = true; in load() 479 policy.mUserProvisioningState = provisioningState; in load() 483 policy.mPermissionPolicy = permissionPolicy; in load() 485 policy.mNewUserDisclaimer = parser.getAttributeValue(null, ATTR_NEW_USER_DISCLAIMER); in load() 487 policy.mFactoryResetFlags = parser.getAttributeInt(null, ATTR_FACTORY_RESET_FLAGS, 0); in load() [all …]
|
/frameworks/base/tools/aapt2/xml/ |
D | XmlActionExecutor.cpp | 25 const XmlActionExecutorPolicy& policy, android::SourcePathDiagnostics*) { in wrapper_one() argument 30 const XmlActionExecutorPolicy& policy, in wrapper_two() argument 36 const XmlActionExecutorPolicy& policy, in wrapper_three() argument 38 return f(el, policy, diag); in wrapper_three() 64 bool XmlNodeAction::Execute(XmlActionExecutorPolicy policy, std::vector<StringPiece>* bread_crumb, in Execute() argument 68 error |= !action(el, policy, diag); in Execute() 77 error |= !iter->second.Execute(policy, bread_crumb, diag, child_el); in Execute() 82 if (policy != XmlActionExecutorPolicy::kNone) { in Execute() 90 if (policy == XmlActionExecutorPolicy::kAllowListWarning) { in Execute() 104 bool XmlActionExecutor::Execute(XmlActionExecutorPolicy policy, android::IDiagnostics* diag, in Execute() argument [all …]
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/ |
D | LeakCheckedTest.java | 25 import com.android.systemui.statusbar.policy.BatteryController; 26 import com.android.systemui.statusbar.policy.BluetoothController; 27 import com.android.systemui.statusbar.policy.CastController; 28 import com.android.systemui.statusbar.policy.ConfigurationController; 29 import com.android.systemui.statusbar.policy.FlashlightController; 30 import com.android.systemui.statusbar.policy.HotspotController; 31 import com.android.systemui.statusbar.policy.KeyguardStateController; 32 import com.android.systemui.statusbar.policy.LocationController; 33 import com.android.systemui.statusbar.policy.NextAlarmController; 34 import com.android.systemui.statusbar.policy.RotationLockController; [all …]
|