Searched refs:getApplicationEnabledState (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/ |
D | AppBackupUtilsTest.java | 119 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/ |
D | AppBackupUtils.java | 157 int enabledSetting = packageManager.getApplicationEnabledState(app.packageName, userId); in appIsDisabled()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageManagerInternal.java | 861 public abstract @PackageManager.EnabledState int getApplicationEnabledState( in getApplicationEnabledState() method in PackageManagerInternal
|
/frameworks/base/services/core/java/com/android/server/role/ |
D | RoleManagerService.java | 287 out.write(pm.getApplicationEnabledState(pkg.packageName, userId)); in computeComponentStateHash()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/ |
D | KeyValueBackupTaskTest.java | 248 when(mPackageManagerInternal.getApplicationEnabledState(any(), anyInt())) in setUp()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerService.java | 24970 public @PackageManager.EnabledState int getApplicationEnabledState(
|
/frameworks/base/services/ |
D | art-profile | 10687 …d/server/pm/PackageManagerService$PackageManagerInternalImpl;->getApplicationEnabledState(Ljava/la…
|