/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
D | RemoveReceiver.java | 31 String pkg = uri != null ? uri.getSchemeSpecificPart() : null; in onReceive() local 32 if (pkg != null) { in onReceive() 36 if (prefs.getBoolean(pkg, false)) { in onReceive() 37 prefs.edit().remove(pkg).apply(); in onReceive()
|
D | PackageUtil.java | 57 PackageParser.Package pkg = packageParser.parsePackage( in getApplicationInfo() local 59 if (pkg == null) { in getApplicationInfo() 62 return pkg.applicationInfo; in getApplicationInfo() 73 PackageParser.Package pkg = packageParser.parsePackage(sourceFile, in getPackageInfo() local 77 return pkg; in getPackageInfo()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | NfceeAccessControl.java | 77 public boolean check(int uid, String pkg) { in check() argument 90 if (uidPkg.equals(pkg)) { in check() 92 if (checkPackageNfceeAccess(pkg)) { in check() 130 boolean checkPackageNfceeAccess(String pkg) { in checkPackageNfceeAccess() argument 133 PackageInfo info = pm.getPackageInfo(pkg, PackageManager.GET_SIGNATURES); in checkPackageNfceeAccess() 148 if (DBG) Log.d(TAG, "Granted NFCEE access to " + pkg + " (wildcard)"); in checkPackageNfceeAccess() 152 if (pkg.equals(p)) { in checkPackageNfceeAccess() 154 if (DBG) Log.d(TAG, "Granted access to " + pkg + " (explicit)"); in checkPackageNfceeAccess() 161 Log.w(TAG, "denied NFCEE access for " + pkg + " with signature:"); in checkPackageNfceeAccess()
|
D | NfcService.java | 227 public void enforceNfceeAdminPerm(String pkg) { in enforceNfceeAdminPerm() argument 228 if (pkg == null) { in enforceNfceeAdminPerm() 232 if (!mNfceeAccessControl.check(Binder.getCallingUid(), pkg)) { in enforceNfceeAdminPerm() 234 " denies NFCEE access to " + pkg); in enforceNfceeAdminPerm() 795 public INfcAdapterExtras getNfcAdapterExtrasInterface(String pkg) { in getNfcAdapterExtrasInterface() argument 796 NfcService.this.enforceNfceeAdminPerm(pkg); in getNfcAdapterExtrasInterface() 1225 public Bundle open(String pkg, IBinder b) throws RemoteException { in open() argument 1226 NfcService.this.enforceNfceeAdminPerm(pkg); in open() 1269 public Bundle close(String pkg, IBinder binder) throws RemoteException { in close() argument 1270 NfcService.this.enforceNfceeAdminPerm(pkg); in close() [all …]
|
D | NfcDispatcher.java | 312 for (String pkg : aarPackages) { in tryNdef() 313 dispatch.intent.setPackage(pkg); in tryNdef() 349 String pkg = checkForAar(record); in extractAarPackages() local 350 if (pkg != null) { in extractAarPackages() 351 aarPackages.add(pkg); in extractAarPackages() 440 static Intent getAppSearchIntent(String pkg) { in getAppSearchIntent() argument 442 market.setData(Uri.parse("market://details?id=" + pkg)); in getAppSearchIntent()
|
D | P2pLinkManager.java | 303 String pkg = tasks.get(0).baseActivity.getPackageName(); in prepareMessageToSend() local 304 if (beamDefaultDisabled(pkg)) { in prepareMessageToSend() 308 mMessageToSend = createDefaultNdef(pkg); in prepareMessageToSend()
|
/packages/experimental/NotificationLog/src/com/android/notificationlog/ |
D | NotificationLogActivity.java | 92 String pkg = (String) data[0]; in bindView() local 100 appInfo = mPM.getApplicationInfo(pkg, 0); in bindView() 101 pkg = mPM.getApplicationLabel(appInfo) + " (" + pkg + ")"; in bindView() 105 title.setText(pkg); in bindView()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | MockPackageManager.java | 35 for (String pkg : mPackages) { in queryBroadcastReceivers() 36 resolveInfos.add(createResolveInfo(pkg)); in queryBroadcastReceivers()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | SearchWidgetProvider.java | 102 String pkg = context.getPackageName(); in myComponentName() local 103 String cls = pkg + ".SearchWidgetProvider"; in myComponentName() 104 return new ComponentName(pkg, cls); in myComponentName()
|
/packages/apps/KeyChain/src/com/android/keychain/ |
D | KeyChainActivity.java | 222 String pkg = mSender.getIntentSender().getTargetPackage(); in displayCertChooserDialog() local 226 applicationLabel = pm.getApplicationLabel(pm.getApplicationInfo(pkg, 0)).toString(); in displayCertChooserDialog() 228 applicationLabel = pkg; in displayCertChooserDialog()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | InstalledAppDetails.java | 603 String pkg = packages[i]; in refreshUi() local 604 if (mPackageInfo.packageName.equals(pkg)) { in refreshUi() 608 ApplicationInfo ainfo = mPm.getApplicationInfo(pkg, 0); in refreshUi()
|