/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | SuspendPackageTest.java | 108 private String[] setSuspendedPackages(boolean suspend, Collection<String> pkgs) { in setSuspendedPackages() argument 111 return setSuspendedPackages(suspend, pkgsArray); in setSuspendedPackages() 114 private String[] setSuspendedPackages(boolean suspend, String... pkgs) { in setSuspendedPackages() argument 115 Log.d(TAG, "Calling setPackagesSuspended(" + suspend + ", " + Arrays.toString(pkgs)); in setSuspendedPackages() 117 mDevicePolicyManager.setPackagesSuspended(ADMIN_RECEIVER_COMPONENT, pkgs, suspend); in setSuspendedPackages()
|
/cts/tests/suspendapps/tests/src/android/suspendapps/cts/ |
D | DualSuspendTests.java | 82 private boolean setSuspendViaDpm(boolean suspend) throws Exception { in setSuspendViaDpm() argument 83 return requestDpmAction(suspend ? ACTION_SUSPEND : ACTION_UNSUSPEND, in setSuspendViaDpm() 93 SuspendTestUtils.suspend(null, null, null); in testMyPackageSuspended() 106 SuspendTestUtils.suspend(null, null, null); in testMyPackageUnsuspended() 123 SuspendTestUtils.suspend(null, null, null); in testIsPackageSuspended() 130 SuspendTestUtils.suspend(null, null, null); in testIsPackageSuspended() 192 SuspendTestUtils.suspend(null, null, null); in testUnsuspendedOnDisallowUninstallApps() 198 SuspendTestUtils.suspend(null, null, null); in testUnsuspendedOnDisallowAppsControl()
|
D | SuspendPackagesTest.java | 100 SuspendTestUtils.suspend(null, null, null); in testIsPackageSuspended() 113 SuspendTestUtils.suspend(appExtras, null, null); in testSuspendedStateFromApp() 129 SuspendTestUtils.suspend(appExtras, null, null); in testMyPackageSuspendedUnsuspended() 146 SuspendTestUtils.suspend(extras1, null, null); in testUpdatingAppExtras() 156 SuspendTestUtils.suspend(extras2, null, null); in testUpdatingAppExtras() 177 SuspendTestUtils.suspend(null, null, null); in testActivityStoppedOnSuspend() 187 SuspendTestUtils.suspend(null, null, null); in testCanSuspendWhenDeviceOwner() 231 SuspendTestUtils.suspend(null, suppliedExtras, null); in testLauncherCallback() 269 SuspendTestUtils.suspend(null, null, null); in testOpRecordAudioOnSuspend() 276 SuspendTestUtils.suspend(null, null, null); in testOpCameraOnSuspend()
|
D | DialogTests.java | 91 SuspendTestUtils.suspend(null, null, dialogInfo); in testInterceptorActivity_unsuspend() 143 SuspendTestUtils.suspend(null, null, dialogInfo); in testInterceptorActivity_moreDetails() 192 SuspendTestUtils.suspend(null, null, dialogInfo); in testInterceptorActivity_strings()
|
D | SuspendTestUtils.java | 71 static void suspend(PersistableBundle appExtras, in suspend() method in SuspendTestUtils
|
/cts/tests/suspendapps/test-apps/TestDeviceAdmin/src/com/android/suspendapps/testdeviceadmin/ |
D | TestCommsReceiver.java | 54 boolean suspend = false; in onReceive() 58 suspend = true; in onReceive() 66 new String[]{packageName}, suspend); in onReceive()
|
/cts/tests/tests/notificationlegacy/notificationlegacy20/src/android/app/notification/legacy20/cts/ |
D | LegacyNotificationManager20Test.java | 158 Instrumentation instrumentation, boolean suspend) throws IOException { in suspendPackage() argument 159 String command = " cmd package " + (suspend ? "suspend " in suspendPackage()
|
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/ |
D | LegacyNotificationManagerTest.java | 393 Instrumentation instrumentation, boolean suspend) throws IOException { in suspendPackage() argument 395 + " " + (suspend ? "suspend" : "unsuspend") in suspendPackage()
|
/cts/hostsidetests/jdwptunnel/src/android/jdwptunnel/cts/ |
D | JdwpTunnelTest.java | 170 vm.suspend(); in testAttachDebugger()
|
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/ |
D | AppEnumerationTests.java | 1380 private void setPackagesSuspended(boolean suspend, List<String> packages) { in setPackagesSuspended() argument 1382 if (suspend) { in setPackagesSuspended()
|
/cts/tests/app/src/android/app/cts/ |
D | NotificationManagerTest.java | 710 Instrumentation instrumentation, boolean suspend) throws IOException { in suspendPackage() argument 712 String command = " cmd package " + (suspend ? "suspend " : "unsuspend ") in suspendPackage()
|