/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowPackageManager.java | 306 PackageInfo packageInfo = new PackageInfo(); in addPackage() local 307 packageInfo.packageName = packageName; in addPackage() 312 packageInfo.applicationInfo = applicationInfo; in addPackage() 313 addPackage(packageInfo); in addPackage() 316 public void addPackage(PackageInfo packageInfo) { in addPackage() argument 317 PackageStats packageStats = new PackageStats(packageInfo.packageName); in addPackage() 318 addPackage(packageInfo, packageStats); in addPackage() 321 public void addPackage(PackageInfo packageInfo, PackageStats packageStats) { in addPackage() argument 322 Preconditions.checkArgument(packageInfo.packageName.equals(packageStats.packageName)); in addPackage() 324 packageInfos.put(packageInfo.packageName, packageInfo); in addPackage() [all …]
|
D | ShadowApplicationPackageManager.java | 78 for (PackageInfo packageInfo : packageInfos.values()) { in getInstalledPackages() 79 if (applicationEnabledSettingMap.get(packageInfo.packageName) in getInstalledPackages() 83 result.add(packageInfo); in getInstalledPackages() 94 PackageInfo packageInfo = packageInfos.get(packageName); in getActivityInfo() local 96 if (packageInfo != null) { in getActivityInfo() 97 if (packageInfo.activities != null) { in getActivityInfo() 98 for (ActivityInfo activity : packageInfo.activities) { in getActivityInfo() 114 result.applicationInfo = new ApplicationInfo(packageInfo.applicationInfo); in getActivityInfo() 152 for (PackageInfo packageInfo : packageInfos.values()) { in getPackagesForUid() 153 if (packageInfo.applicationInfo != null && packageInfo.applicationInfo.uid == uid) { in getPackagesForUid() [all …]
|
/external/python/cpython2/Mac/scripts/ |
D | buildpkg.py | 166 self.packageInfo = copy.deepcopy(self.packageInfoDefaults) 167 self.packageInfo.update(info) 195 self.packageInfo[k] = v 201 packageName = self.packageInfo["Title"] 234 if self.packageInfo.has_key(f): 236 info = info % self.packageInfo 237 base = self.packageInfo["Title"] + ".info" 249 base = self.packageInfo["Title"] + ".bom" 266 base = basename(self.packageInfo["Title"]) + ".pax" 297 packageName = self.packageInfo["Title"] [all …]
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowPackageManagerTest.java | 157 PackageInfo packageInfo = new PackageInfo(); in packageInstallerAndGetPackageArchiveInfo() local 158 packageInfo.packageName = TEST_PACKAGE_NAME; in packageInstallerAndGetPackageArchiveInfo() 159 packageInfo.applicationInfo = appInfo; in packageInstallerAndGetPackageArchiveInfo() 160 shadowPackageManager.addPackage(packageInfo); in packageInstallerAndGetPackageArchiveInfo() 385 PackageInfo packageInfo = new PackageInfo(); in getPackageArchiveInfo() local 386 packageInfo.packageName = TEST_PACKAGE_NAME; in getPackageArchiveInfo() 387 packageInfo.applicationInfo = appInfo; in getPackageArchiveInfo() 388 shadowPackageManager.addPackage(packageInfo); in getPackageArchiveInfo() 448 PackageInfo packageInfo = new PackageInfo(); in getApplicationInfo_OtherApplication() local 449 packageInfo.packageName = TEST_PACKAGE_NAME; in getApplicationInfo_OtherApplication() [all …]
|
D | ShadowUserManagerTest.java | 132 PackageInfo packageInfo = RuntimeEnvironment.application.getPackageManager() in enforcePermissionChecks() local 135 packageInfo.requestedPermissions = new String[] { permission.MANAGE_USERS }; in enforcePermissionChecks()
|
/external/doclava/src/com/google/doclava/ |
D | LinkReference.java | 47 public PackageInfo packageInfo; field in LinkReference 276 result.packageInfo = Converter.obtainPackage(ref); in parse() 342 + (result.packageInfo != null ? result.packageInfo.name() : "") + "/class=" in parse() 380 } else if (result.packageInfo != null) { in parse() 381 result.href = result.packageInfo.htmlPage(); in parse() 383 result.href = result.packageInfo.htmlPage(); in parse() 384 result.label = result.packageInfo.name(); in parse() 436 } else if (result.packageInfo != null && !result.packageInfo.checkLevel()) { in parse() 456 if (packageInfo != null) { in checkLevel() 457 return packageInfo.checkLevel(); in checkLevel()
|
D | DoclavaDiff.java | 113 PackageInfo packageInfo = new PackageInfo(pkg); in generateHdf() local 122 data.setValue(siteBase + ".link", site.linkFor(packageInfo.htmlPage())); in generateHdf() 213 PackageInfo packageInfo = site.apiInfo().getPackages().get(pkg); in knownClassesForPackage() local 214 if (packageInfo == null) { in knownClassesForPackage() 217 HashMap<String, ClassInfo> classes = packageInfo.allClasses(); in knownClassesForPackage()
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/ |
D | RobolectricPackageManager.java | 166 public void addPackage( PackageInfo packageInfo ) { in addPackage() argument 167 packageList.put(packageInfo.packageName, packageInfo); in addPackage() 204 PackageInfo packageInfo = new PackageInfo(); in initializePackageInfo() local 205 packageInfo.packageName = contextWrapper.getPackageName(); in initializePackageInfo() 206 packageInfo.versionName = "1.0"; in initializePackageInfo() 209 addPackage( packageInfo ); in initializePackageInfo()
|
/external/libmojo/base/android/java/src/org/chromium/base/ |
D | PackageUtils.java | 26 PackageInfo packageInfo = pm.getPackageInfo(packageName, 0); in getPackageVersion() local 27 if (packageInfo != null) versionCode = packageInfo.versionCode; in getPackageVersion()
|
D | BuildInfo.java | 71 PackageInfo packageInfo = packageManager.getPackageInfo("com.google.android.gms", 0); in getGMSVersionCode() local 72 msg = Integer.toString(packageInfo.versionCode); in getGMSVersionCode()
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/res/ |
D | RobolectricPackageManagerTest.java | 50 PackageInfo packageInfo = new PackageInfo(); in getApplicationInfo__OtherApplication() local 51 packageInfo.packageName = TEST_PACKAGE_NAME; in getApplicationInfo__OtherApplication() 52 packageInfo.applicationInfo = new ApplicationInfo(); in getApplicationInfo__OtherApplication() 53 packageInfo.applicationInfo.packageName = TEST_PACKAGE_NAME; in getApplicationInfo__OtherApplication() 54 packageInfo.applicationInfo.name = TEST_PACKAGE_LABEL; in getApplicationInfo__OtherApplication() 55 rpm.addPackage(packageInfo); in getApplicationInfo__OtherApplication()
|
/external/dexmaker/dexmaker-mockito-tests/src/androidTest/java/com/android/dx/mockito/tests/ |
D | BlacklistedApis.java | 51 PackageInfo packageInfo = context.getPackageManager().getPackageInfo( in isDebuggable() local 54 return (packageInfo.applicationInfo.flags & ApplicationInfo.FLAG_DEBUGGABLE) != 0; in isDebuggable()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | CheckerRegistry.cpp | 51 CheckerRegistry::CheckerInfo packageInfo(nullptr, opt.getName(), ""); in collectCheckers() local 54 std::lower_bound(checkers.cbegin(), end, packageInfo, checkerNameLT); in collectCheckers()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
D | AndroidFacade.java | 917 PackageInfo packageInfo = null; in getPackageVersion() local 919 packageInfo = in getPackageVersion() 924 if (packageInfo != null) { in getPackageVersion() 925 return packageInfo.versionName; in getPackageVersion()
|
/external/turbine/javatests/com/google/turbine/main/ |
D | MainTest.java | 78 public void packageInfo() throws IOException { in packageInfo() method in MainTest
|
/external/turbine/javatests/com/google/turbine/deps/ |
D | DependenciesTest.java | 300 public void packageInfo() throws Exception { in packageInfo() method in DependenciesTest
|