Home
last modified time | relevance | path

Searched refs:connectedApps (Results 1 – 14 of 14) sorted by relevance

/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/
DConnectedAppsFragmentTest.kt141 whenever(viewModel.connectedApps).then { MutableLiveData(connectApp) } in test_allowedApps()
153 whenever(viewModel.connectedApps).then { MutableLiveData(connectApp) } in test_deniedApps()
164 whenever(viewModel.connectedApps).then { MutableLiveData(connectApp) } in allowedApps_removeAccessEnabled()
174 whenever(viewModel.connectedApps).then { MutableLiveData(connectApp) } in allowedApps_confirmationDialogDisplayed_dialogDoesNotDisAppearWhenActivityRestarts()
193 whenever(viewModel.connectedApps).then { MutableLiveData(connectApp) } in noAllowedApps_removeAccessDisabled()
203 whenever(viewModel.connectedApps).then { MutableLiveData(connectApp) } in showsLoading()
214 whenever(viewModel.connectedApps).then { MutableLiveData(connectApp) } in dismissLoading()
224 whenever(viewModel.connectedApps).then { MutableLiveData(connectApp) } in inactiveApp_showsInactiveApps()
237 whenever(viewModel.connectedApps).then { MutableLiveData(connectApp) } in whenClickOnInactiveApp_showsDeleteDataDialog()
261 whenever(viewModel.connectedApps).then { MutableLiveData(connectApp) } in testWithNoApps_bothFeedbackAndPlayStoreAvailable_bothShouldBeDisplayedInThingsToTryOptions()
[all …]
DConnectedAppsViewModelTest.kt98 viewModel.connectedApps.observeForever(testObserver) in <lambda>()
119 viewModel.connectedApps.observeForever(testObserver) in <lambda>()
135 viewModel.connectedApps.observeForever(testObserver) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/connectedapps/
DLoadHealthPermissionApps.kt48 val connectedApps = mutableListOf<ConnectedAppMetadata>() in <lambda>() constant
53 connectedApps.addAll( in <lambda>()
82 connectedApps.addAll(inactiveApps) in <lambda>()
83 connectedApps.addAll(appsThatNeedUpdating) in <lambda>()
84 connectedApps in <lambda>()
DSettingsManagePermissionFragment.kt99 viewModel.connectedApps.observe(viewLifecycleOwner) { connectedApps -> in <lambda>() method
100 val connectedAppsGroup = connectedApps.groupBy { it.status } in <lambda>()
DConnectedAppsFragment.kt192 viewModel.connectedApps.observe(viewLifecycleOwner) { connectedApps -> in <lambda>() method
194 if (connectedApps.isEmpty()) { in <lambda>()
215 val connectedAppsGroup = connectedApps.groupBy { it.status } in <lambda>()
DConnectedAppsViewModel.kt48 val connectedApps: LiveData<List<ConnectedAppMetadata>> in <lambda>() constant in com.android.healthconnect.controller.permissions.connectedapps.ConnectedAppsViewModel
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/home/
DHomeFragmentTest.kt231 whenever(homeFragmentViewModel.connectedApps).then { in <lambda>()
266 whenever(homeFragmentViewModel.connectedApps).then { in <lambda>()
309 whenever(homeFragmentViewModel.connectedApps).then { in <lambda>()
326 whenever(homeFragmentViewModel.connectedApps).then { in <lambda>()
353 whenever(homeFragmentViewModel.connectedApps).then { in <lambda>()
374 whenever(homeFragmentViewModel.connectedApps).then { in <lambda>()
399 whenever(homeFragmentViewModel.connectedApps).then { in <lambda>()
427 whenever(homeFragmentViewModel.connectedApps).then { in <lambda>()
463 whenever(homeFragmentViewModel.connectedApps).then { in <lambda>()
503 whenever(homeFragmentViewModel.connectedApps).then { in <lambda>()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/settings/
DSettingsManagePermissionFragmentTest.kt114 whenever(viewModel.connectedApps).then { MutableLiveData(listOf<AppMetadata>()) } in test_displaysSections()
127 whenever(viewModel.connectedApps).then { MutableLiveData(connectApp) } in test_allowedApps()
138 whenever(viewModel.connectedApps).then { MutableLiveData(connectApp) } in test_deniedApps()
149 whenever(viewModel.connectedApps).then { MutableLiveData(connectApp) } in test_accessedHealthData_showsRecentAccessSummary()
159 whenever(viewModel.connectedApps).then { MutableLiveData(connectApp) } in test_inactiveApp_doesNotShowInactiveApps()
173 whenever(viewModel.connectedApps).then { MutableLiveData(connectApp) } in test_all()
207 whenever(viewModel.connectedApps).then { MutableLiveData(connectApp) } in whenMigrationInProgress_showsMigrationInProgressDialog()
251 whenever(viewModel.connectedApps).then { MutableLiveData(connectApp) } in whenRestoreInProgress_showsRestoreInProgressDialog()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/interactacrossprofiles/
DInteractAcrossProfilesController.java65 final int connectedApps = InteractAcrossProfilesSettings.getNumberOfEnabledApps( in getSummary() local
67 return connectedApps == 0 in getSummary()
70 : StringUtil.getIcuPluralsString(mContext, connectedApps, in getSummary()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/connectedapps/searchapps/
DSearchAppsFragment.kt139 viewModel.connectedApps.observe(viewLifecycleOwner) { connectedApps -> in <lambda>() method
140 emptySearchResultsPreference?.isVisible = connectedApps.isEmpty() in <lambda>()
142 topIntroPreference?.isVisible = connectedApps.isNotEmpty() in <lambda>()
144 val connectedAppsGroup = connectedApps.groupBy { it.status } in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/searchapps/
DSearchAppsFragmentTest.kt64 whenever(viewModel.connectedApps).then { in searchAppsFragment_isDisplayedCorrectly()
91 whenever(viewModel.connectedApps).then { in noAppsAllowed_doesNotShowAllowedAccessSection()
112 whenever(viewModel.connectedApps).then { in noAppsDenied_doesNotShowAllowedAccessSection()
133 whenever(viewModel.connectedApps).then { in noApps_displaysEmptyState()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/home/
DHomeFragment.kt171 homeFragmentViewModel.connectedApps.observe(viewLifecycleOwner) { connectedApps -> in <lambda>() method
172 updateConnectedApps(connectedApps) in <lambda>()
319 private fun updateConnectedApps(connectedApps: List<ConnectedAppMetadata>) { in <lambda>()
320 val connectedAppsGroup = connectedApps.groupBy { it.status } in <lambda>()
DHomeFragmentViewModel.kt36 val connectedApps: LiveData<List<ConnectedAppMetadata>> constant in com.android.healthconnect.controller.home.HomeFragmentViewModel
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/recentaccess/
DRecentAccessViewModel.kt76 val connectedApps = loadHealthPermissionApps.invoke() in <lambda>() constant
78 connectedApps in <lambda>()