/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowActivityThread.java | 28 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()
|
D | ShadowDevicePolicyManager.java | 154 (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()
|
D | ShadowSliceManager.java | 68 PackageManager packageManager = context.getPackageManager(); in getUidForPackage()
|
/external/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/ |
D | DeviceReportActivity.java | 145 + 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/ |
D | PackageUtils.java | 27 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/ |
D | RobolectricTestUtilities.java | 101 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/ |
D | ContentProviderController.java | 35 .getPackageManager() in create() 68 .getPackageManager() in create()
|
/external/deqp/android/package/src/com/drawelements/deqp/testercore/ |
D | RemoteAPI.java | 86 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/ |
D | WebRtcAudioManager.java | 243 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/ |
D | CrossProfileServiceTest.java | 91 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/ |
D | BaseChromiumRunnerCommon.java | 56 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/ |
D | Version.java | 31 PackageInfo info = context.getPackageManager().getPackageInfo(context.getPackageName(), 0); in getVersion()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowNotificationBuilder25Test.java | 19 .getPackageManager() in setup()
|
D | ShadowSliceManagerTest.java | 33 PackageManager packageManager = RuntimeEnvironment.application.getPackageManager(); in setUp()
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/ |
D | LocalActivityInvoker.java | 39 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/ |
D | ApplicationVersionSignature.java | 46 pInfo = context.getPackageManager().getPackageInfo(context.getPackageName(), 0); in obtainVersionSignature()
|
/external/libchrome/base/android/java/src/org/chromium/base/multidex/ |
D | ChromiumMultiDexInstaller.java | 67 PackageManager packageManager = context.getPackageManager(); in shouldInstallMultiDex()
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | MultiTouchFilter.java | 36 PackageManager packageManager = context.getPackageManager(); in supportsMultitouch()
|
/external/libtextclassifier/java/src/com/android/textclassifier/common/intent/ |
D | LabeledIntent.java | 94 final PackageManager pm = context.getPackageManager(); in resolve() 172 resolveDescription(resolveInfo, context.getPackageManager()), in createRemoteAction()
|
/external/vogar/src/vogar/target/ |
D | TestActivity.java | 50 ApplicationInfo applicationInfo = getPackageManager() in onCreate()
|
/external/volley/src/main/java/com/android/volley/toolbox/ |
D | Volley.java | 54 context.getPackageManager().getPackageInfo(packageName, /* flags= */ 0); in newRequestQueue()
|
/external/angle/src/android_system_settings/src/com/android/angle/common/ |
D | MainFragment.java | 206 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/ |
D | SettingsFragment.java | 52 getContext().getPackageManager().hasSystemFeature("android.software.midi"); in onCreatePreferences()
|
/external/skia/platform_tools/android/apps/androidkitdemo/src/main/java/org/skia/androidkitdemo1/ |
D | NavigationSpinner.java | 67 PackageManager pm = c.getPackageManager(); in getActivityList()
|
/external/connectedappssdk/sdk/src/main/java/com/google/android/enterprise/connectedapps/ |
D | CrossProfileSDKUtilities.java | 65 PackageManager packageManager = context.getPackageManager(); in calculateIsRunningOnWorkProfile()
|