Home
last modified time | relevance | path

Searched refs:getApplicationEnabledState (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/
DAppBackupUtilsTest.java119 when(mMockPackageManagerInternal.getApplicationEnabledState(TEST_PACKAGE_NAME, mUserId)) in appIsEligibleForBackup_systemAppWithCustomBackupAgentAndEnabled_returnsTrue()
136 when(mMockPackageManagerInternal.getApplicationEnabledState(TEST_PACKAGE_NAME, mUserId)) in appIsEligibleForBackup_nonSystemAppWithoutCustomBackupAgentAndEnabled_returnsTrue()
153 when(mMockPackageManagerInternal.getApplicationEnabledState(TEST_PACKAGE_NAME, mUserId)) in appIsEligibleForBackup_nonSystemAppWithCustomBackupAgentAndEnabled_returnsTrue()
170 when(mMockPackageManagerInternal.getApplicationEnabledState(TEST_PACKAGE_NAME, mUserId)) in appIsEligibleForBackup_systemAppWithCustomBackupAgentAndDisabled_returnsFalse()
187 when(mMockPackageManagerInternal.getApplicationEnabledState(TEST_PACKAGE_NAME, mUserId)) in appIsEligibleForBackup_nonSystemAppWithoutCustomBackupAgentAndDisabled_returnsFalse()
204 when(mMockPackageManagerInternal.getApplicationEnabledState(TEST_PACKAGE_NAME, mUserId)) in appIsEligibleForBackup_nonSystemAppWithCustomBackupAgentAndDisbled_returnsFalse()
221 when(mMockPackageManagerInternal.getApplicationEnabledState(TEST_PACKAGE_NAME, mUserId)) in appIsDisabled_stateDefaultManifestEnabled_returnsFalse()
238 when(mMockPackageManagerInternal.getApplicationEnabledState(TEST_PACKAGE_NAME, mUserId)) in appIsDisabled_stateDefaultManifestDisabled_returnsTrue()
255 when(mMockPackageManagerInternal.getApplicationEnabledState(TEST_PACKAGE_NAME, mUserId)) in appIsDisabled_stateEnabled_returnsFalse()
272 when(mMockPackageManagerInternal.getApplicationEnabledState(TEST_PACKAGE_NAME, mUserId)) in appIsDisabled_stateDisabled_returnsTrue()
[all …]
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DAppBackupUtils.java157 int enabledSetting = packageManager.getApplicationEnabledState(app.packageName, userId); in appIsDisabled()
/frameworks/base/core/java/android/content/pm/
DPackageManagerInternal.java861 public abstract @PackageManager.EnabledState int getApplicationEnabledState( in getApplicationEnabledState() method in PackageManagerInternal
/frameworks/base/services/core/java/com/android/server/role/
DRoleManagerService.java287 out.write(pm.getApplicationEnabledState(pkg.packageName, userId)); in computeComponentStateHash()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java248 when(mPackageManagerInternal.getApplicationEnabledState(any(), anyInt())) in setUp()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java24970 public @PackageManager.EnabledState int getApplicationEnabledState(
/frameworks/base/services/
Dart-profile10687 …d/server/pm/PackageManagerService$PackageManagerInternalImpl;->getApplicationEnabledState(Ljava/la…