Home
last modified time | relevance | path

Searched refs:COMPONENT_ENABLED_STATE_DEFAULT (Results 1 – 25 of 47) 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;
137 COMPONENT_ENABLED_STATE_DEFAULT, in testResolveDisabledActivity()
153 COMPONENT_ENABLED_STATE_DEFAULT, in testResolveEnabledActivity()
166 COMPONENT_ENABLED_STATE_DEFAULT, in testQueryDisabledActivity()
186 COMPONENT_ENABLED_STATE_DEFAULT, in testQueryEnabledActivity()
201 COMPONENT_ENABLED_STATE_DEFAULT, in testGetDisabledActivityInfo()
221 COMPONENT_ENABLED_STATE_DEFAULT, in testGetEnabledActivityInfo()
233 COMPONENT_ENABLED_STATE_DEFAULT, in testEnableActivity()
256 COMPONENT_ENABLED_STATE_DEFAULT, in testDisableActivity()
284 COMPONENT_ENABLED_STATE_DEFAULT, in testResolveDisabledService()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/kotlin/
DPackageManagerExtComponentEnabledTest.kt75 PackageManager.COMPONENT_ENABLED_STATE_DEFAULT -> "STATE_DEFAULT" in enabledStateToString()
113 componentEnabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DEFAULT,
143 componentEnabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DEFAULT,
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowApplicationPackageManager.java19 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DEFAULT;
58 sPackageAppEnabledStates.put(packageName, Integer.valueOf(COMPONENT_ENABLED_STATE_DEFAULT)); in addInstalledPackage()
88 return COMPONENT_ENABLED_STATE_DEFAULT; in getApplicationEnabledSetting()
/frameworks/base/packages/StatementService/src/com/android/statementservice/utils/
DAndroidUtils.kt48 PackageManager.COMPONENT_ENABLED_STATE_DEFAULT -> true in component1()
58 PackageManager.COMPONENT_ENABLED_STATE_DEFAULT -> false in component1()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierAppUtilsTest.java305 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DEFAULT); in testDisableCarrierAppsUntilPrivileged_HasPrivileges_MissingAssociated_Default()
336 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DEFAULT); in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Associated_Default()
689 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DEFAULT); in testDisableCarrierAppsUntilPrivileged_NoPrivileges_EnabledAssociated_Default()
734 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DEFAULT); in testDisableCarrierAppsUntilPrivileged_NoPrivileges_Associated_Default()
744 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DEFAULT); in testDisableCarrierAppsUntilPrivileged_NoPrivileges_Associated_Default()
781 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DEFAULT); in testDisableCarrierAppsUntilPrivileged_NoPrivileges_Associated_Default_HandledSdk()
790 associatedAppInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; in testDisableCarrierAppsUntilPrivileged_NoPrivileges_Associated_Default_HandledSdk()
831 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DEFAULT); in testDCAUP_NoPrivileges_Associated_Default_HandledSdk_AssociatedSdkUnspecified()
840 associatedAppInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; in testDCAUP_NoPrivileges_Associated_Default_HandledSdk_AssociatedSdkUnspecified()
880 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DEFAULT); in testDCAUP_NoPrivileges_Associated_Default_NewSdk_AssociatedSdkCurrent()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/kotlin/
DPackageManagerExt.kt37 PackageManager.COMPONENT_ENABLED_STATE_DEFAULT -> componentInfo.isEnabled in PackageManager()
/frameworks/base/services/core/java/com/android/server/pm/pkg/
DPackageUserStateUtils.java165 case PackageManager.COMPONENT_ENABLED_STATE_DEFAULT: in isEnabled()
195 case PackageManager.COMPONENT_ENABLED_STATE_DEFAULT: in isPackageEnabled()
DPackageUserStateDefault.java39 return PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; in getEnabledState()
/frameworks/base/telephony/common/com/android/internal/telephony/
DCarrierAppUtils.java190 == PackageManager.COMPONENT_ENABLED_STATE_DEFAULT in disableCarrierAppsUntilPrivileged()
225 == PackageManager.COMPONENT_ENABLED_STATE_DEFAULT in disableCarrierAppsUntilPrivileged()
261 == PackageManager.COMPONENT_ENABLED_STATE_DEFAULT in disableCarrierAppsUntilPrivileged()
303 == PackageManager.COMPONENT_ENABLED_STATE_DEFAULT in disableCarrierAppsUntilPrivileged()
/frameworks/base/core/java/android/content/pm/pkg/
DFrameworkPackageUserStateDefault.java37 return PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; in getEnabledState()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/
DControlsListingControllerImplTest.kt394 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DEFAULT) in testActivityDefaultEnabled_correctPanel()
421 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DEFAULT) in testActivityDefaultDisabled_nullPanel()
448 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DEFAULT) in testActivityDifferentPackage_nullPanel()
590 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DEFAULT) in testNoPanelIfMultiWindowNotSupported()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/data/repository/
DInstalledTilesComponentRepositoryImplTest.kt78 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DEFAULT) in <lambda>()
203 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DEFAULT) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/
DControlsServiceInfo.kt112 PackageManager.COMPONENT_ENABLED_STATE_DEFAULT -> activityInfo.enabled in isComponentActuallyEnabled()
/frameworks/base/services/backup/java/com/android/server/backup/
DTransportManager.java19 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DEFAULT;
173 case COMPONENT_ENABLED_STATE_DEFAULT: { in onPackageChanged()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodUtils.java155 if (state == PackageManager.COMPONENT_ENABLED_STATE_DEFAULT in setDisabledUntilUsed()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DBackupEligibilityRules.java334 case PackageManager.COMPONENT_ENABLED_STATE_DEFAULT: in appIsDisabled()
/frameworks/base/services/core/java/com/android/server/pm/
DDeletePackageHelper.java21 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DEFAULT;
304 (enabledState == COMPONENT_ENABLED_STATE_DEFAULT && pkgEnabled) in deletePackageX()
622 COMPONENT_ENABLED_STATE_DEFAULT, in markPackageUninstalledForUserLPw()
DPackageManagerInternalBase.java20 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DEFAULT;
631 return COMPONENT_ENABLED_STATE_DEFAULT; in getApplicationEnabledState()
/frameworks/base/services/core/java/com/android/server/webkit/
DSystemImpl.java221 enable ? PackageManager.COMPONENT_ENABLED_STATE_DEFAULT : in enablePackageForUser()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DTransportManagerTest.java19 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DEFAULT;
404 Integer.valueOf(COMPONENT_ENABLED_STATE_DEFAULT), in testOnPackageChanged_whenPackageChanged_packageDefaultEnabledRegistersTransport()
/frameworks/base/core/proto/android/service/
Dpackage.proto89 COMPONENT_ENABLED_STATE_DEFAULT = 0; enumerator
/frameworks/base/core/java/android/service/quickaccesswallet/
DQuickAccessWalletClientImpl.java314 if (setting != PackageManager.COMPONENT_ENABLED_STATE_DEFAULT) { in isActivityEnabled()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageManagerSettingsTests.java19 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DEFAULT;
372 assertThat(ps.getEnabled(0), is(COMPONENT_ENABLED_STATE_DEFAULT)); in testSettingsReadOld()
378 assertThat(ps.getEnabled(1), is(COMPONENT_ENABLED_STATE_DEFAULT)); in testSettingsReadOld()
395 assertThat(ps.getEnabled(1), is(COMPONENT_ENABLED_STATE_DEFAULT)); in testNewPackageRestrictionsFile()
401 assertThat(ps.getEnabled(1), is(COMPONENT_ENABLED_STATE_DEFAULT)); in testNewPackageRestrictionsFile()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/utils/
DBackupEligibilityRulesTest.java404 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DEFAULT); in appIsDisabled_stateDefaultManifestEnabled_returnsFalse()
421 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DEFAULT); in appIsDisabled_stateDefaultManifestDisabled_returnsTrue()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/testutils/
DPackageManagerStub.java46 public static int sApplicationEnabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DEFAULT;

12