Home
last modified time | relevance | path

Searched refs:packageUri (Results 1 – 7 of 7) sorted by relevance

/packages/apps/PackageInstaller/src/com/android/packageinstaller/
DPackageInstallerActivity.java412 final Uri packageUri;
424 packageUri = Uri.fromFile(new File(info.resolvedBaseCodePath));
429 packageUri = intent.getData();
435 if (packageUri == null) {
459 processPackageUri(packageUri);
476 processPackageUri(packageUri);
489 private void processPackageUri(final Uri packageUri) {
490 mPackageURI = packageUri;
492 final String scheme = packageUri.getScheme();
498 mPkgInfo = mPm.getPackageInfo(packageUri.getSchemeSpecificPart(),
[all …]
DUninstallerActivity.java172 final Uri packageUri = intent.getData(); in onCreate() local
173 if (packageUri == null) { in onCreate()
178 mPackageName = packageUri.getEncodedSchemeSpecificPart(); in onCreate()
180 Log.e(TAG, "Invalid package name in URI: " + packageUri); in onCreate()
212 final String className = packageUri.getFragment(); in onCreate()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DDictionaryPackInstallBroadcastReceiver.java74 final Uri packageUri = intent.getData(); in onReceive() local
75 if (null == packageUri) return; // No package name : we can't do anything in onReceive()
76 final String packageName = packageUri.getSchemeSpecificPart(); in onReceive()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DPackageIntentReceiver.java35 Uri packageUri = intent.getData(); in onReceive() local
36 String packageName = packageUri.getSchemeSpecificPart(); in onReceive()
/packages/apps/MusicFX/src/com/android/musicfx/
DCompatibility.java136 Uri packageUri = packageIntent.getData(); in onHandleIntent() local
138 if (packageUri != null) { in onHandleIntent()
139 updatedPackage = packageUri.toString().substring(8); in onHandleIntent()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/
DWearPackageUtil.java172 public static String getSanitizedPackageName(Uri packageUri) { in getSanitizedPackageName() argument
173 String packageName = packageUri.getEncodedSchemeSpecificPart(); in getSanitizedPackageName()
DWearPackageInstallerService.java162 Uri packageUri = intent.getData(); in onStartCommand() local
163 if (packageUri == null) { in onStartCommand()
167 final String packageName = WearPackageUtil.getSanitizedPackageName(packageUri); in onStartCommand()
169 Log.e(TAG, "Invalid package name in URI (expected package:<pkgName>): " + packageUri); in onStartCommand()