Home
last modified time | relevance | path

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

/development/build/tools/
Dsdk_repo.mk17 define sdk-repo-pkg-zip
33 define mk-sdk-repo-pkg-1
34 $(call sdk-repo-pkg-zip,$(2),$(3),$(4)): $(3)
37 rm -f ../$(notdir $(call sdk-repo-pkg-zip,$(2),$(3),$(4))) && \
38 zip -9rq ../$(notdir $(call sdk-repo-pkg-zip,$(2),$(3),$(4))) $(4)/*
39 $(call dist-for-goals, sdk_repo, $(call sdk-repo-pkg-zip,$(2),$(3),$(4)))
41 $(call sdk-repo-pkg-zip,$(2),$(3),$(4)):$(notdir $(call sdk-repo-pkg-zip,$(2),$(3),$(4)))
56 define mk-sdk-repo-pkg-2
57 $(call sdk-repo-pkg-zip,$(2),$(3),$(4)): $(3)
60 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.java266 public boolean activityStarting(Intent intent, String pkg) { in activityStarting() argument
267 final boolean allow = isActivityStartingAllowed(intent, pkg); in activityStarting()
277 + intent + " in package " + pkg); in activityStarting()
280 currentPackage = pkg; in activityStarting()
285 private boolean isActivityStartingAllowed(Intent intent, String pkg) { in isActivityStartingAllowed() argument
286 if (MonkeyUtils.getPackageFilter().checkEnteringPackage(pkg)) { in isActivityStartingAllowed()
303 if (pkg.equals(launcherPackage)) { in isActivityStartingAllowed()
314 public boolean activityResuming(String pkg) { in activityResuming() argument
316 Logger.out.println(" // activityResuming(" + pkg + ")"); in activityResuming()
317 boolean allow = MonkeyUtils.getPackageFilter().checkEnteringPackage(pkg) in activityResuming()
[all …]
/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/winscope/src/
Dtransform_wm.js205 var pkg = split[0];
207 if (clazz.startsWith(pkg + '.')) {
208 clazz = clazz.slice(pkg.length + 1);
209 return [pkg, clazz].join('/');
/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/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/tools/repo_diff/service/repodiff/
DGopkg.toml33 name = "github.com/pkg/errors"
DGopkg.lock50 name = "github.com/pkg/errors"
/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/tools/
Dmonkey319 for pkg in options.packages:
321 cmd.append(pkg)
/development/tools/bugreport/src/com/android/bugreport/html/
DRenderer.java304 private String buildFunctionName(String pkg, String cls, String meth) { in buildFunctionName() argument
306 if (pkg != null && pkg.length() > 0) { in buildFunctionName()
307 result.append(pkg); in buildFunctionName()
/development/tools/winscope/
Dyarn.lock1736 pkg-dir "^1.0.0"
2564 read-pkg-up "^1.0.1"
2978 pkg-dir@^1.0.0:
2980 …resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-1.0.0.tgz#7a4b508a8d5bb2d629d447056ff4e9c…
3404 read-pkg-up@^1.0.1:
3406 …resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-1.0.1.tgz#9d63c13276c065918d57f00…
3409 read-pkg "^1.0.0"
3411 read-pkg@^1.0.0:
3413 …resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-1.1.0.tgz#f5ffaa5ecd29cb31c0474bca7d756…
4370 read-pkg-up "^1.0.1"