Home
last modified time | relevance | path

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

/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.java383 packageManager.getPackageInfo( in testGetPackageInfo_ForReceiversSucceeds()
1304 packageManager.getPackageInfo( in getPackageInfo_shouldReturnActivityInfos()
1326 packageManager.getPackageInfo( in getPackageInfo_getProvidersShouldReturnProviderInfos()
1422 packageManager.getPackageInfo("unknown_package", PackageManager.GET_RECEIVERS); in testGetPackageInfo_ForReceiversIncorrectPackage()
1432 packageManager.getPackageInfo( in getPackageInfo_shouldReturnRequestedPermissions()
1447 packageManager.getPackageInfo( in getPackageInfo_uninstalledPackage_includeUninstalled()
1463 packageManager.getPackageInfo( in getPackageInfo_uninstalledPackage_dontIncludeUninstalled()
1478 packageManager.getPackageInfo( in getPackageInfo_disabledPackage_includeDisabled()
2267 PackageInfo packageInfo = packageManager.getPackageInfo("test.package", 0); in addPackageSetsStorage()
2331 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/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.java435 pm.getPackageInfo(packageName, 0); in setPackagesSuspended()
455 context.getPackageManager().getPackageInfo(packageName, 0); in isPackageSuspended()
612 .getPackageInfo(selfPackageName, PackageManager.GET_PERMISSIONS); in setPermissionGrantState()
DShadowApplicationPackageManager.java228 getPackageInfo(packageName, -1); in getApplicationEnabledSetting()
307 protected synchronized PackageInfo getPackageInfo(String packageName, int flags) in getPackageInfo() method in ShadowApplicationPackageManager
1014 PackageInfo packageInfo1 = getPackageInfo(pkg1, GET_SIGNATURES); in checkSignatures()
1015 PackageInfo packageInfo2 = getPackageInfo(pkg2, GET_SIGNATURES); in checkSignatures()
1179 getPackageInfo(packageName, -1); in getApplicationInfo()
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DLoopbackApplication.java349 android.content.pm.PackageInfo packageInfo = context.getPackageManager().getPackageInfo( in getSystemInfo()
/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.java905 mService.getPackageManager().getPackageInfo(packageName, PackageManager.GET_META_DATA); in getPackageVersionCode()
920 mService.getPackageManager().getPackageInfo(packageName, PackageManager.GET_META_DATA); in getPackageVersion()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/
DParallelUniverse.java209 .getPackageInfo(applicationInfo, null, Context.CONTEXT_INCLUDE_CODE); in setUpApplicationState()
/external/tensorflow/tensorflow/lite/java/demo/app/src/main/java/com/example/android/tflitecamerademo/
DCamera2BasicFragment.java608 .getPackageInfo(activity.getPackageName(), PackageManager.GET_PERMISSIONS); in getRequiredPermissions()