Searched refs:isPackageSuspended (Results 1 – 13 of 13) sorted by relevance
70 sDeviceState.dpc().devicePolicyManager().isPackageSuspended(mAdmin, testApp) in isPackageSuspended_packageIsSuspended_returnsTrue()87 assertThat(sDeviceState.dpc().devicePolicyManager().isPackageSuspended(mAdmin, testApp)) in isPackageSuspended_packageIsNotSuspended_returnFalse()101 assertThat(sDeviceState.dpc().devicePolicyManager().isPackageSuspended( in setPackagesSuspended_suspendSuccessful()155 assertThat(sDeviceState.dpc().devicePolicyManager().isPackageSuspended( in setPackagesSuspended_unsuspendSuccessful()201 assertThat(sDeviceState.dpc().devicePolicyManager().isPackageSuspended( in setPackagesSuspended_suspendMultipleTimes_allPackagesSuspended()203 assertThat(sDeviceState.dpc().devicePolicyManager().isPackageSuspended( in setPackagesSuspended_suspendMultipleTimes_allPackagesSuspended()231 assertThat(sDeviceState.dpc().devicePolicyManager().isPackageSuspended( in setPackagesSuspended_unsuspendMultipleTimes_allPackagesUnsuspended()233 assertThat(sDeviceState.dpc().devicePolicyManager().isPackageSuspended( in setPackagesSuspended_unsuspendMultipleTimes_allPackagesUnsuspended()255 assertThat(sDeviceState.dpc().devicePolicyManager().isPackageSuspended( in setPackagesSuspended_suspendMixedPackages_onlySomeSuspended()285 assertThat(sDeviceState.dpc().devicePolicyManager().isPackageSuspended( in setPackagesSuspended_multipleAdminsSuspendPackages_success()[all …]
404 assertThat(sDeviceState.dpc().devicePolicyManager().isPackageSuspended( in setApplicationExemptions_noExemption_testAppCanBeSuspended()434 assertThat(sDeviceState.dpc().devicePolicyManager().isPackageSuspended( in setApplicationExemptions_suspensionRestrictionExemption_appCannotBeSuspended()
124 assertFalse(pm.isPackageSuspended(TEST_APP_PACKAGE_NAME)); in testIsPackageSuspended()128 pm.isPackageSuspended(TEST_APP_PACKAGE_NAME)); in testIsPackageSuspended()131 pm.isPackageSuspended(TEST_APP_PACKAGE_NAME)); in testIsPackageSuspended()135 pm.isPackageSuspended(TEST_APP_PACKAGE_NAME)); in testIsPackageSuspended()138 pm.isPackageSuspended(TEST_APP_PACKAGE_NAME)); in testIsPackageSuspended()
100 return mRemote.isPackageSuspended(); in isTestAppSuspended()
118 mPackageManager.isPackageSuspended(TEST_APP_PACKAGE_NAME)); in testIsPackageSuspended()
44 public boolean isPackageSuspended() throws RemoteException {45 return getPackageManager().isPackageSuspended();
23 boolean isPackageSuspended(); in isPackageSuspended() method
132 mDevicePolicyManager.isPackageSuspended(ADMIN_RECEIVER_COMPONENT, pkg); in assertPackageSuspension()
123 () -> mPackageManager.isPackageSuspended(TARGET_STUB)); in testIsPackageSuspended_cannotDetectStubPkg()128 () -> mPackageManager.isPackageSuspended(TARGET_STUB)); in testIsPackageSuspended_cannotDetectStubPkg()
259 doAnswer(answer).when(spy).isPackageSuspended(any(), any()); in getWrapper()
1159 .isPackageSuspended(mPackageName); in isSuspended()
3733 assertTrue("package is suspended by shell", isPackageSuspended(HELLO_WORLD_PACKAGE_NAME)); in testQasPrecedence()3832 private boolean isPackageSuspended(String packageName) { in isPackageSuspended() method in PackageManagerTest3834 () -> mPackageManager.isPackageSuspended(packageName)); in isPackageSuspended()
8126 …NAGE_DEVICE_POLICY_PACKAGE_STATE, conditional=true) public boolean isPackageSuspended(@Nullable an…13038 …method public boolean isPackageSuspended(@NonNull String) throws android.content.pm.PackageManager…13039 method public boolean isPackageSuspended();