/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/api/ |
D | LoadAccessDateUseCaseTest.kt | 38 private lateinit var loadAccessDateUseCase: LoadAccessDateUseCase variable in com.android.healthconnect.controller.tests.permissions.api.LoadAccessDateUseCaseTest 43 loadAccessDateUseCase = LoadAccessDateUseCase(healthPermissionManager) in setup() 51 val result = loadAccessDateUseCase.invoke("package.name") in loadAccessDate_callsHealthPermissionManager() 60 val result = loadAccessDateUseCase.invoke("package.name") in loadAccessDate_whenHealthPermissionManagerFails_returnsNull() 66 val result = loadAccessDateUseCase.invoke(null) in loadAccessDate_whenPackageNameNull_returnsNull()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/route/ |
D | ExerciseRouteViewModel.kt | 51 private val loadAccessDateUseCase: LoadAccessDateUseCase, constant in com.android.healthconnect.controller.route.ExerciseRouteViewModel 132 val accessLimit = loadAccessDateUseCase(packageName) in isSessionInaccessible()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/additionalaccess/ |
D | AdditionalAccessViewModelTest.kt | 79 private val loadAccessDateUseCase: LoadAccessDateUseCase = mock() constant in com.android.healthconnect.controller.tests.permissions.additionalaccess.AdditionalAccessViewModelTest 108 loadAccessDateUseCase) in setup() 110 whenever(loadAccessDateUseCase.invoke(anyString())).thenReturn(NOW) in setup() 150 whenever(loadAccessDateUseCase.invoke(TEST_APP_PACKAGE_NAME)).thenReturn(accessDate) in loadAccessDate_returnsCorrectDate()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/additionalaccess/ |
D | AdditionalAccessViewModel.kt | 62 private val loadAccessDateUseCase: LoadAccessDateUseCase in <lambda>() constant in com.android.healthconnect.controller.permissions.additionalaccess.AdditionalAccessViewModel 88 fun loadAccessDate(packageName: String) = loadAccessDateUseCase.invoke(packageName) in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/app/ |
D | AppPermissionViewModel.kt | 62 private val loadAccessDateUseCase: LoadAccessDateUseCase, in <lambda>() constant in com.android.healthconnect.controller.permissions.app.AppPermissionViewModel 198 return loadAccessDateUseCase.invoke(packageName) in <lambda>()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/ |
D | AppPermissionViewModelTest.kt | 78 private val loadAccessDateUseCase: LoadAccessDateUseCase = mock() constant in com.android.healthconnect.controller.tests.permissions.connectedapps.AppPermissionViewModelTest 124 loadAccessDateUseCase, in setup() 141 whenever(loadAccessDateUseCase.invoke(TEST_APP_PACKAGE_NAME)).thenReturn(accessDate) in loadsCorrectAccessDate()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/request/ |
D | RequestPermissionViewModelTest.kt | 96 @BindValue var loadAccessDateUseCase: LoadAccessDateUseCase = mock() variable in com.android.healthconnect.controller.tests.permissions.request.RequestPermissionViewModelTest 115 loadAccessDateUseCase, in setup() 117 whenever(loadAccessDateUseCase.invoke(eq(TEST_APP_PACKAGE_NAME))).thenReturn(NOW) in setup()
|
D | PermissionsActivityTest.kt | 125 val loadAccessDateUseCase: LoadAccessDateUseCase = mock(LoadAccessDateUseCase::class.java) in <lambda>() constant in com.android.healthconnect.controller.tests.permissions.request.PermissionsActivityTest 143 whenever(loadAccessDateUseCase.invoke(any())).thenReturn(NOW) in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/request/ |
D | RequestPermissionViewModel.kt | 57 private val loadAccessDateUseCase: LoadAccessDateUseCase, in <lambda>() constant in com.android.healthconnect.controller.permissions.request.RequestPermissionViewModel 195 fun loadAccessDate(packageName: String) = loadAccessDateUseCase.invoke(packageName) in <lambda>()
|