Home
last modified time | relevance | path

Searched refs:packageSource (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/v34/
DLightInstallSourceInfo.kt33 constructor(packageSource: Int, initiatingPackage: String?) {
40 (packageSource == PACKAGE_SOURCE_STORE ||
41 packageSource == PACKAGE_SOURCE_UNSPECIFIED)
44 initiatingPackageName == null && packageSource == PACKAGE_SOURCE_UNSPECIFIED
/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/
DSafetyLabelChangesJobServiceTest.kt346 packageSource = PACKAGE_SOURCE_UNSPECIFIED in runNotificationJob_packageSourceUnspecified_aslInApk_doesNotShowNotification()
370 packageSource = PACKAGE_SOURCE_OTHER in runNotificationJob_packageSourceOther_aslInApk_doesNotShowNotification()
394 packageSource = PACKAGE_SOURCE_STORE in runNotificationJob_packageSourceStore_aslInApk_doesNotShowNotification()
418 packageSource = PACKAGE_SOURCE_LOCAL_FILE in runNotificationJob_packageSourceLocalFile_aslInApk_doesNotShowNotification()
442 packageSource = PACKAGE_SOURCE_DOWNLOADED_FILE in runNotificationJob_packageSourceDownloadedFile_aslInApk_doesNotShowNotification()
463 packageSource: Int? = null in installPackageNoBroadcast()
468 installPackageViaSession(apkName, appMetadata, packageSource) in installPackageNoBroadcast()
DAppDataSharingUpdatesTest.kt521 packageSource = PACKAGE_SOURCE_UNSPECIFIED in <lambda>()
547 packageSource = PACKAGE_SOURCE_OTHER in <lambda>()
573 packageSource = PACKAGE_SOURCE_STORE in <lambda>()
599 packageSource = PACKAGE_SOURCE_LOCAL_FILE in <lambda>()
625 packageSource = PACKAGE_SOURCE_DOWNLOADED_FILE in <lambda>()
642 packageSource: Int? = null, in <lambda>()
645 installPackageViaSession(apkPath, appMetadata, packageSource) in <lambda>()
DBasePermissionTest.kt285 packageSource: Int? = null, in <lambda>()
289 packageSource, in <lambda>()
459 packageSource: Int? = null, in <lambda>()
468 if (packageSource != null) { in <lambda>()
469 sessionParam.setPackageSource(packageSource) in <lambda>()
DBaseUsePermissionTest.kt491 packageSource = PACKAGE_SOURCE_STORE in <lambda>()
498 packageSource = PACKAGE_SOURCE_LOCAL_FILE in <lambda>()
505 packageSource = PACKAGE_SOURCE_DOWNLOADED_FILE in <lambda>()
512 packageSource = PACKAGE_SOURCE_OTHER in <lambda>()
/packages/modules/Permission/tests/cts/permissionmultiuser/src/android/permissionmultiuser/cts/
DAppDataSharingUpdatesTest.kt270 packageSource: Int? = null in <lambda>()
272 val session = createPackageInstallerSession(packageSource) in <lambda>()
289 packageSource: Int? = null in <lambda>()
292 if (packageSource != null) { in <lambda>()
293 sessionParam.setPackageSource(packageSource) in <lambda>()
/packages/modules/Permission/service/java/com/android/ecm/
DEnhancedConfirmationService.java269 int packageSource = installSource.getPackageSource(); in isPackageEcmGuarded() local
270 if (packageSource == PackageInstaller.PACKAGE_SOURCE_LOCAL_FILE in isPackageEcmGuarded()
271 || packageSource == PackageInstaller.PACKAGE_SOURCE_DOWNLOADED_FILE) { in isPackageEcmGuarded()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/v34/
DLightInstallSourceInfoLiveData.kt77 installSourceInfo.packageSource, in loadDataAndPostValue()