/external/chromium-trace/catapult/devil/devil/android/constants/ |
D | chrome.py | 7 PackageInfo = collections.namedtuple( variable 12 PackageInfo( 17 PackageInfo('com.google.android.apps.chrome', 21 PackageInfo('com.chrome.beta', 'com.google.android.apps.chrome.Main', 24 PackageInfo('com.android.chrome', 'com.google.android.apps.chrome.Main', 27 PackageInfo('com.chrome.dev', 'com.google.android.apps.chrome.Main', 30 PackageInfo('com.chrome.canary', 'com.google.android.apps.chrome.Main', 33 PackageInfo('org.chromium.chrome', 37 PackageInfo('org.chromium.content_shell_apk', '.ContentShellActivity',
|
/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 …]
|
/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/llvm-project/clang/include/clang/StaticAnalyzer/Core/ |
D | CheckerRegistryData.h | 146 struct PackageInfo { struct 152 bool operator==(const PackageInfo &Rhs) const { argument 156 explicit PackageInfo(StringRef FullName) : FullName(FullName) {} in PackageInfo() argument 162 using PackageInfoList = llvm::SmallVector<PackageInfo, 0>; 172 using PackageNameLT = FullNameLT<PackageInfo>;
|
/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 …]
|
/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/connectedappssdk/tests/robotests/src/test/java/com/google/android/enterprise/connectedapps/ |
D | RobolectricTestUtilities.java | 34 import android.content.pm.PackageInfo; 76 private final PackageInfo profileOwnerPackage = new PackageInfo(); 272 PackageInfo packageInfo = new PackageInfo(); in setRequestsPermissions()
|
/external/perfetto/protos/perfetto/trace/android/ |
D | packages_list.proto | 21 message PackageInfo { message 29 repeated PackageInfo packages = 1;
|
/external/volley/src/main/java/com/android/volley/toolbox/ |
D | Volley.java | 20 import android.content.pm.PackageInfo; 53 PackageInfo info = in newRequestQueue()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Core/ |
D | CheckerRegistryData.cpp | 69 LLVM_DUMP_METHOD void PackageInfo::dump() const { dumpToStream(llvm::errs()); } in dump() 71 LLVM_DUMP_METHOD void PackageInfo::dumpToStream(llvm::raw_ostream &Out) const { in dumpToStream() 196 for (const PackageInfo &Package : Packages) { in printCheckerOptionList()
|
/external/connectedappssdk/sdk/src/main/java/com/google/android/enterprise/connectedapps/ |
D | CrossProfileSDKUtilities.java | 20 import android.content.pm.PackageInfo; 68 for (PackageInfo pkg : packageManager.getInstalledPackages(/* flags= */ 0)) { in calculateIsRunningOnWorkProfile()
|
/external/skia/platform_tools/android/apps/androidkitdemo/src/main/java/org/skia/androidkitdemo1/ |
D | NavigationSpinner.java | 6 import android.content.pm.PackageInfo; 68 PackageInfo info = pm.getPackageInfo(c.getPackageName(), PackageManager.GET_ACTIVITIES); in getActivityList()
|