/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowPackageManager.java | 397 public void installPackage(PackageInfo packageInfo) { in installPackage() argument 398 ApplicationInfo appInfo = packageInfo.applicationInfo; in installPackage() 401 appInfo.packageName = packageInfo.packageName; in installPackage() 402 packageInfo.applicationInfo = appInfo; in installPackage() 407 packageInfo.activities, in installPackage() 408 packageInfo.services, in installPackage() 409 packageInfo.providers, in installPackage() 410 packageInfo.receivers, in installPackage() 423 addPackageNoDefaults(packageInfo); in installPackage() 432 public void addPackageNoDefaults(PackageInfo packageInfo) { in addPackageNoDefaults() argument [all …]
|
D | ShadowApplicationPackageManager.java | 135 for (PackageInfo packageInfo : packageInfos.values()) { in getInstalledPackages() 136 String packageName = packageInfo.packageName; in getInstalledPackages() 148 result.add(newPackageInfo(packageInfo)); in getInstalledPackages() 159 PackageInfo packageInfo = packageInfos.get(packageName); in getActivityInfo() local 161 if (packageInfo != null) { in getActivityInfo() 162 if (packageInfo.activities != null) { in getActivityInfo() 163 for (ActivityInfo activity : packageInfo.activities) { in getActivityInfo() 177 result.applicationInfo = new ApplicationInfo(packageInfo.applicationInfo); in getActivityInfo() 216 for (PackageInfo packageInfo : packageInfos.values()) { in getPackagesForUid() 217 if (packageInfo.applicationInfo != null && packageInfo.applicationInfo.uid == uid) { in getPackagesForUid() [all …]
|
D | ShadowWebView.java | 38 private static PackageInfo packageInfo = null; field in ShadowWebView 334 return packageInfo; in getCurrentWebViewPackage() 339 packageInfo = webViewPackageInfo; in setCurrentWebViewPackage() 401 packageInfo = null; in reset()
|
D | ShadowDevicePolicyManager.java | 607 PackageInfo packageInfo; in setPermissionGrantState() local 609 packageInfo = in setPermissionGrantState() 616 if (Arrays.asList(packageInfo.requestedPermissions).contains(permission)) { in setPermissionGrantState()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowPackageManagerTest.java | 171 PackageInfo packageInfo = new PackageInfo(); in packageInstallerAndGetPackageArchiveInfo() local 172 packageInfo.packageName = TEST_PACKAGE_NAME; in packageInstallerAndGetPackageArchiveInfo() 173 packageInfo.applicationInfo = appInfo; in packageInstallerAndGetPackageArchiveInfo() 174 shadowPackageManager.installPackage(packageInfo); in packageInstallerAndGetPackageArchiveInfo() 228 PackageInfo packageInfo = new PackageInfo(); in testCheckPermission_otherPackages() local 229 packageInfo.packageName = TEST_PACKAGE_NAME; in testCheckPermission_otherPackages() 230 packageInfo.requestedPermissions = new String[] { in testCheckPermission_otherPackages() 233 packageInfo.requestedPermissionsFlags = new int[] { in testCheckPermission_otherPackages() 235 shadowPackageManager.installPackage(packageInfo); in testCheckPermission_otherPackages() 251 PackageInfo packageInfo = new PackageInfo(); in testCheckPermission_otherPackages_grantedByDefault() local [all …]
|
D | ShadowWebViewTest.java | 328 PackageInfo packageInfo = new PackageInfo(); in shouldReturnStoredPackageInfoForGetCurrentWebViewPackageIfSet() local 329 packageInfo.packageName = "org.robolectric.shadows.shadowebviewtest"; in shouldReturnStoredPackageInfoForGetCurrentWebViewPackageIfSet() 330 ShadowWebView.setCurrentWebViewPackage(packageInfo); in shouldReturnStoredPackageInfoForGetCurrentWebViewPackageIfSet() 331 assertThat(WebView.getCurrentWebViewPackage()).isEqualTo(packageInfo); in shouldReturnStoredPackageInfoForGetCurrentWebViewPackageIfSet()
|
D | ShadowPowerManagerTest.java | 168 PackageInfo packageInfo = context.getPackageManager() in setPowerSaveMode_succeedsWithPermission() local 170 packageInfo.requestedPermissions = new String[] { permission.DEVICE_POWER }; in setPowerSaveMode_succeedsWithPermission()
|
D | ShadowUserManagerTest.java | 144 PackageInfo packageInfo = in enforcePermissionChecks() local 147 packageInfo.requestedPermissions = new String[] {permission.MANAGE_USERS}; in enforcePermissionChecks()
|
/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/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/libchrome/base/android/java/src/org/chromium/base/ |
D | PackageUtils.java | 29 PackageInfo packageInfo = pm.getPackageInfo(packageName, 0); in getPackageVersion() local 30 if (packageInfo != null) versionCode = packageInfo.versionCode; in getPackageVersion()
|
D | BuildInfo.java | 78 public static void setBrowserPackageInfo(PackageInfo packageInfo) { in setBrowserPackageInfo() argument 80 sBrowserPackageInfo = packageInfo; in setBrowserPackageInfo()
|
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/ |
D | LoopbackApplication.java | 349 android.content.pm.PackageInfo packageInfo = context.getPackageManager().getPackageInfo( in getSystemInfo() local 351 int versionCode = packageInfo.versionCode; in getSystemInfo() 352 String versionName = packageInfo.versionName; in getSystemInfo()
|
/external/dexmaker/dexmaker-mockito-tests/src/main/java/com/android/dx/mockito/tests/ |
D | BlacklistedApis.java | 61 PackageInfo packageInfo = context.getPackageManager().getPackageInfo( in isDebuggable() local 64 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/turbine/java/com/google/turbine/bytecode/ |
D | AttributeWriter.java | 234 tmp.writeShort(pool.packageInfo(export.moduleName())); in writeModule() 244 tmp.writeShort(pool.packageInfo(opens.moduleName())); in writeModule()
|
D | ConstantPoolReader.java | 138 public String packageInfo(int index) { in packageInfo() method in ConstantPoolReader
|
D | ConstantPool.java | 178 int packageInfo(String value) { in packageInfo() method in ConstantPool
|
D | ClassReader.java | 241 String exportsModule = constantPool.packageInfo(reader.u2()); in readModule() 255 String opensModule = constantPool.packageInfo(reader.u2()); in readModule()
|
/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 | 81 public void packageInfo() throws IOException { in packageInfo() method in MainTest
|
/external/turbine/javatests/com/google/turbine/deps/ |
D | DependenciesTest.java | 293 public void packageInfo() throws Exception { in packageInfo() method in DependenciesTest
|