Home
last modified time | relevance | path

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

/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/data/
DLightPackageInfoLiveData.kt26 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo in <lambda>()
41 ) : SmartAsyncMediatorLiveData<LightPackageInfo>(), 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.kt25 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo in <lambda>()
37 ) : SmartAsyncMediatorLiveData<@kotlin.jvm.JvmSuppressWildcards List<LightPackageInfo>>(), in <lambda>()
58 override fun setValue(newValue: List<LightPackageInfo>?) { in <lambda>()
84 postValue(packageInfos.map { packageInfo -> LightPackageInfo(packageInfo) }) in <lambda>()
DPreinstalledUserPackageInfosLiveData.kt26 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo in <lambda>()
39 ) : SmartAsyncMediatorLiveData<@kotlin.jvm.JvmSuppressWildcards List<LightPackageInfo>>() { in <lambda>()
54 postValue(packageInfos.map { packageInfo -> LightPackageInfo(packageInfo) }) in <lambda>()
DPermStateLiveData.kt24 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo in <lambda>()
54 private var currentPackageInfo: LightPackageInfo? = null in <lambda>()
108 private fun checkForUidUpdate(packageInfo: LightPackageInfo?) { in <lambda>()
DAppPermGroupUiInfoLiveData.kt28 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo in <lambda>()
108 packageInfo: LightPackageInfo, in <lambda>()
143 packageInfo: LightPackageInfo, in <lambda>()
DLightAppPermGroupLiveData.kt28 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo in <lambda>()
142 packageInfo: LightPackageInfo, in <lambda>()
/packages/apps/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>()
317 pkgs: List<LightPackageInfo>, in <lambda>()
463 val preinstalledPkgs: List<LightPackageInfo>, in <lambda>()
467 val pkgs: List<LightPackageInfo>, in <lambda>()
DPermissionControllerServiceModel.kt36 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo in <lambda>()
152 packageInfos: List<LightPackageInfo>? in <lambda>()
DAutoRevokePermissions.kt100 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo in <lambda>()
319 userApps.forEachInParallel(Main) { pkg: LightPackageInfo -> in revokePermissionsOnUnusedApps()
452 pkg: LightPackageInfo, in isPackageAutoRevokePermanentlyExempt()
488 pkg: LightPackageInfo in isPackageAutoRevokeExempt()
/packages/apps/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/apps/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/
DLightPermission.kt37 val pkgInfo: LightPackageInfo,
45 pkgInfo: LightPackageInfo,
DLightAppPermGroup.kt37 val packageInfo: LightPackageInfo, in <lambda>()
43 constructor(pI: LightPackageInfo, pGI: LightPermGroupInfo, perms: Map<String, LightPermission>): in <lambda>()
DUidSensitivityState.kt29 val packages: MutableSet<LightPackageInfo>,
DLightPackageInfo.kt39 data class LightPackageInfo( in <lambda>() dataClass
/packages/apps/PermissionController/tests/mocking/src/com/android/permissioncontroller/permission/utils/
DGrantRevokeTests.kt43 import com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo
136 ): LightPackageInfo { in createMockPackage()
148 return LightPackageInfo(TEST_PACKAGE_NAME, listOf(), permNames, permFlags, TEST_UID, in createMockPackage()
171 pkgInfo: LightPackageInfo, in createMockPerm()
192 pkgInfo: LightPackageInfo, in createMockGroup()