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()
2483 packageManager.isPackageSuspended(TEST_PACKAGE_NAME);2495 …assertThat(packageManager.isPackageSuspended(ApplicationProvider.getApplicationContext().getPackag…2504 assertThat(packageManager.isPackageSuspended(TEST_PACKAGE_NAME)).isFalse();2518 assertThat(packageManager.isPackageSuspended(TEST_PACKAGE_NAME)).isTrue();2538 assertThat(packageManager.isPackageSuspended(TEST_PACKAGE_NAME)).isFalse();2615 assertThat(packageManager.isPackageSuspended("com.suspendable.package1")).isTrue();2616 assertThat(packageManager.isPackageSuspended("android")).isFalse();2617 assertThat(packageManager.isPackageSuspended("com.suspendable.package2")).isTrue();2618 assertThat(packageManager.isPackageSuspended(2686 assertThat(packageManager.isPackageSuspended("com.suspendable.package1")).isFalse();[all …]
452 protected boolean isPackageSuspended(ComponentName admin, String packageName) in isPackageSuspended() method in ShadowDevicePolicyManager
1886 protected boolean isPackageSuspended(String packageName) throws NameNotFoundException { in isPackageSuspended() method in ShadowApplicationPackageManager