Home
last modified time | relevance | path

Searched refs:COMPONENT_ENABLED_STATE_DISABLED (Results 1 – 5 of 5) 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;
169 pm.setComponentEnabledSetting(activityName, COMPONENT_ENABLED_STATE_DISABLED, DONT_KILL_APP); in getPackageInfo_programmaticallyDisabledComponent_noFlags_notReturned()
182 pm.setComponentEnabledSetting(activityName, COMPONENT_ENABLED_STATE_DISABLED, DONT_KILL_APP); in getPackageInfo_programmaticallyDisabledComponent_withFlags_returned()
209 context.getPackageName(), COMPONENT_ENABLED_STATE_DISABLED, DONT_KILL_APP); in getPackageInfo_disabledApplication_stillReturned_below24() local
234 context.getPackageName(), COMPONENT_ENABLED_STATE_DISABLED, DONT_KILL_APP); in getPackageInfo_disabledApplication_stillReturned_after24() local
251 context.getPackageName(), COMPONENT_ENABLED_STATE_DISABLED, DONT_KILL_APP); in getPackageInfo_disabledApplication_withFlags_returnedEverything() local
268 context.getPackageName(), COMPONENT_ENABLED_STATE_DISABLED, DONT_KILL_APP); in getApplicationInfo_disabledApplication_stillReturnedWithNoFlags() local
/external/leakcanary2/leakcanary-android-core/src/main/java/leakcanary/internal/
DInternalLeakCanary.kt12 import android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DISABLED in <lambda>()
330 if (enabled) COMPONENT_ENABLED_STATE_ENABLED else COMPONENT_ENABLED_STATE_DISABLED in <lambda>()
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowPackageManagerTest.java20 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DISABLED;
1596 PackageManager.COMPONENT_ENABLED_STATE_DISABLED, in queryIntentActivities_DisabledComponentViaPmExplicitIntent()
1631 PackageManager.COMPONENT_ENABLED_STATE_DISABLED, in queryIntentActivities_DisabledComponentViaPmImplicitIntent()
1649 PackageManager.COMPONENT_ENABLED_STATE_DISABLED, in queryIntentActivities_MatchDisabledViaPmComponents()
2433 context.getPackageName(), COMPONENT_ENABLED_STATE_DISABLED, 0); in getPackageInfo_disabledPackage_includeDisabled() local
2481 context.getPackageName(), COMPONENT_ENABLED_STATE_DISABLED, 0); in getPackageInfoAfterT_disabledPackage_includeDisabled() local
2508 context.getPackageName(), COMPONENT_ENABLED_STATE_DISABLED, 0); in getInstalledPackages_disabledPackage_includeDisabled() local
2542 context.getPackageName(), COMPONENT_ENABLED_STATE_DISABLED, 0); in getInstalledPackagesAfterT_disabledPackage_includeDisabled() local
2765 "org.robolectric", PackageManager.COMPONENT_ENABLED_STATE_DISABLED, 0); in testSetApplicationEnabledSetting()
2768 .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;
1264 != COMPONENT_ENABLED_STATE_DISABLED in getShadowPackageArchiveInfo()
DShadowApplicationPackageManager.java8 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DISABLED;
362 enabled ? COMPONENT_ENABLED_STATE_DEFAULT : COMPONENT_ENABLED_STATE_DISABLED, in setSyntheticAppDetailsActivityEnabled()