/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 | SuspendPackagesTest.java | 116 SuspendTestUtils.suspend(null, null, null); in testIsPackageSuspended() 129 SuspendTestUtils.suspend(appExtras, null, null); in testSuspendedStateFromApp() 145 SuspendTestUtils.suspend(appExtras, null, null); in testMyPackageSuspendedUnsuspended() 164 SuspendTestUtils.suspend(extras1, null, null); in testUpdatingAppExtras() 174 SuspendTestUtils.suspend(extras2, null, null); in testUpdatingAppExtras() 195 SuspendTestUtils.suspend(null, null, null); in testActivityStoppedOnSuspend() 205 SuspendTestUtils.suspend(null, null, null); in testCanSuspendWhenDeviceOwner() 249 SuspendTestUtils.suspend(null, suppliedExtras, null); in testLauncherCallback() 287 SuspendTestUtils.suspend(null, null, null); in testOpRecordAudioOnSuspend() 294 SuspendTestUtils.suspend(null, null, null); in testOpCameraOnSuspend() [all …]
|
D | DualSuspendTests.java | 84 private boolean setSuspendViaDpm(boolean suspend) throws Exception { in setSuspendViaDpm() argument 85 return requestDpmAction(suspend ? ACTION_SUSPEND : ACTION_UNSUSPEND, in setSuspendViaDpm() 95 SuspendTestUtils.suspend(null, null, null); in testMyPackageSuspended() 108 SuspendTestUtils.suspend(null, null, null); in testMyPackageUnsuspended() 125 SuspendTestUtils.suspend(null, null, null); in testIsPackageSuspended() 132 SuspendTestUtils.suspend(null, null, null); in testIsPackageSuspended() 194 SuspendTestUtils.suspend(null, null, null); in testUnsuspendedOnDisallowUninstallApps() 200 SuspendTestUtils.suspend(null, null, null); in testUnsuspendedOnDisallowAppsControl()
|
D | DialogTests.java | 90 SuspendTestUtils.suspend(null, null, dialogInfo); in testInterceptorActivity_unsuspend() 154 SuspendTestUtils.suspend(null, null, dialogInfo); in testInterceptorActivity_moreDetails() 203 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/appenumeration/src/android/appenumeration/cts/ |
D | Utils.java | 184 static void suspendPackages(boolean suspend, List<String> packages) { in suspendPackages() argument 185 suspendPackagesForUser(suspend, packages, UserReference.of(getContext().getUser()), in suspendPackages() 192 static void suspendPackagesForUser(boolean suspend, List<String> packages, in suspendPackagesForUser() argument 195 if (suspend) { in suspendPackagesForUser()
|
/cts/tests/tests/notification/src/android/app/notification/current/cts/ |
D | BaseNotificationManagerTest.java | 361 Instrumentation instrumentation, boolean suspend) throws IOException { in suspendPackage() argument 363 String command = " cmd package " + (suspend ? "suspend " : "unsuspend ") in suspendPackage()
|
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/ |
D | LegacyNotificationManagerTest.java | 373 Instrumentation instrumentation, boolean suspend) throws IOException { in suspendPackage() argument 375 + " " + (suspend ? "suspend" : "unsuspend") in suspendPackage()
|
/cts/tests/tests/virtualdevice/camera/src/android/virtualdevice/cts/camera/ |
D | VirtualCameraCameraXTest.kt | 287 private fun <T> runBlockingWithTimeout(block: suspend CoroutineScope.() -> T) { in runBlockingWithTimeout()
|
/cts/hostsidetests/jdwptunnel/src/android/jdwptunnel/cts/ |
D | JdwpTunnelTest.java | 193 vm.suspend(); in testAttachDebugger()
|
/cts/tests/tests/wifi/src/android/net/wifi/aware/cts/ |
D | SingleDeviceTest.java | 1214 discoverySession.suspend(); in testSuspendResumeFailWithoutNdpOnPublishSession() 1229 assertThrows(IllegalStateException.class, discoverySession::suspend); in testSuspendResumeFailWithoutNdpOnPublishSession() 1540 discoverySession.suspend(); in testSuspendResumeFailWithoutNdpOnSubscribeSession() 1555 assertThrows(IllegalStateException.class, discoverySession::suspend); in testSuspendResumeFailWithoutNdpOnSubscribeSession()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | system-current.txt | 11171 method public void suspend();
|
D | current.txt | 61324 method public void suspend();
|