/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 | InstallStart.java | 199 Uri packageUri = intent.getData(); in onCreate() local 201 if (packageUri != null in onCreate() 202 && packageUri.getScheme().equals(ContentResolver.SCHEME_CONTENT) in onCreate() 203 && canPackageQuery(callingUid, packageUri)) { in onCreate() 210 } else if (packageUri != null && PackageInstallerActivity.SCHEME_PACKAGE.equals( in onCreate() 211 packageUri.getScheme())) { in onCreate() 272 private boolean canPackageQuery(int callingUid, Uri packageUri) { in canPackageQuery() argument 273 ProviderInfo info = mPackageManager.resolveContentProvider(packageUri.getAuthority(), in canPackageQuery()
|
D | PackageInstallerActivity.java | 599 private boolean processPackageUri(final Uri packageUri) { in processPackageUri() argument 600 mPackageURI = packageUri; in processPackageUri() 601 final String scheme = packageUri.getScheme(); in processPackageUri() 602 final String packageName = packageUri.getSchemeSpecificPart(); in processPackageUri() 604 if (mLocalLOGV) Log.i(TAG, "processPackageUri(): uri=" + packageUri + ", scheme=" + scheme); in processPackageUri() 621 Log.w(TAG, "Requested package " + packageUri.getSchemeSpecificPart() in processPackageUri() 634 File sourceFile = new File(packageUri.getPath()); in processPackageUri() 650 throw new IllegalArgumentException("Unexpected URI scheme " + packageUri); in processPackageUri() 883 final Uri packageUri = Uri.parse("package:" + argument); 884 settingsIntent.setData(packageUri);
|
D | InstallStaging.java | 135 final Uri packageUri = getIntent().getData(); in onResume() local 136 final AssetFileDescriptor afd = openAssetFileDescriptor(packageUri); in onResume() 140 mInstaller, getIntent(), pfd, packageUri.toString()); in onResume() 309 Uri packageUri = getIntent().getData(); in doInBackground() local 311 InputStream in = getContentResolver().openInputStream(packageUri)) { in doInBackground()
|
D | UninstallerActivity.java | 157 final Uri packageUri = intent.getData(); in onCreate() local 158 if (packageUri == null) { in onCreate() 163 mPackageName = packageUri.getEncodedSchemeSpecificPart(); in onCreate() 165 Log.e(TAG, "Invalid package name in URI: " + packageUri); in onCreate() 212 final String className = packageUri.getFragment(); in onCreate()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | AttributeCache.java | 108 final Uri packageUri = intent.getData(); in onReceive() local 109 if (packageUri != null) { in onReceive() 110 final String packageName = packageUri.getEncodedSchemeSpecificPart(); in onReceive()
|
/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 | 165 Uri packageUri = intent.getData(); in onStartCommand() local 166 if (packageUri == null) { in onStartCommand() 172 final String packageName = WearPackageUtil.getSanitizedPackageName(packageUri); in onStartCommand() 174 Log.e(TAG, "Invalid package name in URI (expected package:<pkgName>): " + packageUri); in onStartCommand()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | VerificationUtils.java | 86 public static void broadcastPackageVerified(int verificationId, Uri packageUri, in broadcastPackageVerified() argument 90 intent.setDataAndType(packageUri, PACKAGE_MIME_TYPE); in broadcastPackageVerified()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/model/ |
D | InstallRepository.kt | 560 private fun processPackageUri(packageUri: Uri, userActionReason: Int): InstallStage { in <lambda>() 561 val scheme = packageUri.scheme in <lambda>() 562 val packageName = packageUri.schemeSpecificPart in <lambda>() 567 Log.i(LOG_TAG, "processPackageUri(): uri = $packageUri, scheme = $scheme") in <lambda>() 586 LOG_TAG, "Requested package " + packageUri.schemeSpecificPart in <lambda>() 605 val sourceFile = packageUri.path?.let { File(it) } in <lambda>() 633 Log.e(LOG_TAG, "Unexpected URI scheme $packageUri") in <lambda>()
|
D | UninstallRepository.kt | 119 val packageUri = intent.data in performPreUninstallChecks() constant 120 if (packageUri == null) { in performPreUninstallChecks() 124 targetPackageName = packageUri.encodedSchemeSpecificPart in performPreUninstallChecks() 126 Log.e(LOG_TAG, "Invalid package name in URI: $packageUri") in performPreUninstallChecks() 170 val className = packageUri.fragment in performPreUninstallChecks()
|
D | PackageUtil.kt | 86 fun canPackageQuery(context: Context, callingUid: Int, packageUri: Uri): Boolean { in canPackageQuery() 89 packageUri.authority!!, in canPackageQuery()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/ui/ |
D | InstallLaunch.kt | 296 val packageUri = Uri.parse("package:$sourcePackageName") in <lambda>() constant 297 settingsIntent.setData(packageUri) in <lambda>()
|
/frameworks/base/core/java/android/content/pm/ |
D | CrossProfileApps.java | 544 final Uri packageUri = Uri.parse("package:" + mContext.getPackageName()); in createRequestInteractAcrossProfilesIntent() local 545 settingsIntent.setData(packageUri); in createRequestInteractAcrossProfilesIntent()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/ |
D | CompatUIController.java | 689 final Uri packageUri = Uri.parse("package:" + appComponent.getPackageName()); in launchUserAspectRatioSettings() local 690 intent.setData(packageUri); in launchUserAspectRatioSettings()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/ |
D | SplashscreenContentDrawer.java | 1112 final Uri packageUri = intent.getData(); in onReceive() local 1113 if (packageUri != null) { in onReceive() 1114 mColorMap.remove(packageUri.getEncodedSchemeSpecificPart()); in onReceive()
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
D | PackageManagerTests.java | 252 private void invokeInstallPackage(Uri packageUri, int flags, GenericReceiver receiver, in invokeInstallPackage() argument 256 final String inPath = packageUri.getPath(); in invokeInstallPackage() 304 private void invokeInstallPackageFail(Uri packageUri, int flags, int expectedResult) { in invokeInstallPackageFail() argument 305 final String inPath = packageUri.getPath(); in invokeInstallPackageFail()
|
/frameworks/base/services/core/java/com/android/server/ |
D | PinnerService.java | 191 Uri packageUri = intent.getData(); 192 String packageName = packageUri.getSchemeSpecificPart();
|