Home
last modified time | relevance | path

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

/development/build/tools/
Dsdk_repo.mk15 define sdk-repo-pkg-zip
31 define mk-sdk-repo-pkg-1
32 $(call sdk-repo-pkg-zip,$(2),$(3),$(4)): $(3)
35 rm -f ../$(notdir $(call sdk-repo-pkg-zip,$(2),$(3),$(4))) && \
36 zip -9rq ../$(notdir $(call sdk-repo-pkg-zip,$(2),$(3),$(4))) $(4)/*
37 $(call dist-for-goals, sdk_repo, $(call sdk-repo-pkg-zip,$(2),$(3),$(4)))
39 $(call sdk-repo-pkg-zip,$(2),$(3),$(4)):$(notdir $(call sdk-repo-pkg-zip,$(2),$(3),$(4)))
54 define mk-sdk-repo-pkg-2
55 $(call sdk-repo-pkg-zip,$(2),$(3),$(4)): $(3)
58 rm -f ../../$(notdir $(call sdk-repo-pkg-zip,$(2),$(3),$(4))) && \
[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/cmds/monkey/src/com/android/commands/monkey/
DMonkeyUtils.java71 public boolean isPackageValid(String pkg) { in isPackageValid() argument
72 return mValidPackages.contains(pkg); in isPackageValid()
75 public boolean isPackageInvalid(String pkg) { in isPackageInvalid() argument
76 return mInvalidPackages.contains(pkg); in isPackageInvalid()
85 public boolean checkEnteringPackage(String pkg) { in checkEnteringPackage() argument
87 if (mInvalidPackages.contains(pkg)) { in checkEnteringPackage()
91 if (!mValidPackages.contains(pkg)) { in checkEnteringPackage()
DMonkeyPermissionUtil.java104 private boolean shouldTargetPermission(String pkg, PermissionInfo pi) throws RemoteException { in shouldTargetPermission() argument
105 int flags = mPm.getPermissionFlags(pi.name, pkg, UserHandle.myUserId()); in shouldTargetPermission()
174 String pkg = mTargetedPackages.get(random.nextInt(mTargetedPackages.size())); in generateRandomPermissionEvent() local
175 List<PermissionInfo> infos = mPermissionMap.get(pkg); in generateRandomPermissionEvent()
176 return new MonkeyPermissionEvent(pkg, infos.get(random.nextInt(infos.size()))); in generateRandomPermissionEvent()
DMonkeyPermissionEvent.java32 public MonkeyPermissionEvent(String pkg, PermissionInfo permissionInfo) { in MonkeyPermissionEvent() argument
34 mPkg = pkg; in MonkeyPermissionEvent()
DMonkey.java256 public boolean activityStarting(Intent intent, String pkg) { in activityStarting() argument
257 boolean allow = MonkeyUtils.getPackageFilter().checkEnteringPackage(pkg) in activityStarting()
268 + intent + " in package " + pkg); in activityStarting()
271 currentPackage = pkg; in activityStarting()
276 public boolean activityResuming(String pkg) { in activityResuming() argument
278 System.out.println(" // activityResuming(" + pkg + ")"); in activityResuming()
279 boolean allow = MonkeyUtils.getPackageFilter().checkEnteringPackage(pkg) in activityResuming()
284 + " resume of package " + pkg); in activityResuming()
287 currentPackage = pkg; in activityResuming()
/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.java83 public boolean activityStarting(Intent intent, String pkg) { in activityStarting() argument
100 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/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DMediaNotificationManager.java83 String pkg = mService.getPackageName(); in MediaNotificationManager() local
85 new Intent(ACTION_PAUSE).setPackage(pkg), PendingIntent.FLAG_CANCEL_CURRENT); in MediaNotificationManager()
87 new Intent(ACTION_PLAY).setPackage(pkg), PendingIntent.FLAG_CANCEL_CURRENT); in MediaNotificationManager()
89 new Intent(ACTION_PREV).setPackage(pkg), PendingIntent.FLAG_CANCEL_CURRENT); in MediaNotificationManager()
91 new Intent(ACTION_NEXT).setPackage(pkg), PendingIntent.FLAG_CANCEL_CURRENT); in MediaNotificationManager()
/development/samples/Support4Demos/src/com/example/android/supportv4/media/
DMediaNotificationManager.java85 String pkg = mService.getPackageName(); in MediaNotificationManager() local
87 new Intent(ACTION_PAUSE).setPackage(pkg), PendingIntent.FLAG_CANCEL_CURRENT); in MediaNotificationManager()
89 new Intent(ACTION_PLAY).setPackage(pkg), PendingIntent.FLAG_CANCEL_CURRENT); in MediaNotificationManager()
91 new Intent(ACTION_PREV).setPackage(pkg), PendingIntent.FLAG_CANCEL_CURRENT); in MediaNotificationManager()
93 new Intent(ACTION_NEXT).setPackage(pkg), PendingIntent.FLAG_CANCEL_CURRENT); in MediaNotificationManager()
/development/tools/mkstubs/src/com/android/mkstubs/sourcer/
DClassSourcer.java54 String pkg = name.substring(0, name.lastIndexOf('/')).replace('/', '.'); in visit() local
57 mOutput.write("package %s;\n", pkg); in visit()
/development/samples/SupportDesignDemos/src/com/example/android/support/design/
DSupportDesignDemos.java123 protected Intent activityIntent(String pkg, String componentName) { in activityIntent() argument
125 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/Support7Demos/src/com/example/android/supportv7/
DSupport7Demos.java123 protected Intent activityIntent(String pkg, String componentName) { in activityIntent() argument
125 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()
/development/samples/SupportPercentDemos/src/com/example/android/support/percent/
DSupportPercentDemos.java123 protected Intent activityIntent(String pkg, String componentName) { in activityIntent() argument
125 result.setClassName(pkg, componentName); in activityIntent()
/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/SupportLeanbackShowcase/libs/
Dpicasso-2.5.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/squareup/ com/ ...
/development/tools/checkstyle/
Dcheckstyle.jarMETA-INF/MANIFEST.MF META-INF/ checkstyle_packages.xml sun_checks.xml com/ ...