Home
last modified time | relevance | path

Searched refs:setPackagesSuspended (Results 1 – 13 of 13) sorted by relevance

/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DPackageSuspensionTest.java66 sDeviceState.dpc().devicePolicyManager().setPackagesSuspended( in isPackageSuspended_packageIsSuspended_returnsTrue()
73 sDeviceState.dpc().devicePolicyManager().setPackagesSuspended( in isPackageSuspended_packageIsSuspended_returnsTrue()
84 sDeviceState.dpc().devicePolicyManager().setPackagesSuspended( in isPackageSuspended_packageIsNotSuspended_returnFalse()
98 assertThat(sDeviceState.dpc().devicePolicyManager().setPackagesSuspended( in setPackagesSuspended_suspendSuccessful()
105 sDeviceState.dpc().devicePolicyManager().setPackagesSuspended( in setPackagesSuspended_suspendSuccessful()
119 sDeviceState.dpc().devicePolicyManager().setPackagesSuspended( in setPackagesSuspended_suspendAlreadySuspendedPackage_returnsEmpty()
122 assertThat(sDeviceState.dpc().devicePolicyManager().setPackagesSuspended( in setPackagesSuspended_suspendAlreadySuspendedPackage_returnsEmpty()
126 sDeviceState.dpc().devicePolicyManager().setPackagesSuspended( in setPackagesSuspended_suspendAlreadySuspendedPackage_returnsEmpty()
136 assertThat(sDeviceState.dpc().devicePolicyManager().setPackagesSuspended( in setPackagesSuspended_suspendUninstalledPackage_notSuspended()
149 sDeviceState.dpc().devicePolicyManager().setPackagesSuspended( in setPackagesSuspended_unsuspendSuccessful()
[all …]
DApplicationExemptionsTest.java400 sDeviceState.dpc().devicePolicyManager().setPackagesSuspended( in setApplicationExemptions_noExemption_testAppCanBeSuspended()
408 sDeviceState.dpc().devicePolicyManager().setPackagesSuspended( in setApplicationExemptions_noExemption_testAppCanBeSuspended()
428 sDeviceState.dpc().devicePolicyManager().setPackagesSuspended( in setApplicationExemptions_suspensionRestrictionExemption_appCannotBeSuspended()
/cts/tests/suspendapps/permission/src/android/suspendapps/permission/cts/
DNegativePermissionsTest.java73 public void setPackagesSuspended() { in setPackagesSuspended() method in NegativePermissionsTest
75 () -> mPackageManager.setPackagesSuspended(PACKAGES_TO_SUSPEND, true, null, null, in setPackagesSuspended()
78 () -> mPackageManager.setPackagesSuspended(PACKAGES_TO_SUSPEND, false, null, null, in setPackagesSuspended()
85 () -> mPackageManager.setPackagesSuspended(PACKAGES_TO_SUSPEND, true, null, null, in setPackagesSuspended_deprecated()
88 () -> mPackageManager.setPackagesSuspended(PACKAGES_TO_SUSPEND, false, null, null, in setPackagesSuspended_deprecated()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DSuspendPackageTest.java56 mContext.getPackageManager().setPackagesSuspended( in testSetPackagesSuspendedWithPackageManager()
65 String[] notHandled = mContext.getPackageManager().setPackagesSuspended( in testSetPackagesNotSuspendedWithPackageManager()
117 mDevicePolicyManager.setPackagesSuspended(ADMIN_RECEIVER_COMPONENT, pkgs, suspend); in setSuspendedPackages()
/cts/tests/suspendapps/tests/src/android/suspendapps/cts/
DCrossUserSuspendTest.java96 profilePackageManager.setPackagesSuspended( in suspendProfileActivityFromPrimary_verifyUnsuspendedBroadcast()
134 () -> profilePackageManager.setPackagesSuspended( in suspendProfileActivityFromPrimary_withoutCrossUserFull_throws()
DSuspendTestUtils.java82 () -> packageManager.setPackagesSuspended(packagesToSuspend, true, appExtras, in suspendAndAssertResult()
94 packageManager.setPackagesSuspended(ALL_TEST_PACKAGES, false, null, null, in unsuspendAll()
/cts/tests/suspendapps/test-apps/TestDeviceAdmin/src/com/android/suspendapps/testdeviceadmin/
DTestCommsReceiver.java65 final String[] errored = dpm.setPackagesSuspended(deviceAdmin, in onReceive()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DDevicePolicySafetyCheckerIntegrationTest.java197 dpm.setPackagesSuspended(admin, new String[] { TEST_PACKAGE },
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/
DCrossUserPackageVisibilityTests.java489 String [] suspendedPkg = mPackageManager.setPackagesSuspended( in testSetPackagesSuspended_cannotDetectStubPkg()
496 suspendedPkg = mPackageManager.setPackagesSuspended( in testSetPackagesSuspended_cannotDetectStubPkg()
/cts/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/
DDevicePolicyManagerWrapper.java260 doAnswer(answer).when(spy).setPackagesSuspended(any(), any(), anyBoolean()); in getWrapper()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerTest.java3586 String[] notset = mPackageManager.setPackagesSuspended( in testQas()
3744 String[] notset = mPackageManager.setPackagesSuspended( in testQasPrecedence()
3780 mPackageManager.setPackagesSuspended(new String[]{HELLO_WORLD_PACKAGE_NAME}, in testQasPrecedence()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dsystem-current.txt4259 …mission(android.Manifest.permission.SUSPEND_APPS) public String[] setPackagesSuspended(@Nullable S…
4260 …nifest.permission.SUSPEND_APPS, conditional=true) public String[] setPackagesSuspended(@Nullable S…
4261 …st.permission.QUARANTINE_APPS}, conditional=true) public String[] setPackagesSuspended(@Nullable S…
Dcurrent.txt8213 …GE_DEVICE_POLICY_PACKAGE_STATE, conditional=true) public String[] setPackagesSuspended(@Nullable a…