Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/plugins/
DPluginEnablerImpl.java50 : PackageManager.COMPONENT_ENABLED_STATE_DISABLED; in setDisabled()
62 != PackageManager.COMPONENT_ENABLED_STATE_DISABLED; in isEnabled()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DComponentTest.java20 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DISABLED;
261 COMPONENT_ENABLED_STATE_DISABLED, in testDisableActivity()
404 COMPONENT_ENABLED_STATE_DISABLED, in testDisableService()
518 COMPONENT_ENABLED_STATE_DISABLED, in testDisableReceiver()
585 COMPONENT_ENABLED_STATE_DISABLED, in testDisableProvider()
696 COMPONENT_ENABLED_STATE_DISABLED, in DISABLED_testDisableApplication()
/frameworks/base/packages/EasterEgg/src/com/android/egg/
DComponentActivationActivity.java62 PackageManager.COMPONENT_ENABLED_STATE_DISABLED, in onStart()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DPowerTest.java66 PackageManager.COMPONENT_ENABLED_STATE_DISABLED, 0);
/frameworks/base/core/java/android/content/pm/
DPackageUserState.java20 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DISABLED;
320 case COMPONENT_ENABLED_STATE_DISABLED: in isPackageEnabled()
353 case COMPONENT_ENABLED_STATE_DISABLED: in isEnabled()
DPackageManager.java997 COMPONENT_ENABLED_STATE_DISABLED,
1029 public static final int COMPONENT_ENABLED_STATE_DISABLED = 2; field in PackageManager
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/
DBackupEligibilityRulesTest.java182 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DISABLED); in appIsEligibleForBackup_systemAppWithCustomBackupAgentAndDisabled_returnsFalse()
198 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DISABLED); in appIsEligibleForBackup_nonSystemAppWithoutCustomBackupAgentAndDisabled_returnsFalse()
214 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DISABLED); in appIsEligibleForBackup_nonSystemAppWithCustomBackupAgentAndDisbled_returnsFalse()
383 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DISABLED); in appIsDisabled_stateDisabled_returnsTrue()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DBackupEligibilityRules.java265 case PackageManager.COMPONENT_ENABLED_STATE_DISABLED: in appIsDisabled()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/plugins/
DPluginManagerTest.java215 eq(PackageManager.COMPONENT_ENABLED_STATE_DISABLED), in testDisableIntent()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageManagerSettingsTests.java20 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DISABLED;
509 assertThat(ps.getEnabled(0), is(not(COMPONENT_ENABLED_STATE_DISABLED))); in testEnableDisable()
511 ps.setEnabled(COMPONENT_ENABLED_STATE_DISABLED, 0, null); in testEnableDisable()
515 assertThat(ps.getEnabled(0), is(COMPONENT_ENABLED_STATE_DISABLED)); in testEnableDisable()
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/
DProcessErrorsTest.java253 PackageManager.COMPONENT_ENABLED_STATE_DISABLED) { in intentForActivity()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DCarrierActionUtils.java132 PackageManager.COMPONENT_ENABLED_STATE_DISABLED, PackageManager.DONT_KILL_APP); in onDisableDefaultURLHandler()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerServiceImpl.java284 : PackageManager.COMPONENT_ENABLED_STATE_DISABLED, in setTunerEnabled()
/frameworks/base/core/proto/android/service/
Dpackage.proto95 COMPONENT_ENABLED_STATE_DISABLED = 2; enumerator
/frameworks/base/services/core/java/com/android/server/pm/
DPackageSettingBase.java20 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DISABLED;
656 return COMPONENT_ENABLED_STATE_DISABLED; in getCurrentEnabledStateLPr()
DPackageManagerShellCommand.java240 return runSetEnabledSetting(PackageManager.COMPONENT_ENABLED_STATE_DISABLED); in onCommand()
2168 case PackageManager.COMPONENT_ENABLED_STATE_DISABLED: in enabledSettingToString()
DLauncherAppsService.java1054 case PackageManager.COMPONENT_ENABLED_STATE_DISABLED: in isActivityEnabled()
DPackageManagerService.java35 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DISABLED;
7929 ps.setEnabled(PackageManager.COMPONENT_ENABLED_STATE_DISABLED, in installSystemStubPackages()
7985 stubPs.setEnabled(COMPONENT_ENABLED_STATE_DISABLED, in enableCompressedPackage()
21996 stubPs.setEnabled(COMPONENT_ENABLED_STATE_DISABLED, aUserId, "android"); in deleteSystemPackageLIF()
21999 stubPs.setEnabled(COMPONENT_ENABLED_STATE_DISABLED, userId, "android"); in deleteSystemPackageLIF()
23857 || newState == COMPONENT_ENABLED_STATE_DISABLED
23986 || newState == COMPONENT_ENABLED_STATE_DISABLED)
24018 case COMPONENT_ENABLED_STATE_DISABLED:
24327 if (!mUserManager.exists(userId)) return COMPONENT_ENABLED_STATE_DISABLED;
24356 if (!mUserManager.exists(userId)) return COMPONENT_ENABLED_STATE_DISABLED;
DSettings.java20 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DISABLED;
3701 packageSetting.setEnabled(COMPONENT_ENABLED_STATE_DISABLED, 0, null);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
DAppRestrictionsHelper.java315 || enabled == PackageManager.COMPONENT_ENABLED_STATE_DISABLED) { in addSystemApps()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierAppUtilsTest.java192 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DISABLED); in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Disabled()
478 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DISABLED); in testDisableCarrierAppsUntilPrivileged_NoPrivileges_Disabled()
504 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DISABLED); in testDisableCarrierAppsUntilPrivileged_NullPrivileges_Disabled()
/frameworks/base/core/java/android/content/pm/parsing/
DPackageInfoWithoutStateUtils.java425 } else if (state.enabled == PackageManager.COMPONENT_ENABLED_STATE_DISABLED in generateApplicationInfoUnchecked()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobSchedulerService.java19 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DISABLED;
814 if (state == COMPONENT_ENABLED_STATE_DISABLED
/frameworks/base/services/core/java/com/android/server/
DBluetoothManagerService.java2752 bluetoothSharingDisallowed ? PackageManager.COMPONENT_ENABLED_STATE_DISABLED in updateOppLauncherComponentState()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java2769 : COMPONENT_ENABLED_STATE_DISABLED, in setSyntheticAppDetailsActivityEnabled()

12