/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/ |
D | LoadHealthPermissionAppsTest.kt | 52 private val healthPermissionReader: HealthPermissionReader = constant in com.android.healthconnect.controller.tests.permissions.connectedapps.LoadHealthPermissionAppsTest 67 healthPermissionReader, in setup() 85 whenever(healthPermissionReader.getAppsWithHealthPermissions()) in <lambda>() 98 whenever(healthPermissionReader.getAppsWithOldHealthPermissions()).thenReturn(listOf()) in <lambda>() 115 whenever(healthPermissionReader.getAppsWithHealthPermissions()) in <lambda>() 129 whenever(healthPermissionReader.getAppsWithOldHealthPermissions()).thenReturn(listOf()) in <lambda>() 145 whenever(healthPermissionReader.getAppsWithHealthPermissions()) in appsWithOldHealthPermissions_withoutNewPermissions_correctlyCategorisedAsNeedsUpdate() 159 whenever(healthPermissionReader.getAppsWithOldHealthPermissions()) in appsWithOldHealthPermissions_withoutNewPermissions_correctlyCategorisedAsNeedsUpdate() 175 whenever(healthPermissionReader.getAppsWithHealthPermissions()) in <lambda>() 190 whenever(healthPermissionReader.getAppsWithOldHealthPermissions()) in <lambda>()
|
D | AppPermissionViewModelTest.kt | 76 private val healthPermissionReader: HealthPermissionReader = mock() constant in com.android.healthconnect.controller.tests.permissions.connectedapps.AppPermissionViewModelTest 115 getGrantedHealthPermissionsUseCase, healthPermissionReader, Dispatchers.Main) in setup() 127 healthPermissionReader, in setup() 148 whenever(healthPermissionReader.isRationaleIntentDeclared(any())).thenReturn(true) in <lambda>() 149 whenever(healthPermissionReader.getValidHealthPermissions(any())) in <lambda>() 183 whenever(healthPermissionReader.isRationaleIntentDeclared(any())).thenReturn(false) in <lambda>() 184 whenever(healthPermissionReader.getValidHealthPermissions(any())) in <lambda>() 280 whenever(healthPermissionReader.isRationaleIntentDeclared(any())).thenReturn(true) in <lambda>() 281 whenever(healthPermissionReader.getValidHealthPermissions(any())) in <lambda>() 345 whenever(healthPermissionReader.isRationaleIntentDeclared(any())).thenReturn(true) in <lambda>() [all …]
|
D | LoadAppPermissionsStatusUseCaseTest.kt | 43 private val healthPermissionReader: HealthPermissionReader = mock() constant in com.android.healthconnect.controller.tests.permissions.connectedapps.LoadAppPermissionsStatusUseCaseTest 50 loadGrantedHealthPermissionsUseCase, healthPermissionReader, Dispatchers.Main) in setup() 62 whenever(healthPermissionReader.getValidHealthPermissions(TEST_APP_PACKAGE_NAME)) in <lambda>() 83 whenever(healthPermissionReader.getValidHealthPermissions(TEST_APP_PACKAGE_NAME)) in <lambda>()
|
D | ConnectedAppFragmentTest.kt | 95 @BindValue val healthPermissionReader: HealthPermissionReader = mock() in <lambda>() constant in com.android.healthconnect.controller.tests.permissions.connectedapps.ConnectedAppFragmentTest 412 whenever(healthPermissionReader.isRationaleIntentDeclared(TEST_APP_PACKAGE_NAME)) in <lambda>() 414 whenever(healthPermissionReader.getApplicationRationaleIntent(TEST_APP_PACKAGE_NAME)) in <lambda>() 438 whenever(healthPermissionReader.isRationaleIntentDeclared(TEST_APP_PACKAGE_NAME)) in <lambda>() 440 whenever(healthPermissionReader.getApplicationRationaleIntent(TEST_APP_PACKAGE_NAME)) in <lambda>() 472 whenever(healthPermissionReader.isRationaleIntentDeclared(TEST_APP_PACKAGE_NAME)) in <lambda>() 474 whenever(healthPermissionReader.getApplicationRationaleIntent(TEST_APP_PACKAGE_NAME)) in <lambda>() 502 whenever(healthPermissionReader.isRationaleIntentDeclared(TEST_APP_PACKAGE_NAME)) in <lambda>() 504 whenever(healthPermissionReader.getApplicationRationaleIntent(TEST_APP_PACKAGE_NAME)) in <lambda>()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/data/ |
D | HealthPermissionTest.kt | 42 @Inject lateinit var healthPermissionReader: HealthPermissionReader in <lambda>() variable in com.android.healthconnect.controller.tests.permissions.data.HealthPermissionTest 64 healthPermissionReader.getHealthPermissions().filterNot { perm -> in <lambda>() 65 healthPermissionReader.isAdditionalPermission(perm) || in <lambda>() 66 healthPermissionReader.isMedicalPermission(perm) in <lambda>() 77 healthPermissionReader.getHealthPermissions().filter { perm -> in <lambda>() 78 healthPermissionReader.isMedicalPermission(perm) in <lambda>()
|
D | FitnessPermissionStringsTest.kt | 33 @Inject lateinit var healthPermissionReader: HealthPermissionReader in <lambda>() variable in com.android.healthconnect.controller.tests.permissions.data.FitnessPermissionStringsTest 50 healthPermissionReader.getHealthPermissions().filterNot { perm -> in <lambda>() 51 healthPermissionReader.isAdditionalPermission(perm) || in <lambda>() 52 healthPermissionReader.isMedicalPermission(perm) in <lambda>()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/additionalaccess/ |
D | GetAdditionalPermissionUseCaseTest.kt | 45 @BindValue val healthPermissionReader = Mockito.mock(HealthPermissionReader::class.java) constant in com.android.healthconnect.controller.tests.permissions.additionalaccess.GetAdditionalPermissionUseCaseTest 50 whenever(healthPermissionReader.getAdditionalPermissions(TEST_APP_PACKAGE_NAME)).then { in setup() 59 verify(healthPermissionReader).getAdditionalPermissions(safeEq(TEST_APP_PACKAGE_NAME)) in execute_callsGetHealthPermissions() 64 whenever(healthPermissionReader.getAdditionalPermissions(TEST_APP_PACKAGE_NAME)).then { in execute_returnsAdditionalPermissions()
|
D | LoadDeclaredHealthPermissionUseCaseTest.kt | 43 @BindValue val healthPermissionReader = mock(HealthPermissionReader::class.java) constant in com.android.healthconnect.controller.tests.permissions.additionalaccess.LoadDeclaredHealthPermissionUseCaseTest 48 whenever(healthPermissionReader.getDeclaredHealthPermissions(TEST_APP_PACKAGE_NAME)).then { in setup() 57 verify(healthPermissionReader).getDeclaredHealthPermissions(safeEq(TEST_APP_PACKAGE_NAME)) in execute_callsGetHealthPermissions()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/shared/ |
D | HealthDataCategoryExtensionsTest.kt | 50 @Inject lateinit var healthPermissionReader: HealthPermissionReader in <lambda>() variable in com.android.healthconnect.controller.tests.shared.HealthDataCategoryExtensionsTest 60 healthPermissionReader.getHealthPermissions().filterNot { perm -> in <lambda>() 61 healthPermissionReader.isAdditionalPermission(perm) || in <lambda>() 62 healthPermissionReader.isMedicalPermission(perm) in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/connectedapps/ |
D | LoadHealthPermissionApps.kt | 35 private val healthPermissionReader: HealthPermissionReader, in <lambda>() constant in com.android.healthconnect.controller.permissions.connectedapps.LoadHealthPermissionApps 46 val appsWithHealthPermissions = healthPermissionReader.getAppsWithHealthPermissions() in <lambda>() 51 healthPermissionReader.getAppsWithOldHealthPermissions() in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/service/ |
D | UseCaseModule.kt | 101 healthPermissionReader: HealthPermissionReader, in providesLoadHealthPermissionAppsUseCase() 109 healthPermissionReader, in providesLoadHealthPermissionAppsUseCase() 206 healthPermissionReader: HealthPermissionReader, in providesLoadPotentialPriorityListUseCase() 214 healthPermissionReader, in providesLoadPotentialPriorityListUseCase() 257 healthPermissionReader: HealthPermissionReader, in providesLoadAccessUseCase() 264 healthPermissionReader, in providesLoadAccessUseCase()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/additionalaccess/ |
D | GetAdditionalPermissionUseCase.kt | 28 constructor(private val healthPermissionReader: HealthPermissionReader) { constant in com.android.healthconnect.controller.permissions.additionalaccess.GetAdditionalPermissionUseCase 30 return healthPermissionReader.getAdditionalPermissions(packageName) in invoke()
|
D | LoadDeclaredHealthPermissionUseCase.kt | 28 constructor(private val healthPermissionReader: HealthPermissionReader) { constant in com.android.healthconnect.controller.permissions.additionalaccess.LoadDeclaredHealthPermissionUseCase 30 return healthPermissionReader.getDeclaredHealthPermissions(packageName) in invoke()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/request/ |
D | RequestPermissionViewModel.kt | 58 private val healthPermissionReader: HealthPermissionReader in <lambda>() constant in com.android.healthconnect.controller.permissions.request.RequestPermissionViewModel 341 val declaredPermissions = healthPermissionReader.getDeclaredHealthPermissions(packageName) in <lambda>() 346 .filterNot { permission -> healthPermissionReader.shouldHidePermission(permission) } in <lambda>() 367 healthPermissionReader.isFitnessPermission(permission.toString()) in <lambda>() 374 healthPermissionReader.isMedicalPermission(permission.toString()) in <lambda>() 381 healthPermissionReader.isAdditionalPermission(permission.toString()) in <lambda>()
|
D | MedicalPermissionsFragment.kt | 57 @Inject lateinit var healthPermissionReader: HealthPermissionReader in <lambda>() variable in com.android.healthconnect.controller.permissions.request.MedicalPermissionsFragment 118 healthPermissionReader.getApplicationRationaleIntent(app.packageName) in <lambda>()
|
D | FitnessPermissionsFragment.kt | 57 @Inject lateinit var healthPermissionReader: HealthPermissionReader in <lambda>() variable in com.android.healthconnect.controller.permissions.request.FitnessPermissionsFragment 117 healthPermissionReader.getApplicationRationaleIntent(app.packageName) in <lambda>()
|
D | PermissionsActivity.kt | 64 @Inject lateinit var healthPermissionReader: HealthPermissionReader in <lambda>() variable in com.android.healthconnect.controller.permissions.request.PermissionsActivity 111 healthPermissionReader.isRationaleIntentDeclared(getPackageNameExtra()) in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/app/ |
D | LoadAppPermissionsStatusUseCase.kt | 34 private val healthPermissionReader: HealthPermissionReader, in <lambda>() constant in com.android.healthconnect.controller.permissions.app.LoadAppPermissionsStatusUseCase 39 val permissions = healthPermissionReader.getValidHealthPermissions(packageName) in <lambda>()
|
D | SettingsManageAppPermissionsFragment.kt | 91 @Inject lateinit var healthPermissionReader: HealthPermissionReader in <lambda>() variable in com.android.healthconnect.controller.permissions.app.SettingsManageAppPermissionsFragment 344 if (healthPermissionReader.isRationaleIntentDeclared(packageName)) { in <lambda>() 348 healthPermissionReader.getApplicationRationaleIntent(packageName) in <lambda>()
|
D | ConnectedAppFragment.kt | 105 @Inject lateinit var healthPermissionReader: HealthPermissionReader in <lambda>() variable in com.android.healthconnect.controller.permissions.app.ConnectedAppFragment 388 if (healthPermissionReader.isRationaleIntentDeclared(packageName)) { in <lambda>() 394 healthPermissionReader.getApplicationRationaleIntent(packageName) in <lambda>()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/datasources/api/ |
D | LoadPotentialPriorityListUseCaseTest.kt | 72 private val healthPermissionReader: HealthPermissionReader = in <lambda>() constant in com.android.healthconnect.controller.tests.datasources.api.LoadPotentialPriorityListUseCaseTest 87 healthPermissionReader, in <lambda>() 121 whenever(healthPermissionReader.getAppsWithFitnessPermissions()) in <lambda>() 153 whenever(healthPermissionReader.getAppsWithFitnessPermissions()) in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/access/ |
D | LoadAccessUseCase.kt | 38 private val healthPermissionReader: HealthPermissionReader, in <lambda>() constant in com.android.healthconnect.controller.data.access.LoadAccessUseCase 49 healthPermissionReader.getAppsWithFitnessPermissions() in <lambda>()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/access/ |
D | LoadAccessUseCaseTest.kt | 44 @Inject lateinit var healthPermissionReader: HealthPermissionReader variable in com.android.healthconnect.controller.tests.data.access.LoadAccessUseCaseTest 54 healthPermissionReader, in setup()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/datasources/api/ |
D | LoadPotentialPriorityListUseCase.kt | 47 private val healthPermissionReader: HealthPermissionReader, in <lambda>() constant in com.android.healthconnect.controller.datasources.api.LoadPotentialPriorityListUseCase 128 healthPermissionReader.getAppsWithFitnessPermissions() in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/shared/ |
D | SettingsActivity.kt | 40 @Inject lateinit var healthPermissionReader: HealthPermissionReader variable in com.android.healthconnect.controller.permissions.shared.SettingsActivity
|