Home
last modified time | relevance | path

Searched refs:LightPackageInfo (Results 1 – 25 of 28) sorted by relevance

12

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DLightPackageInfoLiveData.kt31 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo in <lambda>()
51 SmartAsyncMediatorLiveData<LightPackageInfo?>(alwaysUpdateOnActive = false), in <lambda>()
73 override fun setValue(newValue: LightPackageInfo?) { in <lambda>()
126 LightPackageInfo(pI, deviceId, requestedPermissionsFlagsForDevice) in <lambda>()
128 LightPackageInfo(pI) in <lambda>()
174 Observer<List<LightPackageInfo>> { updateFromUserPackageInfosLiveData() } in <lambda>()
DUserPackageInfosLiveData.kt29 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo in <lambda>()
40 SmartAsyncMediatorLiveData<@JvmSuppressWildcards List<LightPackageInfo>>(), in <lambda>()
59 override fun setValue(newValue: List<LightPackageInfo>?) { in <lambda>()
98 postValue(packageInfos.map { packageInfo -> LightPackageInfo(packageInfo) }) in <lambda>()
DAllPackageInfosLiveData.kt21 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo in <lambda>()
25 SmartUpdateMediatorLiveData<Map<UserHandle, List<LightPackageInfo>>>() { in <lambda>()
28 private val userPackageInfos = mutableMapOf<UserHandle, List<LightPackageInfo>>() in <lambda>()
DPreinstalledUserPackageInfosLiveData.kt26 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo in <lambda>()
38 SmartAsyncMediatorLiveData<@kotlin.jvm.JvmSuppressWildcards List<LightPackageInfo>>( in <lambda>()
53 postValue(packageInfos.map { packageInfo -> LightPackageInfo(packageInfo) }) in <lambda>()
DAppPermGroupUiInfoLiveData.kt31 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo in <lambda>()
125 packageInfo: LightPackageInfo, in <lambda>()
165 packageInfo: LightPackageInfo, in <lambda>()
259 pkg: LightPackageInfo in <lambda>()
358 private fun isFullFilesAccessGranted(pkg: LightPackageInfo): Boolean { in <lambda>()
DFullStoragePermissionAppsLiveData.kt31 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo
90 packageInfo: LightPackageInfo, in getFullStorageStateForPackage()
DPermStateLiveData.kt24 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo in <lambda>()
113 private fun checkForUidUpdate(packageInfo: LightPackageInfo?) { in <lambda>()
DLightAppPermGroupLiveData.kt28 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo in <lambda>()
156 packageInfo: LightPackageInfo, in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/v31/
DSubattributionUtils.java32 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo;
55 public static boolean isSubattributionSupported(LightPackageInfo lightPackageInfo) { in isSubattributionSupported()
118 LightPackageInfo lightPackageInfo) { in getAttributionLabels()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DSoftRestrictedPermissionPolicy.java28 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo;
72 public static boolean shouldShow(@NonNull LightPackageInfo pkg, @NonNull String permissionName, in shouldShow()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/
DLightAppPermGroup.kt39 val packageInfo: LightPackageInfo, in <lambda>()
46 pI: LightPackageInfo, in <lambda>()
168 private val packageInfo: LightPackageInfo, in <lambda>()
DLightPackageInfo.kt44 data class LightPackageInfo( in <lambda>() class
134 LightPackageInfo::class.java.simpleName, in <lambda>()
DLightPermission.kt38 val pkgInfo: LightPackageInfo,
46 pkgInfo: LightPackageInfo,
DUidSensitivityState.kt29 val packages: MutableSet<LightPackageInfo>,
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/hibernation/
DHibernationControllerTest.kt33 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo
150 private fun makePackageInfo(packageName: String): LightPackageInfo { in makePackageInfo()
151 return LightPackageInfo( in makePackageInfo()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetylabel/
DSafetyLabelChangedBroadcastReceiver.kt36 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo
127 lightPackageInfo: LightPackageInfo, in writeSafetyLabel()
202 private fun isAppRequestingLocationPermission(lightPackageInfo: LightPackageInfo): Boolean { in isAppRequestingLocationPermission()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/hibernation/v31/
DHibernationController.kt29 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo
51 apps: Map<UserHandle, List<LightPackageInfo>> in hibernateApps()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DAutoRevokePermissions.kt41 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo in <lambda>()
66 apps: Map<UserHandle, List<LightPackageInfo>>, in <lambda>()
85 userApps.forEachInParallel(Main) forEachInParallelOuter@{ pkg: LightPackageInfo -> in <lambda>()
DRuntimePermissionsUpgradeController.kt41 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo in <lambda>()
104 pkgs: List<LightPackageInfo>, in <lambda>()
429 pkgs: List<LightPackageInfo>, in <lambda>()
727 val preinstalledPkgs: List<LightPackageInfo>, in <lambda>()
731 val pkgs: List<LightPackageInfo>, in <lambda>()
DPermissionControllerServiceModel.kt40 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo in <lambda>()
156 packageInfos: List<LightPackageInfo>? in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DUnusedAppsViewModel.kt43 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo in <lambda>()
139 it: LightPackageInfo -> in <lambda>()
172 userPackages: Map<UserHandle, List<LightPackageInfo>>, in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/hibernation/
DHibernationPolicy.kt101 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo in <lambda>()
382 ): Map<UserHandle, List<LightPackageInfo>> { in getAppsToHibernate()
470 val appsToHibernate = mutableMapOf<UserHandle, List<LightPackageInfo>>() in getAppsToHibernate()
477 var userAppsToHibernate = mutableListOf<LightPackageInfo>() in getAppsToHibernate()
478 userApps.forEachInParallel(Main) { pkg: LightPackageInfo -> in getAppsToHibernate()
547 pkg: LightPackageInfo, in isPackageHibernationExemptBySystem()
709 pkg: LightPackageInfo, in isPackageHibernationExemptByUser()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/v33/
DReviewPermissionDecisionsViewModel.kt35 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo
72 val packageToLightPackageInfo: MutableMap<String, LightPackageInfo> = mutableMapOf() in loadDataAndPostValue()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/v31/
DPermissionUsageDetailsViewModel.kt50 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo in <lambda>()
291 lightPackageInfo: LightPackageInfo? in <lambda>()
452 private fun shouldShowSubAttributionForApp(lightPackageInfo: LightPackageInfo?): Boolean { in <lambda>()
507 private fun getSubAttributionLabels(lightPackageInfo: LightPackageInfo?): Map<Int, String>? = in <lambda>()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/utils/
DGrantRevokeTests.kt47 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo
153 ): LightPackageInfo { in createMockPackage()
167 return LightPackageInfo( in createMockPackage()
204 pkgInfo: LightPackageInfo, in createMockPerm()
238 pkgInfo: LightPackageInfo, in createMockGroup()

12