Home
last modified time | relevance | path

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

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DLightPackageInfoLiveData.kt26 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo in <lambda>()
41 ) : SmartAsyncMediatorLiveData<LightPackageInfo>(alwaysUpdateOnActive = false), in <lambda>()
68 override fun setValue(newValue: LightPackageInfo?) { in <lambda>()
97 LightPackageInfo(context.packageManager.getPackageInfo(packageName, in <lambda>()
130 val userPackageInfosObserver = Observer<List<LightPackageInfo>> { in <lambda>()
DAllPackageInfosLiveData.kt21 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo in <lambda>()
27 SmartUpdateMediatorLiveData<Map<UserHandle, List<LightPackageInfo>>>() { in <lambda>()
30 private val userPackageInfos = mutableMapOf<UserHandle, List<LightPackageInfo>>() in <lambda>()
47 private fun onUserPackageUpdates(user: UserHandle, packageInfos: List<LightPackageInfo>?) { in <lambda>()
DUserPackageInfosLiveData.kt24 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo in <lambda>()
36 ) : SmartAsyncMediatorLiveData<@kotlin.jvm.JvmSuppressWildcards List<LightPackageInfo>>(), in <lambda>()
57 override fun setValue(newValue: List<LightPackageInfo>?) { in <lambda>()
80 postValue(packageInfos.map { packageInfo -> LightPackageInfo(packageInfo) }) in <lambda>()
DAppPermGroupUiInfoLiveData.kt30 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo in <lambda>()
115 packageInfo: LightPackageInfo, in <lambda>()
152 packageInfo: LightPackageInfo, in <lambda>()
246 pkg: LightPackageInfo in <lambda>()
316 private fun isFullFilesAccessGranted(pkg: LightPackageInfo): Boolean { in <lambda>()
DPreinstalledUserPackageInfosLiveData.kt25 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo in <lambda>()
38 ) : SmartAsyncMediatorLiveData<@kotlin.jvm.JvmSuppressWildcards List<LightPackageInfo>>( in <lambda>()
52 postValue(packageInfos.map { packageInfo -> LightPackageInfo(packageInfo) }) in <lambda>()
DFullStoragePermissionAppsLiveData.kt31 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo
94 packageInfo: LightPackageInfo, in getFullStorageStateForPackage()
DPermStateLiveData.kt24 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo in <lambda>()
106 private fun checkForUidUpdate(packageInfo: LightPackageInfo?) { in <lambda>()
DLightAppPermGroupLiveData.kt28 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo in <lambda>()
142 packageInfo: LightPackageInfo, in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/hibernation/
DHibernationPolicy.kt81 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo in <lambda>()
222 ): Map<UserHandle, List<LightPackageInfo>> { in getAppsToHibernate()
300 val appsToHibernate = mutableMapOf<UserHandle, List<LightPackageInfo>>() in getAppsToHibernate()
307 var userAppsToHibernate = mutableListOf<LightPackageInfo>() in getAppsToHibernate()
308 userApps.forEachInParallel(Main) { pkg: LightPackageInfo -> in getAppsToHibernate()
374 pkg: LightPackageInfo, in isPackageHibernationExemptBySystem()
446 pkg: LightPackageInfo in isPackageHibernationExemptByUser()
DHibernationController.kt27 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo
50 apps: Map<UserHandle, List<LightPackageInfo>> in hibernateApps()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/
DLightAppPermGroup.kt39 val packageInfo: LightPackageInfo, in <lambda>()
45 constructor(pI: LightPackageInfo, pGI: LightPermGroupInfo, perms: Map<String, LightPermission>): in <lambda>()
159 private val packageInfo: LightPackageInfo, in <lambda>()
DLightPermission.kt37 val pkgInfo: LightPackageInfo,
45 pkgInfo: LightPackageInfo,
DUidSensitivityState.kt29 val packages: MutableSet<LightPackageInfo>,
DLightPackageInfo.kt39 data class LightPackageInfo( in <lambda>() dataClass
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DRuntimePermissionsUpgradeController.kt38 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo in <lambda>()
89 pkgs: List<LightPackageInfo>, in <lambda>()
323 pkgs: List<LightPackageInfo>, in <lambda>()
476 val preinstalledPkgs: List<LightPackageInfo>, in <lambda>()
480 val pkgs: List<LightPackageInfo>, in <lambda>()
DAutoRevokePermissions.kt36 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo in <lambda>()
61 apps: Map<UserHandle, List<LightPackageInfo>>, in <lambda>()
73 userApps.forEachInParallel(Main) { pkg: LightPackageInfo -> in <lambda>()
DPermissionControllerServiceModel.kt36 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo in <lambda>()
153 packageInfos: List<LightPackageInfo>? in <lambda>()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/hibernation/
DHibernationControllerTest.kt32 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/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()
DKotlinUtils.kt61 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo in <lambda>()
729 packageInfo: LightPackageInfo, in <lambda>()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/permission/utils/
DGrantRevokeTests.kt44 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo
140 ): LightPackageInfo { in createMockPackage()
152 return LightPackageInfo(TEST_PACKAGE_NAME, listOf(), permNames, permFlags, TEST_UID, in createMockPackage()
175 pkgInfo: LightPackageInfo, in createMockPerm()
196 pkgInfo: LightPackageInfo, in createMockGroup()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DGrantPermissionsViewModel.kt62 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo in <lambda>()
136 private lateinit var packageInfo: LightPackageInfo in <lambda>()