/cts/tests/app/src/android/app/cts/ |
D | ZenPolicyTest.java | 36 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 …]
|
D | AutomaticZenRuleTest.java | 122 ZenPolicy policy = builder.build(); in testCreateRuleWithZenPolicy() local 127 assertEquals(rule.getZenPolicy(), policy); in testCreateRuleWithZenPolicy() local
|
D | NotificationManagerTest.java | 632 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/ |
D | SystemUpdatePolicyTest.java | 321 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/ |
D | test_aaudio_mmap.cpp | 67 aaudio_policy_t policy = getSystemMMapPolicy(); in TEST() local 101 aaudio_policy_t policy = getSystemMMapPolicy(); in TEST() local
|
D | test_aaudio_attributes.cpp | 188 for (aaudio_allowed_capture_policy_t policy : sAllowCapturePolicies) { in checkAttributesAllowedCapturePolicy() local
|
/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/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/ |
D | EncryptionAppTest.java | 399 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/ |
D | AudioAttributesTest.java | 97 final int policy = aa.getAllowedCapturePolicy(); in testDefaultAllowedCapturePolicy() local
|
D | AudioPlaybackConfigurationTest.java | 423 private static int anonymizeCapturePolicy(@CapturePolicy int policy) { in anonymizeCapturePolicy()
|
D | AudioManagerTest.java | 1591 final int policy = mAudioManager.getAllowedCapturePolicy(); in testAllowedCapturePolicy() local
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | NotificationIncidentTest.java | 175 PolicyProto policy = zenProto.getPolicy(); in verifyZenModeProto() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | AttentionManagementVerifierActivity.java | 494 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
|
D | ConditionProviderVerifierActivity.java | 813 ZenPolicy policy) { in createRuleWithZenPolicy()
|
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/ |
D | LegacyNotificationManagerTest.java | 118 NotificationManager.Policy policy = mNotificationManager.getNotificationPolicy(); in testPrePCannotToggleAlarmsAndMediaTest() local
|
/cts/tests/tests/os/src/android/os/cts/ |
D | StrictModeTest.java | 113 …StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().detectDiskReads().penaltyLo… in testThreadBuilder() local
|
/cts/tests/tests/security/src/android/security/cts/ |
D | StagefrightTest.java | 1022 NetworkSecurityPolicy policy = NetworkSecurityPolicy.getInstance(); in testStagefright_bug_68342866() local 1447 NetworkSecurityPolicy policy = NetworkSecurityPolicy.getInstance(); in doStagefrightTest() local
|