/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/cronet/build/android/pylib/constants/ |
D | __init__.py | 33 chrome.PackageInfo('com.google.android.browser', 36 chrome.PackageInfo('com.google.android.apps.mediashell', 40 chrome.PackageInfo('org.chromium.android_webview.shell', 44 chrome.PackageInfo('org.chromium.native_test', 48 chrome.PackageInfo('org.chromium.android_browsertests_apk', 53 chrome.PackageInfo('org.chromium.components_browsertests_apk', 58 chrome.PackageInfo( 63 chrome.PackageInfo('org.chromium.chromedriver_webview_shell', 67 chrome.PackageInfo('com.android.webview', 71 chrome.PackageInfo('com.google.android.webview', [all …]
|
/external/angle/build/android/pylib/constants/ |
D | __init__.py | 33 chrome.PackageInfo('com.google.android.browser', 36 chrome.PackageInfo('com.google.android.apps.mediashell', 40 chrome.PackageInfo('org.chromium.android_webview.shell', 44 chrome.PackageInfo('org.chromium.native_test', 48 chrome.PackageInfo('org.chromium.android_browsertests_apk', 53 chrome.PackageInfo('org.chromium.components_browsertests_apk', 58 chrome.PackageInfo( 63 chrome.PackageInfo('org.chromium.chromedriver_webview_shell', 67 chrome.PackageInfo('com.android.webview', 71 chrome.PackageInfo('com.google.android.webview', [all …]
|
/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/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/cronet/base/android/java/src/org/chromium/base/ |
D | PackageUtils.java | 9 import android.content.pm.PackageInfo; 36 public static @Nullable PackageInfo getPackageInfo(String packageName, int flags) { in getPackageInfo() 53 PackageInfo packageInfo = getPackageInfo(packageName, 0); in getPackageVersion() 75 public static PackageInfo getApplicationPackageInfo(int flags) { in getApplicationPackageInfo() 76 PackageInfo ret = getPackageInfo(BuildInfo.getInstance().packageName, flags); in getApplicationPackageInfo() 91 PackageInfo packageInfo = getPackageInfo(packageName, PackageManager.GET_SIGNATURES); in getCertificateSHA256FingerprintForPackage()
|
D | BuildInfo.java | 12 import android.content.pm.PackageInfo; 36 private static PackageInfo sBrowserPackageInfo; 126 public static long packageVersionCode(PackageInfo pi) { in packageVersionCode() 137 public static void setBrowserPackageInfo(PackageInfo packageInfo) { in setBrowserPackageInfo() 160 PackageInfo pi = PackageUtils.getPackageInfo(hostPackageName, 0); in BuildInfo() 178 PackageInfo gmsPackageInfo = PackageUtils.getPackageInfo("com.google.android.gms", 0); in BuildInfo()
|
/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 295 } else if (o instanceof PackageInfo) { in equals() 296 final PackageInfo p = (PackageInfo) o; in equals() 419 public boolean isConsistent(PackageInfo pInfo) { in isConsistent() 479 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()
|
/external/deqp/framework/common/ |
D | tcuTestPackage.hpp | 122 struct PackageInfo struct in tcu::TestPackageRegistry 124 …PackageInfo (std::string name_, TestPackageCreateFunc createFunc_) : name(name_), createFunc(creat… in PackageInfo() argument 134 const std::vector<PackageInfo*>& getPackageInfos (void) const; 135 PackageInfo* getPackageInfoByName (const char* name) const; 145 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/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowApplicationPackageManager.java | 6 import static android.content.pm.PackageInfo.REQUESTED_PERMISSION_GRANTED; 69 import android.content.pm.PackageInfo; 146 public List<PackageInfo> getInstalledPackages(int flags) { in getInstalledPackages() 151 protected List<PackageInfo> getInstalledPackages(Object flags) { in getInstalledPackages() 155 private List<PackageInfo> getInstalledPackages(long flags) { in getInstalledPackages() 156 List<PackageInfo> result = new ArrayList<>(); in getInstalledPackages() 166 PackageInfo packageInfo = getPackageInfo(packageName, flags); in getInstalledPackages() 220 Function<PackageInfo, T[]> componentsInPackage, in getComponentInfo() argument 226 PackageInfo packageInfo = getInternalMutablePackageInfo(packageName); in getComponentInfo() 303 for (PackageInfo packageInfo : packageInfos.values()) { in getPackagesForUid() [all …]
|
D | ShadowPackageParser.java | 8 import android.content.pm.PackageInfo; 105 PackageInfo generatePackageInfo( in generatePackageInfo() 115 PackageInfo generatePackageInfo( in generatePackageInfo() 127 PackageInfo generatePackageInfo( in generatePackageInfo() 138 PackageInfo generatePackageInfo( in generatePackageInfo() 147 default PackageInfo generatePackageInfo( in generatePackageInfo()
|
D | ShadowPackageManager.java | 54 import android.content.pm.PackageInfo; 128 static final Map<String, PackageInfo> packageInfos = new LinkedHashMap<>(); 142 private static Map<String, PackageInfo> packageArchiveInfo = new HashMap<>(); 393 Function<PackageInfo, C[]> componentArrayInPackage, in addComponent() argument 394 BiConsumer<PackageInfo, C[]> componentsSetter, in addComponent() argument 408 PackageInfo packageInfo = packageInfos.get(packageName); in addComponent() 410 packageInfo = new PackageInfo(); in addComponent() 446 Function<PackageInfo, C[]> componentArrayInPackage, in removeComponent() argument 447 BiConsumer<PackageInfo, C[]> componentsSetter) { in removeComponent() argument 451 PackageInfo packageInfo = packageInfos.get(packageName); in removeComponent() [all …]
|
/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/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowPackageManagerTest.java | 17 import static android.content.pm.PackageInfo.REQUESTED_PERMISSION_GRANTED; 81 import android.content.pm.PackageInfo; 284 PackageInfo packageInfo = new PackageInfo(); in testCheckPermission_otherPackages() 310 PackageInfo packageInfo = new PackageInfo(); in testCheckPermission_otherPackages_grantedByDefault() 333 PackageInfo packageInfo = new PackageInfo(); in testGrantRuntimePermission() 374 PackageInfo packageInfo = new PackageInfo(); in testGrantRuntimePermission_doesntRequestPermission() 393 PackageInfo packageInfo = new PackageInfo(); in testRevokeRuntimePermission() 738 PackageInfo receiverInfos = in testGetPackageInfo_ForReceiversSucceeds() 935 PackageInfo packageInfo = new PackageInfo(); in getPackageArchiveInfo() 940 PackageInfo packageInfoResult = packageManager.getPackageArchiveInfo(TEST_APP_PATH, 0); in getPackageArchiveInfo() [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()
|
/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/robolectric/integration_tests/dependency-on-stubs/src/test/java/org/robolectric/ |
D | LoadWeirdClassesTest.java | 8 import android.content.pm.PackageInfo; 45 PackageInfo packageInfo = new PackageInfo(); in packageManager()
|
/external/robolectric/integration_tests/ctesque/src/sharedTest/java/android/content/pm/ |
D | PackageManagerTest.java | 68 PackageInfo info = in getPackageInfo() 87 PackageInfo info = pm.getPackageInfo(context.getPackageName(), 0); in getPackageInfo_noFlagsGetNoComponents() 94 PackageInfo info = pm.getPackageInfo(context.getPackageName(), GET_ACTIVITIES); in getPackageInfo_skipsDisabledComponents() 213 PackageInfo packageInfo = in getPackageInfo_disabledApplication_stillReturned_below24() 238 PackageInfo packageInfo = in getPackageInfo_disabledApplication_stillReturned_after24() 255 PackageInfo packageInfo = in getPackageInfo_disabledApplication_withFlags_returnedEverything()
|
/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()
|