Home
last modified time | relevance | path

Searched refs:pkg (Results 1 – 11 of 11) sorted by relevance

/development/build/tools/
Dsdk_repo.mk15 define sdk-repo-pkg-zip
30 define mk-sdk-repo-pkg-1
31 $(call sdk-repo-pkg-zip,$(1),$(2),$(3)): $(2)
34 zip -9rq ../$(notdir $(call sdk-repo-pkg-zip,$(1),$(2),$(3))) $(3)/*
35 $(call dist-for-goals, sdk_repo, $(call sdk-repo-pkg-zip,$(1),$(2),$(3)))
37 $(call sdk-repo-pkg-zip,$(1),$(2),$(3)):$(notdir $(call sdk-repo-pkg-zip,$(1),$(2),$(3)))
51 define mk-sdk-repo-pkg-2
52 $(call sdk-repo-pkg-zip,$(1),$(2),$(3)): $(2)
55 zip -9rq ../../$(notdir $(call sdk-repo-pkg-zip,$(1),$(2),$(3))) *
56 $(call dist-for-goals, sdk_repo, $(call sdk-repo-pkg-zip,$(1),$(2),$(3)))
[all …]
Dmk_sources_zip.py140 pkg = checkJavaFile(filepath)
141 if not pkg:
143 if pkg:
145 pkg2 = pkg
150 verbose("Ignore package %s [%s]", pkg, filepath)
151 pkg = None
154 if pkg:
155 pkg = pkg.replace(".", os.path.sep) # e.g. android.view => android/view
156 copy(p, filepath, pkg)
/development/apps/Development/src/com/android/development/
DPermissionDetails.java145 for (PackageInfo pkg : list) { in createAppList()
146 Log.i(TAG, "Adding pkg : " + pkg.packageName); in createAppList()
160 for (PackageInfo pkg : list) { in getAppsUsingPerm()
161 if (pkg.requestedPermissions == null) { in getAppsUsingPerm()
164 for (String perm : pkg.requestedPermissions) { in getAppsUsingPerm()
166 Log.i(TAG, "Pkg:" + pkg.packageName+" uses permission"); in getAppsUsingPerm()
167 set.add(pkg); in getAppsUsingPerm()
173 for (PackageInfo pkg : set) { in getAppsUsingPerm()
174 retList.add(pkg); in getAppsUsingPerm()
DProcessInfo.java44 for(String pkg : pkgList) { in onCreate()
46 pkgView.setText(pkg); in onCreate()
DBadBehaviorActivity.java78 public boolean activityStarting(Intent intent, String pkg) { in activityStarting() argument
95 public boolean activityResuming(String pkg) { in activityResuming() argument
/development/tools/apkcheck/src/com/android/apkcheck/
DClassInfo.java352 PackageInfo pkg = apiList.getPackage(packageName); in lookupClass() local
353 if (pkg == null) in lookupClass()
355 return pkg.getClass(className); in lookupClass()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkey.java253 private boolean checkEnteringPackage(String pkg) { in checkEnteringPackage() argument
255 if (mInvalidPackages.contains(pkg)) { in checkEnteringPackage()
259 if (!mValidPackages.contains(pkg)) { in checkEnteringPackage()
270 public boolean activityStarting(Intent intent, String pkg) { in activityStarting() argument
271 boolean allow = checkEnteringPackage(pkg) || (DEBUG_ALLOW_ANY_STARTS != 0); in activityStarting()
281 + intent + " in package " + pkg); in activityStarting()
284 currentPackage = pkg; in activityStarting()
289 public boolean activityResuming(String pkg) { in activityResuming() argument
291 System.out.println(" // activityResuming(" + pkg + ")"); in activityResuming()
292 boolean allow = checkEnteringPackage(pkg) || (DEBUG_ALLOW_ANY_RESTARTS != 0); in activityResuming()
[all …]
/development/tools/mkstubs/src/com/android/mkstubs/sourcer/
DClassSourcer.java52 String pkg = name.substring(0, name.lastIndexOf('/')).replace('/', '.'); in visit() local
55 mOutput.write("package %s;\n", pkg); in visit()
/development/samples/ApiDemos/src/com/example/android/apis/
DApiDemos.java121 protected Intent activityIntent(String pkg, String componentName) { in activityIntent() argument
123 result.setClassName(pkg, componentName); in activityIntent()
/development/samples/Support13Demos/src/com/example/android/supportv13/
DSupport13Demos.java121 protected Intent activityIntent(String pkg, String componentName) { in activityIntent() argument
123 result.setClassName(pkg, componentName); in activityIntent()
/development/samples/Support4Demos/src/com/example/android/supportv4/
DSupport4Demos.java121 protected Intent activityIntent(String pkg, String componentName) { in activityIntent() argument
123 result.setClassName(pkg, componentName); in activityIntent()