Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/core/tests/coretests/src/android/content/pm/
H A 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 …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/kotlin/
H A DPackageManagerExtComponentEnabledTest.kt75 PackageManager.COMPONENT_ENABLED_STATE_DEFAULT -> "STATE_DEFAULT"
113 componentEnabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DEFAULT,
143 componentEnabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DEFAULT,
/aosp14/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
H A 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()
/aosp14/frameworks/base/packages/StatementService/src/com/android/statementservice/utils/
H A DAndroidUtils.kt48 PackageManager.COMPONENT_ENABLED_STATE_DEFAULT -> true
58 PackageManager.COMPONENT_ENABLED_STATE_DEFAULT -> false
/aosp14/frameworks/base/services/core/java/com/android/server/pm/pkg/
H A DPackageUserStateUtils.java136 case PackageManager.COMPONENT_ENABLED_STATE_DEFAULT: in isEnabled()
166 case PackageManager.COMPONENT_ENABLED_STATE_DEFAULT: in isPackageEnabled()
H A DPackageUserStateDefault.java38 return PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; in getEnabledState()
/aosp14/frameworks/base/telephony/common/com/android/internal/telephony/
H A DCarrierAppUtils.java189 == PackageManager.COMPONENT_ENABLED_STATE_DEFAULT in disableCarrierAppsUntilPrivileged()
224 == PackageManager.COMPONENT_ENABLED_STATE_DEFAULT in disableCarrierAppsUntilPrivileged()
252 == PackageManager.COMPONENT_ENABLED_STATE_DEFAULT in disableCarrierAppsUntilPrivileged()
292 == PackageManager.COMPONENT_ENABLED_STATE_DEFAULT in disableCarrierAppsUntilPrivileged()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/kotlin/
H A DPackageManagerExt.kt37 PackageManager.COMPONENT_ENABLED_STATE_DEFAULT -> componentInfo.isEnabled
/aosp14/frameworks/base/core/java/android/content/pm/pkg/
H A DFrameworkPackageUserStateDefault.java37 return PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; in getEnabledState()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/
H A DControlsListingControllerImplTest.kt398 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DEFAULT)
425 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DEFAULT)
452 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DEFAULT)
625 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DEFAULT)
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/pipeline/data/repository/
H A DInstalledTilesComponentRepositoryImplTest.kt84 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DEFAULT)
244 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DEFAULT)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/
H A DControlsServiceInfo.kt117 PackageManager.COMPONENT_ENABLED_STATE_DEFAULT -> activityInfo.enabled
/aosp14/frameworks/base/apct-tests/perftests/windowmanager/src/android/wm/
H A DRecentsAnimationPerfTest.java111 is(PackageManager.COMPONENT_ENABLED_STATE_DEFAULT), in setUpClass()
/aosp14/frameworks/base/services/backup/java/com/android/server/backup/
H A DTransportManager.java19 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DEFAULT;
173 case COMPONENT_ENABLED_STATE_DEFAULT: { in onPackageChanged()
/aosp14/frameworks/base/services/core/java/com/android/server/webkit/
H A DSystemImpl.java211 enable ? PackageManager.COMPONENT_ENABLED_STATE_DEFAULT : in enablePackageForUser()
/aosp14/frameworks/base/services/backup/java/com/android/server/backup/utils/
H A DBackupEligibilityRules.java298 case PackageManager.COMPONENT_ENABLED_STATE_DEFAULT: in appIsDisabled()
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DDeletePackageHelper.java20 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DEFAULT;
297 (enabledState == COMPONENT_ENABLED_STATE_DEFAULT && pkgEnabled) in deletePackageX()
597 ps.setUserState(nextUserId, 0, COMPONENT_ENABLED_STATE_DEFAULT, in markPackageUninstalledForUserLPw()
H A DPackageManagerInternalBase.java19 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DEFAULT;
620 return COMPONENT_ENABLED_STATE_DEFAULT; in getApplicationEnabledState()
H A DPackageSetting.java19 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DEFAULT;
1024 return COMPONENT_ENABLED_STATE_DEFAULT;
/aosp14/frameworks/base/core/proto/android/service/
H A Dpackage.proto89 COMPONENT_ENABLED_STATE_DEFAULT = 0; enumerator
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
H A DPackageManagerSettingsTests.java19 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DEFAULT;
253 assertThat(ps.getEnabled(0), is(COMPONENT_ENABLED_STATE_DEFAULT)); in testSettingsReadOld()
259 assertThat(ps.getEnabled(1), is(COMPONENT_ENABLED_STATE_DEFAULT)); in testSettingsReadOld()
276 assertThat(ps.getEnabled(1), is(COMPONENT_ENABLED_STATE_DEFAULT)); in testNewPackageRestrictionsFile()
282 assertThat(ps.getEnabled(1), is(COMPONENT_ENABLED_STATE_DEFAULT)); in testNewPackageRestrictionsFile()
/aosp14/frameworks/base/services/robotests/backup/src/com/android/server/backup/
H A DTransportManagerTest.java19 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DEFAULT;
404 Integer.valueOf(COMPONENT_ENABLED_STATE_DEFAULT), in testOnPackageChanged_whenPackageChanged_packageDefaultEnabledRegistersTransport()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/utils/
H A DBackupEligibilityRulesTest.java404 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DEFAULT); in appIsDisabled_stateDefaultManifestEnabled_returnsFalse()
421 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DEFAULT); in appIsDisabled_stateDefaultManifestDisabled_returnsTrue()
/aosp14/frameworks/base/core/java/android/service/quickaccesswallet/
H A DQuickAccessWalletClientImpl.java314 if (setting != PackageManager.COMPONENT_ENABLED_STATE_DEFAULT) { in isActivityEnabled()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/testutils/
H A DPackageManagerStub.java46 public static int sApplicationEnabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DEFAULT;

12