/external/angle/src/android_system_settings/src/com/android/angle/common/ |
D | MainFragment.java | 178 for (PackageInfo packageInfo : mInstalledPkgs) in createInstalledAppsListPreference() 181 initListPreference(packageInfo, listPreference); in createInstalledAppsListPreference() 195 PackageInfo packageInfo = getPackageInfoForPackageName(key); in validatePreferences() local 197 if (packageInfo != null) in validatePreferences() 210 for (PackageInfo packageInfo : pkgs) in getInstalledPkgsList() 212 if (packageInfo.applicationInfo.uid == Process.SYSTEM_UID) in getInstalledPkgsList() 218 if ((packageInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) in getInstalledPkgsList() 223 mInstalledPkgs.add(packageInfo); in getInstalledPkgsList() 238 private String getAppName(PackageInfo packageInfo) in getAppName() argument 240 return packageInfo.applicationInfo.loadLabel(getActivity().getPackageManager()).toString(); in getAppName() [all …]
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowPackageManager.java | 398 public void installPackage(PackageInfo packageInfo) { in installPackage() argument 399 ApplicationInfo appInfo = packageInfo.applicationInfo; in installPackage() 402 appInfo.packageName = packageInfo.packageName; in installPackage() 403 packageInfo.applicationInfo = appInfo; in installPackage() 408 packageInfo.activities, in installPackage() 409 packageInfo.services, in installPackage() 410 packageInfo.providers, in installPackage() 411 packageInfo.receivers, in installPackage() 424 addPackageNoDefaults(packageInfo); in installPackage() 433 public void addPackageNoDefaults(PackageInfo packageInfo) { in addPackageNoDefaults() argument [all …]
|
D | ShadowApplicationPackageManager.java | 156 for (PackageInfo packageInfo : packageInfos.values()) { in getInstalledPackages() 157 String packageName = packageInfo.packageName; in getInstalledPackages() 169 result.add(newPackageInfo(packageInfo)); in getInstalledPackages() 180 PackageInfo packageInfo = packageInfos.get(packageName); in getActivityInfo() local 182 if (packageInfo != null) { in getActivityInfo() 183 if (packageInfo.activities != null) { in getActivityInfo() 184 for (ActivityInfo activity : packageInfo.activities) { in getActivityInfo() 198 result.applicationInfo = new ApplicationInfo(packageInfo.applicationInfo); in getActivityInfo() 237 for (PackageInfo packageInfo : packageInfos.values()) { in getPackagesForUid() 238 if (packageInfo.applicationInfo != null && packageInfo.applicationInfo.uid == uid) { in getPackagesForUid() [all …]
|
D | ShadowCrossProfileApps.java | 353 PackageInfo packageInfo; in canUserAttemptToConfigureInteractAcrossProfiles() local 355 packageInfo = packageManager.getPackageInfo(packageName, /* flags= */ 0); in canUserAttemptToConfigureInteractAcrossProfiles() 359 if (packageInfo == null || packageInfo.requestedPermissions == null) { in canUserAttemptToConfigureInteractAcrossProfiles() 362 return Arrays.asList(packageInfo.requestedPermissions).contains( in canUserAttemptToConfigureInteractAcrossProfiles()
|
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 | 610 PackageInfo packageInfo; in setPermissionGrantState() local 612 packageInfo = in setPermissionGrantState() 619 if (Arrays.asList(packageInfo.requestedPermissions).contains(permission)) { in setPermissionGrantState()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowPackageManagerTest.java | 174 PackageInfo packageInfo = new PackageInfo(); in packageInstallerAndGetPackageArchiveInfo() local 175 packageInfo.packageName = TEST_PACKAGE_NAME; in packageInstallerAndGetPackageArchiveInfo() 176 packageInfo.applicationInfo = appInfo; in packageInstallerAndGetPackageArchiveInfo() 177 shadowPackageManager.installPackage(packageInfo); in packageInstallerAndGetPackageArchiveInfo() 231 PackageInfo packageInfo = new PackageInfo(); in testCheckPermission_otherPackages() local 232 packageInfo.packageName = TEST_PACKAGE_NAME; in testCheckPermission_otherPackages() 233 packageInfo.requestedPermissions = new String[] { in testCheckPermission_otherPackages() 236 packageInfo.requestedPermissionsFlags = new int[] { in testCheckPermission_otherPackages() 238 shadowPackageManager.installPackage(packageInfo); in testCheckPermission_otherPackages() 254 PackageInfo packageInfo = new PackageInfo(); in testCheckPermission_otherPackages_grantedByDefault() local [all …]
|
D | ShadowCrossProfileAppsTest.java | 371 PackageInfo packageInfo = new PackageInfo(); in buildTestPackageInfo() local 372 packageInfo.packageName = packageName; in buildTestPackageInfo() 373 packageInfo.applicationInfo = new ApplicationInfo(); in buildTestPackageInfo() 374 packageInfo.applicationInfo.packageName = packageName; in buildTestPackageInfo() 375 packageInfo.applicationInfo.name = "test"; in buildTestPackageInfo() 376 return packageInfo; in buildTestPackageInfo()
|
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 | 174 PackageInfo packageInfo = in enforcePermissionChecks() local 177 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/connectedappssdk/sdk/src/main/java/com/google/android/enterprise/connectedapps/ |
D | AbstractProfileBinder.java | 117 PackageInfo packageInfo = in cachePermissionRequests() local 120 for (String permission : packageInfo.requestedPermissions) { in cachePermissionRequests()
|
/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/connectedappssdk/tests/robotests/src/test/java/com/google/android/enterprise/connectedapps/ |
D | RobolectricTestUtilities.java | 272 PackageInfo packageInfo = new PackageInfo(); in setRequestsPermissions() local 273 packageInfo.packageName = context.getPackageName(); in setRequestsPermissions() 274 packageInfo.requestedPermissions = permissions; in setRequestsPermissions() 275 shadowOf(packageManager).installPackage(packageInfo); in setRequestsPermissions()
|
/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 | ConstantPoolReader.java | 138 public String packageInfo(int index) { in packageInfo() method in ConstantPoolReader
|
D | AttributeWriter.java | 232 tmp.writeShort(pool.packageInfo(export.moduleName())); in writeModule() 242 tmp.writeShort(pool.packageInfo(opens.moduleName())); in writeModule()
|
D | ConstantPool.java | 177 int packageInfo(String value) { in packageInfo() method in ConstantPool
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
D | AndroidFacade.java | 930 PackageInfo packageInfo = null; in getPackageVersion() local 932 packageInfo = in getPackageVersion() 937 if (packageInfo != null) { in getPackageVersion() 938 return packageInfo.versionName; in getPackageVersion()
|