/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | ComponentTest.java | 19 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; 135 COMPONENT_ENABLED_STATE_DEFAULT, in testResolveDisabledActivity() 151 COMPONENT_ENABLED_STATE_DEFAULT, in testResolveEnabledActivity() 164 COMPONENT_ENABLED_STATE_DEFAULT, in testQueryDisabledActivity() 184 COMPONENT_ENABLED_STATE_DEFAULT, in testQueryEnabledActivity() 199 COMPONENT_ENABLED_STATE_DEFAULT, in testGetDisabledActivityInfo() 219 COMPONENT_ENABLED_STATE_DEFAULT, in testGetEnabledActivityInfo() 231 COMPONENT_ENABLED_STATE_DEFAULT, in testEnableActivity() 254 COMPONENT_ENABLED_STATE_DEFAULT, in testDisableActivity() 282 COMPONENT_ENABLED_STATE_DEFAULT, in testResolveDisabledService() [all …]
|
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | CarrierAppUtils.java | 192 == PackageManager.COMPONENT_ENABLED_STATE_DEFAULT in disableCarrierAppsUntilPrivileged() 217 == PackageManager.COMPONENT_ENABLED_STATE_DEFAULT in disableCarrierAppsUntilPrivileged() 244 == PackageManager.COMPONENT_ENABLED_STATE_DEFAULT in disableCarrierAppsUntilPrivileged() 264 == PackageManager.COMPONENT_ENABLED_STATE_DEFAULT in disableCarrierAppsUntilPrivileged()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageUserState.java | 19 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; 83 enabled = COMPONENT_ENABLED_STATE_DEFAULT; in PackageUserState() 186 case COMPONENT_ENABLED_STATE_DEFAULT: in isEnabled()
|
D | PackageManager.java | 650 COMPONENT_ENABLED_STATE_DEFAULT, 668 public static final int COMPONENT_ENABLED_STATE_DEFAULT = 0; field in PackageManager
|
D | ApplicationInfo.java | 1076 public int enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DEFAULT;
|
D | PackageParser.java | 7695 if (state.enabled != PackageManager.COMPONENT_ENABLED_STATE_DEFAULT) { in copyNeeded()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierAppUtilsTest.java | 263 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DEFAULT); in testDisableCarrierAppsUntilPrivileged_HasPrivileges_MissingAssociated_Default() 293 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DEFAULT); in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Associated_Default() 636 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DEFAULT); in testDisableCarrierAppsUntilPrivileged_NoPrivileges_EnabledAssociated_Default() 680 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DEFAULT); in testDisableCarrierAppsUntilPrivileged_NoPrivileges_Associated_Default() 690 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DEFAULT); in testDisableCarrierAppsUntilPrivileged_NoPrivileges_Associated_Default() 727 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DEFAULT); in testDisableCarrierAppsUntilPrivileged_NoPrivileges_Associated_Default_AlreadyRun() 736 associatedAppInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; in testDisableCarrierAppsUntilPrivileged_NoPrivileges_Associated_Default_AlreadyRun() 767 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DEFAULT); in testDisableCarrierAppsUntilPrivileged_NullPrivileges_Default()
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | AppBackupUtils.java | 164 case PackageManager.COMPONENT_ENABLED_STATE_DEFAULT: in appIsDisabled()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | PackageManagerSettingsTests.java | 19 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; 131 assertThat(ps.getEnabled(0), is(COMPONENT_ENABLED_STATE_DEFAULT)); in testSettingsReadOld() 137 assertThat(ps.getEnabled(1), is(COMPONENT_ENABLED_STATE_DEFAULT)); in testSettingsReadOld() 159 assertThat(ps.getEnabled(1), is(COMPONENT_ENABLED_STATE_DEFAULT)); in testNewPackageRestrictionsFile()
|
/frameworks/base/services/core/java/com/android/server/webkit/ |
D | SystemImpl.java | 224 enable ? PackageManager.COMPONENT_ENABLED_STATE_DEFAULT : in enablePackageForUser()
|
/frameworks/base/core/proto/android/service/ |
D | package.proto | 89 COMPONENT_ENABLED_STATE_DEFAULT = 0; enumerator
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageSettingBase.java | 19 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; 557 return COMPONENT_ENABLED_STATE_DEFAULT; in getCurrentEnabledStateLPr()
|
D | Settings.java | 19 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; 654 pkgSetting.setUserState(user.id, 0, COMPONENT_ENABLED_STATE_DEFAULT, in createNewSetting() 1544 pkg.setUserState(userId, 0, COMPONENT_ENABLED_STATE_DEFAULT, in readPackageRestrictionsLPr() 1644 COMPONENT_ENABLED_STATE_DEFAULT); in readPackageRestrictionsLPr() 2043 if (ustate.enabled != COMPONENT_ENABLED_STATE_DEFAULT) { in writePackageRestrictionsLPr() 3824 packageSetting.setEnabled(COMPONENT_ENABLED_STATE_DEFAULT, 0, null); in readPackageLPw() 3833 packageSetting.setEnabled(COMPONENT_ENABLED_STATE_DEFAULT, 0, null); in readPackageLPw()
|
D | PackageManagerShellCommand.java | 223 return runSetEnabledSetting(PackageManager.COMPONENT_ENABLED_STATE_DEFAULT); in onCommand() 1960 case PackageManager.COMPONENT_ENABLED_STATE_DEFAULT: in enabledSettingToString()
|
D | PackageManagerService.java | 32 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; 3346 ps.setEnabled(PackageManager.COMPONENT_ENABLED_STATE_DEFAULT, 15743 ps.setEnabled(COMPONENT_ENABLED_STATE_DEFAULT, 15766 ps.setEnabled(COMPONENT_ENABLED_STATE_DEFAULT, userId, installerPackageName); 18101 ? COMPONENT_ENABLED_STATE_DEFAULT : uninstalledPs.getEnabled(userId); 18185 if (origEnabledState == COMPONENT_ENABLED_STATE_DEFAULT 19033 ps.setUserState(nextUserId, 0, COMPONENT_ENABLED_STATE_DEFAULT, 20694 if (!(newState == COMPONENT_ENABLED_STATE_DEFAULT 20777 || oldState == COMPONENT_ENABLED_STATE_DEFAULT 20781 || newState == COMPONENT_ENABLED_STATE_DEFAULT [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/ |
D | AppBackupUtilsTest.java | 222 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DEFAULT); in appIsDisabled_stateDefaultManifestEnabled_returnsFalse() 239 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DEFAULT); in appIsDisabled_stateDefaultManifestDisabled_returnsTrue()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/testutils/ |
D | PackageManagerStub.java | 46 public static int sApplicationEnabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DEFAULT;
|
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | InputMethodUtils.java | 689 if (state == PackageManager.COMPONENT_ENABLED_STATE_DEFAULT in setDisabledUntilUsed()
|
D | InputMethodManagerService.java | 2637 PackageManager.COMPONENT_ENABLED_STATE_DEFAULT, in updateInputMethodsFromSettingsLocked()
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 2529 ? PackageManager.COMPONENT_ENABLED_STATE_DEFAULT in setSyntheticAppDetailsActivityEnabled() 2544 || state == PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; in getSyntheticAppDetailsActivityEnabled()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerTest.java | 389 eq(PackageManager.COMPONENT_ENABLED_STATE_DEFAULT), in testSetActiveAdmin() 418 PackageManager.COMPONENT_ENABLED_STATE_DEFAULT); in testSetActiveAdmin() 431 eq(PackageManager.COMPONENT_ENABLED_STATE_DEFAULT), in testSetActiveAdmin()
|
/frameworks/base/services/core/java/com/android/server/ |
D | BluetoothManagerService.java | 2574 : PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; in updateOppLauncherComponentState()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 1106 : PackageManager.COMPONENT_ENABLED_STATE_DEFAULT, in onChange() 4568 int enabled = PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; in cleanupDisabledPackageComponentsLocked() 4583 && enabled != PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; in cleanupDisabledPackageComponentsLocked() 4600 && enabled != PackageManager.COMPONENT_ENABLED_STATE_DEFAULT) { in cleanupDisabledPackageComponentsLocked()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 1274 || enabled == PackageManager.COMPONENT_ENABLED_STATE_DEFAULT) {
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 8853 PackageManager.COMPONENT_ENABLED_STATE_DEFAULT, in enableIfNecessary()
|