/cts/tests/tests/nativemedia/aaudio/jni/ |
D | test_aaudio_mmap.cpp | 39 static aaudio_result_t (*s_setMMapPolicy)(aaudio_policy_t policy) = nullptr; 67 aaudio_policy_t policy = getSystemMMapPolicy(); in TEST() local 70 EXPECT_TRUE(policy == AAUDIO_UNSPECIFIED in TEST() 71 || policy == AAUDIO_POLICY_NEVER in TEST() 72 || policy == AAUDIO_POLICY_AUTO in TEST() 73 || policy == AAUDIO_POLICY_ALWAYS); in TEST() 78 EXPECT_NE(AAUDIO_POLICY_ALWAYS, policy); in TEST() 101 aaudio_policy_t policy = getSystemMMapPolicy(); in TEST() local 102 bool mmapAllowed = (policy == AAUDIO_POLICY_AUTO || policy == AAUDIO_POLICY_ALWAYS); in TEST()
|
/cts/tests/vr/src/android/vr/cts/ |
D | VrSetFIFOThreadTest.java | 82 int vr_thread = 0, policy = 0; in testSetVrThreadAPISuccess() local 88 policy = (int) Process.getThreadScheduler(vr_thread); in testSetVrThreadAPISuccess() 89 Log.e(TAG, "scheduling policy: " + policy); in testSetVrThreadAPISuccess() 90 assertEquals((SCHED_FIFO | SCHED_RESET_ON_FORK), policy); in testSetVrThreadAPISuccess() 104 int vr_thread = 0, policy = 0; in testSetVrThreadAPIFailure() local 110 policy = (int) Process.getThreadScheduler(vr_thread); in testSetVrThreadAPIFailure() 111 Log.e(TAG, "scheduling policy: " + policy); in testSetVrThreadAPIFailure() 112 assertEquals(SCHED_OTHER, policy); in testSetVrThreadAPIFailure()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | SystemUpdatePolicyTest.java | 238 private void testPolicy(SystemUpdatePolicy policy) { in testPolicy() argument 239 mDevicePolicyManager.setSystemUpdatePolicy(getWho(), policy); in testPolicy() local 242 if (policy == null) { in testPolicy() 246 assertEquals(policy.toString(), newPolicy.toString()); in testPolicy() 247 assertEquals(policy.getPolicyType(), newPolicy.getPolicyType()); in testPolicy() 248 if (policy.getPolicyType() == SystemUpdatePolicy.TYPE_INSTALL_WINDOWED) { in testPolicy() 249 assertEquals(policy.getInstallWindowStart(), newPolicy.getInstallWindowStart()); in testPolicy() 250 assertEquals(policy.getInstallWindowEnd(), newPolicy.getInstallWindowEnd()); in testPolicy() 256 SystemUpdatePolicy policy = SystemUpdatePolicy.createPostponeInstallPolicy(); in setPolicyWithFreezePeriod() local 257 setFreezePeriods(policy, dates); in setPolicyWithFreezePeriod() [all …]
|
/cts/tests/tests/notificationlegacy/src/android/app/notification/legacy/cts/ |
D | LegacyNotificationManagerTest.java | 101 NotificationManager.Policy policy = mNotificationManager.getNotificationPolicy(); in testPrePCannotToggleAlarmsAndMediaTest() local 102 assertEquals(alarmBit, policy.priorityCategories in testPrePCannotToggleAlarmsAndMediaTest() 104 assertEquals(mediaBit, policy.priorityCategories in testPrePCannotToggleAlarmsAndMediaTest() 106 assertEquals(systemBit, policy.priorityCategories in testPrePCannotToggleAlarmsAndMediaTest() 113 policy = mNotificationManager.getNotificationPolicy(); in testPrePCannotToggleAlarmsAndMediaTest() 114 assertEquals(alarmBit, policy.priorityCategories in testPrePCannotToggleAlarmsAndMediaTest() 116 assertEquals(mediaBit, policy.priorityCategories in testPrePCannotToggleAlarmsAndMediaTest() 118 assertEquals(systemBit, policy.priorityCategories in testPrePCannotToggleAlarmsAndMediaTest()
|
/cts/tests/tests/os/assets/minijail/ |
D | isolated-common-not-i386.policy | 3 # This policy is appended to the architecture-specific policy.
|
D | isolated-common.policy | 2 # This architecture-agnostic policy is appended to every architecture-specific 3 # policy.
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | NotificationIncidentTest.java | 153 PolicyProto policy = zenProto.getPolicy(); in verifyZenModeProto() local 154 for (PolicyProto.Category c : policy.getPriorityCategoriesList()) { in verifyZenModeProto() 159 .contains(policy.getPriorityCallSender().getValueDescriptor())); in verifyZenModeProto() 161 .contains(policy.getPriorityMessageSender().getValueDescriptor())); in verifyZenModeProto() 162 for (PolicyProto.SuppressedVisualEffect sve : policy.getSuppressedVisualEffectsList()) { in verifyZenModeProto()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | AttentionManagementVerifierActivity.java | 494 NotificationManager.Policy policy = mNm.getNotificationPolicy(); in setUp() local 495 policy = new NotificationManager.Policy( in setUp() 497 policy.priorityCallSenders, in setUp() 499 mNm.setNotificationPolicy(policy); in setUp() 559 NotificationManager.Policy policy = mNm.getNotificationPolicy(); in setUp() local 560 policy = new NotificationManager.Policy( in setUp() 562 policy.priorityCallSenders, in setUp() 563 policy.priorityMessageSenders); in setUp() 564 mNm.setNotificationPolicy(policy); in setUp() 625 NotificationManager.Policy policy = mNm.getNotificationPolicy(); in setUp() local [all …]
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/scripts/ |
D | ca.conf | 34 policy = policy_strict 63 policy = policy_strict
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | PolicyTransparencyTestListActivity.java | 160 for (Pair<Intent, Integer> policy : POLICIES) { in addTestsToAdapter() 161 final Intent intent = policy.first; in addTestsToAdapter() 172 final String title = getString(policy.second); in addTestsToAdapter()
|
/cts/tests/tests/os/ |
D | Android.mk | 57 LOCAL_AAPT_FLAGS := -0 .policy
|
/cts/tests/app/src/android/app/cts/ |
D | NotificationManagerTest.java | 138 NotificationManager.Policy policy = mNotificationManager.getNotificationPolicy(); in testPostPCanToggleAlarmsMediaSystemTest() local 139 assertTrue((policy.priorityCategories in testPostPCanToggleAlarmsMediaSystemTest() 141 assertTrue((policy.priorityCategories in testPostPCanToggleAlarmsMediaSystemTest() 143 assertTrue((policy.priorityCategories in testPostPCanToggleAlarmsMediaSystemTest() 148 policy = mNotificationManager.getNotificationPolicy(); in testPostPCanToggleAlarmsMediaSystemTest() 149 assertTrue((policy.priorityCategories in testPostPCanToggleAlarmsMediaSystemTest() 151 assertTrue((policy.priorityCategories & in testPostPCanToggleAlarmsMediaSystemTest() 153 assertTrue((policy.priorityCategories & in testPostPCanToggleAlarmsMediaSystemTest()
|
/cts/hostsidetests/appsecurity/test-apps/PermissionPolicy25/src/com/android/cts/permission/policy/ |
D | PermissionPolicyTest25.java | 17 package com.android.cts.permission.policy;
|
/cts/tests/tests/os/src/android/os/cts/ |
D | StrictModeTest.java | 102 …StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().detectDiskReads().penaltyLo… in testThreadBuilder() local 103 StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder(policy).build()); in testThreadBuilder() 581 private void assertPolicy(ViolationInfo info, int policy) { in assertPolicy() argument 582 assertWithMessage("Policy bit incorrect").that(info.getViolationBit()).isEqualTo(policy); in assertPolicy()
|
/cts/tests/libcore/javautilcollections/libs/ |
D | guava-20.0.jar | META-INF/MANIFEST.MF
META-INF/
META-INF/maven/
META- ... |
D | guava-testlib-20.0.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |