Home
last modified time | relevance | path

Searched refs:getPackageInfo (Results 1 – 25 of 26) sorted by relevance

12

/external/libchrome/base/android/java/src/org/chromium/base/
DBuildInfo.java93 PackageInfo pi = pm.getPackageInfo(hostPackageName, 0); in BuildInfo()
111 gmsPackageInfo = pm.getPackageInfo("com.google.android.gms", 0); in BuildInfo()
124 pm.getPackageInfo("projekt.substratum", 0); in BuildInfo()
DPackageUtils.java29 PackageInfo packageInfo = pm.getPackageInfo(packageName, 0); in getPackageVersion()
/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.java20 .getPackageInfo("org.robolectric", 0) in setup()
DShadowPackageManagerTest.java386 packageManager.getPackageInfo( in testGetPackageInfo_ForReceiversSucceeds()
1344 packageManager.getPackageInfo( in getPackageInfo_shouldReturnActivityInfos()
1366 packageManager.getPackageInfo( in getPackageInfo_getProvidersShouldReturnProviderInfos()
1462 packageManager.getPackageInfo("unknown_package", PackageManager.GET_RECEIVERS); in testGetPackageInfo_ForReceiversIncorrectPackage()
1472 packageManager.getPackageInfo( in getPackageInfo_shouldReturnRequestedPermissions()
1487 packageManager.getPackageInfo( in getPackageInfo_uninstalledPackage_includeUninstalled()
1503 packageManager.getPackageInfo( in getPackageInfo_uninstalledPackage_dontIncludeUninstalled()
1518 packageManager.getPackageInfo( in getPackageInfo_disabledPackage_includeDisabled()
2307 PackageInfo packageInfo = packageManager.getPackageInfo("test.package", 0); in addPackageSetsStorage()
2371 packageManager.getPackageInfo( in getPackageInfo_shouldHaveWritableDataDirs()
[all …]
DShadowPowerManagerTest.java169 .getPackageInfo(context.getPackageName(), PackageManager.GET_PERMISSIONS); in setPowerSaveMode_succeedsWithPermission()
DShadowContextTest.java59 .getPackageInfo("org.robolectric", 0).applicationInfo.dataDir, "data"); in shouldCreateIfDoesNotExistAndGetApplicationDataDirectory()
/external/glide/library/src/main/java/com/bumptech/glide/signature/
DApplicationVersionSignature.java46 pInfo = context.getPackageManager().getPackageInfo(context.getPackageName(), 0); in obtainVersionSignature()
/external/volley/src/main/java/com/android/volley/toolbox/
DVolley.java54 context.getPackageManager().getPackageInfo(packageName, /* flags= */ 0); in newRequestQueue()
/external/skia/platform_tools/android/apps/androidkitdemo/src/main/java/org/skia/androidkitdemo1/
DNavigationSpinner.java68 PackageInfo info = pm.getPackageInfo(c.getPackageName(), PackageManager.GET_ACTIVITIES); in getActivityList()
/external/connectedappssdk/sdk/src/main/java/com/google/android/enterprise/connectedapps/
DAbstractProfileBinder.java118 packageManager.getPackageInfo(context.getPackageName(), PackageManager.GET_PERMISSIONS); in cachePermissionRequests()
/external/dexmaker/dexmaker-mockito-tests/src/main/java/com/android/dx/mockito/tests/
DBlacklistedApis.java61 PackageInfo packageInfo = context.getPackageManager().getPackageInfo( in isDebuggable()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowDevicePolicyManager.java438 pm.getPackageInfo(packageName, 0); in setPackagesSuspended()
458 context.getPackageManager().getPackageInfo(packageName, 0); in isPackageSuspended()
615 .getPackageInfo(selfPackageName, PackageManager.GET_PERMISSIONS); in setPermissionGrantState()
DShadowApplicationPackageManager.java249 getPackageInfo(packageName, -1); in getApplicationEnabledSetting()
328 protected synchronized PackageInfo getPackageInfo(String packageName, int flags) in getPackageInfo() method in ShadowApplicationPackageManager
1035 PackageInfo packageInfo1 = getPackageInfo(pkg1, GET_SIGNATURES); in checkSignatures()
1036 PackageInfo packageInfo2 = getPackageInfo(pkg2, GET_SIGNATURES); in checkSignatures()
1110 return getPackageInfo(packageName, flags); in getPackageInfoAsUser()
1200 getPackageInfo(packageName, -1); in getApplicationInfo()
DShadowCrossProfileApps.java355 packageInfo = packageManager.getPackageInfo(packageName, /* flags= */ 0); in canUserAttemptToConfigureInteractAcrossProfiles()
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DLoopbackApplication.java349 android.content.pm.PackageInfo packageInfo = context.getPackageManager().getPackageInfo( in getSystemInfo()
/external/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
DMainActivity.java95 PackageInfo pinfo = getPackageManager().getPackageInfo(getPackageName(), 0); in onCreate()
DAnalyzerActivity.java115 PackageInfo pinfo = getPackageManager().getPackageInfo(getPackageName(), 0); in getCommonTestReport()
/external/sl4a/Common/src/com/googlecode/android_scripting/interpreter/
DInterpreterConfiguration.java151 packInfo = mmPackageManager.getPackageInfo(packageName, PackageManager.GET_PROVIDERS); in buildInterpreter()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DAndroidFacade.java918 mService.getPackageManager().getPackageInfo(packageName, PackageManager.GET_META_DATA); in getPackageVersionCode()
933 mService.getPackageManager().getPackageInfo(packageName, PackageManager.GET_META_DATA); in getPackageVersion()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/
DParallelUniverse.java234 .getPackageInfo(applicationInfo, null, Context.CONTEXT_INCLUDE_CODE); in setUpApplicationState()
/external/tensorflow/tensorflow/lite/java/demo/app/src/main/java/com/example/android/tflitecamerademo/
DCamera2BasicFragment.java600 .getPackageInfo(activity.getPackageName(), PackageManager.GET_PERMISSIONS); in getRequiredPermissions()
/external/webrtc/examples/androidapp/src/org/appspot/apprtc/
DConnectActivity.java277 info = getPackageManager().getPackageInfo(getPackageName(), PackageManager.GET_PERMISSIONS); in getMissingPermissions()
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/util/
DUtil.java1354 PackageInfo info = context.getPackageManager().getPackageInfo(packageName, 0); in getUserAgent()
/external/javassist/src/main/javassist/bytecode/
DConstPool.java786 public String getPackageInfo(int index) in getPackageInfo() method in ConstPool

12