Home
last modified time | relevance | path

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

1234

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowActivityThread.java28 public static Object getPackageManager() { in getPackageManager() method in ShadowActivityThread
53 .getPackageManager() in getPackageManager()
64 .getPackageManager() in getPackageManager()
75 .getPackageManager() in getPackageManager()
87 .getPackageManager() in getPackageManager()
DShadowDevicePolicyManager.java154 (ApplicationPackageManager) context.getApplicationContext().getPackageManager(); in init()
433 PackageManager pm = context.getPackageManager(); in setPackagesSuspended()
458 context.getPackageManager().getPackageInfo(packageName, 0); in isPackageSuspended()
614 .getPackageManager() in setPermissionGrantState()
831 PackageManager packageManager = context.getPackageManager(); in addPersistentPreferredActivity()
839 PackageManager packageManager = context.getPackageManager(); in clearPackagePersistentPreferredActivities()
DShadowSliceManager.java68 PackageManager packageManager = context.getPackageManager(); in getUidForPackage()
/external/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
DDeviceReportActivity.java145 + getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUDIO_PRO)); in reportExtraDeviceInfo()
147 + getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUDIO_LOW_LATENCY)); in reportExtraDeviceInfo()
149 + getPackageManager().hasSystemFeature(PackageManager.FEATURE_MIDI)); in reportExtraDeviceInfo()
151 + getPackageManager().hasSystemFeature(PackageManager.FEATURE_USB_HOST)); in reportExtraDeviceInfo()
153 + getPackageManager().hasSystemFeature(PackageManager.FEATURE_USB_ACCESSORY)); in reportExtraDeviceInfo()
/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/connectedappssdk/tests/robotests/src/test/java/com/google/android/enterprise/connectedapps/
DRobolectricTestUtilities.java101 packageManager = context.getPackageManager(); in RobolectricTestUtilities()
223 shadowOf(context.getPackageManager()).removePackage(profileOwnerPackage.packageName); in setRunningOnPersonalProfile()
227 shadowOf(context.getPackageManager()).setPackagesForUid(PERSONAL_UID, context.getPackageName()); in setRunningOnPersonalProfile()
239 shadowOf(context.getPackageManager()).setPackagesForUid(WORK_UID, context.getPackageName()); in setRunningOnWorkProfile()
246 shadowOf(context.getPackageManager()).installPackage(profileOwnerPackage); in setHasProfileOwner()
254 shadowOf(context.getPackageManager()).setNameForUid(uid, context.getPackageName()); in setUid()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/controller/
DContentProviderController.java35 .getPackageManager() in create()
68 .getPackageManager() in create()
/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/modules/audio_device/android/java/src/org/webrtc/voiceengine/
DWebRtcAudioManager.java243 return ContextUtils.getApplicationContext().getPackageManager().hasSystemFeature( in hasEarpiece()
249 return ContextUtils.getApplicationContext().getPackageManager().hasSystemFeature( in isLowLatencyOutputSupported()
268 && ContextUtils.getApplicationContext().getPackageManager().hasSystemFeature( in isProAudioSupported()
/external/connectedappssdk/tests/robotests/src/test/java/com/google/android/enterprise/connectedapps/robotests/
DCrossProfileServiceTest.java91 shadowOf(context.getPackageManager()) in crossProfileMethodCall_multiplePackagesForUid_doesNotThrowException()
103 shadowOf(context.getPackageManager()).setPackagesForUid(10, DIFFERENT_PACKAGE_NAME); in crossProfileMethodCall_callingFromInvalidPackage_throwsWrappedIllegalStateException()
/external/libchrome/base/test/android/javatests/src/org/chromium/base/test/
DBaseChromiumRunnerCommon.java56 public PackageManager getPackageManager() { in getPackageManager() method in BaseChromiumRunnerCommon.MultiDexContextWrapper
57 return new PackageManagerWrapper(super.getPackageManager()) { in getPackageManager()
/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()
DShadowSliceManagerTest.java33 PackageManager packageManager = RuntimeEnvironment.application.getPackageManager(); in setUp()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/
DLocalActivityInvoker.java39 ActivityInfo ai = intent.resolveActivityInfo(getTargetContext().getPackageManager(), 0); in startActivity()
197 if (getTargetContext().getPackageManager().resolveActivity(intent, 0) != null) { in getIntentForActivity()
/external/glide/library/src/main/java/com/bumptech/glide/signature/
DApplicationVersionSignature.java46 pInfo = context.getPackageManager().getPackageInfo(context.getPackageName(), 0); in obtainVersionSignature()
/external/libchrome/base/android/java/src/org/chromium/base/multidex/
DChromiumMultiDexInstaller.java67 PackageManager packageManager = context.getPackageManager(); in shouldInstallMultiDex()
/external/replicaisland/src/com/replica/replicaisland/
DMultiTouchFilter.java36 PackageManager packageManager = context.getPackageManager(); in supportsMultitouch()
/external/libtextclassifier/java/src/com/android/textclassifier/common/intent/
DLabeledIntent.java94 final PackageManager pm = context.getPackageManager(); in resolve()
172 resolveDescription(resolveInfo, context.getPackageManager()), in createRemoteAction()
/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/angle/src/android_system_settings/src/com/android/angle/common/
DMainFragment.java206 List<PackageInfo> pkgs = getActivity().getPackageManager().getInstalledPackages(0); in getInstalledPkgsList()
240 return packageInfo.applicationInfo.loadLabel(getActivity().getPackageManager()).toString(); in getAppName()
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DSettingsFragment.java52 getContext().getPackageManager().hasSystemFeature("android.software.midi"); in onCreatePreferences()
/external/skia/platform_tools/android/apps/androidkitdemo/src/main/java/org/skia/androidkitdemo1/
DNavigationSpinner.java67 PackageManager pm = c.getPackageManager(); in getActivityList()
/external/connectedappssdk/sdk/src/main/java/com/google/android/enterprise/connectedapps/
DCrossProfileSDKUtilities.java65 PackageManager packageManager = context.getPackageManager(); in calculateIsRunningOnWorkProfile()

1234