/external/chromium-trace/catapult/devil/devil/android/constants/ |
D | chrome.py | 7 PackageInfo = collections.namedtuple( variable 12 'chrome_document': PackageInfo( 17 'chrome': PackageInfo( 22 'chrome_beta': PackageInfo( 27 'chrome_stable': PackageInfo( 32 'chrome_dev': PackageInfo( 37 'chrome_canary': PackageInfo( 42 'chromium': PackageInfo( 47 'content_shell': PackageInfo(
|
/external/doclava/src/com/google/doclava/apicheck/ |
D | ApiInfo.java | 21 import com.google.doclava.PackageInfo; 32 private HashMap<String, PackageInfo> mPackages 33 = new HashMap<String, PackageInfo>(); 70 public boolean isConsistent(ApiInfo otherApi, List<PackageInfo> pkgInfoDiff) { in isConsistent() 83 public boolean isConsistent(ApiInfo otherApi, List<PackageInfo> pkgInfoDiff, in isConsistent() 87 for (PackageInfo pInfo : mPackages.values()) { in isConsistent() 105 PackageInfo info = new PackageInfo(pInfo.name(), pInfo.position()); in isConsistent() 118 for (PackageInfo pInfo : otherApi.mPackages.values()) { in isConsistent() 132 Collections.sort(pkgInfoDiff, PackageInfo.comparator); in isConsistent() 137 public HashMap<String, PackageInfo> getPackages() { in getPackages() [all …]
|
/external/angle/src/android_system_settings/src/com/android/angle/common/ |
D | MainFragment.java | 22 import android.content.pm.PackageInfo; 50 private List<PackageInfo> mInstalledPkgs = new ArrayList<>(); 178 for (PackageInfo packageInfo : mInstalledPkgs) in createInstalledAppsListPreference() 195 PackageInfo packageInfo = getPackageInfoForPackageName(key); in validatePreferences() 206 List<PackageInfo> pkgs = getActivity().getPackageManager().getInstalledPackages(0); in getInstalledPkgsList() 210 for (PackageInfo packageInfo : pkgs) in getInstalledPkgsList() 229 private final Comparator<PackageInfo> displayNameComparator = new Comparator<PackageInfo>() { 230 public final int compare(PackageInfo a, PackageInfo b) 238 private String getAppName(PackageInfo packageInfo) in getAppName() 256 private void initListPreference(PackageInfo packageInfo, ListPreference listPreference) in initListPreference() [all …]
|
D | GlobalSettings.java | 20 import android.content.pm.PackageInfo; 34 private List<PackageInfo> mInstalledPkgs = new ArrayList<>(); 38 GlobalSettings(Context context, List<PackageInfo> installedPkgs) in GlobalSettings() 166 void setInstalledPkgs(List<PackageInfo> installedPkgs) in setInstalledPkgs() 277 for (PackageInfo pkg : mInstalledPkgs) in isPkgInstalled()
|
/external/deqp/framework/common/ |
D | tcuTestPackage.hpp | 90 struct PackageInfo struct in tcu::TestPackageRegistry 92 …PackageInfo (std::string name_, TestPackageCreateFunc createFunc_) : name(name_), createFunc(creat… in PackageInfo() function 102 const std::vector<PackageInfo*>& getPackageInfos (void) const; 103 PackageInfo* getPackageInfoByName (const char* name) const; 113 std::vector<PackageInfo*> m_packageInfos;
|
D | tcuTestPackage.cpp | 99 m_packageInfos.push_back(new PackageInfo(name, createFunc)); in registerPackage() 102 const std::vector<TestPackageRegistry::PackageInfo*>& TestPackageRegistry::getPackageInfos (void) c… in getPackageInfos() 107 TestPackageRegistry::PackageInfo* TestPackageRegistry::getPackageInfoByName (const char* packageNam… in getPackageInfoByName() 120 PackageInfo* info = getPackageInfoByName(name); in createPackage() 151 const vector<TestPackageRegistry::PackageInfo*>& packageInfos = packageRegistry->getPackageInfos(); in TestPackageRoot()
|
/external/libchrome/build/android/pylib/constants/ |
D | __init__.py | 32 'legacy_browser': chrome.PackageInfo( 37 'chromecast_shell': chrome.PackageInfo( 42 'android_webview_shell': chrome.PackageInfo( 47 'gtest': chrome.PackageInfo( 52 'components_browsertests': chrome.PackageInfo( 58 'content_browsertests': chrome.PackageInfo( 63 'chromedriver_webview_shell': chrome.PackageInfo(
|
/external/doclava/src/com/google/doclava/ |
D | PackageInfo.java | 25 public class PackageInfo extends DocInfo implements ContainerInfo { class 28 public static final Comparator<PackageInfo> comparator = new Comparator<PackageInfo>() { 29 public int compare(PackageInfo a, PackageInfo b) { 34 public PackageInfo(PackageDoc pkg, String name, SourcePositionInfo position) { in PackageInfo() method in PackageInfo 46 public PackageInfo(String name) { in PackageInfo() method in PackageInfo 52 public PackageInfo(String name, SourcePositionInfo position) { in PackageInfo() method in PackageInfo 293 } else if (o instanceof PackageInfo) { in equals() 294 final PackageInfo p = (PackageInfo) o; in equals() 417 public boolean isConsistent(PackageInfo pInfo) { in isConsistent() 477 public boolean isConsistent(PackageInfo pInfo, List<ClassInfo> clsInfoDiff) { in isConsistent() [all …]
|
D | Stubs.java | 57 Map<PackageInfo, List<ClassInfo>> allClassesByPackage = null; in writeStubsAndApi() 253 HashMap<PackageInfo, List<ClassInfo>> packages = new HashMap<PackageInfo, List<ClassInfo>>(); in writeStubsAndApi() 584 PackageInfo pkg = cl.containingPackage(); in javaFileName() 601 && cl.containingPackage().name().equals(PackageInfo.DEFAULT_PACKAGE)) { in writeClassFile() 623 PackageInfo pkg = cl.containingPackage(); in writeClassFile() 1114 public static void writeXml(PrintStream xmlWriter, Collection<PackageInfo> pkgs, boolean strip) { in writeXml() 1122 public static void writeXml(PrintStream xmlWriter, Collection<PackageInfo> pkgs, in writeXml() 1125 final PackageInfo[] packages = pkgs.toArray(new PackageInfo[pkgs.size()]); in writeXml() 1126 Arrays.sort(packages, PackageInfo.comparator); in writeXml() 1129 for (PackageInfo pkg: packages) { in writeXml() [all …]
|
D | NavTree.java | 32 for (PackageInfo pkg : Doclava.choosePackages()) { in writeNavTree() 70 for (PackageInfo pkg : Doclava.choosePackages()) { in writeYamlTree2() 111 PackageInfo pkg = cl.containingPackage(); in writeYamlTree() 140 if (o instanceof PackageInfo) { in makeYamlHDF() 141 PackageInfo pkg = (PackageInfo) o; in makeYamlHDF() 186 private static Node makePackageNode(PackageInfo pkg) { in makePackageNode()
|
D | Doclava.java | 1003 SortedMap<String, PackageInfo> sorted = new TreeMap<String, PackageInfo>(); in makePackageHDF() 1005 PackageInfo pkg = cl.containingPackage(); in makePackageHDF() 1016 for (Map.Entry<String, PackageInfo> entry : sorted.entrySet()) { in makePackageHDF() 1018 PackageInfo pkg = entry.getValue(); in makePackageHDF() 1195 PackageInfo pkg = cl.containingPackage(); in writeLists() 1217 if (o instanceof PackageInfo) { in writeLists() 1218 PackageInfo pkg = (PackageInfo) o; in writeLists() 1400 private static PackageInfo[] sVisiblePackages = null; 1402 public static PackageInfo[] choosePackages() { in choosePackages() 1408 SortedMap<String, PackageInfo> sorted = new TreeMap<String, PackageInfo>(); in choosePackages() [all …]
|
D | DoclavaDiff.java | 113 PackageInfo packageInfo = new PackageInfo(pkg); in generateHdf() 196 Map<String, PackageInfo> packages = site.apiInfo().getPackages(); in knownPackages() 213 PackageInfo packageInfo = site.apiInfo().getPackages().get(pkg); in knownClassesForPackage()
|
D | AtLinksNavTree.java | 79 private static void addPackages(StringBuilder buf, PackageInfo[] packages) { in addPackages() 81 for (PackageInfo pkg : Doclava.choosePackages()) { in addPackages()
|
/external/libchrome/base/android/java/src/org/chromium/base/ |
D | BuildInfo.java | 8 import android.content.pm.PackageInfo; 25 private static PackageInfo sBrowserPackageInfo; 78 public static void setBrowserPackageInfo(PackageInfo packageInfo) { in setBrowserPackageInfo() 93 PackageInfo pi = pm.getPackageInfo(hostPackageName, 0); in BuildInfo() 109 PackageInfo gmsPackageInfo = null; in BuildInfo()
|
D | PackageUtils.java | 8 import android.content.pm.PackageInfo; 29 PackageInfo packageInfo = pm.getPackageInfo(packageName, 0); in getPackageVersion()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowPackageManagerTest.java | 14 import static android.content.pm.PackageInfo.REQUESTED_PERMISSION_GRANTED; 58 import android.content.pm.PackageInfo; 174 PackageInfo packageInfo = new PackageInfo(); in packageInstallerAndGetPackageArchiveInfo() 179 PackageInfo packageInfoResult = shadowPackageManager.getPackageArchiveInfo(TEST_APP_PATH, 0); in packageInstallerAndGetPackageArchiveInfo() 231 PackageInfo packageInfo = new PackageInfo(); in testCheckPermission_otherPackages() 254 PackageInfo packageInfo = new PackageInfo(); in testCheckPermission_otherPackages_grantedByDefault() 274 PackageInfo packageInfo = new PackageInfo(); in testGrantRuntimePermission() 308 PackageInfo packageInfo = new PackageInfo(); in testGrantRuntimePermission_doesntRequestPermission() 327 PackageInfo packageInfo = new PackageInfo(); in testRevokeRuntimePermission() 385 PackageInfo receiverInfos = in testGetPackageInfo_ForReceiversSucceeds() [all …]
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowApplicationPackageManager.java | 4 import static android.content.pm.PackageInfo.REQUESTED_PERMISSION_GRANTED; 52 import android.content.pm.PackageInfo; 154 public List<PackageInfo> getInstalledPackages(int flags) { in getInstalledPackages() 155 List<PackageInfo> result = new ArrayList<>(); in getInstalledPackages() 156 for (PackageInfo packageInfo : packageInfos.values()) { in getInstalledPackages() 180 PackageInfo packageInfo = packageInfos.get(packageName); in getActivityInfo() 237 for (PackageInfo packageInfo : packageInfos.values()) { in getPackagesForUid() 262 PackageInfo packageInfo = packageInfos.get(packageName); in getProviderInfo() 309 for (PackageInfo packageInfo : packageInfos.values()) { in resolveContentProvider() 328 protected synchronized PackageInfo getPackageInfo(String packageName, int flags) in getPackageInfo() [all …]
|
D | ShadowPackageManager.java | 49 import android.content.pm.PackageInfo; 103 static final Map<String, PackageInfo> packageInfos = new LinkedHashMap<>(); 105 private static Map<String, PackageInfo> packageArchiveInfo = new HashMap<>(); 398 public void installPackage(PackageInfo packageInfo) { in installPackage() 433 public void addPackageNoDefaults(PackageInfo packageInfo) { in addPackageNoDefaults() 444 public synchronized void addPackage(PackageInfo packageInfo, PackageStats packageStats) { in addPackage() 462 PackageInfo packageInfo = new PackageInfo(); in addPackage() 476 public void addPackage(PackageInfo packageInfo) { in addPackage() 493 public PackageInfo getInternalMutablePackageInfo(String packageName) { in getInternalMutablePackageInfo() 499 public PackageInfo getPackageInfoForTesting(String packageName) { in getPackageInfoForTesting() [all …]
|
D | ShadowWebView.java | 3 import android.content.pm.PackageInfo; 38 private static PackageInfo packageInfo = null; 333 protected static PackageInfo getCurrentWebViewPackage() { in getCurrentWebViewPackage() 338 public static void setCurrentWebViewPackage(PackageInfo webViewPackageInfo) { in setCurrentWebViewPackage()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/ |
D | Version.java | 20 import android.content.pm.PackageInfo; 31 PackageInfo info = context.getPackageManager().getPackageInfo(context.getPackageName(), 0); in getVersion()
|
/external/glide/library/src/main/java/com/bumptech/glide/signature/ |
D | ApplicationVersionSignature.java | 4 import android.content.pm.PackageInfo; 44 PackageInfo pInfo = null; in obtainVersionSignature()
|
/external/volley/src/main/java/com/android/volley/toolbox/ |
D | Volley.java | 20 import android.content.pm.PackageInfo; 53 PackageInfo info = in newRequestQueue()
|
/external/perfetto/protos/perfetto/trace/android/ |
D | packages_list.proto | 21 message PackageInfo { message 29 repeated PackageInfo packages = 1;
|
/external/dexmaker/dexmaker-mockito-tests/src/main/java/com/android/dx/mockito/tests/ |
D | BlacklistedApis.java | 29 import android.content.pm.PackageInfo; 61 PackageInfo packageInfo = context.getPackageManager().getPackageInfo( in isDebuggable()
|
/external/ImageMagick/PerlMagick/ |
D | Magick.xs | 187 struct PackageInfo struct 589 *SetupList(pTHX_ SV *,struct PackageInfo **,SV ***,ExceptionInfo *); 620 static struct PackageInfo *ClonePackageInfo(struct PackageInfo *info, in ClonePackageInfo() 623 struct PackageInfo in ClonePackageInfo() 626 clone_info=(struct PackageInfo *) AcquireQuantumMemory(1,sizeof(*clone_info)); in ClonePackageInfo() 627 if (clone_info == (struct PackageInfo *) NULL) in ClonePackageInfo() 631 return((struct PackageInfo *) NULL); in ClonePackageInfo() 633 if (info == (struct PackageInfo *) NULL) in ClonePackageInfo() 850 static void DestroyPackageInfo(struct PackageInfo *info) in DestroyPackageInfo() 853 info=(struct PackageInfo *) RelinquishMagickMemory(info); in DestroyPackageInfo() [all …]
|