Home
last modified time | relevance | path

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

/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/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;
179 case COMPONENT_ENABLED_STATE_DISABLED: in isEnabled()
DPackageManager.java652 COMPONENT_ENABLED_STATE_DISABLED,
684 public static final int COMPONENT_ENABLED_STATE_DISABLED = 2; field in PackageManager
DPackageParser.java7715 } else if (state.enabled == PackageManager.COMPONENT_ENABLED_STATE_DISABLED in updateApplicationInfo()
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/
DAppBackupUtilsTest.java171 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DISABLED); in appIsEligibleForBackup_systemAppWithCustomBackupAgentAndDisabled_returnsFalse()
188 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DISABLED); in appIsEligibleForBackup_nonSystemAppWithoutCustomBackupAgentAndDisabled_returnsFalse()
205 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DISABLED); in appIsEligibleForBackup_nonSystemAppWithCustomBackupAgentAndDisbled_returnsFalse()
273 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DISABLED); in appIsDisabled_stateDisabled_returnsTrue()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerService.java67 : PackageManager.COMPONENT_ENABLED_STATE_DISABLED, in setTunerEnabled()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DAppBackupUtils.java160 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/core/proto/android/service/
Dpackage.proto95 COMPONENT_ENABLED_STATE_DISABLED = 2; enumerator
/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.java133 PackageManager.COMPONENT_ENABLED_STATE_DISABLED, PackageManager.DONT_KILL_APP); in onDisableDefaultURLHandler()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageSettingBase.java20 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DISABLED;
542 return COMPONENT_ENABLED_STATE_DISABLED; in getCurrentEnabledStateLPr()
DPackageManagerShellCommand.java212 return runSetEnabledSetting(PackageManager.COMPONENT_ENABLED_STATE_DISABLED); in onCommand()
1802 case PackageManager.COMPONENT_ENABLED_STATE_DISABLED: in enabledSettingToString()
DPackageManagerService.java33 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DISABLED;
3435 ps.setEnabled(PackageManager.COMPONENT_ENABLED_STATE_DISABLED, in installSystemStubPackages()
3487 stubPs.setEnabled(COMPONENT_ENABLED_STATE_DISABLED, in enableCompressedPackage()
19109 COMPONENT_ENABLED_STATE_DISABLED, UserHandle.USER_SYSTEM, "android");
21192 || newState == COMPONENT_ENABLED_STATE_DISABLED
21338 case COMPONENT_ENABLED_STATE_DISABLED:
21500 if (!sUserManager.exists(userId)) return COMPONENT_ENABLED_STATE_DISABLED;
21507 return COMPONENT_ENABLED_STATE_DISABLED;
21516 if (!sUserManager.exists(userId)) return COMPONENT_ENABLED_STATE_DISABLED;
21523 return COMPONENT_ENABLED_STATE_DISABLED;
DSettings.java20 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DISABLED;
3817 packageSetting.setEnabled(COMPONENT_ENABLED_STATE_DISABLED, 0, null); in readPackageLPw()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierAppUtilsTest.java161 appInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DISABLED; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Disabled()
431 appInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DISABLED; in testDisableCarrierAppsUntilPrivileged_NoPrivileges_Disabled()
455 appInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DISABLED; in testDisableCarrierAppsUntilPrivileged_NullPrivileges_Disabled()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageManagerSettingsTests.java20 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DISABLED;
323 ps.setEnabled(COMPONENT_ENABLED_STATE_DISABLED, 0, null); in testEnableDisable()
325 assertThat(ps.getEnabled(0), is(COMPONENT_ENABLED_STATE_DISABLED)); in testEnableDisable()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
DAppRestrictionsHelper.java315 || enabled == PackageManager.COMPONENT_ENABLED_STATE_DISABLED) { in addSystemApps()
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerService.java19 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DISABLED;
823 if (state == COMPONENT_ENABLED_STATE_DISABLED
/frameworks/base/services/core/java/com/android/server/
DBluetoothManagerService.java2365 bluetoothSharingDisallowed ? PackageManager.COMPONENT_ENABLED_STATE_DISABLED in updateOppLauncherComponentState()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java2530 : PackageManager.COMPONENT_ENABLED_STATE_DISABLED, in setSyntheticAppDetailsActivityEnabled()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...