HomeSort by relevance Sort by last modified time
    Searched refs:pkg (Results 26 - 50 of 212) sorted by null

12 3 4 5 6 7 8 9

  /sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/
LocalSdkParser.java 89 Package pkg = scanDoc(dir, monitor); local
90 if (pkg != null) {
91 packages.add(pkg);
97 pkg = scanTools(dir, monitor);
98 if (pkg != null) {
99 packages.add(pkg);
105 pkg = scanPlatformTools(dir, monitor);
106 if (pkg != null) {
107 packages.add(pkg);
121 pkg = PlatformPackage.create(target, props);
232 Package pkg = ExtraPackage.create( local
279 Package pkg = SamplePackage.create(dir.getAbsolutePath(), props); local
316 Package pkg = AddonPackage.createBroken(dir.getAbsolutePath(), props, error); local
361 Package pkg = SystemImagePackage.createBroken(abiDir, props); local
400 Package pkg = SourcePackage.create(platformDir, props); local
435 Package pkg = ToolPackage.create( local
474 Package pkg = PlatformToolPackage.create( local
505 Package pkg = DocPackage.create( local
    [all...]
BrokenPackage.java 167 public boolean sameItemAs(Package pkg) {
168 if (pkg instanceof BrokenPackage) {
169 return mShortDescription.equals(((BrokenPackage) pkg).mShortDescription) &&
170 getDescription().equals(pkg.getDescription()) &&
171 getMinApiLevel() == ((BrokenPackage) pkg).getMinApiLevel();
  /external/icu4c/tools/toolutil/
pkg_icu.h 16 const char *sourcePath, const char *addList, U_NAMESPACE_QUALIFIER Package *pkg,
pkg_icu.cpp 150 writePackageDatFile(const char *outFilename, const char *outComment, const char *sourcePath, const char *addList, Package *pkg, char outType) {
154 if (pkg == NULL) {
155 pkg = new Package;
156 if(pkg == NULL) {
163 pkg->addItems(*addListPkg);
171 pkg->writePackage(outFilename, outType, outComment);
174 delete pkg;
  /external/wpa_supplicant_8/wpa_supplicant/
Android.mk 19 PKG_CONFIG ?= pkg-config
  /cts/tools/host/src/com/android/cts/
TestSession.java 197 TestPackage pkg = null; local
208 pkg = searchTestPackage(testFullName);
209 if (pkg == null) {
214 mTestThread = new TestSessionThread(this, pkg, testFullName);
264 for (TestPackage pkg : mSessionLog.getTestPackages()) {
265 test = pkg.searchTest(testFullName);
281 for (TestPackage pkg : mSessionLog.getTestPackages()) {
282 Collection<Test> tests = pkg.getTests();
290 return pkg;
380 final TestPackage pkg, final String javaPkgName)
397 TestPackage pkg = mTest.getTestPackage(); local
    [all...]
HostConfig.java 283 for (TestPackage pkg : mTestPackageMap.values()) {
284 if (appPackageName.equals(pkg.getAppPackageName())) {
285 return pkg.getAppBinaryName();
551 for (TestPackage pkg : mTestPackageMap.values()) {
552 String binaryName = pkg.getAppBinaryName();
556 packageNames.add(pkg.getAppPackageName());
570 for (TestPackage pkg : mTestPackageMap.values()) {
571 String pkgBinaryName = pkg.getAppBinaryName();
575 pkgBinaryNames.add(pkg.getAppBinaryName());
609 TestPackage pkg = loadPackage(xmlPath) local
611 mTestPackageMap.put(pkg.getAppPackageName(), pkg); local
700 TestPackage pkg = loadPackage(xmlFilePath); local
702 mTestPackageMap.put(pkg.getAppPackageName(), pkg); local
721 TestPackage pkg = null; local
778 TestPackage pkg = loadPackage(xmlFilePath); local
905 TestPackage pkg = getTestPackage(packageName); local
    [all...]
  /frameworks/base/services/java/com/android/server/
ClipboardService.java 109 public ClipData getPrimaryClip(String pkg) {
111 addActiveOwnerLocked(Binder.getCallingUid(), pkg); local
182 private final void grantUriLocked(Uri uri, String pkg) {
185 mAm.grantUriPermissionFromOwner(mPermissionOwner, Process.myUid(), pkg, uri,
193 private final void grantItemLocked(ClipData.Item item, String pkg) {
195 grantUriLocked(item.getUri(), pkg); local
199 grantUriLocked(intent.getData(), pkg); local
203 private final void addActiveOwnerLocked(int uid, String pkg) {
206 pi = mPm.getPackageInfo(pkg, 0);
209 + " does not own package " + pkg);
217 grantItemLocked(mPrimaryClip.getItemAt(i), pkg); local
    [all...]
StatusBarManagerService.java 80 String pkg; field in class:StatusBarManagerService.DisableRecord
85 Slog.i(TAG, "binder died for pkg=" + pkg);
86 disable(0, token, pkg);
94 void onNotificationClick(String pkg, String tag, int id);
95 void onNotificationClear(String pkg, String tag, int id);
97 void onNotificationError(String pkg, String tag, int id,
142 public void disable(int what, IBinder token, String pkg) {
146 disableLocked(what, token, pkg);
150 private void disableLocked(int what, IBinder token, String pkg) {
    [all...]
  /frameworks/base/core/java/android/content/
IClipboard.aidl 30 ClipData getPrimaryClip(String pkg);
  /frameworks/base/test-runner/src/android/test/
SingleLaunchActivityTestCase.java 40 * <b>NOTE:</b> The parameter <i>pkg</i> must refer to the package identifier of the
44 * @param pkg The package hosting the activity to be launched.
47 public SingleLaunchActivityTestCase(String pkg, Class<T> activityClass) {
48 mPackage = pkg;
  /frameworks/base/services/java/com/android/server/pm/
Settings.java 162 PackageSetting getPackageLPw(PackageParser.Package pkg, PackageSetting origPackage,
165 final String name = pkg.packageName;
167 resourcePath, nativeLibraryPathString, pkg.mVersionCode, pkgFlags, create, add);
225 if((p.pkg != null) && (p.pkg.applicationInfo != null)) {
226 p.pkg.applicationInfo.flags |= ApplicationInfo.FLAG_UPDATED_SYSTEM_APP;
248 if((p.pkg != null) && (p.pkg.applicationInfo != null)) {
249 p.pkg.applicationInfo.flags &= ~ApplicationInfo.FLAG_UPDATED_SYSTEM_APP;
307 + " from pkg " + bp.sourcePackag
1961 final PackageSetting pkg = mPackages.get(packageName); local
1969 final PackageSetting pkg = mPackages.get(packageName); local
1978 final PackageSetting pkg = mPackages.get(packageName); local
    [all...]
PackageManagerService.java 674 res.pkg.applicationInfo.packageName,
678 res.pkg.applicationInfo.packageName,
682 res.pkg.applicationInfo.packageName, null);
2263 final PackageParser.Package pkg = mPackages.get(pkgName); local
2460 final PackageParser.Package pkg = mPackages.get(pkgName); local
2499 final PackageParser.Package pkg = mPackages.get(pkgName); local
2750 PackageParser.Package pkg = scanPackageLI(file, local
2826 final PackageParser.Package pkg = pp.parsePackage(scanFile, local
4990 final PackageParser.Package pkg = mPackages.get(verifierInfo.packageName); local
5344 PackageParser.Package pkg = mPackages.get(packageName); local
6254 PackageParser.Package pkg; field in class:PackageManagerService.PackageInstalledInfo
6593 final PackageParser.Package pkg = pp.parsePackage(tmpPackageFile, local
7464 PackageParser.Package pkg = mPackages.get(packageName); local
8230 final PackageParser.Package pkg = scanPackageLI(new File(codePath), parseFlags, local
8382 PackageParser.Package pkg = mPackages.get(packageName); local
    [all...]
  /frameworks/base/tests/CoreTests/android/core/
ClassTest.java 251 String pkg = (clazz.getPackage() == null ? "" : clazz.getPackage().getName() + "."); local
255 assertEquals("Top-level class name must be correct", pkg + "ClassTest", clazz.getName());
257 assertEquals("Top-level class canonical name must be correct", pkg + "ClassTest", clazz.getCanonicalName());
261 assertEquals("Member class name must be correct", pkg + "ClassTest$MemberClass", clazz.getName());
263 assertEquals("Member class canonical name must be correct", pkg + "ClassTest.MemberClass", clazz.getCanonicalName());
271 assertEquals("Local class name must be correct", pkg + "ClassTest$1LocalClass", clazz.getName());
277 assertEquals("Anonymous class name must be correct", pkg + "ClassTest$1", clazz.getName());
285 assertEquals("Top-level class name must be correct", pkg + "Mou$$aka", clazz.getName());
287 assertEquals("Top-level class canonical name must be correct", pkg + "Mou$$aka", clazz.getCanonicalName());
291 assertEquals("Member class name must be correct", pkg + "ClassTest$Mi$o$oup", clazz.getName())
    [all...]
  /external/doclava/src/com/google/doclava/
DoclavaDiff.java 112 for (String pkg : allPackages) {
113 PackageInfo packageInfo = new PackageInfo(pkg);
115 data.setValue(packageBase + ".name", pkg);
120 if (site.apiInfo().getPackages().containsKey(pkg)) {
128 if (packageUniqueToSite(pkg, sites)) {
132 List<String> packageClasses = knownClassesForPackage(pkg, sites);
197 for (String pkg : packages.keySet()) {
198 allPackages.add(pkg);
210 private List<String> knownClassesForPackage(String pkg, List<FederatedSite> sites) {
213 PackageInfo packageInfo = site.apiInfo().getPackages().get(pkg);
    [all...]
Doclava.java 191 for (String pkg : a[1].split(":")) {
192 stubPackages.add(pkg);
565 PackageInfo pkg = cl.containingPackage(); local
567 if (pkg == null) {
570 name = pkg.name();
572 sorted.put(name, pkg);
577 PackageInfo pkg = sorted.get(s); local
579 if (pkg.isHidden()) {
588 classesToCheck = pkg.ordinaryClasses();
591 classesToCheck = pkg.enums()
708 PackageInfo pkg = cl.containingPackage(); local
725 PackageInfo pkg = (PackageInfo) o; local
808 PackageInfo pkg = cl.containingPackage(); local
821 PackageInfo pkg = sorted.get(s); local
950 PackageInfo pkg = ((ClassInfo) sorted[j].data).containingPackage(); local
    [all...]
  /sdk/eclipse/scripts/
collect_sources_for_sdk.py 115 pkg = checkJavaFile(fp)
116 if pkg:
117 pkg = pkg.replace(".", os.path.sep) # e.g. android.view => android/view
118 copy(p, fp, f, pkg)
148 def copy(p, fp, f, pkg):
149 dstdir = os.path.join(p.DST, pkg)
  /frameworks/base/core/tests/coretests/src/android/content/pm/
PackageManagerTests.java 268 PackageParser.Package pkg = packageParser.parsePackage(sourceFile, archiveFilePath, metrics, 0); local
270 return pkg;
356 private void assertInstall(PackageParser.Package pkg, int flags, int expInstallLocation) {
358 String pkgName = pkg.packageName;
442 PackageParser.Package pkg; field in class:PackageManagerTests.InstallParams
444 this.pkg = getParsedPackage(outFileName, rawResId);
445 this.packageURI = Uri.fromFile(new File(pkg.mScanPath));
447 InstallParams(PackageParser.Package pkg) {
448 this.packageURI = Uri.fromFile(new File(pkg.mScanPath));
449 this.pkg = pkg
470 String pkg = null; local
556 PackageParser.Package pkg = parsePackage(packageURI); local
569 PackageParser.Package pkg = ip.pkg; local
2645 PackageParser.Package pkg = parsePackage(packageURI); local
2694 PackageParser.Package pkg = parsePackage(packageURI); local
2886 PackageParser.Package pkg = parsePackage(packageURI); local
3006 PackageParser.Package pkg = getParsedPackage(apk2Name, apk2); local
    [all...]
  /development/build/tools/
mk_sources_zip.py 129 pkg = checkJavaFile(filepath)
130 if not pkg:
132 if pkg:
135 if pkg.startswith(ignore):
136 verbose("Ignore package %s [%s]", pkg, filepath)
137 pkg = None
140 if pkg:
141 pkg = pkg.replace(".", os.path.sep) # e.g. android.view => android/view
142 copy(p, filepath, pkg)
    [all...]
  /sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/sdkman2/
PackageLoader.java 110 public boolean acceptPackage(Package pkg);
249 for (Package pkg : packages) {
250 if (pkg.isLocal()) {
252 if (installTask.acceptPackage(pkg)) {
255 Archive[] a = pkg.getArchives();
258 mInstallPaths.put(pkg, new File(a[0].getLocalOsPath()));
264 if (installTask.acceptPackage(pkg)) {
266 for (Archive archive : pkg.getArchives()) {
337 Package pkg = installedArchive.getParentPackage();
340 if (localPkg.canBeUpdatedBy(pkg) == UpdateInfo.NOT_UPDATE)
    [all...]
  /packages/experimental/droiddreamclean/
droiddreamclean.c 110 char pkg[MAX_PACKAGE_NAME_LENGTH]; local
121 while ((fgets(pkg, sizeof(pkg)-1,fp) != NULL)
124 //printf("package before = %s\n", pkg);
125 len = (strlen(pkg)-8 < MAX_PACKAGE_NAME_LENGTH)?(strlen(pkg)-8):MAX_PACKAGE_NAME_LENGTH;
126 strncpy(installed_packages[num_packages], (pkg+8), len);
127 // pkg+8 removes the initial "package:""
  /cts/tools/host/test/com/android/cts/
TestPlanBuilderTests.java 248 TestPackage pkg = hf.getTestPackage(appPackageName); local
249 assertNotNull(pkg);
252 Collection<Test> tests = pkg.getTests();
262 excludedList = pkg.getExcludedList(CtsTestResult.STR_NOT_EXECUTED);
267 excludedList = pkg.getExcludedList(CtsTestResult.STR_TIMEOUT);
271 excludedList = pkg.getExcludedList(null);
277 excludedList = pkg.getExcludedList(CtsTestResult.STR_NOT_EXECUTED);
285 excludedList = pkg.getExcludedList(CtsTestResult.STR_NOT_EXECUTED);
294 excludedList = pkg.getExcludedList(CtsTestResult.STR_NOT_EXECUTED);
  /external/protobuf/examples/
Makefile 25 pkg-config --cflags protobuf # fails if protobuf is not installed
26 c++ add_person.cc addressbook.pb.cc -o add_person_cpp `pkg-config --cflags --libs protobuf`
29 pkg-config --cflags protobuf # fails if protobuf is not installed
30 c++ list_people.cc addressbook.pb.cc -o list_people_cpp `pkg-config --cflags --libs protobuf`
  /development/apps/Development/src/com/android/development/
ProcessInfo.java 44 for(String pkg : pkgList) {
46 pkgView.setText(pkg);
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
MockPackageManager.java 35 for (String pkg : mPackages) {
36 resolveInfos.add(createResolveInfo(pkg));

Completed in 788 milliseconds

12 3 4 5 6 7 8 9