Home
last modified time | relevance | path

Searched refs:pkg (Results 1 – 25 of 25) 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)
38 $(call dist-for-goals-with-filenametag, sdk_repo, $(call sdk-repo-pkg-zip,$(2),$(3),$(4)))
40 $(call sdk-repo-pkg-zip,$(2),$(3),$(4)):$(notdir $(call sdk-repo-pkg-zip,$(2),$(3),$(4)))
42 $(call declare-1p-container,$(call sdk-repo-pkg-zip,$(2),$(3),$(4)),sdk_repo)
43 $(call declare-container-license-deps,$(call sdk-repo-pkg-zip,$(2),$(3),$(4)),$(3),$(PRODUCT_OUT)/:…
58 define mk-sdk-repo-pkg-2
59 $(call sdk-repo-pkg-zip,$(2),$(3),$(4)): $(3)
63 $(call dist-for-goals-with-filenametag, sdk_repo, $(call sdk-repo-pkg-zip,$(2),$(3),$(4)))
[all …]
/development/scripts/
Dget_rust_pkg.py91 def pkg_base_name(pkg): argument
92 match = PKG_VERSION_MATCHER.match(pkg)
96 return (pkg, "")
113 def get_max_version(pkg): argument
115 url = "https://crates.io/api/v1/crates/" + pkg
138 def fetch_pkg(args, pkg, dl_path): argument
141 print("ERROR: cannot find download path for '{}'".format(pkg))
176 def get_crate_dependencies(args, pkg): argument
178 echo(args, "Ask crates.io for {} ...".format(pkg))
181 pkg, get_max_version(pkg))
[all …]
Dcargo2rulesmk.py169 def short_out_name(pkg, s): # replace /.../pkg-*/out/* with .../out/* argument
170 return re.sub("^/.*/" + pkg + "-[0-9a-f]*/out/", ".../out/", s)
442 pkg = self.main_src
443 if pkg.startswith(".../"): # keep only the main package name
444 pkg = re.sub("/.*", "", pkg[4:])
445 elif pkg.startswith("/"): # use relative path for a local package
446 pkg = os.path.relpath(pkg)
448 return pkg
449 return pkg + ' "' + ",".join(self.features) + '"'
/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.java109 private boolean shouldTargetPermission(String pkg, PermissionInfo pi) throws RemoteException { in shouldTargetPermission() argument
110 int flags = mPermManager.getPermissionFlags(pkg, pi.name, in shouldTargetPermission()
181 String pkg = mTargetedPackages.get(random.nextInt(mTargetedPackages.size())); in generateRandomPermissionEvent() local
182 List<PermissionInfo> infos = mPermissionMap.get(pkg); in generateRandomPermissionEvent()
183 return new MonkeyPermissionEvent(pkg, infos.get(random.nextInt(infos.size()))); in generateRandomPermissionEvent()
DMonkeyPermissionEvent.java34 public MonkeyPermissionEvent(String pkg, PermissionInfo permissionInfo) { in MonkeyPermissionEvent() argument
36 mPkg = pkg; in MonkeyPermissionEvent()
DMonkey.java267 public boolean activityStarting(Intent intent, String pkg) { in activityStarting() argument
268 final boolean allow = isActivityStartingAllowed(intent, pkg); in activityStarting()
278 + intent + " in package " + pkg); in activityStarting()
281 currentPackage = pkg; in activityStarting()
286 private boolean isActivityStartingAllowed(Intent intent, String pkg) { in isActivityStartingAllowed() argument
287 if (MonkeyUtils.getPackageFilter().checkEnteringPackage(pkg)) { in isActivityStartingAllowed()
304 if (pkg.equals(launcherPackage)) { in isActivityStartingAllowed()
315 public boolean activityResuming(String pkg) { in activityResuming() argument
317 Logger.out.println(" // activityResuming(" + pkg + ")"); in activityResuming()
318 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/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/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/repo_diff/service/repodiff/
DGopkg.toml33 name = "github.com/pkg/errors"
DGopkg.lock50 name = "github.com/pkg/errors"
/development/tools/cargo_embargo/testdata/plotters/
Dcargo.metadata8271 "name": "pkg-config",
13899 …"description": "A library to run the pkg-config system tool at build time in order to be used in\n…
13900 "documentation": "https://docs.rs/pkg-config",
13904 "id": "registry+https://github.com/rust-lang/crates.io-index#pkg-config@0.3.30",
13911 …/google/home/mgeisler/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pkg-config-0.3.30/Cargo…
13913 "name": "pkg-config",
13916 "repository": "https://github.com/rust-lang/pkg-config-rs",
13930 "name": "pkg-config",
13931 …/google/home/mgeisler/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pkg-config-0.3.30/src/l…
13945 …/google/home/mgeisler/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pkg-config-0.3.30/tests…
[all …]
/development/tools/
Dmonkey319 for pkg in options.packages:
321 cmd.append(pkg)
/development/tools/cargo_embargo/testdata/async-trait/
Dcargo.metadata10318 "pkg": "registry+https://github.com/rust-lang/crates.io-index#futures@0.3.30"
10328 "pkg": "registry+https://github.com/rust-lang/crates.io-index#proc-macro2@1.0.80"
10338 "pkg": "registry+https://github.com/rust-lang/crates.io-index#quote@1.0.36"
10348 "pkg": "registry+https://github.com/rust-lang/crates.io-index#rustversion@1.0.15"
10358 "pkg": "registry+https://github.com/rust-lang/crates.io-index#syn@2.0.59"
10368 "pkg": "registry+https://github.com/rust-lang/crates.io-index#tracing@0.1.40"
10378 "pkg": "registry+https://github.com/rust-lang/crates.io-index#tracing-attributes@0.1.27"
10388 "pkg": "registry+https://github.com/rust-lang/crates.io-index#trybuild@1.0.91"
10431 "pkg": "registry+https://github.com/rust-lang/crates.io-index#futures-channel@0.3.30"
10441 "pkg": "registry+https://github.com/rust-lang/crates.io-index#futures-core@0.3.30"
[all …]
/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/cargo_embargo/src/cargo/
Dcargo_out.rs171 if let Some((pkg, cmd, args)) = match3(&CC_AR_VV_REGEX, line) { in parse()
173 "ar" => result.ar_invocations.insert(pkg, args), in parse()
174 "cc" => result.cc_invocations.insert(pkg, args), in parse()
/development/tools/cargo_embargo/testdata/either/
Dcargo.metadata2367 "pkg": "registry+https://github.com/rust-lang/crates.io-index#serde_json@1.0.116"
2395 "pkg": "registry+https://github.com/rust-lang/crates.io-index#unicode-ident@1.0.12"
2416 "pkg": "registry+https://github.com/rust-lang/crates.io-index#proc-macro2@1.0.80"
2443 "pkg": "registry+https://github.com/rust-lang/crates.io-index#serde_derive@1.0.197"
2466 "pkg": "registry+https://github.com/rust-lang/crates.io-index#proc-macro2@1.0.80"
2476 "pkg": "registry+https://github.com/rust-lang/crates.io-index#quote@1.0.36"
2486 "pkg": "registry+https://github.com/rust-lang/crates.io-index#syn@2.0.59"
2509 "pkg": "registry+https://github.com/rust-lang/crates.io-index#itoa@1.0.11"
2519 "pkg": "registry+https://github.com/rust-lang/crates.io-index#ryu@1.0.17"
2529 "pkg": "registry+https://github.com/rust-lang/crates.io-index#serde@1.0.197"
[all …]
/development/tools/cargo_embargo/testdata/rustc-demangle-capi/
Dcargo.metadata174 "pkg": "registry+https://github.com/rust-lang/crates.io-index#rustc-demangle@0.1.23"
/development/tools/cargo_embargo/testdata/aho-corasick/
Dcargo.metadata223 "pkg": "registry+https://github.com/rust-lang/crates.io-index#memchr@2.7.2"
/development/tools/external_crates/
DCargo.lock533 "pkg-config",
1697 "pkg-config",
1720 "pkg-config",
1732 "pkg-config",
1882 "pkg-config",
2011 name = "pkg-config"