Searched refs:isPackageSuspended (Results 1 – 4 of 4) sorted by relevance
926 assertThat(devicePolicyManager.isPackageSuspended(testComponent, "package")).isFalse(); in setPackagesSuspended_activateActive()938 assertThat(devicePolicyManager.isPackageSuspended(testComponent, "package")).isFalse(); in setPackagesSuspended_cycleSuspension()947 assertThat(devicePolicyManager.isPackageSuspended(testComponent, "package")).isFalse(); in isPackagesSuspended_defaultsFalse()958 assertThat(devicePolicyManager.isPackageSuspended(testComponent, "package")).isTrue(); in isPackagesSuspended_trueForSuspended()967 devicePolicyManager.isPackageSuspended(testComponent, "not.installed"); in isPackagesSuspended_notInstalledPackage()
2443 packageManager.isPackageSuspended(TEST_PACKAGE_NAME);2455 …assertThat(packageManager.isPackageSuspended(ApplicationProvider.getApplicationContext().getPackag…2464 assertThat(packageManager.isPackageSuspended(TEST_PACKAGE_NAME)).isFalse();2478 assertThat(packageManager.isPackageSuspended(TEST_PACKAGE_NAME)).isTrue();2498 assertThat(packageManager.isPackageSuspended(TEST_PACKAGE_NAME)).isFalse();2575 assertThat(packageManager.isPackageSuspended("com.suspendable.package1")).isTrue();2576 assertThat(packageManager.isPackageSuspended("android")).isFalse();2577 assertThat(packageManager.isPackageSuspended("com.suspendable.package2")).isTrue();2578 assertThat(packageManager.isPackageSuspended(2646 assertThat(packageManager.isPackageSuspended("com.suspendable.package1")).isFalse();[all …]
449 protected boolean isPackageSuspended(ComponentName admin, String packageName) in isPackageSuspended() method in ShadowDevicePolicyManager
1853 protected boolean isPackageSuspended(String packageName) throws NameNotFoundException { in isPackageSuspended() method in ShadowApplicationPackageManager