Home
last modified time | relevance | path

Searched refs:COMPONENT_ENABLED_STATE_DEFAULT (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/content/pm/
DComponentTest.java19 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/
DCarrierAppUtils.java192 == 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/
DPackageUserState.java19 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()
DPackageManager.java650 COMPONENT_ENABLED_STATE_DEFAULT,
668 public static final int COMPONENT_ENABLED_STATE_DEFAULT = 0; field in PackageManager
DApplicationInfo.java1076 public int enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DEFAULT;
DPackageParser.java7695 if (state.enabled != PackageManager.COMPONENT_ENABLED_STATE_DEFAULT) { in copyNeeded()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierAppUtilsTest.java263 .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/
DAppBackupUtils.java164 case PackageManager.COMPONENT_ENABLED_STATE_DEFAULT: in appIsDisabled()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageManagerSettingsTests.java19 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/
DSystemImpl.java224 enable ? PackageManager.COMPONENT_ENABLED_STATE_DEFAULT : in enablePackageForUser()
/frameworks/base/core/proto/android/service/
Dpackage.proto89 COMPONENT_ENABLED_STATE_DEFAULT = 0; enumerator
/frameworks/base/services/core/java/com/android/server/pm/
DPackageSettingBase.java19 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DEFAULT;
557 return COMPONENT_ENABLED_STATE_DEFAULT; in getCurrentEnabledStateLPr()
DSettings.java19 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()
DPackageManagerShellCommand.java223 return runSetEnabledSetting(PackageManager.COMPONENT_ENABLED_STATE_DEFAULT); in onCommand()
1960 case PackageManager.COMPONENT_ENABLED_STATE_DEFAULT: in enabledSettingToString()
DPackageManagerService.java32 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/
DAppBackupUtilsTest.java222 .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/
DPackageManagerStub.java46 public static int sApplicationEnabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DEFAULT;
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodUtils.java689 if (state == PackageManager.COMPONENT_ENABLED_STATE_DEFAULT in setDisabledUntilUsed()
DInputMethodManagerService.java2637 PackageManager.COMPONENT_ENABLED_STATE_DEFAULT, in updateInputMethodsFromSettingsLocked()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java2529 ? 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/
DDevicePolicyManagerTest.java389 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/
DBluetoothManagerService.java2574 : PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; in updateOppLauncherComponentState()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java1106 : 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/
DNotificationManagerService.java1274 || enabled == PackageManager.COMPONENT_ENABLED_STATE_DEFAULT) {
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java8853 PackageManager.COMPONENT_ENABLED_STATE_DEFAULT, in enableIfNecessary()

12