/packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/ |
WearPackageInstallerService.java | 247 PackageParser.Package pkg = PackageUtil.getPackageInfo(this, tempFile); local 248 if (pkg == null) { 253 if (!pkg.packageName.equals(packageName)) { 259 pkg.applicationInfo.sourceDir = tempFile.getPath(); 260 pkg.applicationInfo.publicSourceDir = tempFile.getPath(); 262 getString(R.string.installing_app, pkg.applicationInfo.loadLabel(pm))); 264 List<String> wearablePerms = pkg.requestedPermissions; 266 // Log if the installed pkg has a higher version number. 268 if (existingPkgInfo.versionCode == pkg.mVersionCode) { 270 Log.w(TAG, "Version number (" + pkg.mVersionCode [all...] |
/external/jdiff/src/jdiff/ |
HTMLStatistics.java | 210 PackageDiff pkg = (PackageDiff)(iter.next()); local 211 int bucket = (int)(pkg.pdiff); 218 h_.writeText(" <TD><A HREF=\"pkg_" + pkg.name_ + h_.reportFileExt + "\">" + pkg.name_ + "</A></TD>"); 269 PackageDiff pkg = (PackageDiff)(iter.next()); local 270 if (pkg.classesChanged != null) { 272 List cc = new ArrayList(pkg.classesChanged); 276 classDiff.name_ = pkg.name_ + "." + classDiff.name_; 385 PackageDiff pkg = (PackageDiff)(iter.next()); local 386 numClassesRemoved += pkg.classesRemoved.size() [all...] |
/frameworks/base/core/java/android/app/ |
NotificationManager.java | 298 String pkg = mContext.getPackageName(); local 307 fixLegacySmallIcon(notification, pkg); 314 if (localLOGV) Log.v(TAG, pkg + ": notify(" + id + ", " + notification + ")"); 320 service.enqueueNotificationWithTag(pkg, mContext.getOpPackageName(), tag, id, 327 private void fixLegacySmallIcon(Notification n, String pkg) { 329 n.setSmallIcon(Icon.createWithResource(pkg, n.icon)); 359 String pkg = mContext.getPackageName(); local 360 if (localLOGV) Log.v(TAG, pkg + ": cancel(" + id + ")"); 362 service.cancelNotificationWithTag(pkg, tag, id, user.getIdentifier()); 375 String pkg = mContext.getPackageName() local 1154 final String pkg = mContext.getPackageName(); local [all...] |
/frameworks/base/media/java/android/service/media/ |
MediaBrowserService.java | 114 String pkg; field in class:MediaBrowserService.ConnectionRecord 199 public void connect(final String pkg, final Bundle rootHints, 203 if (!isValidPackage(pkg, uid)) { 205 + " package=" + pkg); 217 connection.pkg = pkg; 220 connection.root = MediaBrowserService.this.onGetRoot(pkg, uid, rootHints); 224 Log.i(TAG, "No root for client " + pkg + " from service " 230 + "pkg=" + pkg); [all...] |
/cts/hostsidetests/jvmti/attaching/host/src/android/jvmti/cts/ |
JvmtiAttachingHostTest.java | 96 private void runAttachTest(ITestDevice device, String pkg, String apk) { 98 String pwd = device.executeShellCommand("run-as " + pkg + " pwd"); 108 installLibToDataData(device, pkg, apk, pwd, "libctsjvmtiattachagent.so"); 111 + pkg + "/android.jvmti.JvmtiActivity"; 124 String installLibToDataData(ITestDevice device, String pkg, String apk, String dataData, 144 "run-as " + pkg + " cp " + libInTmp + " " + libInDataData); 150 .executeShellCommand("run-as " + pkg + " chmod a+x " + libInDataData);
|
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/ |
ClientTest.java | 62 EditText pkg = findViewById(R.id.pkg); 72 pkg.getText().toString(), 78 Log.w(LOG_TAG, "remote add pkg failed..."); 82 pkg.getText().toString(), 98 EditText pkg = findViewById(R.id.pkg); 107 pkg.getText().toString(),
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
EnableDisablePreference.java | 120 private static boolean isSystemPackage(PackageManager pm, PackageInfo pkg) { 129 return sSystemSignature != null && sSystemSignature.equals(getFirstSignature(pkg)); 132 private static Signature getFirstSignature(PackageInfo pkg) { 133 if (pkg != null && pkg.signatures != null && pkg.signatures.length > 0) { 134 return pkg.signatures[0];
|
/development/apps/Development/src/com/android/development/ |
PermissionDetails.java | 145 for (PackageInfo pkg : list) { 146 Log.i(TAG, "Adding pkg : " + pkg.packageName); 160 for (PackageInfo pkg : list) { 161 if (pkg.requestedPermissions == null) { 164 for (String perm : pkg.requestedPermissions) { 166 Log.i(TAG, "Pkg:" + pkg.packageName+" uses permission"); 167 set.add(pkg); 173 for (PackageInfo pkg : set) [all...] |
/build/blueprint/gotestmain/ |
gotestmain.go | 35 pkg = flag.String("pkg", "", "test package") 87 Package: *pkg, 115 pkg "{{.Package}}" 120 {"{{.}}", pkg.{{.}}}, 166 pkg.TestMain(m) 34 pkg = flag.String("pkg", "", "test package") var
|
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/ |
SuspendPackageTest.java | 20 .pkg("com.android.settings"); 25 .pkg("com.google.android.apps.wearable.settings"); 30 .pkg("com.android.settings");
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
PackageIncidentTest.java | 76 for (PackageProto pkg : dump.getPackagesList()) { 77 if (pkg.getName().equals(DEVICE_SIDE_TEST_PACKAGE)) { 78 testPackage = pkg;
|
/external/dnsmasq/ |
Makefile | 25 PKG_CONFIG = pkg-config 33 DNSMASQ_CFLAGS=`echo $(COPTS) | ../bld/pkg-wrapper HAVE_DBUS $(PKG_CONFIG) --cflags dbus-1` 34 DNSMASQ_LIBS= `echo $(COPTS) | ../bld/pkg-wrapper HAVE_DBUS $(PKG_CONFIG) --libs dbus-1`
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
Utils.java | 226 public static boolean isSystemPackage(Resources resources, PackageManager pm, PackageInfo pkg) { 240 && sSystemSignature[0].equals(getFirstSignature(pkg))) 241 || pkg.packageName.equals(sPermissionControllerPackageName) 242 || pkg.packageName.equals(sServicesSystemSharedLibPackageName) 243 || pkg.packageName.equals(sSharedSystemSharedLibPackageName) 244 || pkg.packageName.equals(PrintManager.PRINT_SPOOLER_PACKAGE_NAME) 245 || isDeviceProvisioningPackage(resources, pkg.packageName); 248 private static Signature getFirstSignature(PackageInfo pkg) { 249 if (pkg != null && pkg.signatures != null && pkg.signatures.length > 0) [all...] |
/frameworks/base/services/backup/java/com/android/server/backup/restore/ |
PerformAdbRestoreTask.java | 450 final String pkg = info.packageName; local 451 if (!pkg.equals(mAgentPackage)) { 454 if (!mPackagePolicies.containsKey(pkg)) { 455 mPackagePolicies.put(pkg, RestorePolicy.IGNORE); 479 mPackagePolicies.put(pkg, restorePolicy); 480 mPackageInstallers.put(pkg, info.installerPackageName); 485 mObserver = FullBackupRestoreObserverUtils.sendOnRestorePackage(mObserver, pkg); 503 RestorePolicy policy = mPackagePolicies.get(pkg); 517 String installerName = mPackageInstallers.get(pkg); 525 mPackagePolicies.put(pkg, isSuccessfullyInstalle [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
ParallelPackageParser.java | 68 PackageParser.Package pkg; // Parsed package field in class:ParallelPackageParser.ParseResult 75 "pkg=" + pkg + 117 pr.pkg = parsePackage(pp, scanFile, parseFlags);
|
/frameworks/base/tools/aapt2/link/ |
ProductFilter.cpp | 85 for (auto& pkg : table->packages) { 86 for (auto& type : pkg->types) { 99 ResourceNameRef name(pkg->name, type->type, entry->name);
|
/packages/apps/Settings/src/com/android/settings/core/instrumentation/ |
EventLogWriter.java | 63 public void action(Context context, int category, String pkg, 66 MetricsLogger.action(context, category, pkg); 70 .setPackageName(pkg);
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
PackageManagerTests.java | 363 PackageParser.Package pkg = packageParser.parseMonolithicPackage(sourceFile, 0); local 365 return pkg; 451 private void assertInstall(PackageParser.Package pkg, int flags, int expInstallLocation) { 453 String pkgName = pkg.packageName; 604 PackageParser.Package pkg; field in class:PackageManagerTests.InstallParams 607 this.pkg = getParsedPackage(outFileName, rawResId); 608 this.packageURI = Uri.fromFile(new File(pkg.codePath)); 611 InstallParams(PackageParser.Package pkg) { 612 this.packageURI = Uri.fromFile(new File(pkg.codePath)); 613 this.pkg = pkg 640 String pkg = null; local 725 PackageParser.Package pkg = parsePackage(packageURI); local 737 PackageParser.Package pkg = ip.pkg; local 2581 PackageParser.Package pkg = parsePackage(packageURI); local 2630 PackageParser.Package pkg = parsePackage(packageURI); local 3285 PackageParser.Package pkg = parsePackage(packageURI); local 3423 PackageParser.Package pkg = getParsedPackage(apk2Name, apk2); local [all...] |
/frameworks/base/services/core/java/com/android/server/vr/ |
VrManagerService.java | 443 for (String pkg : allowed) { 444 if (!packageNames.contains(pkg)) { 445 revokeNotificationListenerAccess(pkg, currentUserId); 446 revokeNotificationPolicyAccess(pkg); 447 revokeCoarseLocationPermissionIfNeeded(pkg, currentUserId); 448 mNotificationAccessPackageToUserId.remove(pkg); 451 for (String pkg : packageNames) { 452 if (!allowed.contains(pkg)) { 453 grantNotificationPolicyAccess(pkg); 454 grantNotificationListenerAccess(pkg, currentUserId) 479 String pkg = n.getPackageName(); local [all...] |
/build/soong/cmd/microfactory/ |
microfactory.bash | 86 -pkg-path "android/soong=${TOP}/build/soong" -trimpath "${TOP}/build/soong" \
|
/external/autotest/client/site_tests/graphics_Gbm/src/ |
Makefile | 11 PKG_CONFIG ?= pkg-config
|
/external/protobuf/examples/ |
Makefile | 34 pkg-config --cflags protobuf # fails if protobuf is not installed 35 c++ add_person.cc addressbook.pb.cc -o add_person_cpp `pkg-config --cflags --libs protobuf` 38 pkg-config --cflags protobuf # fails if protobuf is not installed 39 c++ list_people.cc addressbook.pb.cc -o list_people_cpp `pkg-config --cflags --libs protobuf`
|
/frameworks/base/core/java/android/nfc/ |
INfcAdapter.aidl | 43 INfcAdapterExtras getNfcAdapterExtrasInterface(in String pkg); 44 INfcDta getNfcDtaInterface(in String pkg);
|
/frameworks/base/core/java/com/android/internal/widget/ |
CachingIconView.java | 166 String pkg = icon.getResPackage(); local 167 if (TextUtils.isEmpty(pkg)) { 170 if (pkg.equals(mContext.getPackageName())) { 173 return pkg;
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
PackageManagerBackupAgent.java | 142 PackageInfo pkg = pkgs.get(a); local 143 if (!BackupManagerService.appIsEligibleForBackup(pkg.applicationInfo, pm)) { 264 for (PackageInfo pkg : mAllPackages) { 265 String packName = pkg.packageName; 514 String pkg = in.readUTF(); local 517 if (pkg.equals(STATE_FILE_HEADER)) { 524 pkg = in.readUTF(); 536 if (pkg.equals(DEFAULT_HOME_KEY)) { 542 pkg = in.readUTF(); // set up for the next block of state 548 if (pkg.equals(GLOBAL_METADATA_KEY)) [all...] |