Home
last modified time | relevance | path

Searched refs:appPermissions (Results 1 – 13 of 13) sorted by relevance

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/additionalaccess/
DLoadExerciseRoutePermissionUseCase.kt45 val appPermissions = loadDeclaredHealthPermissionUseCase(input) in execute() constant
51 READ_EXERCISE_ROUTES, grantedPermissions, appPermissions, permissionFlags), in execute()
54 READ_EXERCISE, grantedPermissions, appPermissions, permissionFlags)) in execute()
60 appPermissions: List<String>, in getPermissionState()
68 if (!appPermissions.contains(permission)) { in getPermissionState()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/
DConnectedAppFragmentTest.kt120 whenever(viewModel.appPermissions).then { in <lambda>()
151 whenever(viewModel.appPermissions).then { in <lambda>()
179 whenever(viewModel.appPermissions).then { MutableLiveData(listOf(permission)) } in <lambda>()
208 whenever(viewModel.appPermissions).then { MutableLiveData(listOf(permission)) } in <lambda>()
237 whenever(viewModel.appPermissions).then { in <lambda>()
277 whenever(viewModel.appPermissions).then { in <lambda>()
310 whenever(viewModel.appPermissions).then { in <lambda>()
337 whenever(viewModel.appPermissions).then { in <lambda>()
362 whenever(viewModel.appPermissions).then { in <lambda>()
386 whenever(viewModel.appPermissions).then { in <lambda>()
[all …]
DAppPermissionViewModelTest.kt161 appPermissionViewModel.appPermissions.observeForever(appPermissionsObserver) in <lambda>()
196 appPermissionViewModel.appPermissions.observeForever(appPermissionsObserver) in <lambda>()
249 appPermissionViewModel.appPermissions.observeForever(appPermissionsObserver) in <lambda>()
308 appPermissionViewModel.appPermissions.observeForever(appPermissionsObserver) in <lambda>()
372 appPermissionViewModel.appPermissions.observeForever(appPermissionsObserver) in <lambda>()
413 appPermissionViewModel.appPermissions.observeForever(appPermissionsObserver) in <lambda>()
449 appPermissionViewModel.appPermissions.observeForever(appPermissionsObserver) in <lambda>()
487 appPermissionViewModel.appPermissions.observeForever(appPermissionsObserver) in <lambda>()
521 appPermissionViewModel.appPermissions.observeForever(appPermissionsObserver) in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/settings/
DSettingsManageAppPermissionsFragmentTest.kt109 whenever(viewModel.appPermissions).then { MutableLiveData(emptyList<FitnessPermission>()) } in <lambda>()
164 whenever(viewModel.appPermissions).then { in <lambda>()
189 whenever(viewModel.appPermissions).then { MutableLiveData(listOf(readPermission)) } in <lambda>()
208 whenever(viewModel.appPermissions).then { MutableLiveData(listOf(writePermission)) } in <lambda>()
230 whenever(viewModel.appPermissions).then { in <lambda>()
268 whenever(viewModel.appPermissions).then { in <lambda>()
300 whenever(viewModel.appPermissions).then { in <lambda>()
329 whenever(viewModel.appPermissions).then { in <lambda>()
438 whenever(viewModel.appPermissions).then { in <lambda>()
488 whenever(viewModel.appPermissions).then { in <lambda>()
[all …]
DSettingsActivityTest.kt108 whenever(viewModel.appPermissions).then { in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/
DWearAppPermissionGroupsFragment.kt91 val appPermissions = AppPermissions(activity, packageInfo, true, { activity.finish() }) in onCreateView() constant
140 appPermissions = appPermissions, in onCreateView()
DWearAppPermissionGroupsHelper.kt58 private val appPermissions: AppPermissions, in <lambda>() constant in com.android.permissioncontroller.permission.ui.wear.WearAppPermissionGroupsHelper
77 val groups: List<AppPermissionGroup> = appPermissions.permissionGroups in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/app/
DAppPermissionViewModel.kt75 val appPermissions: LiveData<List<FitnessPermission>> in <lambda>() constant in com.android.healthconnect.controller.permissions.app.AppPermissionViewModel
85 postValue(isAllPermissionsGranted(appPermissions, grantedPermissions)) in <lambda>()
88 postValue(isAllPermissionsGranted(appPermissions, grantedPermissions)) in <lambda>()
DSettingsManageAppPermissionsFragment.kt140 viewModel.appPermissions.observe(viewLifecycleOwner) { permissions -> in <lambda>()
DConnectedAppFragment.kt149 appPermissionViewModel.appPermissions.observe(viewLifecycleOwner) { permissions -> in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/
DAppPermissionFragment.java222 AppPermissions appPermissions = new AppPermissions(getActivity(), packageInfo, true, in createPreferences() local
224 AppPermissionGroup group = appPermissions.getPermissionGroup(mPermGroupName); in createPreferences()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/navigation/
DTrampolineActivityTest.kt145 whenever(appPermissionViewModel.appPermissions).then { in setup()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DPermissionControllerServiceImpl.java475 final AppPermissions appPermissions = new AppPermissions(this, packageInfo, false, in onRevokeRuntimePermission() local
478 final AppPermissionGroup appPermissionGroup = appPermissions.getGroupForPermission( in onRevokeRuntimePermission()