/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/utils/ |
D | FragmentUtils.kt | 38 private lateinit var deviceInfoUtils: DeviceInfoUtils variable 56 deviceInfoUtils = hiltEntryPoint.deviceInfoUtils() in setupMenu() 64 deviceInfoUtils.isSendFeedbackAvailable(requireContext()) in setupMenu() 70 deviceInfoUtils.openSendFeedbackActivity(requireActivity()) in setupMenu() 77 deviceInfoUtils.openHCGetStartedLink(requireActivity()) in setupMenu()
|
D | DeviceInfoUtils.kt | 111 fun deviceInfoUtils(): DeviceInfoUtils in deviceInfoUtils() method
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/ |
D | ConnectedAppsFragmentTest.kt | 99 @BindValue val deviceInfoUtils: DeviceInfoUtils = FakeDeviceInfoUtils() constant in com.android.healthconnect.controller.tests.permissions.connectedapps.ConnectedAppsFragmentTest 117 (deviceInfoUtils as FakeDeviceInfoUtils).reset() in tearDown() 263 (deviceInfoUtils as FakeDeviceInfoUtils).setPlayStoreAvailability(true) in testWithNoApps_bothFeedbackAndPlayStoreAvailable_bothShouldBeDisplayedInThingsToTryOptions() 264 deviceInfoUtils.setSendFeedbackAvailability(true) in testWithNoApps_bothFeedbackAndPlayStoreAvailable_bothShouldBeDisplayedInThingsToTryOptions() 293 (deviceInfoUtils as FakeDeviceInfoUtils).setPlayStoreAvailability(false) in testWithNoApps_bothFeedbackAndPlayStoreAreNotAvailable_thingsToTryOptionsShouldNotBeDisplayed() 294 deviceInfoUtils.setSendFeedbackAvailability(false) in testWithNoApps_bothFeedbackAndPlayStoreAreNotAvailable_thingsToTryOptionsShouldNotBeDisplayed() 341 (deviceInfoUtils as FakeDeviceInfoUtils).setSendFeedbackAvailability(false) in eitherFeedbackOrPlayStoreAvailable_helpAndFeedbackPreferenceShouldBeDisplayed() 342 deviceInfoUtils.setPlayStoreAvailability(true) in eitherFeedbackOrPlayStoreAvailable_helpAndFeedbackPreferenceShouldBeDisplayed() 358 (deviceInfoUtils as FakeDeviceInfoUtils).setSendFeedbackAvailability(false) in bothFeedbackAndPlayStoreNotAvailable_helpAndFeedbackPreferenceShouldNotBeDisplayed() 359 deviceInfoUtils.setPlayStoreAvailability(false) in bothFeedbackAndPlayStoreNotAvailable_helpAndFeedbackPreferenceShouldNotBeDisplayed() [all …]
|
D | HelpAndFeedbackFragmentTest.kt | 49 @BindValue val deviceInfoUtils: DeviceInfoUtils = FakeDeviceInfoUtils() constant in com.android.healthconnect.controller.tests.permissions.connectedapps.HelpAndFeedbackFragmentTest 59 (deviceInfoUtils as FakeDeviceInfoUtils).setSendFeedbackAvailability(true) in helpAndFeedbackFragment_FeedbackAvailable_sendFeedbackIsAvailable() 80 (deviceInfoUtils as FakeDeviceInfoUtils).setPlayStoreAvailability(true) in helpAndFeedbackFragment_playStoreAvailable_playStoreLinksAreDisplayed() 102 (deviceInfoUtils as FakeDeviceInfoUtils).setPlayStoreAvailability(false) in helpAndFeedbackFragment_playStoreNotAvailable_playStoreLinksNotDisplayed() 119 (deviceInfoUtils as FakeDeviceInfoUtils).setSendFeedbackAvailability(false) in helpAndFeedbackFragment_feedbackNotAvailable_sendFeedbackNotDisplayed()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/shared/ |
D | HelpAndFeedbackFragment.kt | 65 @Inject lateinit var deviceInfoUtils: DeviceInfoUtils variable in com.android.healthconnect.controller.permissions.shared.HelpAndFeedbackFragment 103 mSendFeedback?.isVisible = deviceInfoUtils.isSendFeedbackAvailable(requireContext()) in onCreatePreferences() 104 mCheckForUpdates?.isVisible = deviceInfoUtils.isPlayStoreAvailable(requireContext()) in onCreatePreferences() 105 mSeeAllCompatibleApps?.isVisible = deviceInfoUtils.isPlayStoreAvailable(requireContext()) in onCreatePreferences()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/connectedapps/ |
D | ConnectedAppsFragment.kt | 95 @Inject lateinit var deviceInfoUtils: DeviceInfoUtils in <lambda>() variable in com.android.healthconnect.controller.permissions.connectedapps.ConnectedAppsFragment 232 if (deviceInfoUtils.isPlayStoreAvailable(requireContext()) || in <lambda>() 233 deviceInfoUtils.isSendFeedbackAvailable(requireContext())) { in <lambda>() 451 if (deviceInfoUtils.isPlayStoreAvailable(requireContext())) { in <lambda>() 461 deviceInfoUtils.openHCGetStartedLink(requireActivity()) in <lambda>() 480 if (deviceInfoUtils.isPlayStoreAvailable(requireContext()) || in <lambda>() 481 deviceInfoUtils.isSendFeedbackAvailable(requireContext())) { in <lambda>() 484 if (deviceInfoUtils.isPlayStoreAvailable(requireContext())) { in <lambda>() 488 if (deviceInfoUtils.isSendFeedbackAvailable(requireContext())) { in <lambda>()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/exportimport/ |
D | ExportDestinationFragmentTest.kt | 121 @BindValue val deviceInfoUtils: DeviceInfoUtils = FakeDeviceInfoUtils() in <lambda>() constant in com.android.healthconnect.controller.tests.exportimport.ExportDestinationFragmentTest 612 (deviceInfoUtils as FakeDeviceInfoUtils).setPlayStoreAvailability(false) in <lambda>() 624 (deviceInfoUtils as FakeDeviceInfoUtils).setPlayStoreAvailability(false) in <lambda>() 637 (deviceInfoUtils as FakeDeviceInfoUtils).setPlayStoreAvailability(true) in <lambda>() 649 (deviceInfoUtils as FakeDeviceInfoUtils).setPlayStoreAvailability(true) in <lambda>() 661 (deviceInfoUtils as FakeDeviceInfoUtils).setPlayStoreAvailability(true) in <lambda>() 862 (deviceInfoUtils as FakeDeviceInfoUtils).setPlayStoreAvailability(false) in <lambda>() 882 (deviceInfoUtils as FakeDeviceInfoUtils).setPlayStoreAvailability(false) in <lambda>() 903 (deviceInfoUtils as FakeDeviceInfoUtils).setPlayStoreAvailability(true) in <lambda>() 923 (deviceInfoUtils as FakeDeviceInfoUtils).setPlayStoreAvailability(true) in <lambda>() [all …]
|
D | ImportSourceLocationFragmentTest.kt | 118 @BindValue val deviceInfoUtils: DeviceInfoUtils = FakeDeviceInfoUtils() in <lambda>() constant in com.android.healthconnect.controller.tests.exportimport.ImportSourceLocationFragmentTest 612 (deviceInfoUtils as FakeDeviceInfoUtils).setPlayStoreAvailability(false) in <lambda>() 624 (deviceInfoUtils as FakeDeviceInfoUtils).setPlayStoreAvailability(false) in <lambda>() 637 (deviceInfoUtils as FakeDeviceInfoUtils).setPlayStoreAvailability(true) in <lambda>() 649 (deviceInfoUtils as FakeDeviceInfoUtils).setPlayStoreAvailability(true) in <lambda>() 661 (deviceInfoUtils as FakeDeviceInfoUtils).setPlayStoreAvailability(true) in <lambda>() 862 (deviceInfoUtils as FakeDeviceInfoUtils).setPlayStoreAvailability(false) in <lambda>() 882 (deviceInfoUtils as FakeDeviceInfoUtils).setPlayStoreAvailability(false) in <lambda>() 903 (deviceInfoUtils as FakeDeviceInfoUtils).setPlayStoreAvailability(true) in <lambda>() 923 (deviceInfoUtils as FakeDeviceInfoUtils).setPlayStoreAvailability(true) in <lambda>() [all …]
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utiltests/ |
D | AppStoreUtilTest.kt | 38 @Inject lateinit var deviceInfoUtils: DeviceInfoUtils variable in com.android.healthconnect.controller.tests.utiltests.AppStoreUtilTest 50 if (!deviceInfoUtils.isPlayStoreAvailable(context)) { in getAppStoreLink_validPackage_returnsCorrectIntent()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/navigation/ |
D | TrampolineActivity.kt | 49 @Inject lateinit var deviceInfoUtils: DeviceInfoUtils variable in com.android.healthconnect.controller.navigation.TrampolineActivity 56 if (!deviceInfoUtils.isHealthConnectAvailable(this)) { in onCreate()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/navigation/ |
D | TrampolineActivityTest.kt | 90 @BindValue val deviceInfoUtils: DeviceInfoUtils = FakeDeviceInfoUtils() constant in com.android.healthconnect.controller.tests.navigation.TrampolineActivityTest 113 (deviceInfoUtils as FakeDeviceInfoUtils).setHealthConnectAvailable(true) in setup() 165 (deviceInfoUtils as FakeDeviceInfoUtils).setHealthConnectAvailable(false) in startingActivity_healthConnectNotAvailable_finishesActivity() 193 (deviceInfoUtils as FakeDeviceInfoUtils).setHealthConnectAvailable(true) in homeSettingsIntent_launchesMainActivity()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/safetycenter/ |
D | SafetySourceBroadcastReceiver.kt | 42 @Inject lateinit var deviceInfoUtils: DeviceInfoUtils variable in com.android.healthconnect.controller.safetycenter.SafetySourceBroadcastReceiver 93 deviceInfoUtils.isHealthConnectAvailable(context) in shouldEnableLegacySettingsEntryPoint()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/migration/ |
D | MigrationActivityTest.kt | 39 @BindValue val deviceInfoUtils: DeviceInfoUtils = FakeDeviceInfoUtils() constant in com.android.healthconnect.controller.tests.migration.MigrationActivityTest 47 (deviceInfoUtils as FakeDeviceInfoUtils).setHealthConnectAvailable(true) in setup()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/exportimport/ |
D | ExportDestinationFragment.kt | 55 @Inject lateinit var deviceInfoUtils: DeviceInfoUtils in <lambda>() variable in com.android.healthconnect.controller.exportimport.ExportDestinationFragment 77 if (deviceInfoUtils.isPlayStoreAvailable(requireContext())) { in <lambda>()
|
D | ImportSourceLocationFragment.kt | 56 @Inject lateinit var deviceInfoUtils: DeviceInfoUtils in <lambda>() variable in com.android.healthconnect.controller.exportimport.ImportSourceLocationFragment 78 if (deviceInfoUtils.isPlayStoreAvailable(requireContext())) { in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/migration/ |
D | MigrationActivity.kt | 233 @Inject lateinit var deviceInfoUtils: DeviceInfoUtils in <lambda>() variable in com.android.healthconnect.controller.migration.MigrationActivity 242 if (!deviceInfoUtils.isHealthConnectAvailable(this)) { in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/request/ |
D | PermissionsActivity.kt | 66 @Inject lateinit var deviceInfoUtils: DeviceInfoUtils in <lambda>() variable in com.android.healthconnect.controller.permissions.request.PermissionsActivity 88 if (!deviceInfoUtils.isHealthConnectAvailable(this)) { in <lambda>()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/request/ |
D | PermissionsActivityTest.kt | 122 @BindValue val deviceInfoUtils: DeviceInfoUtils = FakeDeviceInfoUtils() in <lambda>() constant in com.android.healthconnect.controller.tests.permissions.request.PermissionsActivityTest 165 (deviceInfoUtils as FakeDeviceInfoUtils).setHealthConnectAvailable(false) in <lambda>()
|