/frameworks/base/startop/iorap/src/com/google/android/startop/iorap/ |
D | PackageEvent.java | 55 public final Uri packageUri; field in PackageEvent 60 public static PackageEvent createReplaced(Uri packageUri, String packageName) { in createReplaced() argument 61 return new PackageEvent(TYPE_REPLACED, packageUri, packageName); in createReplaced() 64 private PackageEvent(@Type int type, Uri packageUri, String packageName) { in PackageEvent() argument 66 this.packageUri = packageUri; in PackageEvent() 74 Objects.requireNonNull(packageUri, "packageUri"); in checkConstructorArguments() 90 Objects.equals(packageUri, other.packageUri) && in equals() 96 return String.format("{packageUri: %s, packageName: %s}", packageUri, packageName); in toString() 103 packageUri.writeToParcel(out, flags); in writeToParcel() 109 this.packageUri = Uri.CREATOR.createFromParcel(in); in PackageEvent()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | PackageInstalledReceiver.java | 48 Uri packageUri = intent.getData(); in onReceive() local 49 if (packageUri == null) { in onReceive() 53 String packageName = packageUri.getSchemeSpecificPart(); in onReceive()
|
D | PackageInstallerActivity.java | 307 final Uri packageUri; in onCreate() local 319 packageUri = Uri.fromFile(new File(info.resolvedBaseCodePath)); in onCreate() 324 packageUri = intent.getData(); in onCreate() 330 if (packageUri == null) { in onCreate() 342 boolean wasSetUp = processPackageUri(packageUri); in onCreate() 501 private boolean processPackageUri(final Uri packageUri) { in processPackageUri() argument 502 mPackageURI = packageUri; in processPackageUri() 504 final String scheme = packageUri.getScheme(); in processPackageUri() 509 mPkgInfo = mPm.getPackageInfo(packageUri.getSchemeSpecificPart(), in processPackageUri() 515 Log.w(TAG, "Requested package " + packageUri.getScheme() in processPackageUri() [all …]
|
D | InstallStart.java | 119 Uri packageUri = intent.getData(); in onCreate() local 121 if (packageUri != null && packageUri.getScheme().equals( in onCreate() 128 } else if (packageUri != null && packageUri.getScheme().equals( in onCreate()
|
D | UninstallerActivity.java | 144 final Uri packageUri = intent.getData(); in onCreate() local 145 if (packageUri == null) { in onCreate() 150 mPackageName = packageUri.getEncodedSchemeSpecificPart(); in onCreate() 152 Log.e(TAG, "Invalid package name in URI: " + packageUri); in onCreate() 198 final String className = packageUri.getFragment(); in onCreate()
|
D | InstallStaging.java | 173 Uri packageUri = params[0]; in doInBackground() local 174 try (InputStream in = getContentResolver().openInputStream(packageUri)) { in doInBackground()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/ |
D | WearPackageUtil.java | 126 public static String getSanitizedPackageName(Uri packageUri) { in getSanitizedPackageName() argument 127 String packageName = packageUri.getEncodedSchemeSpecificPart(); in getSanitizedPackageName()
|
D | WearPackageInstallerService.java | 147 Uri packageUri = intent.getData(); in onStartCommand() local 148 if (packageUri == null) { in onStartCommand() 154 final String packageName = WearPackageUtil.getSanitizedPackageName(packageUri); in onStartCommand() 156 Log.e(TAG, "Invalid package name in URI (expected package:<pkgName>): " + packageUri); in onStartCommand()
|
/frameworks/base/core/java/android/content/pm/ |
D | CrossProfileApps.java | 360 final Uri packageUri = Uri.parse("package:" + mContext.getPackageName()); in createRequestInteractAcrossProfilesIntent() local 361 settingsIntent.setData(packageUri); in createRequestInteractAcrossProfilesIntent()
|
/frameworks/base/services/core/java/com/android/server/ |
D | PinnerService.java | 161 Uri packageUri = intent.getData(); 162 String packageName = packageUri.getSchemeSpecificPart();
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | PackageManagerTests.java | 239 private void invokeInstallPackage(Uri packageUri, int flags, GenericReceiver receiver, in invokeInstallPackage() argument 243 final String inPath = packageUri.getPath(); in invokeInstallPackage() 291 private void invokeInstallPackageFail(Uri packageUri, int flags, int expectedResult) { in invokeInstallPackageFail() argument 292 final String inPath = packageUri.getPath(); in invokeInstallPackageFail()
|