/cts/tests/app/src/android/app/cts/ |
D | ZenPolicyTest.java | 53 NotificationManager.Policy.PRIORITY_CATEGORY_ALARMS); in testAlarms() 59 NotificationManager.Policy.PRIORITY_CATEGORY_ALARMS); in testAlarms() 69 NotificationManager.Policy.PRIORITY_CATEGORY_MEDIA); in testMedia() 75 NotificationManager.Policy.PRIORITY_CATEGORY_MEDIA); in testMedia() 85 NotificationManager.Policy.PRIORITY_CATEGORY_SYSTEM); in testSystem() 91 NotificationManager.Policy.PRIORITY_CATEGORY_SYSTEM); in testSystem() 101 NotificationManager.Policy.PRIORITY_CATEGORY_REMINDERS); in testReminders() 107 NotificationManager.Policy.PRIORITY_CATEGORY_REMINDERS); in testReminders() 117 NotificationManager.Policy.PRIORITY_CATEGORY_EVENTS); in testEvents() 124 NotificationManager.Policy.PRIORITY_CATEGORY_EVENTS); in testEvents() [all …]
|
D | NotificationManagerTest.java | 33 import static android.app.NotificationManager.Policy.CONVERSATION_SENDERS_ANYONE; 34 import static android.app.NotificationManager.Policy.CONVERSATION_SENDERS_NONE; 35 import static android.app.NotificationManager.Policy.PRIORITY_CATEGORY_ALARMS; 36 import static android.app.NotificationManager.Policy.PRIORITY_CATEGORY_CALLS; 37 import static android.app.NotificationManager.Policy.PRIORITY_CATEGORY_CONVERSATIONS; 38 import static android.app.NotificationManager.Policy.PRIORITY_CATEGORY_EVENTS; 39 import static android.app.NotificationManager.Policy.PRIORITY_CATEGORY_MEDIA; 40 import static android.app.NotificationManager.Policy.PRIORITY_CATEGORY_MESSAGES; 41 import static android.app.NotificationManager.Policy.PRIORITY_CATEGORY_REMINDERS; 42 import static android.app.NotificationManager.Policy.PRIORITY_CATEGORY_SYSTEM; [all …]
|
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/ |
D | LegacyNotificationManagerTest.java | 19 import static android.app.NotificationManager.Policy.SUPPRESSED_EFFECT_FULL_SCREEN_INTENT; 20 import static android.app.NotificationManager.Policy.SUPPRESSED_EFFECT_LIGHTS; 21 import static android.app.NotificationManager.Policy.SUPPRESSED_EFFECT_NOTIFICATION_LIST; 22 import static android.app.NotificationManager.Policy.SUPPRESSED_EFFECT_PEEK; 23 import static android.app.NotificationManager.Policy.SUPPRESSED_EFFECT_SCREEN_OFF; 24 import static android.app.NotificationManager.Policy.SUPPRESSED_EFFECT_SCREEN_ON; 25 import static android.app.NotificationManager.Policy.SUPPRESSED_EFFECT_STATUS_BAR; 105 NotificationManager.Policy origPolicy = mNotificationManager.getNotificationPolicy(); in testPrePCannotToggleAlarmsAndMediaTest() 106 int alarmBit = origPolicy.priorityCategories & NotificationManager.Policy in testPrePCannotToggleAlarmsAndMediaTest() 108 int mediaBit = origPolicy.priorityCategories & NotificationManager.Policy in testPrePCannotToggleAlarmsAndMediaTest() [all …]
|
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/ |
D | Policy.java | 48 public final class Policy { class 50 private Policy() { in Policy() method in Policy 55 Policy.class.getAnnotation(IncludeNone.class); 57 Policy.class.getAnnotation(IncludeRunOnDeviceOwnerUser.class); 60 Policy.class.getAnnotation(IncludeRunOnNonAffiliatedDeviceOwnerSecondaryUser.class); 63 Policy.class.getAnnotation(IncludeRunOnAffiliatedDeviceOwnerSecondaryUser.class); 66 Policy.class.getAnnotation(IncludeRunOnAffiliatedProfileOwnerSecondaryUser.class); 69 Policy.class.getAnnotation(IncludeRunOnProfileOwnerProfile.class); 72 Policy.class.getAnnotation( 75 Policy.class.getAnnotation(IncludeRunOnParentOfProfileOwner.class); [all …]
|
D | BedsteadJUnit4.java | 334 Policy.positiveStates(enterprisePolicy); in parseEnterpriseAnnotations() 345 Policy.negativeStates(enterprisePolicy); in parseEnterpriseAnnotations() 356 Policy.cannotSetPolicyStates(enterprisePolicy); in parseEnterpriseAnnotations()
|
/cts/tests/tests/notificationlegacy/notificationlegacy29/src/android/app/notification/legacy29/cts/ |
D | NotificationManager29Test.java | 19 import static android.app.NotificationManager.Policy.CONVERSATION_SENDERS_ANYONE; 20 import static android.app.NotificationManager.Policy.PRIORITY_CATEGORY_CONVERSATIONS; 161 NotificationManager.Policy origPolicy = mNotificationManager.getNotificationPolicy(); in testApi29CannotToggleConversationsTest() 166 mNotificationManager.setNotificationPolicy(new NotificationManager.Policy( in testApi29CannotToggleConversationsTest() 168 NotificationManager.Policy policy = mNotificationManager.getNotificationPolicy(); in testApi29CannotToggleConversationsTest() 185 NotificationManager.Policy origPolicy = mNotificationManager.getNotificationPolicy(); in testApi29CannotToggleConversationsOffTest() 192 mNotificationManager.setNotificationPolicy(new NotificationManager.Policy(0, 0, 0)); in testApi29CannotToggleConversationsOffTest() 193 NotificationManager.Policy policy = mNotificationManager.getNotificationPolicy(); in testApi29CannotToggleConversationsOffTest()
|
/cts/tests/admin/src/android/admin/cts/ |
D | DevicePolicyManagerTest.java | 23 import android.app.NotificationManager.Policy; 1062 NotificationManager.Policy origPolicy = mNotificationManager.getNotificationPolicy(); in testNotificationPolicyAccess() 1068 mNotificationManager.setNotificationPolicy(new Policy(0, 0, 0, -1)); in testNotificationPolicyAccess() 1070 Policy expected = new Policy(Policy.PRIORITY_CATEGORY_CALLS, in testNotificationPolicyAccess() 1071 Policy.PRIORITY_SENDERS_STARRED, in testNotificationPolicyAccess() 1072 Policy.PRIORITY_SENDERS_STARRED, in testNotificationPolicyAccess() 1073 Policy.SUPPRESSED_EFFECT_STATUS_BAR); in testNotificationPolicyAccess() 1079 NotificationManager.Policy actual = mNotificationManager.getNotificationPolicy(); in testNotificationPolicyAccess() 1080 assertTrue((actual.priorityCategories & Policy.PRIORITY_CATEGORY_CALLS) != 0); in testNotificationPolicyAccess()
|
/cts/tests/tests/os/assets/minijail/ |
D | isolated-arm64.policy | 1 # Minijail Seccomp Policy for isolated_app processes on AARCH64.
|
D | isolated-common-not-i386.policy | 1 # Minijail Seccomp Policy for isolated_app processes on all architectures
|
D | isolated-x86-64.policy | 1 # Minijail Seccomp Policy for isolated_app processes on X86-64.
|
D | isolated-arm.policy | 1 # Minijail Seccomp Policy for isolated_app processes on ARM (32-bit).
|
D | isolated-i386.policy | 1 # Minijail Seccomp Policy for isolated_app processes on I386.
|
D | isolated-common.policy | 1 # Minijail Seccomp Policy for isolated_app processes.
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioManagerTest.java | 138 private NotificationManager.Policy mOriginalNotificationPolicy; 1173 mNm.setNotificationPolicy(new NotificationManager.Policy(0, 0 , 0)); in testSetStreamVolumeInPriorityOnlyMode() 1211 mNm.setNotificationPolicy(new NotificationManager.Policy(0, 0, 0)); in testAdjustVolumeInPriorityOnly() 1253 mNm.setNotificationPolicy(new NotificationManager.Policy(0, 0, 0)); in testPriorityOnlyMuteAll() 1286 mNm.setNotificationPolicy(new NotificationManager.Policy( in testPriorityOnlyMediaAllowed() 1287 NotificationManager.Policy.PRIORITY_CATEGORY_MEDIA, 0, 0)); in testPriorityOnlyMediaAllowed() 1321 mNm.setNotificationPolicy(new NotificationManager.Policy( in testPriorityOnlySystemAllowed() 1322 NotificationManager.Policy.PRIORITY_CATEGORY_SYSTEM, 0, 0)); in testPriorityOnlySystemAllowed() 1354 mNm.setNotificationPolicy(new NotificationManager.Policy( in testPriorityOnlySystemDisallowedWithRingerMuted() 1355 NotificationManager.Policy.PRIORITY_CATEGORY_SYSTEM, 0, 0)); in testPriorityOnlySystemDisallowedWithRingerMuted() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | AttentionManagementVerifierActivity.java | 485 NotificationManager.Policy policy = mNm.getNotificationPolicy(); in setUp() 486 policy = new NotificationManager.Policy( in setUp() 487 NotificationManager.Policy.PRIORITY_CATEGORY_MESSAGES, in setUp() 489 NotificationManager.Policy.PRIORITY_SENDERS_STARRED); in setUp() 550 NotificationManager.Policy policy = mNm.getNotificationPolicy(); in setUp() 551 policy = new NotificationManager.Policy( in setUp() 552 NotificationManager.Policy.PRIORITY_CATEGORY_ALARMS, in setUp() 616 NotificationManager.Policy policy = mNm.getNotificationPolicy(); in setUp() 617 policy = new NotificationManager.Policy( in setUp() 618 NotificationManager.Policy.PRIORITY_CATEGORY_MEDIA, in setUp()
|
/cts/apps/CtsVerifier/ |
D | NOTICE.txt | 7447 accordance with Google's Privacy Policy.
|