Home
last modified time | relevance | path

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

/external/robolectric/integration_tests/ctesque/src/sharedTest/java/android/content/pm/
DPackageManagerTest.java4 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DISABLED;
171 pm.setComponentEnabledSetting(activityName, COMPONENT_ENABLED_STATE_DISABLED, DONT_KILL_APP); in getPackageInfo_programmaticallyDisabledComponent_noFlags_notReturned()
184 pm.setComponentEnabledSetting(activityName, COMPONENT_ENABLED_STATE_DISABLED, DONT_KILL_APP); in getPackageInfo_programmaticallyDisabledComponent_withFlags_returned()
211 context.getPackageName(), COMPONENT_ENABLED_STATE_DISABLED, DONT_KILL_APP); in getPackageInfo_disabledApplication_stillReturned_below24() local
236 context.getPackageName(), COMPONENT_ENABLED_STATE_DISABLED, DONT_KILL_APP); in getPackageInfo_disabledApplication_stillReturned_after24() local
253 context.getPackageName(), COMPONENT_ENABLED_STATE_DISABLED, DONT_KILL_APP); in getPackageInfo_disabledApplication_withFlags_returnedEverything() local
271 context.getPackageName(), COMPONENT_ENABLED_STATE_DISABLED, DONT_KILL_APP); in getApplicationInfo_disabledApplication_stillReturnedWithNoFlags() local
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowPackageManagerTest.java15 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DISABLED;
570 COMPONENT_ENABLED_STATE_DISABLED, in getApplicationInfo_uninstalledApplication_includeUninstalled() local
585 COMPONENT_ENABLED_STATE_DISABLED, in getApplicationInfo_uninstalledApplication_dontIncludeUninstalled() local
601 COMPONENT_ENABLED_STATE_DISABLED, in getApplicationInfo_disabledApplication_includeDisabled() local
828 PackageManager.COMPONENT_ENABLED_STATE_DISABLED, in queryIntentActivities_DisabledComponentExplicitIntent()
848 PackageManager.COMPONENT_ENABLED_STATE_DISABLED, in queryIntentActivities_DisabledComponentImplicitIntent()
868 PackageManager.COMPONENT_ENABLED_STATE_DISABLED, in queryIntentActivities_MatchDisabledComponents()
1196 PackageManager.COMPONENT_ENABLED_STATE_DISABLED, in queryIntentContentProviders_MatchDisabledComponents()
1484 COMPONENT_ENABLED_STATE_DISABLED, in getPackageInfo_uninstalledPackage_includeUninstalled() local
1499 COMPONENT_ENABLED_STATE_DISABLED, in getPackageInfo_uninstalledPackage_dontIncludeUninstalled() local
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowApplicationPackageManager.java5 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DISABLED;
159 if (applicationEnabledSettingMap.get(packageName) == COMPONENT_ENABLED_STATE_DISABLED in getInstalledPackages()
332 if (applicationEnabledSettingMap.get(packageName) == COMPONENT_ENABLED_STATE_DISABLED in getPackageInfo()
427 & PackageManager.COMPONENT_ENABLED_STATE_DISABLED) in filterResolvedComponent()
1205 if (applicationEnabledSettingMap.get(packageName) == COMPONENT_ENABLED_STATE_DISABLED in getApplicationInfo()
DShadowPackageManager.java3 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DISABLED;
658 != COMPONENT_ENABLED_STATE_DISABLED in getPackageArchiveInfo()
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowPackageManagerTest.java18 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DISABLED;
1323 PackageManager.COMPONENT_ENABLED_STATE_DISABLED, in queryIntentActivities_DisabledComponentViaPmExplicitIntent()
1358 PackageManager.COMPONENT_ENABLED_STATE_DISABLED, in queryIntentActivities_DisabledComponentViaPmImplicitIntent()
1376 PackageManager.COMPONENT_ENABLED_STATE_DISABLED, in queryIntentActivities_MatchDisabledViaPmComponents()
2118 context.getPackageName(), COMPONENT_ENABLED_STATE_DISABLED, 0); in getPackageInfo_disabledPackage_includeDisabled() local
2166 context.getPackageName(), COMPONENT_ENABLED_STATE_DISABLED, 0); in getPackageInfoAfterT_disabledPackage_includeDisabled() local
2193 context.getPackageName(), COMPONENT_ENABLED_STATE_DISABLED, 0); in getInstalledPackages_disabledPackage_includeDisabled() local
2227 context.getPackageName(), COMPONENT_ENABLED_STATE_DISABLED, 0); in getInstalledPackagesAfterT_disabledPackage_includeDisabled() local
2451 "org.robolectric", PackageManager.COMPONENT_ENABLED_STATE_DISABLED, 0); in testSetApplicationEnabledSetting()
2454 .isEqualTo(PackageManager.COMPONENT_ENABLED_STATE_DISABLED); in testSetApplicationEnabledSetting()
[all …]
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowPackageManager.java3 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DISABLED;
1127 != COMPONENT_ENABLED_STATE_DISABLED in getShadowPackageArchiveInfo()
DShadowApplicationPackageManager.java8 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DISABLED;
355 enabled ? COMPONENT_ENABLED_STATE_DEFAULT : COMPONENT_ENABLED_STATE_DISABLED, in setSyntheticAppDetailsActivityEnabled()