Home
last modified time | relevance | path

Searched defs:policy (Results 1 – 17 of 17) sorted by relevance

/cts/tests/app/src/android/app/cts/
DZenPolicyTest.java36 ZenPolicy policy = builder.build(); in testWriteToParcel() local
49 ZenPolicy policy = builder.allowAlarms(true).build(); in testAlarms() local
65 ZenPolicy policy = builder.allowMedia(true).build(); in testMedia() local
81 ZenPolicy policy = builder.allowSystem(true).build(); in testSystem() local
97 ZenPolicy policy = builder.allowReminders(true).build(); in testReminders() local
113 ZenPolicy policy = builder.allowEvents(true).build(); in testEvents() local
130 ZenPolicy policy = builder.allowRepeatCallers(true).build(); in testRepeatCallers() local
146 ZenPolicy policy = builder.allowMessages(ZenPolicy.PEOPLE_TYPE_NONE).build(); in testMessages() local
178 ZenPolicy policy = builder.allowCalls(ZenPolicy.PEOPLE_TYPE_NONE).build(); in testCalls() local
210 ZenPolicy policy = builder.showFullScreenIntent(true).build(); in testFullScreenIntent() local
[all …]
DAutomaticZenRuleTest.java122 ZenPolicy policy = builder.build(); in testCreateRuleWithZenPolicy() local
127 assertEquals(rule.getZenPolicy(), policy); in testCreateRuleWithZenPolicy() local
DNotificationManagerTest.java632 NotificationManager.Policy policy = mNotificationManager.getNotificationPolicy(); in testPostPCanToggleAlarmsMediaSystemTest() local
1976 NotificationManager.Policy policy = new NotificationManager.Policy(0,0 ,0 , in testNotificationPolicyVisualEffectsEqual() local
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DSystemUpdatePolicyTest.java321 private void assertSystemUpdatePoliciesEqual(SystemUpdatePolicy policy, in assertSystemUpdatePoliciesEqual()
365 private void testPolicy(SystemUpdatePolicy policy) { in testPolicy()
366 mDevicePolicyManager.setSystemUpdatePolicy(getWho(), policy); in testPolicy() local
383 SystemUpdatePolicy policy = SystemUpdatePolicy.createPostponeInstallPolicy(); in setPolicyWithFreezePeriod() local
385 mDevicePolicyManager.setSystemUpdatePolicy(getWho(), policy); in setPolicyWithFreezePeriod() local
427 private void setFreezePeriods(SystemUpdatePolicy policy, String... dates) { in setFreezePeriods()
/cts/tests/tests/nativemedia/aaudio/jni/
Dtest_aaudio_mmap.cpp67 aaudio_policy_t policy = getSystemMMapPolicy(); in TEST() local
101 aaudio_policy_t policy = getSystemMMapPolicy(); in TEST() local
Dtest_aaudio_attributes.cpp188 for (aaudio_allowed_capture_policy_t policy : sAllowCapturePolicies) { in checkAttributesAllowedCapturePolicy() local
/cts/tests/vr/src/android/vr/cts/
DVrSetFIFOThreadTest.java86 int vr_thread = 0, policy = 0; in testSetVrThreadAPISuccess() local
109 int vr_thread = 0, policy = 0; in testSetVrThreadAPIFailure() local
/cts/hostsidetests/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/
DEncryptionAppTest.java399 private static void assertViolation(StrictMode.VmPolicy policy, in assertViolation()
405 private static void assertNoViolation(StrictMode.VmPolicy policy, ThrowingRunnable r) in assertNoViolation()
411 private static void inspectViolation(StrictMode.VmPolicy policy, ThrowingRunnable violating, in inspectViolation()
/cts/tests/tests/media/src/android/media/cts/
DAudioAttributesTest.java97 final int policy = aa.getAllowedCapturePolicy(); in testDefaultAllowedCapturePolicy() local
DAudioPlaybackConfigurationTest.java423 private static int anonymizeCapturePolicy(@CapturePolicy int policy) { in anonymizeCapturePolicy()
DAudioManagerTest.java1591 final int policy = mAudioManager.getAllowedCapturePolicy(); in testAllowedCapturePolicy() local
/cts/hostsidetests/incident/src/com/android/server/cts/
DNotificationIncidentTest.java175 PolicyProto policy = zenProto.getPolicy(); in verifyZenModeProto() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DAttentionManagementVerifierActivity.java494 NotificationManager.Policy policy = mNm.getNotificationPolicy(); in setUp() local
559 NotificationManager.Policy policy = mNm.getNotificationPolicy(); in setUp() local
625 NotificationManager.Policy policy = mNm.getNotificationPolicy(); in setUp() local
DConditionProviderVerifierActivity.java813 ZenPolicy policy) { in createRuleWithZenPolicy()
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/
DLegacyNotificationManagerTest.java118 NotificationManager.Policy policy = mNotificationManager.getNotificationPolicy(); in testPrePCannotToggleAlarmsAndMediaTest() local
/cts/tests/tests/os/src/android/os/cts/
DStrictModeTest.java113 …StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().detectDiskReads().penaltyLo… in testThreadBuilder() local
/cts/tests/tests/security/src/android/security/cts/
DStagefrightTest.java1022 NetworkSecurityPolicy policy = NetworkSecurityPolicy.getInstance(); in testStagefright_bug_68342866() local
1447 NetworkSecurityPolicy policy = NetworkSecurityPolicy.getInstance(); in doStagefrightTest() local