Home
last modified time | relevance | path

Searched refs:ConnectedAppStatus (Results 1 – 13 of 13) sorted by relevance

/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/
DConnectedAppsViewModelTest.kt23 import com.android.healthconnect.controller.shared.app.ConnectedAppStatus
94 ConnectedAppMetadata(TEST_APP, status = ConnectedAppStatus.ALLOWED), in <lambda>()
95 ConnectedAppMetadata(TEST_APP_2, status = ConnectedAppStatus.DENIED), in <lambda>()
96 ConnectedAppMetadata(OLD_TEST_APP, status = ConnectedAppStatus.NEEDS_UPDATE))) in <lambda>()
106 ConnectedAppMetadata(TEST_APP, status = ConnectedAppStatus.ALLOWED), in <lambda>()
107 ConnectedAppMetadata(TEST_APP_2, status = ConnectedAppStatus.DENIED), in <lambda>()
108 ConnectedAppMetadata(OLD_TEST_APP, status = ConnectedAppStatus.NEEDS_UPDATE))) in <lambda>()
115 ConnectedAppMetadata(TEST_APP, status = ConnectedAppStatus.ALLOWED), in <lambda>()
116 ConnectedAppMetadata(TEST_APP_2, status = ConnectedAppStatus.DENIED), in <lambda>()
117 ConnectedAppMetadata(OLD_TEST_APP, status = ConnectedAppStatus.NEEDS_UPDATE))) in <lambda>()
[all …]
DLoadHealthPermissionAppsTest.kt24 import com.android.healthconnect.controller.shared.app.ConnectedAppStatus
107 testAppMetadata, status = ConnectedAppStatus.ALLOWED, null), in <lambda>()
109 testApp2Metadata, status = ConnectedAppStatus.DENIED, null))) in <lambda>()
136 testAppMetadata, status = ConnectedAppStatus.ALLOWED, null), in <lambda>()
138 testApp2Metadata, status = ConnectedAppStatus.INACTIVE, null))) in <lambda>()
167 testAppMetadata, status = ConnectedAppStatus.DENIED, null), in appsWithOldHealthPermissions_withoutNewPermissions_correctlyCategorisedAsNeedsUpdate()
169 oldTestAppMetadata, status = ConnectedAppStatus.NEEDS_UPDATE, null))) in appsWithOldHealthPermissions_withoutNewPermissions_correctlyCategorisedAsNeedsUpdate()
198 testAppMetadata, status = ConnectedAppStatus.ALLOWED, null), in <lambda>()
200 oldTestAppMetadata, status = ConnectedAppStatus.ALLOWED, null))) in <lambda>()
DConnectedAppsFragmentTest.kt46 import com.android.healthconnect.controller.shared.app.ConnectedAppStatus.ALLOWED
47 import com.android.healthconnect.controller.shared.app.ConnectedAppStatus.DENIED
48 import com.android.healthconnect.controller.shared.app.ConnectedAppStatus.INACTIVE
49 import com.android.healthconnect.controller.shared.app.ConnectedAppStatus.NEEDS_UPDATE
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/searchapps/
DSearchAppsFragmentTest.kt14 import com.android.healthconnect.controller.shared.app.ConnectedAppStatus
67 ConnectedAppMetadata(TEST_APP, status = ConnectedAppStatus.ALLOWED), in searchAppsFragment_isDisplayedCorrectly()
68 ConnectedAppMetadata(TEST_APP_2, status = ConnectedAppStatus.DENIED), in searchAppsFragment_isDisplayedCorrectly()
69 ConnectedAppMetadata(TEST_APP_3, status = ConnectedAppStatus.INACTIVE))) in searchAppsFragment_isDisplayedCorrectly()
94 ConnectedAppMetadata(TEST_APP, status = ConnectedAppStatus.DENIED), in noAppsAllowed_doesNotShowAllowedAccessSection()
95 ConnectedAppMetadata(TEST_APP_2, status = ConnectedAppStatus.DENIED), in noAppsAllowed_doesNotShowAllowedAccessSection()
96 ConnectedAppMetadata(TEST_APP_3, status = ConnectedAppStatus.INACTIVE))) in noAppsAllowed_doesNotShowAllowedAccessSection()
115 ConnectedAppMetadata(TEST_APP, status = ConnectedAppStatus.ALLOWED), in noAppsDenied_doesNotShowAllowedAccessSection()
116 ConnectedAppMetadata(TEST_APP_2, status = ConnectedAppStatus.ALLOWED), in noAppsDenied_doesNotShowAllowedAccessSection()
117 ConnectedAppMetadata(TEST_APP_3, status = ConnectedAppStatus.ALLOWED))) in noAppsDenied_doesNotShowAllowedAccessSection()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/home/
DHomeFragmentTest.kt54 import com.android.healthconnect.controller.shared.app.ConnectedAppStatus in <lambda>()
329 ConnectedAppMetadata(TEST_APP, ConnectedAppStatus.ALLOWED), in <lambda>()
330 ConnectedAppMetadata(TEST_APP_2, ConnectedAppStatus.ALLOWED))) in <lambda>()
354 MutableLiveData(listOf(ConnectedAppMetadata(TEST_APP, ConnectedAppStatus.ALLOWED))) in <lambda>()
377 ConnectedAppMetadata(TEST_APP, ConnectedAppStatus.ALLOWED), in <lambda>()
378 ConnectedAppMetadata(TEST_APP_2, ConnectedAppStatus.DENIED))) in <lambda>()
402 ConnectedAppMetadata(TEST_APP, ConnectedAppStatus.ALLOWED), in <lambda>()
403 ConnectedAppMetadata(TEST_APP_2, ConnectedAppStatus.ALLOWED))) in <lambda>()
430 ConnectedAppMetadata(TEST_APP, ConnectedAppStatus.ALLOWED), in <lambda>()
431 ConnectedAppMetadata(TEST_APP_2, ConnectedAppStatus.ALLOWED))) in <lambda>()
[all …]
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/connectedapps/
DLoadHealthPermissionApps.kt24 import com.android.healthconnect.controller.shared.app.ConnectedAppStatus in <lambda>()
59 ConnectedAppStatus.ALLOWED in <lambda>()
61 ConnectedAppStatus.DENIED in <lambda>()
69 .map { ConnectedAppMetadata(it, ConnectedAppStatus.INACTIVE) } in <lambda>()
77 ConnectedAppStatus.NEEDS_UPDATE, in <lambda>()
DConnectedAppsFragment.kt47 import com.android.healthconnect.controller.shared.app.ConnectedAppStatus.ALLOWED in <lambda>()
48 import com.android.healthconnect.controller.shared.app.ConnectedAppStatus.DENIED in <lambda>()
49 import com.android.healthconnect.controller.shared.app.ConnectedAppStatus.INACTIVE in <lambda>()
50 import com.android.healthconnect.controller.shared.app.ConnectedAppStatus.NEEDS_UPDATE in <lambda>()
DSettingsManagePermissionFragment.kt55 import com.android.healthconnect.controller.shared.app.ConnectedAppStatus.ALLOWED in <lambda>()
56 import com.android.healthconnect.controller.shared.app.ConnectedAppStatus.DENIED in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/app/
DConnectedAppMetadata.kt25 val status: ConnectedAppStatus,
29 enum class ConnectedAppStatus { class
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/connectedapps/searchapps/
DSearchAppsFragment.kt41 import com.android.healthconnect.controller.shared.app.ConnectedAppStatus.ALLOWED in <lambda>()
42 import com.android.healthconnect.controller.shared.app.ConnectedAppStatus.DENIED in <lambda>()
43 import com.android.healthconnect.controller.shared.app.ConnectedAppStatus.INACTIVE in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/recentaccess/
DRecentAccessViewModel.kt28 import com.android.healthconnect.controller.shared.app.ConnectedAppStatus in <lambda>()
79 .groupBy { it.status }[ConnectedAppStatus.INACTIVE] in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/settings/
DSettingsManagePermissionFragmentTest.kt40 import com.android.healthconnect.controller.shared.app.ConnectedAppStatus.ALLOWED
41 import com.android.healthconnect.controller.shared.app.ConnectedAppStatus.DENIED
42 import com.android.healthconnect.controller.shared.app.ConnectedAppStatus.INACTIVE
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/home/
DHomeFragment.kt47 import com.android.healthconnect.controller.shared.app.ConnectedAppStatus in <lambda>()
321 val numAllowedApps = connectedAppsGroup[ConnectedAppStatus.ALLOWED].orEmpty().size in <lambda>()
322 val numNotAllowedApps = connectedAppsGroup[ConnectedAppStatus.DENIED].orEmpty().size in <lambda>()