Searched refs:packageUri (Results 1 – 7 of 7) sorted by relevance
412 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 …]
172 final Uri packageUri = intent.getData(); in onCreate() local173 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()
74 final Uri packageUri = intent.getData(); in onReceive() local75 if (null == packageUri) return; // No package name : we can't do anything in onReceive()76 final String packageName = packageUri.getSchemeSpecificPart(); in onReceive()
35 Uri packageUri = intent.getData(); in onReceive() local36 String packageName = packageUri.getSchemeSpecificPart(); in onReceive()
136 Uri packageUri = packageIntent.getData(); in onHandleIntent() local138 if (packageUri != null) { in onHandleIntent()139 updatedPackage = packageUri.toString().substring(8); in onHandleIntent()
172 public static String getSanitizedPackageName(Uri packageUri) { in getSanitizedPackageName() argument173 String packageName = packageUri.getEncodedSchemeSpecificPart(); in getSanitizedPackageName()
162 Uri packageUri = intent.getData(); in onStartCommand() local163 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()