Home
last modified time | relevance | path

Searched refs:COMPONENT_ENABLED_STATE_DISABLED (Results 1 – 25 of 26) 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/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.java7773 } 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/core/proto/android/service/
Dpackage.proto95 COMPONENT_ENABLED_STATE_DISABLED = 2; enumerator
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/plugins/
DPluginManagerTest.java215 eq(PackageManager.COMPONENT_ENABLED_STATE_DISABLED), in testDisableIntent()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DCarrierActionUtils.java132 PackageManager.COMPONENT_ENABLED_STATE_DISABLED, PackageManager.DONT_KILL_APP); in onDisableDefaultURLHandler()
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/
DProcessErrorsTest.java253 PackageManager.COMPONENT_ENABLED_STATE_DISABLED) { in intentForActivity()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageSettingBase.java20 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DISABLED;
555 return COMPONENT_ENABLED_STATE_DISABLED; in getCurrentEnabledStateLPr()
DPackageManagerShellCommand.java215 return runSetEnabledSetting(PackageManager.COMPONENT_ENABLED_STATE_DISABLED); in onCommand()
1964 case PackageManager.COMPONENT_ENABLED_STATE_DISABLED: in enabledSettingToString()
DPackageManagerService.java33 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DISABLED;
3360 ps.setEnabled(PackageManager.COMPONENT_ENABLED_STATE_DISABLED,
3412 stubPs.setEnabled(COMPONENT_ENABLED_STATE_DISABLED,
18571 COMPONENT_ENABLED_STATE_DISABLED, UserHandle.USER_SYSTEM, "android");
20696 || newState == COMPONENT_ENABLED_STATE_DISABLED
20842 case COMPONENT_ENABLED_STATE_DISABLED:
21004 if (!sUserManager.exists(userId)) return COMPONENT_ENABLED_STATE_DISABLED;
21011 return COMPONENT_ENABLED_STATE_DISABLED;
21020 if (!sUserManager.exists(userId)) return COMPONENT_ENABLED_STATE_DISABLED;
21027 return COMPONENT_ENABLED_STATE_DISABLED;
DSettings.java20 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DISABLED;
3822 packageSetting.setEnabled(COMPONENT_ENABLED_STATE_DISABLED, 0, null); in readPackageLPw()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierAppUtilsTest.java173 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DISABLED); in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Disabled()
472 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DISABLED); in testDisableCarrierAppsUntilPrivileged_NoPrivileges_Disabled()
499 .thenReturn(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.java2573 bluetoothSharingDisallowed ? PackageManager.COMPONENT_ENABLED_STATE_DISABLED in updateOppLauncherComponentState()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java2530 : PackageManager.COMPONENT_ENABLED_STATE_DISABLED, in setSyntheticAppDetailsActivityEnabled()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt8767 field public static final int COMPONENT_ENABLED_STATE_DISABLED = 2; // 0x2
/frameworks/base/non-updatable-api/
Dcurrent.txt11673 field public static final int COMPONENT_ENABLED_STATE_DISABLED = 2; // 0x2

12