Home
last modified time | relevance | path

Searched refs:appInfoReader (Results 1 – 25 of 39) sorted by relevance

12

/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissiontypes/prioritylist/
DPriorityListAdapterTest.kt28 @Inject lateinit var appInfoReader: AppInfoReader variable in com.android.healthconnect.controller.tests.permissiontypes.prioritylist.PriorityListAdapterTest
40 appInfoReader.getAppMetadata(TEST_APP_PACKAGE_NAME), in <lambda>()
41 appInfoReader.getAppMetadata(TEST_APP_PACKAGE_NAME_2), in <lambda>()
42 appInfoReader.getAppMetadata(TEST_APP_PACKAGE_NAME_3)), in <lambda>()
54 appInfoReader.getAppMetadata(TEST_APP_PACKAGE_NAME), in <lambda>()
55 appInfoReader.getAppMetadata(TEST_APP_PACKAGE_NAME_2), in <lambda>()
56 appInfoReader.getAppMetadata(TEST_APP_PACKAGE_NAME_3)), in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/
DLoadHealthPermissionAppsTest.kt57 @Inject lateinit var appInfoReader: AppInfoReader variable in com.android.healthconnect.controller.tests.permissions.connectedapps.LoadHealthPermissionAppsTest
71 appInfoReader, in setup()
101 val testAppMetadata = appInfoReader.getAppMetadata(TEST_APP_PACKAGE_NAME) in <lambda>()
102 val testApp2Metadata = appInfoReader.getAppMetadata(TEST_APP_PACKAGE_NAME_2) in <lambda>()
119 val testAppMetadata = appInfoReader.getAppMetadata(TEST_APP_PACKAGE_NAME) in <lambda>()
120 val testApp2Metadata = appInfoReader.getAppMetadata(TEST_APP_PACKAGE_NAME_2) in <lambda>()
148 val testAppMetadata = appInfoReader.getAppMetadata(TEST_APP_PACKAGE_NAME) in appsWithOldHealthPermissions_withoutNewPermissions_correctlyCategorisedAsNeedsUpdate()
150 appInfoReader.getAppMetadata(OLD_PERMISSIONS_TEST_APP_PACKAGE_NAME) in appsWithOldHealthPermissions_withoutNewPermissions_correctlyCategorisedAsNeedsUpdate()
180 val testAppMetadata = appInfoReader.getAppMetadata(TEST_APP_PACKAGE_NAME) in <lambda>()
181 val oldTestAppMetadata = appInfoReader.getAppMetadata(OLD_PERMISSIONS_TEST_APP_PACKAGE_NAME) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/service/
DUseCaseModule.kt105 appInfoReader: AppInfoReader, in providesLoadHealthPermissionAppsUseCase()
113 appInfoReader, in providesLoadHealthPermissionAppsUseCase()
147 appInfoReader: AppInfoReader, in providesLoadDataAggregationsUseCase()
157 appInfoReader, in providesLoadDataAggregationsUseCase()
204 appInfoReader: AppInfoReader, in providesLoadPotentialPriorityListUseCase()
212 appInfoReader, in providesLoadPotentialPriorityListUseCase()
238 appInfoReader: AppInfoReader, in providesPriorityListUseCase()
242 return LoadPriorityListUseCase(healthConnectManager, appInfoReader, dispatcher) in providesPriorityListUseCase()
258 appInfoReader: AppInfoReader, in providesLoadAccessUseCase()
265 appInfoReader, in providesLoadAccessUseCase()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissiontypes/api/
DLoadPriorityListUseCaseTest.kt36 @Inject lateinit var appInfoReader: AppInfoReader in <lambda>() variable in com.android.healthconnect.controller.tests.permissiontypes.api.LoadPriorityListUseCaseTest
44 usecase = LoadPriorityListUseCase(manager, appInfoReader, Dispatchers.Main) in <lambda>()
64 .contains(appInfoReader.getAppMetadata(TEST_APP_PACKAGE_NAME)) in <lambda>()
67 .contains(appInfoReader.getAppMetadata(TEST_APP_PACKAGE_NAME_2)) in <lambda>()
DLoadContributingAppsUseCaseTest.kt45 @Inject lateinit var appInfoReader: AppInfoReader in <lambda>() variable in com.android.healthconnect.controller.tests.permissiontypes.api.LoadContributingAppsUseCaseTest
53 usecase = LoadContributingAppsUseCase(appInfoReader, manager, Dispatchers.Main) in <lambda>()
81 appInfoReader.getAppMetadata(TEST_APP_PACKAGE_NAME), in <lambda>()
82 appInfoReader.getAppMetadata(TEST_APP_PACKAGE_NAME_2))) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/connectedapps/
DLoadHealthPermissionApps.kt39 private val appInfoReader: AppInfoReader, in <lambda>() constant in com.android.healthconnect.controller.permissions.connectedapps.LoadHealthPermissionApps
55 val metadata = appInfoReader.getAppMetadata(packageName) in <lambda>()
74 val metadata = appInfoReader.getAppMetadata(packageName) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/access/
DLoadAccessUseCase.kt39 private val appInfoReader: AppInfoReader, in <lambda>() constant in com.android.healthconnect.controller.data.access.LoadAccessUseCase
64 readAppMetadataSet.add(appInfoReader.getAppMetadata(it)) in <lambda>()
70 writeAppMetadataSet.add(appInfoReader.getAppMetadata(it)) in <lambda>()
DLoadPermissionTypeContributorAppsUseCase.kt37 private val appInfoReader: AppInfoReader, in <lambda>() constant in com.android.healthconnect.controller.data.access.LoadPermissionTypeContributorAppsUseCase
60 .map { appInfoReader.getAppMetadata(it.packageName) } in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/appdata/
DAppDataViewModel.kt36 private val appInfoReader: AppInfoReader, constant in com.android.healthconnect.controller.data.appdata.AppDataViewModel
70 viewModelScope.launch { _appInfo.postValue(appInfoReader.getAppMetadata(packageName)) } in loadAppInfo()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissiontypes/api/
DLoadPriorityListUseCase.kt38 private val appInfoReader: AppInfoReader, in <lambda>() constant in com.android.healthconnect.controller.permissiontypes.api.LoadPriorityListUseCase
50 appInfoReader.getAppMetadata(dataOrigin.packageName) in <lambda>()
DLoadContributingAppsUseCase.kt23 private val appInfoReader: AppInfoReader, in <lambda>() constant in com.android.healthconnect.controller.permissiontypes.api.LoadContributingAppsUseCase
35 appsList.add(appInfoReader.getAppMetadata(contributingApp)) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/recentaccess/
DRecentAccessViewModel.kt42 private val appInfoReader: AppInfoReader, in <lambda>() constant in com.android.healthconnect.controller.recentaccess.RecentAccessViewModel
90 appInfoReader.isAppInstalled(it.metadata.packageName)) { in <lambda>()
175 appInfoReader.getAppMetadata(packageName = accessLog.packageName))) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/
DMenstruationPeriodFormatter.kt39 private val appInfoReader: AppInfoReader, constant in com.android.healthconnect.controller.dataentries.formatters.MenstruationPeriodFormatter
75 return appInfoReader.getAppMetadata(record.metadata.dataOrigin.packageName).appName in getAppName()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/datasources/api/
DLoadPotentialPriorityListUseCaseTest.kt66 @Inject lateinit var appInfoReader: AppInfoReader in <lambda>() variable in com.android.healthconnect.controller.tests.datasources.api.LoadPotentialPriorityListUseCaseTest
82 LoadPriorityListUseCase(healthConnectManager, appInfoReader, Dispatchers.Main) in <lambda>()
85 appInfoReader, in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/route/
DExerciseRouteViewModel.kt52 private val appInfoReader: AppInfoReader, constant in com.android.healthconnect.controller.route.ExerciseRouteViewModel
72 appInfoReader.getAppMetadata( in getExerciseWithRoute()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/access/
DLoadAccessUseCaseTest.kt43 @Inject lateinit var appInfoReader: AppInfoReader variable in com.android.healthconnect.controller.tests.data.access.LoadAccessUseCaseTest
55 appInfoReader, in setup()
DLoadPermissionTypeContributorAppsUseCaseTest.kt47 @Inject lateinit var appInfoReader: AppInfoReader in <lambda>() variable in com.android.healthconnect.controller.tests.data.access.LoadPermissionTypeContributorAppsUseCaseTest
56 appInfoReader, healthConnectManager, Dispatchers.Main) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/datasources/api/
DLoadPotentialPriorityListUseCase.kt45 private val appInfoReader: AppInfoReader, in <lambda>() constant in com.android.healthconnect.controller.datasources.api.LoadPotentialPriorityListUseCase
86 .map { appInfoReader.getAppMetadata(it) } in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissiontypes/
DHealthPermissionTypesViewModel.kt44 private val appInfoReader: AppInfoReader, constant in com.android.healthconnect.controller.permissiontypes.HealthPermissionTypesViewModel
160 newPriorityList.map { appInfoReader.getAppMetadata(it) } in updatePriorityList()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/entries/
DEntriesViewModelTest.kt89 @Inject lateinit var appInfoReader: AppInfoReader in formattedAggregation() variable in com.android.healthconnect.controller.tests.data.entries.EntriesViewModelTest
103 appInfoReader, in formattedAggregation()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/entries/
DEntriesViewModel.kt47 private val appInfoReader: AppInfoReader, constant in com.android.healthconnect.controller.data.entries.EntriesViewModel
165 viewModelScope.launch { _appInfo.postValue(appInfoReader.getAppMetadata(packageName)) } in loadAppInfo()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/datasources/
DDataSourcesViewModelTest.kt60 lateinit var appInfoReader: AppInfoReader in formattedAggregation() variable in com.android.healthconnect.controller.tests.datasources.DataSourcesViewModelTest
77 appInfoReader in formattedAggregation()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/appdata/
DAppDataViewModelTest.kt71 @Inject lateinit var appInfoReader: AppInfoReader in <lambda>() variable in com.android.healthconnect.controller.tests.data.appdata.AppDataViewModelTest
85 viewModel = AppDataViewModel(appInfoReader, AppDataUseCase(manager, Dispatchers.Main)) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/additionalaccess/
DAdditionalAccessViewModel.kt54 private val appInfoReader: AppInfoReader, in <lambda>() constant in com.android.healthconnect.controller.permissions.additionalaccess.AdditionalAccessViewModel
93 _appInfo.postValue(appInfoReader.getAppMetadata(packageName)) in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/route/
DExerciseRouteViewModelTest.kt73 @Inject lateinit var appInfoReader: AppInfoReader in <lambda>() variable in com.android.healthconnect.controller.tests.route.ExerciseRouteViewModelTest
96 appInfoReader) in <lambda>()

12