/frameworks/base/services/tests/servicestests/src/com/android/server/pm/backup/ |
D | BackupUtilsTest.java | 79 PackageInfo packageInfo = new PackageInfo(); in signaturesMatch_systemApplication_returnsTrue() local 80 packageInfo.packageName = "test"; in signaturesMatch_systemApplication_returnsTrue() 81 packageInfo.applicationInfo = new ApplicationInfo(); in signaturesMatch_systemApplication_returnsTrue() 82 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in signaturesMatch_systemApplication_returnsTrue() 86 boolean result = BackupUtils.signaturesMatch(storedSigHashes, packageInfo, in signaturesMatch_systemApplication_returnsTrue() 95 PackageInfo packageInfo = new PackageInfo(); in signaturesMatch_disallowsUnsignedApps_storedSignatureNull_returnsFalse() local 96 packageInfo.packageName = "test"; in signaturesMatch_disallowsUnsignedApps_storedSignatureNull_returnsFalse() 97 packageInfo.signingInfo = new SigningInfo( in signaturesMatch_disallowsUnsignedApps_storedSignatureNull_returnsFalse() 103 packageInfo.applicationInfo = new ApplicationInfo(); in signaturesMatch_disallowsUnsignedApps_storedSignatureNull_returnsFalse() 105 boolean result = BackupUtils.signaturesMatch(null, packageInfo, in signaturesMatch_disallowsUnsignedApps_storedSignatureNull_returnsFalse() [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/utils/ |
D | BackupEligibilityRulesTest.java | 518 PackageInfo packageInfo = new PackageInfo(); in appGetsFullBackup_noCustomBackupAgent_returnsTrue() local 519 packageInfo.applicationInfo = new ApplicationInfo(); in appGetsFullBackup_noCustomBackupAgent_returnsTrue() 520 packageInfo.applicationInfo.backupAgentName = null; in appGetsFullBackup_noCustomBackupAgent_returnsTrue() 522 boolean result = mBackupEligibilityRules.appGetsFullBackup(packageInfo); in appGetsFullBackup_noCustomBackupAgent_returnsTrue() 530 PackageInfo packageInfo = new PackageInfo(); in appGetsFullBackup_withCustomBackupAgentAndFullBackupOnlyFlag_returnsTrue() local 531 packageInfo.applicationInfo = new ApplicationInfo(); in appGetsFullBackup_withCustomBackupAgentAndFullBackupOnlyFlag_returnsTrue() 532 packageInfo.applicationInfo.backupAgentName = "backup.agent"; in appGetsFullBackup_withCustomBackupAgentAndFullBackupOnlyFlag_returnsTrue() 533 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_FULL_BACKUP_ONLY; in appGetsFullBackup_withCustomBackupAgentAndFullBackupOnlyFlag_returnsTrue() 535 boolean result = mBackupEligibilityRules.appGetsFullBackup(packageInfo); in appGetsFullBackup_withCustomBackupAgentAndFullBackupOnlyFlag_returnsTrue() 543 PackageInfo packageInfo = new PackageInfo(); in appGetsFullBackup_withCustomBackupAgentAndWithoutFullBackupOnlyFlag_returnsFalse() local [all …]
|
D | TarBackupReaderTest.java | 329 PackageInfo packageInfo = new PackageInfo(); in chooseRestorePolicy_doesNotAllowsBackup_returnsIgnore() local 330 packageInfo.applicationInfo = new ApplicationInfo(); in chooseRestorePolicy_doesNotAllowsBackup_returnsIgnore() 331 packageInfo.applicationInfo.flags = ~ApplicationInfo.FLAG_ALLOW_BACKUP; in chooseRestorePolicy_doesNotAllowsBackup_returnsIgnore() 332 PackageManagerStub.sPackageInfo = packageInfo; in chooseRestorePolicy_doesNotAllowsBackup_returnsIgnore() 354 PackageInfo packageInfo = new PackageInfo(); in chooseRestorePolicy_systemAppWithNoAgent_returnsIgnore() local 355 packageInfo.applicationInfo = new ApplicationInfo(); in chooseRestorePolicy_systemAppWithNoAgent_returnsIgnore() 356 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in chooseRestorePolicy_systemAppWithNoAgent_returnsIgnore() 357 packageInfo.applicationInfo.uid = Process.SYSTEM_UID; in chooseRestorePolicy_systemAppWithNoAgent_returnsIgnore() 358 packageInfo.applicationInfo.backupAgentName = null; in chooseRestorePolicy_systemAppWithNoAgent_returnsIgnore() 359 PackageManagerStub.sPackageInfo = packageInfo; in chooseRestorePolicy_systemAppWithNoAgent_returnsIgnore() [all …]
|
D | BackupManagerMonitorEventSenderTest.java | 134 PackageInfo packageInfo = new PackageInfo(); in monitorEvent_packageAndExtrasAreNotNull_fillsBundleCorrectly() local 135 packageInfo.packageName = "test.package"; in monitorEvent_packageAndExtrasAreNotNull_fillsBundleCorrectly() 136 packageInfo.versionCode = 3; in monitorEvent_packageAndExtrasAreNotNull_fillsBundleCorrectly() 141 mBackupManagerMonitorEventSender.monitorEvent(1, packageInfo, 2, extras); in monitorEvent_packageAndExtrasAreNotNull_fillsBundleCorrectly() 161 PackageInfo packageInfo = new PackageInfo(); in monitorEvent_packageAndExtrasAreNotNull_fillsBundleCorrectlyLong() local 162 packageInfo.packageName = "test.package"; in monitorEvent_packageAndExtrasAreNotNull_fillsBundleCorrectlyLong() 163 packageInfo.versionCode = 3; in monitorEvent_packageAndExtrasAreNotNull_fillsBundleCorrectlyLong() 164 packageInfo.versionCodeMajor = 10; in monitorEvent_packageAndExtrasAreNotNull_fillsBundleCorrectlyLong() 169 mBackupManagerMonitorEventSender.monitorEvent(1, packageInfo, 2, extras); in monitorEvent_packageAndExtrasAreNotNull_fillsBundleCorrectlyLong() 219 PackageInfo packageInfo = new PackageInfo(); in monitorAgentLoggingResults_onBackup_fillsBundleCorrectly() local [all …]
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/fullbackup/ |
D | AppMetadataBackupWriterTest.java | 114 PackageInfo packageInfo = in testBackupManifest_withoutApkOrSignatures_writesCorrectData() local 118 mBackupWriter.backupManifest(packageInfo, manifestFile, mFilesDir, /* withApk */ false); in testBackupManifest_withoutApkOrSignatures_writesCorrectData() 149 PackageInfo packageInfo = in testBackupManifest_withApk_writesApk() local 153 mBackupWriter.backupManifest(packageInfo, manifestFile, mFilesDir, /* withApk */ true); in testBackupManifest_withApk_writesApk() 178 PackageInfo packageInfo = in testBackupManifest_withSignatures_writesCorrectSignatures() local 180 packageInfo.signingInfo = in testBackupManifest_withSignatures_writesCorrectSignatures() 189 mBackupWriter.backupManifest(packageInfo, manifestFile, mFilesDir, /* withApk */ false); in testBackupManifest_withSignatures_writesCorrectSignatures() 216 PackageInfo packageInfo = createPackageInfo(TEST_PACKAGE, null, TEST_PACKAGE_VERSION_CODE); in testBackupManifest_withoutInstallerPackage_writesEmptyInstaller() local 219 mBackupWriter.backupManifest(packageInfo, manifestFile, mFilesDir, /* withApk */ false); in testBackupManifest_withoutInstallerPackage_writesEmptyInstaller() 231 PackageInfo packageInfo = in testBackupManifest_whenRunPreviouslyWithSameData_producesSameBytesOnSecondRun() local [all …]
|
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/ |
D | AppMetadataBackupWriter.java | 59 PackageInfo packageInfo, File manifestFile, File filesDir, boolean withApk) in backupManifest() argument 62 packageInfo, in backupManifest() 83 PackageInfo packageInfo, in backupManifest() argument 90 byte[] manifestBytes = getManifestBytes(packageInfo, withApk); in backupManifest() 102 packageInfo.packageName, in backupManifest() 126 private byte[] getManifestBytes(PackageInfo packageInfo, boolean withApk) { in getManifestBytes() argument 127 String packageName = packageInfo.packageName; in getManifestBytes() 133 printer.println(Long.toString(packageInfo.getLongVersionCode())); in getManifestBytes() 142 SigningInfo signingInfo = packageInfo.signingInfo; in getManifestBytes() 170 PackageInfo packageInfo, File metadataFile, File filesDir, byte[] widgetData) in backupWidget() argument [all …]
|
/frameworks/base/packages/SettingsLib/SpaPrivileged/tests/src/com/android/settingslib/spaprivileged/template/app/ |
D | AppInfoTest.kt | 45 val packageInfo = PackageInfo().apply { in appInfoLabel_isDisplayed() constant 48 val appInfoProvider = AppInfoProvider(packageInfo) in appInfoLabel_isDisplayed() 61 val packageInfo = PackageInfo().apply { in appInfoVersion_whenDisplayVersionIsFalse() constant 65 val appInfoProvider = AppInfoProvider(packageInfo) in appInfoVersion_whenDisplayVersionIsFalse() 78 val packageInfo = PackageInfo().apply { in appInfoVersion_whenDisplayVersionIsTrue() constant 82 val appInfoProvider = AppInfoProvider(packageInfo) in appInfoVersion_whenDisplayVersionIsTrue() 95 val packageInfo = PackageInfo().apply { in footerAppVersion_versionIsDisplayed() constant 100 val appInfoProvider = AppInfoProvider(packageInfo) in footerAppVersion_versionIsDisplayed() 114 val packageInfo = PackageInfo().apply { in footerAppVersion_developmentEnabled_packageNameIsDisplayed() constant 119 val appInfoProvider = AppInfoProvider(packageInfo) in footerAppVersion_developmentEnabled_packageNameIsDisplayed() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | BinaryTransparencyService.java | 371 for (PackageInfo packageInfo : getCurrentInstalledApexs()) { in collectAllApexInfo() 373 packageInfo.packageName); in collectAllApexInfo() 376 + packageInfo.packageName); in collectAllApexInfo() 437 for (PackageInfo packageInfo : getNewlyInstalledMbas()) { in collectAllSilentInstalledMbaInfo() 438 if (packagesToSkip.containsKey(packageInfo.packageName)) { in collectAllSilentInstalledMbaInfo() 442 packageInfo.packageName); in collectAllSilentInstalledMbaInfo() 445 + packageInfo.packageName); in collectAllSilentInstalledMbaInfo() 556 private void printPackageMeasurements(PackageInfo packageInfo, in onShellCommand() argument 560 packageInfo.applicationInfo.sourceDir); in onShellCommand() 563 + packageInfo.applicationInfo.sourceDir); in onShellCommand() [all …]
|
/frameworks/base/core/java/android/webkit/ |
D | UserPackage.java | 39 public UserPackage(UserInfo user, PackageInfo packageInfo) { in UserPackage() argument 41 this.mPackageInfo = packageInfo; in UserPackage() 53 PackageInfo packageInfo = null; in getPackageInfosAllUsers() local 55 packageInfo = context.getPackageManager().getPackageInfoAsUser( in getPackageInfosAllUsers() 59 userPackages.add(new UserPackage(user, packageInfo)); in getPackageInfosAllUsers() 87 public static boolean hasCorrectTargetSdkVersion(PackageInfo packageInfo) { in hasCorrectTargetSdkVersion() argument 88 return packageInfo.applicationInfo.targetSdkVersion >= MINIMUM_SUPPORTED_SDK; in hasCorrectTargetSdkVersion()
|
D | WebViewProviderResponse.java | 56 @Nullable PackageInfo packageInfo, @WebViewProviderStatus int status) { in WebViewProviderResponse() 57 this.packageInfo = packageInfo; in WebViewProviderResponse() 74 packageInfo = in.readTypedObject(PackageInfo.CREATOR); in WebViewProviderResponse() 85 out.writeTypedObject(packageInfo, flags); in writeToParcel() 89 @UnsupportedAppUsage public final @Nullable PackageInfo packageInfo; field in WebViewProviderResponse
|
D | WebViewFactory.java | 312 if (!response.packageInfo.packageName.equals(packageName)) { in loadWebViewNativeLibraryFromPackage() 319 PackageInfo packageInfo = packageManager.getPackageInfo(packageName, in loadWebViewNativeLibraryFromPackage() local 321 libraryFileName = getWebViewLibrary(packageInfo.applicationInfo); in loadWebViewNativeLibraryFromPackage() 429 private static boolean isEnabledPackage(PackageInfo packageInfo) { in isEnabledPackage() argument 430 if (packageInfo == null) return false; in isEnabledPackage() 431 return packageInfo.applicationInfo.enabled; in isEnabledPackage() 435 private static boolean isInstalledPackage(PackageInfo packageInfo) { in isInstalledPackage() argument 436 if (packageInfo == null) return false; in isInstalledPackage() 437 return (((packageInfo.applicationInfo.flags & ApplicationInfo.FLAG_INSTALLED) != 0) in isInstalledPackage() 438 && ((packageInfo.applicationInfo.privateFlags & ApplicationInfo.PRIVATE_FLAG_HIDDEN) in isInstalledPackage() [all …]
|
/frameworks/base/services/core/java/com/android/server/webkit/ |
D | WebViewUpdateServiceImpl2.java | 462 public final PackageInfo packageInfo; field in WebViewUpdateServiceImpl2.ProviderAndPackageInfo 464 ProviderAndPackageInfo(WebViewProviderInfo provider, PackageInfo packageInfo) { in ProviderAndPackageInfo() argument 466 this.packageInfo = packageInfo; in ProviderAndPackageInfo() 475 PackageInfo packageInfo = in getValidWebViewPackagesAndInfos() local 477 if (validityResult(allProviders[n], packageInfo) == VALIDITY_OK) { in getValidWebViewPackagesAndInfos() 478 providers.add(new ProviderAndPackageInfo(allProviders[n], packageInfo)); in getValidWebViewPackagesAndInfos() 501 PackageInfo packageInfo = in findPreferredWebViewPackage() local 503 if (validityResult(userChosenProvider, packageInfo) == VALIDITY_OK) { in findPreferredWebViewPackage() 508 return packageInfo; in findPreferredWebViewPackage() 520 PackageInfo packageInfo = mSystemInterface.getPackageInfoForProvider(mDefaultProvider); in findPreferredWebViewPackage() local [all …]
|
D | WebViewUpdateServiceImpl.java | 416 public final PackageInfo packageInfo; field in WebViewUpdateServiceImpl.ProviderAndPackageInfo 418 ProviderAndPackageInfo(WebViewProviderInfo provider, PackageInfo packageInfo) { in ProviderAndPackageInfo() argument 420 this.packageInfo = packageInfo; in ProviderAndPackageInfo() 429 PackageInfo packageInfo = in getValidWebViewPackagesAndInfos() local 431 if (validityResult(allProviders[n], packageInfo) == VALIDITY_OK) { in getValidWebViewPackagesAndInfos() 432 providers.add(new ProviderAndPackageInfo(allProviders[n], packageInfo)); in getValidWebViewPackagesAndInfos() 461 return providerAndPackage.packageInfo; in findPreferredWebViewPackage() 476 return providerAndPackage.packageInfo; in findPreferredWebViewPackage() 548 private int validityResult(WebViewProviderInfo configInfo, PackageInfo packageInfo) { in validityResult() argument 550 if (!UserPackage.hasCorrectTargetSdkVersion(packageInfo)) { in validityResult() [all …]
|
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/ |
D | KeyValueBackupReporter.java | 208 void onAgentIllegalKey(PackageInfo packageInfo, String key) { in onAgentIllegalKey() argument 209 String packageName = packageInfo.packageName; in onAgentIllegalKey() 213 packageInfo, in onAgentIllegalKey() 251 void onEmptyData(PackageInfo packageInfo) { in onEmptyData() argument 257 packageInfo, in onEmptyData() 288 void onPackageBackupNonIncrementalRequired(PackageInfo packageInfo) { in onPackageBackupNonIncrementalRequired() argument 292 packageInfo, in onPackageBackupNonIncrementalRequired() 327 void onAgentTimedOut(@Nullable PackageInfo packageInfo) { in onAgentTimedOut() argument 328 String packageName = getPackageName(packageInfo); in onAgentTimedOut() 335 packageInfo, in onAgentTimedOut() [all …]
|
D | KeyValueBackupTask.java | 436 PackageInfo packageInfo; in informTransportOfUnchangedApps() local 438 packageInfo = mPackageManager.getPackageInfo(packageName, /* flags */ 0); in informTransportOfUnchangedApps() 439 if (!isEligibleForNoDataCall(packageInfo)) { in informTransportOfUnchangedApps() 451 sendNoDataChangedTo(transport, packageInfo, flags); in informTransportOfUnchangedApps() 469 private boolean isEligibleForNoDataCall(PackageInfo packageInfo) { in isEligibleForNoDataCall() argument 470 return mBackupEligibilityRules.appIsKeyValueOnly(packageInfo) in isEligibleForNoDataCall() 472 mTransportConnection, packageInfo.packageName); in isEligibleForNoDataCall() 476 private void sendNoDataChangedTo(BackupTransportClient transport, PackageInfo packageInfo, in sendNoDataChangedTo() argument 486 int result = transport.performBackup(packageInfo, pfd, flags); in sendNoDataChangedTo() 575 private int sendDataToTransport(@Nullable PackageInfo packageInfo) in sendDataToTransport() argument [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/ |
D | TestSystemImpl.java | 64 public int onWebViewProviderChanged(PackageInfo packageInfo) { in onWebViewProviderChanged() argument 98 PackageInfo packageInfo = userPackages.get(userId); in enablePackageForUser() local 99 if (packageInfo == null) { in enablePackageForUser() 102 packageInfo.applicationInfo.enabled = enable; in enablePackageForUser() 103 setPackageInfoForUser(userId, packageInfo); in enablePackageForUser() 111 PackageInfo packageInfo = userPackages.get(userId); in installPackageForUser() local 112 if (packageInfo == null) { in installPackageForUser() 115 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_INSTALLED; in installPackageForUser() 116 packageInfo.applicationInfo.privateFlags &= (~ApplicationInfo.PRIVATE_FLAG_HIDDEN); in installPackageForUser() 117 setPackageInfoForUser(userId, packageInfo); in installPackageForUser()
|
/frameworks/base/services/backup/java/com/android/server/backup/params/ |
D | ClearParams.java | 26 public PackageInfo packageInfo; field in ClearParams 31 PackageInfo packageInfo, in ClearParams() argument 34 this.packageInfo = packageInfo; in ClearParams()
|
D | RestoreParams.java | 33 @Nullable public final PackageInfo packageInfo; field in RestoreParams 48 PackageInfo packageInfo, in createForSinglePackage() argument 56 packageInfo, in createForSinglePackage() 143 @Nullable PackageInfo packageInfo, in RestoreParams() argument 153 this.packageInfo = packageInfo; in RestoreParams()
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/robolectric/ |
D | ExternalResources.java | 48 public static Resources injectExternalResources(PackageInfo packageInfo) { in injectExternalResources() argument 50 application.getPackageManager().getPackageInfo(packageInfo.packageName, 0); in injectExternalResources() 53 shadowOf(application.getPackageManager()).addPackage(packageInfo); in injectExternalResources() 55 Resources resources = Resources.forPackageName(packageInfo.packageName); in injectExternalResources() 56 ShadowPackageManager.resources.put(packageInfo.packageName, resources); in injectExternalResources() 154 PackageInfo packageInfo = new PackageInfo(); in createPackageInfo() local 155 packageInfo.packageName = packageName; in createPackageInfo() 156 return packageInfo; in createPackageInfo()
|
/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/template/app/ |
D | AppInfoPage.kt | 35 val packageInfo = remember(packageName, userId) { in AppInfoPage() constant 39 remember(packageInfo) { AppInfoProvider(packageInfo) }.AppInfo(displayVersion = true) in AppInfoPage() 41 packageInfo.content() in AppInfoPage()
|
D | AppInfo.kt | 48 class AppInfoProvider(private val packageInfo: PackageInfo) { constant in com.android.settingslib.spaprivileged.template.app.AppInfoProvider 61 val app = checkNotNull(packageInfo.applicationInfo) in AppInfo() 84 val versionName = packageInfo.versionNameBidiWrapped ?: return in AppVersion() 92 val footer = remember(packageInfo, showPackageName) { in FooterAppVersion() 94 packageInfo.versionNameBidiWrapped?.let { in FooterAppVersion() 98 list += packageInfo.packageName in FooterAppVersion()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/ |
D | AppRestrictionsHelperTest.java | 194 final PackageInfo packageInfo = new PackageInfo(); in addSystemAppsWithRequiredAccounts() local 195 packageInfo.applicationInfo = ri.activityInfo.applicationInfo; in addSystemAppsWithRequiredAccounts() 196 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_INSTALLED; in addSystemAppsWithRequiredAccounts() 197 packageInfo.requiredAccountType = "account"; in addSystemAppsWithRequiredAccounts() 198 packageInfo.restrictedAccountType = null; in addSystemAppsWithRequiredAccounts() 199 mInstalledAppInfos.add(packageInfo.applicationInfo); in addSystemAppsWithRequiredAccounts() 200 when(mPm.getPackageInfo(eq(pkg), anyInt())).thenReturn(packageInfo); in addSystemAppsWithRequiredAccounts() 216 final PackageInfo packageInfo = new PackageInfo(); in addInstalledApp() local 217 packageInfo.applicationInfo = ri.activityInfo.applicationInfo; in addInstalledApp() 218 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_INSTALLED; in addInstalledApp() [all …]
|
/frameworks/base/services/core/java/com/android/server/security/ |
D | KeyAttestationApplicationIdProviderService.java | 69 PackageInfo packageInfo = mPackageManager.getPackageInfoAsUser(packageNames[i], in getKeyAttestationApplicationId() local 73 pInfo.versionCode = packageInfo.getLongVersionCode(); in getKeyAttestationApplicationId() 74 pInfo.signatures = new Signature[packageInfo.signatures.length]; in getKeyAttestationApplicationId() 75 for (int index = 0; index < packageInfo.signatures.length; index++) { in getKeyAttestationApplicationId() 77 sign.data = packageInfo.signatures[index].toByteArray(); in getKeyAttestationApplicationId()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/ |
D | AppUtilsTest.java | 170 PackageInfo packageInfo = new PackageInfo(); in isMainlineModule_hasApexPackageName_shouldCheckByPackageInfo() local 171 packageInfo.packageName = APP_PACKAGE_NAME; in isMainlineModule_hasApexPackageName_shouldCheckByPackageInfo() 172 packageInfo.setApexPackageName("com.test.apex.package"); in isMainlineModule_hasApexPackageName_shouldCheckByPackageInfo() 173 mShadowPackageManager.installPackage(packageInfo); in isMainlineModule_hasApexPackageName_shouldCheckByPackageInfo() 184 PackageInfo packageInfo = new PackageInfo(); in isMainlineModule_noApexPackageName_shouldCheckBySourceDirPath() local 185 packageInfo.packageName = APP_PACKAGE_NAME; in isMainlineModule_noApexPackageName_shouldCheckBySourceDirPath() 186 packageInfo.applicationInfo = applicationInfo; in isMainlineModule_noApexPackageName_shouldCheckBySourceDirPath() 187 mShadowPackageManager.installPackage(packageInfo); in isMainlineModule_noApexPackageName_shouldCheckBySourceDirPath()
|
/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/model/app/ |
D | PackageManagers.kt | 75 val packageInfo = in getPackageInfoAsUserCached() constant 77 return packageInfo?.requestedPermissions?.let { in getPackageInfoAsUserCached() 83 val packageInfo = in getPackageInfoAsUserCached() constant 85 val index = packageInfo?.requestedPermissions?.indexOf(permission) ?: return false in getPackageInfoAsUserCached() 87 checkNotNull(packageInfo.requestedPermissionsFlags)[index] in getPackageInfoAsUserCached()
|