Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/content/pm/
DComponentTest.java19 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DEFAULT;
134 COMPONENT_ENABLED_STATE_DEFAULT, in testResolveDisabledActivity()
150 COMPONENT_ENABLED_STATE_DEFAULT, in testResolveEnabledActivity()
163 COMPONENT_ENABLED_STATE_DEFAULT, in testQueryDisabledActivity()
183 COMPONENT_ENABLED_STATE_DEFAULT, in testQueryEnabledActivity()
198 COMPONENT_ENABLED_STATE_DEFAULT, in testGetDisabledActivityInfo()
218 COMPONENT_ENABLED_STATE_DEFAULT, in testGetEnabledActivityInfo()
230 COMPONENT_ENABLED_STATE_DEFAULT, in testEnableActivity()
253 COMPONENT_ENABLED_STATE_DEFAULT, in testDisableActivity()
281 COMPONENT_ENABLED_STATE_DEFAULT, in testResolveDisabledService()
[all …]
/frameworks/base/core/java/android/content/pm/
DPackageUserState.java19 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DEFAULT;
58 enabled = COMPONENT_ENABLED_STATE_DEFAULT; in PackageUserState()
131 case COMPONENT_ENABLED_STATE_DEFAULT: in isEnabled()
DApplicationInfo.java759 public int enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DEFAULT;
DPackageManager.java520 public static final int COMPONENT_ENABLED_STATE_DEFAULT = 0; field in PackageManager
DPackageParser.java5342 if (state.enabled != PackageManager.COMPONENT_ENABLED_STATE_DEFAULT) { in copyNeeded()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageManagerSettingsTests.java19 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DEFAULT;
288 assertEquals(COMPONENT_ENABLED_STATE_DEFAULT, ps.getEnabled(0)); in testSettingsReadOld()
294 assertEquals(COMPONENT_ENABLED_STATE_DEFAULT, ps.getEnabled(1)); in testSettingsReadOld()
312 assertEquals(COMPONENT_ENABLED_STATE_DEFAULT, ps.getEnabled(1)); in testNewPackageRestrictionsFile()
/frameworks/base/telephony/java/com/android/internal/telephony/
DCarrierAppUtils.java119 && (ai.enabledSetting == PackageManager.COMPONENT_ENABLED_STATE_DEFAULT in disableCarrierAppsUntilPrivileged()
129 PackageManager.COMPONENT_ENABLED_STATE_DEFAULT) { in disableCarrierAppsUntilPrivileged()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierAppUtilsTest.java180 appInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Default()
382 appInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; in testDisableCarrierAppsUntilPrivileged_NoPrivileges_Default()
403 appInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; in testDisableCarrierAppsUntilPrivileged_NullPrivileges_Default()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageSettingBase.java19 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DEFAULT;
476 return COMPONENT_ENABLED_STATE_DEFAULT; in getCurrentEnabledStateLPr()
DSettings.java20 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DEFAULT;
803 p.setUserState(user.id, 0, COMPONENT_ENABLED_STATE_DEFAULT, in getPackageLPw()
1604 pkg.setUserState(userId, 0, COMPONENT_ENABLED_STATE_DEFAULT, in readPackageRestrictionsLPr()
1680 COMPONENT_ENABLED_STATE_DEFAULT); in readPackageRestrictionsLPr()
1984 if (ustate.enabled != COMPONENT_ENABLED_STATE_DEFAULT) { in writePackageRestrictionsLPr()
3746 packageSetting.setEnabled(COMPONENT_ENABLED_STATE_DEFAULT, 0, null); in readPackageLPw()
3755 packageSetting.setEnabled(COMPONENT_ENABLED_STATE_DEFAULT, 0, null); in readPackageLPw()
DPackageManagerService.java22 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DEFAULT;
14786 ps.setEnabled(COMPONENT_ENABLED_STATE_DEFAULT,
14809 ps.setEnabled(COMPONENT_ENABLED_STATE_DEFAULT, userId, installerPackageName);
16263 ps.setUserState(nextUserId, 0, COMPONENT_ENABLED_STATE_DEFAULT,
17691 if (!(newState == COMPONENT_ENABLED_STATE_DEFAULT
17751 || oldState == COMPONENT_ENABLED_STATE_DEFAULT
17755 || newState == COMPONENT_ENABLED_STATE_DEFAULT
17770 if (newState == PackageManager.COMPONENT_ENABLED_STATE_DEFAULT
17803 case COMPONENT_ENABLED_STATE_DEFAULT:
/frameworks/base/services/core/java/com/android/server/webkit/
DSystemImpl.java250 enable ? PackageManager.COMPONENT_ENABLED_STATE_DEFAULT : in enablePackageForUser()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/
DSettingsDrawerActivity.java283 if (isEnabled != enabled || state == PackageManager.COMPONENT_ENABLED_STATE_DEFAULT) { in setTileEnabled()
/frameworks/base/cmds/pm/src/com/android/commands/pm/
DPm.java186 return runSetEnabledSetting(PackageManager.COMPONENT_ENABLED_STATE_DEFAULT); in run()
1154 case PackageManager.COMPONENT_ENABLED_STATE_DEFAULT: in enabledSettingToString()
/frameworks/base/services/core/java/com/android/server/vr/
DVrManagerService.java434 PackageManager.COMPONENT_ENABLED_STATE_DEFAULT) { in setEnabledStatusOfVrComponents()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java241 eq(PackageManager.COMPONENT_ENABLED_STATE_DEFAULT), in testSetActiveAdmin()
280 eq(PackageManager.COMPONENT_ENABLED_STATE_DEFAULT), in testSetActiveAdmin()
/frameworks/base/core/java/com/android/internal/inputmethod/
DInputMethodUtils.java770 if (state == PackageManager.COMPONENT_ENABLED_STATE_DEFAULT in setDisabledUntilUsed()
/frameworks/base/services/core/java/com/android/server/
DInputMethodManagerService.java1938 PackageManager.COMPONENT_ENABLED_STATE_DEFAULT, in updateInputMethodsFromSettingsLocked()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java725 || enabled == PackageManager.COMPONENT_ENABLED_STATE_DEFAULT) {
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java5984 int enabled = PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; in cleanupDisabledPackageComponentsLocked()
5999 && enabled != PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; in cleanupDisabledPackageComponentsLocked()
6016 && enabled != PackageManager.COMPONENT_ENABLED_STATE_DEFAULT) { in cleanupDisabledPackageComponentsLocked()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java6375 PackageManager.COMPONENT_ENABLED_STATE_DEFAULT, in enableIfNecessary()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt8766 field public static final int COMPONENT_ENABLED_STATE_DEFAULT = 0; // 0x0
/frameworks/base/api/
Dcurrent.txt9757 field public static final int COMPONENT_ENABLED_STATE_DEFAULT = 0; // 0x0
Dtest-current.txt9770 field public static final int COMPONENT_ENABLED_STATE_DEFAULT = 0; // 0x0
Dsystem-current.txt10126 field public static final int COMPONENT_ENABLED_STATE_DEFAULT = 0; // 0x0