/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 | 308 final Uri packageUri; in onCreate() local 320 packageUri = Uri.fromFile(new File(info.resolvedBaseCodePath)); in onCreate() 325 packageUri = intent.getData(); in onCreate() 331 if (packageUri == null) { in onCreate() 343 boolean wasSetUp = processPackageUri(packageUri); in onCreate() 498 private boolean processPackageUri(final Uri packageUri) { in processPackageUri() argument 499 mPackageURI = packageUri; in processPackageUri() 501 final String scheme = packageUri.getScheme(); in processPackageUri() 506 mPkgInfo = mPm.getPackageInfo(packageUri.getSchemeSpecificPart(), in processPackageUri() 512 Log.w(TAG, "Requested package " + packageUri.getScheme() in processPackageUri() [all …]
|
D | InstallStart.java | 110 Uri packageUri = intent.getData(); in onCreate() local 112 if (packageUri != null && packageUri.getScheme().equals( in onCreate() 119 } 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 | 146 Uri packageUri = intent.getData(); in onStartCommand() local 147 if (packageUri == null) { in onStartCommand() 153 final String packageName = WearPackageUtil.getSanitizedPackageName(packageUri); in onStartCommand() 155 Log.e(TAG, "Invalid package name in URI (expected package:<pkgName>): " + packageUri); in onStartCommand()
|
/frameworks/base/services/core/java/com/android/server/ |
D | PinnerService.java | 145 Uri packageUri = intent.getData(); 146 String packageName = packageUri.getSchemeSpecificPart();
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | PackageManagerTests.java | 236 private void invokeInstallPackage(Uri packageUri, int flags, GenericReceiver receiver, in invokeInstallPackage() argument 240 final String inPath = packageUri.getPath(); in invokeInstallPackage() 288 private void invokeInstallPackageFail(Uri packageUri, int flags, int expectedResult) { in invokeInstallPackageFail() argument 289 final String inPath = packageUri.getPath(); in invokeInstallPackageFail()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerService.java | 14069 private void broadcastPackageVerified(int verificationId, Uri packageUri, 14072 intent.setDataAndType(packageUri, PACKAGE_MIME_TYPE);
|