Home
last modified time | relevance | path

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

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/request/
DAdditionalPermissionsFragment.kt200 val dataAccessDate = viewModel.loadAccessDate(appMetadata.packageName) in <lambda>()
216 val dataAccessDate = viewModel.loadAccessDate(appMetadata.packageName) in <lambda>()
DRequestPermissionViewModel.kt195 fun loadAccessDate(packageName: String) = loadAccessDateUseCase.invoke(packageName) in <lambda>() method in com.android.healthconnect.controller.permissions.request.RequestPermissionViewModel
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/additionalaccess/
DAdditionalAccessViewModel.kt88 fun loadAccessDate(packageName: String) = loadAccessDateUseCase.invoke(packageName) in <lambda>() method
DAdditionalAccessFragment.kt165 val dataAccessDate = viewModel.loadAccessDate(packageName) in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/settings/
DSettingsActivityTest.kt95 whenever(viewModel.loadAccessDate(Mockito.anyString())).thenReturn(accessDate) in <lambda>()
DSettingsManageAppPermissionsFragmentTest.kt116 whenever(viewModel.loadAccessDate(Mockito.anyString())).thenReturn(accessDate) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/app/
DAppPermissionViewModel.kt197 fun loadAccessDate(packageName: String): Instant? { in <lambda>() method in com.android.healthconnect.controller.permissions.app.AppPermissionViewModel
DSettingsManageAppPermissionsFragment.kt333 val dataAccessDate = viewModel.loadAccessDate(packageName) in <lambda>()
DConnectedAppFragment.kt376 val dataAccessDate = appPermissionViewModel.loadAccessDate(packageName) in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/navigation/
DTrampolineActivityTest.kt157 whenever(appPermissionViewModel.loadAccessDate(anyString())).thenReturn(accessDate) in setup()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/request/
DAdditionalPermissionsFragmentTest.kt80 whenever(viewModel.loadAccessDate(org.mockito.kotlin.any())).thenReturn(NOW) in setup()
DRequestPermissionViewModelTest.kt604 assertThat(viewModel.loadAccessDate(TEST_APP_PACKAGE_NAME)).isEqualTo(NOW) in loadAccessDate_returnsCorrectAccessDate()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/additionalaccess/
DAdditionalAccessViewModelTest.kt151 val result = additionalAccessViewModel.loadAccessDate(TEST_APP_PACKAGE_NAME) in loadAccessDate_returnsCorrectDate()
DAdditionalAccessFragmentTest.kt106 whenever(additionalAccessViewModel.loadAccessDate(any())).thenReturn(NOW) in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/
DAppPermissionViewModelTest.kt142 val result = appPermissionViewModel.loadAccessDate(TEST_APP_PACKAGE_NAME) in loadsCorrectAccessDate()
DConnectedAppFragmentTest.kt117 whenever(viewModel.loadAccessDate(anyString())).thenReturn(accessDate) in <lambda>()