/cts/tests/tests/notification/src/android/app/notification/current/cts/ |
D | ZenPolicyTest.java | 53 ZenPolicy policy = builder.build(); in testWriteToParcel() local 66 ZenPolicy policy = builder.allowAlarms(true).build(); in testAlarms() local 82 ZenPolicy policy = builder.allowMedia(true).build(); in testMedia() local 98 ZenPolicy policy = builder.allowSystem(true).build(); in testSystem() local 114 ZenPolicy policy = builder.allowReminders(true).build(); in testReminders() local 130 ZenPolicy policy = builder.allowEvents(true).build(); in testEvents() local 147 ZenPolicy policy = builder.allowRepeatCallers(true).build(); in testRepeatCallers() local 163 ZenPolicy policy = builder.allowMessages(ZenPolicy.PEOPLE_TYPE_NONE).build(); in testMessages() local 195 ZenPolicy policy = builder.allowCalls(ZenPolicy.PEOPLE_TYPE_NONE).build(); in testCalls() local 227 ZenPolicy policy = builder.allowConversations(ZenPolicy.CONVERSATION_SENDERS_NONE).build(); in testConversations() local [all …]
|
D | AutomaticZenRuleTest.java | 151 ZenPolicy policy = builder.build(); in testCreateRuleWithZenPolicy() local 156 assertEquals(rule.getZenPolicy(), policy); in testCreateRuleWithZenPolicy() local
|
/cts/hostsidetests/security/src/android/security/cts/ |
D | SELinuxNeverallowRulesParserTest.java | 35 String policy = "allow s t:c p;"; in testParsingEmpty() local 42 String policy = "# A comment, no big deal\n" in testParsingWithoutConditions() local 61 String policy = "# A comment\n" in testParsingMultiNeverallowOnOneLine() local 69 String policy = "# A comment\n" in testParsingMultiLinesNeverallow() local 84 String policy = "# BEGIN_TREBLE_ONLY\n" in testParsingWithConditions() local 96 String policy = "# BEGIN_LAUNCHING_WITH_S_ONLY\n" in testParsingMissingConditions() local
|
D | SELinuxNeverallowRulesTest.java | 77 String policy = Files.readString(publicPolicy.toPath()); in generateRules() local
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | WifiSsidRestrictionTest.java | 69 WifiSsidPolicy policy = new WifiSsidPolicy( in setWifiSsidPolicy_validAllowlist_works() local 91 WifiSsidPolicy policy = new WifiSsidPolicy( in setWifiSsidPolicy_validDenylist_works() local 110 WifiSsidPolicy policy = new WifiSsidPolicy( in setWifiSsidPolicy_validRemoveRestriction_works() local 141 WifiSsidPolicy policy = new WifiSsidPolicy( in setWifiSsidPolicy_invalidAdmin_fails() local
|
D | NetworkResetTest.java | 174 private void restoreUserRestriction(boolean originalUserRestriction, String policy) { in restoreUserRestriction() 177 sDeviceState.dpc().componentName(), policy); in restoreUserRestriction() local 180 sDeviceState.dpc().componentName(), policy); in restoreUserRestriction() local
|
D | FactoryResetProtectionTest.java | 149 FactoryResetProtectionPolicy policy = new FactoryResetProtectionPolicy.Builder() in factoryResetProtectionPolicy_validXml_correctSerializationAndDeserialization() local 165 private boolean isEqualToFactoryResetProtectionPolicy(FactoryResetProtectionPolicy policy) { in isEqualToFactoryResetProtectionPolicy()
|
D | ManagedProfileContactsAccessTest.java | 132 PackagePolicy policy = new PackagePolicy(testPolicy); in setManagedProfileContactsAccess_validEmptyPolicy_works() local 153 PackagePolicy policy = new PackagePolicy(testPolicy, ONLY_PACKAGE_ONE); in setManagedProfileContactsAccess_validPackageListPolicy_works() local
|
D | ManagedProfileCallerIdAccessTest.java | 132 PackagePolicy policy = new PackagePolicy(testPolicy); in setManagedProfileCallerIdAccess_validEmptyPolicy_works() local 153 PackagePolicy policy = new PackagePolicy(testPolicy, ONLY_PACKAGE_ONE); in setManagedProfileCallerIdAccess_validPackageListPolicy_works() local
|
/cts/hostsidetests/appcloning/test-apps/AppCloningContactsSharingApps/ManagedProfileOwnerApp/src/com/android/cts/managedprofile/owner/app/ |
D | ManagedProfileOwnerAppTest.java | 63 PackagePolicy policy = new PackagePolicy(PackagePolicy.PACKAGE_POLICY_ALLOWLIST); in testSetDisallowWorkContactsAccessPolicy() local 71 PackagePolicy policy = new PackagePolicy(PackagePolicy.PACKAGE_POLICY_BLOCKLIST); in testEnableWorkContactsAccess() local
|
/cts/hostsidetests/car/app/src/android/car/cts/app/ |
D | PowerPolicyListenerImpl.java | 41 public void onPolicyChanged(CarPowerPolicy policy) { in onPolicyChanged() 60 public static String getPolicyString(CarPowerPolicy policy) { in getPolicyString()
|
/cts/common/device-side/bedstead/modules/enterprise/src/main/kotlin/com/android/bedstead/enterprise/annotations/ |
D | PolicyDoesNotApplyTest.java | 47 Class<?>[] policy(); in policy() method
|
D | PolicyAppliesTest.java | 47 Class<?>[] policy(); in policy() method
|
D | CanSetPolicyTest.java | 47 Class<?>[] policy(); in policy() method
|
D | MostRestrictiveCoexistenceTest.java | 60 Class<?> policy(); in policy() method
|
D | MostImportantCoexistenceTest.java | 60 Class<?> policy(); in policy() method
|
D | CannotSetPolicyTest.java | 48 Class<?>[] policy(); in policy() method
|
/cts/tests/vr/src/android/vr/cts/ |
D | VrSetFIFOThreadTest.java | 86 int vr_thread = 0, policy = 0; in testSetVrThreadAPISuccess() local 109 int vr_thread = 0, policy = 0; in testSetVrThreadAPIFailure() local
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/systemupdate/ |
D | SystemUpdatePolicyTest.java | 320 private void assertSystemUpdatePoliciesEqual(SystemUpdatePolicy policy, in assertSystemUpdatePoliciesEqual() 364 private void testPolicy(SystemUpdatePolicy policy) { in testPolicy() 382 SystemUpdatePolicy policy = SystemUpdatePolicy.createPostponeInstallPolicy(); in setPolicyWithFreezePeriod() local 426 private void setFreezePeriods(SystemUpdatePolicy policy, String... dates) { in setFreezePeriods()
|
/cts/tests/tests/notificationlegacy/notificationlegacy29/src/android/app/notification/legacy29/cts/ |
D | NotificationManager29Test.java | 172 NotificationManager.Policy policy = mNotificationManager.getNotificationPolicy(); in testApi29CannotToggleConversationsTest() local 197 NotificationManager.Policy policy = mNotificationManager.getNotificationPolicy(); in testApi29CannotToggleConversationsOffTest() local
|
/cts/tests/tests/car_permission_tests/src/android/car/cts/permissiontest/content/pm/ |
D | CarPackageManagerPermissionTest.java | 61 CarAppBlockingPolicy policy = new CarAppBlockingPolicy(null, null); in testSetAppBlockingPolicy() local
|
/cts/tests/tests/car/src/android/car/cts/ |
D | CarPowerManagerTest.java | 84 CarPowerPolicy policy = mCarPowerManager.getCurrentPowerPolicy(); in teardown() local 138 CarPowerPolicy policy = mCarPowerManager.getCurrentPowerPolicy(); in testApplyNewPowerPolicy() local 411 public void onPolicyChanged(CarPowerPolicy policy) { in onPolicyChanged()
|
/cts/tests/tests/nativemedia/aaudio/jni/ |
D | test_aaudio_mmap.cpp | 35 aaudio_policy_t policy = (aaudio_policy_t) AAudioExtensions::getMMapPolicyProperty(); in TEST_F() local
|
/cts/hostsidetests/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/ |
D | EncryptionAppTest.java | 488 private static void assertViolation(StrictMode.VmPolicy policy, in assertViolation() 494 private static void assertNoViolation(StrictMode.VmPolicy policy, ThrowingRunnable r) in assertNoViolation() 500 private static void inspectViolation(StrictMode.VmPolicy policy, ThrowingRunnable violating, in inspectViolation()
|
/cts/hostsidetests/securitybulletin/test-apps/TestOverlayRequestManageCredentials/src/android/security/cts/overlay/RequestManageCredentials/ |
D | DeviceTest.java | 177 AppUriAuthenticationPolicy policy = in overlayDisallowedByRequestManageCredentials() local
|