Home
last modified time | relevance | path

Searched refs:getPackageManager (Results 1 – 25 of 56) sorted by relevance

123

/external/libchrome/base/android/java/src/org/chromium/base/
DPackageUtils.java27 PackageManager pm = context.getPackageManager(); in getPackageVersion()
44 PackageManager packageManager = ContextUtils.getApplicationContext().getPackageManager(); in decodeImageResource()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowActivityThread.java20 public static Object getPackageManager() { in getPackageManager() method in ShadowActivityThread
45 .getPackageManager() in getPackageManager()
DShadowDevicePolicyManager.java151 (ApplicationPackageManager) context.getApplicationContext().getPackageManager(); in init()
430 PackageManager pm = context.getPackageManager(); in setPackagesSuspended()
455 context.getPackageManager().getPackageInfo(packageName, 0); in isPackageSuspended()
611 .getPackageManager() in setPermissionGrantState()
823 PackageManager packageManager = context.getPackageManager(); in addPersistentPreferredActivity()
831 PackageManager packageManager = context.getPackageManager(); in clearPackagePersistentPreferredActivities()
DShadowSliceManager.java68 PackageManager packageManager = context.getPackageManager(); in getUidForPackage()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/controller/
DContentProviderController.java35 .getPackageManager() in create()
68 .getPackageManager() in create()
DActivityController.java49 .getPackageManager() in attach()
62 …return application.getPackageManager().getActivityInfo(new ComponentName(application.getPackageNam… in getActivityInfo()
DServiceController.java37 .getPackageManager() in attach()
DIntentServiceController.java38 .getPackageManager() in attach()
/external/deqp/android/package/src/com/drawelements/deqp/testercore/
DRemoteAPI.java86 boolean isActivity = m_context.getPackageManager().resolveActivity(testIntent, 0) != null; in start()
87 boolean isService = m_context.getPackageManager().resolveService(testIntent, 0) != null; in start()
/external/webrtc/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/
DWebRtcAudioManager.java154 return context.getPackageManager().hasSystemFeature( in hasEarpiece()
161 context.getPackageManager().hasSystemFeature( in isLowLatencyOutputSupported()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/
DLocalActivityInvoker.java34 ActivityInfo ai = intent.resolveActivityInfo(getTargetContext().getPackageManager(), 0); in startActivity()
192 if (getTargetContext().getPackageManager().resolveActivity(intent, 0) != null) { in getIntentForActivity()
/external/sl4a/Common/src/com/googlecode/android_scripting/
DVersion.java31 PackageInfo info = context.getPackageManager().getPackageInfo(context.getPackageName(), 0); in getVersion()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowNotificationBuilder25Test.java19 .getPackageManager() in setup()
DShadowAppOpsManagerTest.java204 shadowOf(ApplicationProvider.getApplicationContext().getPackageManager()) in checkPackage_doesntBelong()
216 shadowOf(ApplicationProvider.getApplicationContext().getPackageManager()) in checkPackage_belongs()
DShadowSliceManagerTest.java33 PackageManager packageManager = RuntimeEnvironment.application.getPackageManager(); in setUp()
/external/glide/library/src/main/java/com/bumptech/glide/signature/
DApplicationVersionSignature.java46 pInfo = context.getPackageManager().getPackageInfo(context.getPackageName(), 0); in obtainVersionSignature()
/external/replicaisland/src/com/replica/replicaisland/
DMultiTouchFilter.java36 PackageManager packageManager = context.getPackageManager(); in supportsMultitouch()
/external/vogar/src/vogar/target/
DTestActivity.java50 ApplicationInfo applicationInfo = getPackageManager() in onCreate()
/external/volley/src/main/java/com/android/volley/toolbox/
DVolley.java54 context.getPackageManager().getPackageInfo(packageName, /* flags= */ 0); in newRequestQueue()
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DSettingsFragment.java50 getContext().getPackageManager().hasSystemFeature("android.software.midi"); in onCreatePreferences()
DMidiFragment.java143 return context.getPackageManager(). in hasMidi()
/external/dexmaker/dexmaker-mockito-tests/src/main/java/com/android/dx/mockito/tests/
DBlacklistedApis.java61 PackageInfo packageInfo = context.getPackageManager().getPackageInfo( in isDebuggable()
/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/decoder/
DSkiaImageDecoder.java62 PackageManager pm = context.getPackageManager(); in decode()
/external/sl4a/Common/src/com/googlecode/android_scripting/activity/
DFutureActivity.java64 for (ResolveInfo resolve : getPackageManager().queryIntentActivities(intent, 0)) { in onCreate()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/fakes/
DRoboMonitoringInstrumentation.java42 ActivityInfo ai = intent.resolveActivityInfo(getTargetContext().getPackageManager(), 0); in startActivitySync()

123