/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | ComponentTest.java | 19 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/ |
D | PackageManagerExtComponentEnabledTest.kt | 75 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/ |
D | ShadowApplicationPackageManager.java | 19 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/ |
D | AndroidUtils.kt | 48 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/ |
D | CarrierAppUtilsTest.java | 305 .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/ |
D | PackageManagerExt.kt | 37 PackageManager.COMPONENT_ENABLED_STATE_DEFAULT -> componentInfo.isEnabled in PackageManager()
|
/frameworks/base/services/core/java/com/android/server/pm/pkg/ |
D | PackageUserStateUtils.java | 165 case PackageManager.COMPONENT_ENABLED_STATE_DEFAULT: in isEnabled() 195 case PackageManager.COMPONENT_ENABLED_STATE_DEFAULT: in isPackageEnabled()
|
D | PackageUserStateDefault.java | 39 return PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; in getEnabledState()
|
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | CarrierAppUtils.java | 190 == 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/ |
D | FrameworkPackageUserStateDefault.java | 37 return PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; in getEnabledState()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/ |
D | ControlsListingControllerImplTest.kt | 394 .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/ |
D | InstalledTilesComponentRepositoryImplTest.kt | 78 .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/ |
D | ControlsServiceInfo.kt | 112 PackageManager.COMPONENT_ENABLED_STATE_DEFAULT -> activityInfo.enabled in isComponentActuallyEnabled()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | TransportManager.java | 19 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/ |
D | InputMethodUtils.java | 155 if (state == PackageManager.COMPONENT_ENABLED_STATE_DEFAULT in setDisabledUntilUsed()
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | BackupEligibilityRules.java | 334 case PackageManager.COMPONENT_ENABLED_STATE_DEFAULT: in appIsDisabled()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | DeletePackageHelper.java | 21 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()
|
D | PackageManagerInternalBase.java | 20 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/ |
D | SystemImpl.java | 221 enable ? PackageManager.COMPONENT_ENABLED_STATE_DEFAULT : in enablePackageForUser()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/ |
D | TransportManagerTest.java | 19 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/ |
D | package.proto | 89 COMPONENT_ENABLED_STATE_DEFAULT = 0; enumerator
|
/frameworks/base/core/java/android/service/quickaccesswallet/ |
D | QuickAccessWalletClientImpl.java | 314 if (setting != PackageManager.COMPONENT_ENABLED_STATE_DEFAULT) { in isActivityEnabled()
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
D | PackageManagerSettingsTests.java | 19 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/ |
D | BackupEligibilityRulesTest.java | 404 .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/ |
D | PackageManagerStub.java | 46 public static int sApplicationEnabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DEFAULT;
|