Home
last modified time | relevance | path

Searched refs:AutomotiveConfigConstants (Results 1 – 25 of 35) sorted by relevance

12

/platform_testing/libraries/automotive-helpers/dial-app-helper/src/android/platform/helpers/
DDialHelperImpl.java59 getActionFromConfig(AutomotiveConfigConstants.CONTACT_LIST_SCROLL_ACTION)); in DialHelperImpl()
61 getUiElementFromConfig(AutomotiveConfigConstants.CONTACT_LIST_SCROLL_BACKWARD); in DialHelperImpl()
63 getUiElementFromConfig(AutomotiveConfigConstants.CONTACT_LIST_SCROLL_FORWARD); in DialHelperImpl()
65 getUiElementFromConfig(AutomotiveConfigConstants.CONTACT_LIST_SCROLL_ELEMENT); in DialHelperImpl()
69 AutomotiveConfigConstants.CONTACT_LIST_SCROLL_DIRECTION)); in DialHelperImpl()
82 getUiElementFromConfig(AutomotiveConfigConstants.DEVICE_TITLE); in pressDeviceOnPrompt()
92 getUiElementFromConfig(AutomotiveConfigConstants.CALL_MOBILE_BUTTON); in pressMobileCallOnContact()
103 getUiElementFromConfig(AutomotiveConfigConstants.DIALER_ACTIVE_CALL_TOGGLE); in pressActiveCallToggle()
109 activeCallToggle, AutomotiveConfigConstants.DIALER_ACTIVE_CALL_TOGGLE); in pressActiveCallToggle()
117 clickButton(AutomotiveConfigConstants.PHONE_CARD_DIALER_BUTTON); in pressDialerButtonOnPhoneCard()
[all …]
DContactDetailsHelperImpl.java43 AutomotiveConfigConstants.CONTACT_DETAILS_SCROLL_ACTION)); in ContactDetailsHelperImpl()
45 getUiElementFromConfig(AutomotiveConfigConstants.CONTACT_DETAILS_SCROLL_BACKWARD); in ContactDetailsHelperImpl()
47 getUiElementFromConfig(AutomotiveConfigConstants.CONTACT_DETAILS_SCROLL_FORWARD); in ContactDetailsHelperImpl()
49 getUiElementFromConfig(AutomotiveConfigConstants.CONTACT_DETAILS_SCROLL_ELEMENT); in ContactDetailsHelperImpl()
53 AutomotiveConfigConstants.CONTACT_DETAILS_SCROLL_DIRECTION)); in ContactDetailsHelperImpl()
63 AutomotiveConfigConstants.CONTACTS_DIALOG_BOX)); in dismissInitialDialogs()
65 executeWorkflow(AutomotiveConfigConstants.APPS_INITIAL_DIALOGS); in dismissInitialDialogs()
72 return getPackageFromConfig(AutomotiveConfigConstants.DIAL_PACKAGE); in getPackage()
82 AutomotiveConfigConstants.OPEN_PHONE_ACTIVITY_COMMAND)); in open()
95 getUiElementFromConfig(AutomotiveConfigConstants.ADD_CONTACT_TO_FAVORITE); in addRemoveFavoriteContact()
[all …]
/platform_testing/libraries/automotive-helpers/settings-app-helper/src/android/platform/helpers/
DSettingsPrivacyHelperImpl.java34 return getPackageFromConfig(AutomotiveConfigConstants.SETTINGS_PACKAGE); in getPackage()
58 getUiElementFromConfig(AutomotiveConfigConstants.TOGGLE_MICROPHONE); in turnOnOffMicroPhone()
63 microPhoneSwitch, AutomotiveConfigConstants.TOGGLE_MICROPHONE); in turnOnOffMicroPhone()
72 getUiElementFromConfig(AutomotiveConfigConstants.MICRO_PHONE_SWITCH); in isMicroPhoneOn()
75 .validateUiObject(enableOption, AutomotiveConfigConstants.MICRO_PHONE_SWITCH); in isMicroPhoneOn()
82 getUiElementFromConfig(AutomotiveConfigConstants.MICRO_PHONE_MUTED_CHIP_STATUS_BAR); in isMutedMicChipPresentOnStatusBar()
89 getUiElementFromConfig(AutomotiveConfigConstants.MICRO_PHONE_MUTED_CHIP_MIC_PANEL); in isMutedMicChipPresentWithMicPanel()
97 getUiElementFromConfig(AutomotiveConfigConstants.MICRO_PHONE_CHIP_STATUS_BAR); in isMicChipPresentOnStatusBar()
104 getUiElementFromConfig(AutomotiveConfigConstants.MICRO_PHONE_MUTED_CHIP_STATUS_BAR); in clickMicroPhoneStatusBar()
109 AutomotiveConfigConstants.MICRO_PHONE_MUTED_CHIP_STATUS_BAR); in clickMicroPhoneStatusBar()
[all …]
DSettingsSecurityHelperImpl.java48 AutomotiveConfigConstants.SECURITY_SETTINGS_SCROLL_ACTION)); in SettingsSecurityHelperImpl()
50 getUiElementFromConfig(AutomotiveConfigConstants.SECURITY_SETTINGS_SCROLL_BACKWARD); in SettingsSecurityHelperImpl()
52 getUiElementFromConfig(AutomotiveConfigConstants.SECURITY_SETTINGS_SCROLL_FORWARD); in SettingsSecurityHelperImpl()
54 getUiElementFromConfig(AutomotiveConfigConstants.SECURITY_SETTINGS_SCROLL_ELEMENT); in SettingsSecurityHelperImpl()
58 AutomotiveConfigConstants.SECURITY_SETTINGS_SCROLL_DIRECTION)); in SettingsSecurityHelperImpl()
64 return getPackageFromConfig(AutomotiveConfigConstants.SECURITY_SETTINGS_PACKAGE); in getPackage()
84 AutomotiveConfigConstants.SECURITY_SETTINGS_LOCK_TYPE_PASSWORD); in setLockByPassword()
97 getUiElementFromConfig(AutomotiveConfigConstants.SECURITY_SETTINGS_TITLE); in openChooseLockTypeMenu()
100 .validateUiObjects(titles, AutomotiveConfigConstants.SECURITY_SETTINGS_TITLE); in openChooseLockTypeMenu()
107 getUiElementFromConfig(AutomotiveConfigConstants.SECURITY_SETTINGS_PROFILE_LOCK); in openChooseLockTypeMenu()
[all …]
DSettingsBluetoothHelperImpl.java47 return buttonChecked(AutomotiveConfigConstants.TOGGLE_DEVICE_BLUETOOTH); in isBluetoothPreferenceChecked()
53 return buttonChecked(AutomotiveConfigConstants.MEDIA_BUTTON); in isMediaPreferenceChecked()
59 return buttonChecked(AutomotiveConfigConstants.PHONE_BUTTON); in isPhonePreferenceChecked()
65 return buttonEnabled(AutomotiveConfigConstants.MEDIA_BUTTON); in isMediaPreferenceEnabled()
71 return buttonEnabled(AutomotiveConfigConstants.PHONE_BUTTON); in isPhonePreferenceEnabled()
110 getUiElementFromConfig(AutomotiveConfigConstants.TOGGLE_DEVICE_BLUETOOTH); in pressBluetoothToggleOnDevice()
115 .validateUiObject(toggleButton, AutomotiveConfigConstants.TOGGLE_DEVICE_BLUETOOTH); in pressBluetoothToggleOnDevice()
126 BySelector toggleSelector = getUiElementFromConfig(AutomotiveConfigConstants.MEDIA_BUTTON); in pressMediaToggleOnDevice()
131 .validateUiObject(toggleButton, AutomotiveConfigConstants.TOGGLE_DEVICE_BLUETOOTH); in pressMediaToggleOnDevice()
143 BySelector toggleSelector = getUiElementFromConfig(AutomotiveConfigConstants.PHONE_BUTTON); in pressPhoneToggleOnDevice()
[all …]
DSettingsSystemHelperImpl.java50 AutomotiveConfigConstants.SYSTEM_SETTINGS_SCROLL_ACTION)); in SettingsSystemHelperImpl()
53 AutomotiveConfigConstants.SYSTEM_SETTINGS_SCROLL_BACKWARD_BUTTON); in SettingsSystemHelperImpl()
56 AutomotiveConfigConstants.SYSTEM_SETTINGS_SCROLL_FORWARD_BUTTON); in SettingsSystemHelperImpl()
58 getUiElementFromConfig(AutomotiveConfigConstants.SYSTEM_SETTINGS_SCROLL_ELEMENT); in SettingsSystemHelperImpl()
62 AutomotiveConfigConstants.SYSTEM_SETTINGS_SCROLL_DIRECTION)); in SettingsSystemHelperImpl()
66 AutomotiveConfigConstants.SYSTEM_SETTINGS_SCROLL_MARGIN)), in SettingsSystemHelperImpl()
69 AutomotiveConfigConstants.SYSTEM_SETTINGS_SCROLL_WAIT_TIME))); in SettingsSystemHelperImpl()
75 return getPackageFromConfig(AutomotiveConfigConstants.SETTINGS_PACKAGE); in getPackage()
112 AutomotiveConfigConstants.LANGUAGES_MENU, in getCurrentLanguage()
113 AutomotiveConfigConstants.LANGUAGES_MENU_IN_SELECTED_LANGUAGE); in getCurrentLanguage()
[all …]
DSettingsLocationHelperImpl.java35 return getPackageFromConfig(AutomotiveConfigConstants.SETTINGS_PACKAGE); in getPackage()
53 getUiElementFromConfig(AutomotiveConfigConstants.LOCATION_ACCESS); in locationAccess()
56 .validateUiObject(locationAccess, AutomotiveConfigConstants.LOCATION_ACCESS); in locationAccess()
64 getUiElementFromConfig(AutomotiveConfigConstants.RECENTLY_CLOSED_TEXT); in hasRecentlyAccessed()
74 getUiElementFromConfig(AutomotiveConfigConstants.TOGGLE_LOCATION); in toggleLocation()
77 .validateUiObject(locationSwitch, AutomotiveConfigConstants.TOGGLE_LOCATION); in toggleLocation()
89 getUiElementFromConfig(AutomotiveConfigConstants.LOCATION_SWITCH); in isLocationOn()
92 .validateUiObject(enableOption, AutomotiveConfigConstants.LOCATION_SWITCH); in isLocationOn()
100 getUiElementFromConfig(AutomotiveConfigConstants.LOCATION_WIDGET); in hasMapsWidget()
DSettingUserHelperImpl.java48 getActionFromConfig(AutomotiveConfigConstants.USER_SETTINGS_SCROLL_ACTION)); in SettingUserHelperImpl()
50 getUiElementFromConfig(AutomotiveConfigConstants.USER_SETTINGS_SCROLL_BACKWARD); in SettingUserHelperImpl()
52 getUiElementFromConfig(AutomotiveConfigConstants.USER_SETTINGS_SCROLL_FORWARD); in SettingUserHelperImpl()
54 getUiElementFromConfig(AutomotiveConfigConstants.USER_SETTINGS_SCROLL_ELEMENT); in SettingUserHelperImpl()
58 AutomotiveConfigConstants.USER_SETTINGS_SCROLL_DIRECTION)); in SettingUserHelperImpl()
61 getActionFromConfig(AutomotiveConfigConstants.USER_SETTINGS_SCROLL_MARGIN)), in SettingUserHelperImpl()
64 AutomotiveConfigConstants.USER_SETTINGS_SCROLL_WAIT_TIME))); in SettingUserHelperImpl()
70 return getPackageFromConfig(AutomotiveConfigConstants.USER_SETTINGS_PACKAGE); in getPackage()
89 clickbutton(AutomotiveConfigConstants.USER_SETTINGS_ADD_PROFILE); in addUser()
90 clickbutton(AutomotiveConfigConstants.USER_SETTINGS_OK); in addUser()
[all …]
DSettingHelperImpl.java75 return getPackageFromConfig(AutomotiveConfigConstants.SETTINGS_PACKAGE); in getPackage()
88 getCommandFromConfig(AutomotiveConfigConstants.STOP_SETTING_APP_COMMAND)); in stopSettingsApplication()
121 getCommandFromConfig(AutomotiveConfigConstants.OPEN_SETTINGS_COMMAND)); in openFullSettings()
141 getUiElementFromConfig(AutomotiveConfigConstants.TOGGLE_WIFI); in turnOnOffWifi()
144 .validateUiObject(enableOption, AutomotiveConfigConstants.TOGGLE_WIFI); in turnOnOffWifi()
164 getUiElementFromConfig(AutomotiveConfigConstants.TOGGLE_HOTSPOT); in turnOnOffHotspot()
167 .validateUiObject(enableOption, AutomotiveConfigConstants.TOGGLE_HOTSPOT); in turnOnOffHotspot()
179 getUiElementFromConfig(AutomotiveConfigConstants.TOGGLE_HOTSPOT); in toggleHotspot()
182 .validateUiObject(enableOption, AutomotiveConfigConstants.TOGGLE_HOTSPOT); in toggleHotspot()
198 getUiElementFromConfig(AutomotiveConfigConstants.TOGGLE_BLUETOOTH); in turnOnOffBluetooth()
[all …]
DSettingsDateTimeHelperImpl.java60 AutomotiveConfigConstants.DATE_TIME_SETTINGS_SCROLL_ACTION)); in SettingsDateTimeHelperImpl()
63 AutomotiveConfigConstants.DATE_TIME_SETTINGS_SCROLL_BACKWARD_BUTTON); in SettingsDateTimeHelperImpl()
66 AutomotiveConfigConstants.DATE_TIME_SETTINGS_SCROLL_FORWARD_BUTTON); in SettingsDateTimeHelperImpl()
68 getUiElementFromConfig(AutomotiveConfigConstants.DATE_TIME_SETTINGS_SCROLL_ELEMENT); in SettingsDateTimeHelperImpl()
69 mSummarySelector = getUiElementFromConfig(AutomotiveConfigConstants.SETTINGS_SUMMARY); in SettingsDateTimeHelperImpl()
73 AutomotiveConfigConstants.DATE_TIME_SETTINGS_SCROLL_DIRECTION)); in SettingsDateTimeHelperImpl()
77 AutomotiveConfigConstants.DATE_TIME_SETTINGS_SCROLL_MARGIN)), in SettingsDateTimeHelperImpl()
80 AutomotiveConfigConstants.DATE_TIME_SETTINGS_SCROLL_WAIT_TIME))); in SettingsDateTimeHelperImpl()
86 return getPackageFromConfig(AutomotiveConfigConstants.SETTINGS_PACKAGE); in getPackage()
108 AutomotiveConfigConstants in setDate()
[all …]
DSettingsDisplayHelperImpl.java52 AutomotiveConfigConstants.DISPLAY_SETTINGS_LIST_SCROLL_ACTION)); in SettingsDisplayHelperImpl()
55 AutomotiveConfigConstants.DISPLAY_SETTINGS_SCROLL_BACKWARD_BUTTON); in SettingsDisplayHelperImpl()
58 AutomotiveConfigConstants.DISPLAY_SETTINGS_SCROLL_FORWARD_BUTTON); in SettingsDisplayHelperImpl()
60 getUiElementFromConfig(AutomotiveConfigConstants.DISPLAY_SETTINGS_SCROLL_ELEMENT); in SettingsDisplayHelperImpl()
64 AutomotiveConfigConstants.DISPLAY_SETTINGS_LIST_SCROLL_DIRECTION)); in SettingsDisplayHelperImpl()
68 AutomotiveConfigConstants.DISPLAY_SETTINGS_SCROLL_MARGIN)), in SettingsDisplayHelperImpl()
71 AutomotiveConfigConstants.DISPLAY_SETTINGS_SCROLL_WAIT_TIME))); in SettingsDisplayHelperImpl()
78 AutomotiveConfigConstants.DISPLAY_SETTINGS_ADAPTIVE_BRIGHTNESS_TOGGLE); in getAdaptiveBrightnessSwitch()
119 return getPackageFromConfig(AutomotiveConfigConstants.SETTINGS_PACKAGE); in getPackage()
DSettingsAppInfoHelperImpl.java61 AutomotiveConfigConstants.APP_INFO_SETTINGS_SCROLL_ACTION)); in SettingsAppInfoHelperImpl()
64 AutomotiveConfigConstants.APP_INFO_SETTINGS_SCROLL_BACKWARD_BUTTON); in SettingsAppInfoHelperImpl()
67 AutomotiveConfigConstants.APP_INFO_SETTINGS_SCROLL_FORWARD_BUTTON); in SettingsAppInfoHelperImpl()
69 getUiElementFromConfig(AutomotiveConfigConstants.APP_INFO_SETTINGS_SCROLL_ELEMENT); in SettingsAppInfoHelperImpl()
72 AutomotiveConfigConstants.APP_INFO_SETTINGS_PERMISSIONS_SCROLL_ELEMENT); in SettingsAppInfoHelperImpl()
76 AutomotiveConfigConstants.APP_INFO_SETTINGS_SCROLL_DIRECTION)); in SettingsAppInfoHelperImpl()
80 AutomotiveConfigConstants.APP_INFO_SETTINGS_SCROLL_MARGIN)), in SettingsAppInfoHelperImpl()
83 AutomotiveConfigConstants.APP_INFO_SETTINGS_SCROLL_WAIT_TIME))); in SettingsAppInfoHelperImpl()
91 getCommandFromConfig(AutomotiveConfigConstants.OPEN_SETTINGS_COMMAND)); in open()
97 return getPackageFromConfig(AutomotiveConfigConstants.SETTINGS_PACKAGE); in getPackage()
[all …]
/platform_testing/libraries/automotive-helpers/status-bar-helper/src/android/platform/helpers/
DStatusBarHelperImpl.java44 return getPackageFromConfig(AutomotiveConfigConstants.HOME_PACKAGE); in getPackage()
63 getUiElementFromConfig(AutomotiveConfigConstants.STATUS_BAR_BLUETOOTH_BUTTON); in openBluetoothPalette()
67 bluetoothButtonLink, AutomotiveConfigConstants.STATUS_BAR_BLUETOOTH_BUTTON); in openBluetoothPalette()
75 getUiElementFromConfig(AutomotiveConfigConstants.STATUS_BAR_BLUETOOTH_TOGGLE_ON); in hasBluetoothSwitch()
83 getUiElementFromConfig(AutomotiveConfigConstants.STATUS_BAR_BLUETOOTH_TOGGLE_ON); in openBluetoothSwitch()
89 AutomotiveConfigConstants.STATUS_BAR_BLUETOOTH_TOGGLE_ON); in openBluetoothSwitch()
98 AutomotiveConfigConstants.STATUS_BAR_BLUETOOTH_TOGGLE_ON_MESSAGE); in hasToggleOnMessage()
107 AutomotiveConfigConstants.STATUS_BAR_BLUETOOTH_TOGGLE_OFF_MESSAGE); in hasToggleOffMessage()
115 getUiElementFromConfig(AutomotiveConfigConstants.STATUS_BAR_BLUETOOTH_SETTINGS); in openBluetoothSettings()
121 AutomotiveConfigConstants.STATUS_BAR_BLUETOOTH_SETTINGS); in openBluetoothSettings()
[all …]
/platform_testing/libraries/automotive-helpers/home-helper/src/android/platform/helpers/
DHomeHelperImpl.java35 return getPackageFromConfig(AutomotiveConfigConstants.HOME_PACKAGE); in getPackage()
54 getUiElementFromConfig(AutomotiveConfigConstants.STATUS_BAR_BLUETOOTH_BUTTON); in hasBluetoothButton()
62 getUiElementFromConfig(AutomotiveConfigConstants.NETWORK_PALETTE); in hasNetworkButton()
70 getUiElementFromConfig(AutomotiveConfigConstants.STATUS_BAR_BRIGHTNESS_BUTTON); in hasDisplayBrightness()
76 getUiElementFromConfig(AutomotiveConfigConstants.HOME_TOP_CARD); in hasAssistantWidget()
82 getUiElementFromConfig(AutomotiveConfigConstants.HOME_BOTTOM_CARD); in hasMediaWidget()
90 getUiElementFromConfig(AutomotiveConfigConstants.STATUS_BAR_BRIGHTNESS_BUTTON); in openBrightnessPalette()
94 brightnessButton, AutomotiveConfigConstants.STATUS_BAR_BRIGHTNESS_BUTTON); in openBrightnessPalette()
103 AutomotiveConfigConstants.STATUS_BAR_DISPLAY_BRIGHTNESS_PALETTE); in hasDisplayBrightessPalette()
111 getUiElementFromConfig(AutomotiveConfigConstants.STATUS_BAR_ADAPTIVE_BRIGHTNESS); in hasAdaptiveBrightness()
[all …]
/platform_testing/libraries/automotive-helpers/media-center-app-helper/src/android/platform/helpers/
DMediaCenterHelperImpl.java64 getActionFromConfig(AutomotiveConfigConstants.MEDIA_APP_SCROLL_ACTION)); in MediaCenterHelperImpl()
66 getUiElementFromConfig(AutomotiveConfigConstants.MEDIA_APP_SCROLL_FORWARD_BUTTON); in MediaCenterHelperImpl()
68 getUiElementFromConfig(AutomotiveConfigConstants.MEDIA_APP_SCROLL_BACKWARD_BUTTON); in MediaCenterHelperImpl()
70 getUiElementFromConfig(AutomotiveConfigConstants.MEDIA_APP_SCROLL_ELEMENT); in MediaCenterHelperImpl()
73 getActionFromConfig(AutomotiveConfigConstants.MEDIA_APP_SCROLL_DIRECTION)); in MediaCenterHelperImpl()
122 return getPackageFromConfig(AutomotiveConfigConstants.MEDIA_CENTER_PACKAGE); in getPackage()
137 getCommandFromConfig(AutomotiveConfigConstants.MEDIA_LAUNCH_COMMAND)); in openMediaApp()
146 getUiElementFromConfig(AutomotiveConfigConstants.PLAY_PAUSE_BUTTON); in playMedia()
149 .validateUiObject(playButton, AutomotiveConfigConstants.PLAY_PAUSE_BUTTON); in playMedia()
160 getUiElementFromConfig(AutomotiveConfigConstants.PLAY_PAUSE_BUTTON_HOME_SCREEN); in playPauseMediaFromHomeScreen()
[all …]
DTestMediaAppHelperImpl.java73 clickAndWait(AutomotiveConfigConstants.TEST_MEDIA_ACCOUNT_TYPE, "Account Type"); in loadMediaInLocalMediaTestApp()
75 clickAndWait(AutomotiveConfigConstants.TEST_MEDIA_ACCOUNT_TYPE_PAID, "Account Type: Paid"); in loadMediaInLocalMediaTestApp()
77 clickAndWait(AutomotiveConfigConstants.TEST_MEDIA_ROOT_NODE_TYPE, "Root node type"); in loadMediaInLocalMediaTestApp()
80 AutomotiveConfigConstants.TEST_MEDIA_ROOT_NODE_TYPE_BROWSABLE, "Browsable Content"); in loadMediaInLocalMediaTestApp()
82 clickAndWait(AutomotiveConfigConstants.TEST_MEDIA_APP_CLOSE_SETTING, "Close Settings"); in loadMediaInLocalMediaTestApp()
88 getUiElementFromConfig(AutomotiveConfigConstants.MEDIA_SONGS_LIST); in selectSongInTestMediaApp()
92 .validateUiObjects(songList, AutomotiveConfigConstants.MEDIA_SONGS_LIST); in selectSongInTestMediaApp()
98 getUiElementFromConfig(AutomotiveConfigConstants.MEDIA_APP_NAVIGATION_ICON); in selectSongInTestMediaApp()
102 goBackToSongsList, AutomotiveConfigConstants.MEDIA_APP_NAVIGATION_ICON); in selectSongInTestMediaApp()
/platform_testing/tests/automotive/functional/AdminUserGrantPermissions/src/android/platform/tests/
DGrantPermissionsToNonAdminUserTest.java23 import android.platform.helpers.AutomotiveConfigConstants;
73 (mUsersHelper.get().isToggleOn(AutomotiveConfigConstants.CREATE_NEW_PROFILE_SWITCH)) in testToggleOffAllPermissionsAndCheck()
76 .toggle(AutomotiveConfigConstants.CREATE_NEW_PROFILE_SWITCH))); in testToggleOffAllPermissionsAndCheck()
78 (mUsersHelper.get().isToggleOn(AutomotiveConfigConstants.MAKE_PHONE_CALLS_SWITCH)) in testToggleOffAllPermissionsAndCheck()
81 .toggle(AutomotiveConfigConstants.MAKE_PHONE_CALLS_SWITCH))); in testToggleOffAllPermissionsAndCheck()
83 (mUsersHelper.get().isToggleOn(AutomotiveConfigConstants.INSTALL_NEW_APPS_SWITCH)) in testToggleOffAllPermissionsAndCheck()
86 .toggle(AutomotiveConfigConstants.INSTALL_NEW_APPS_SWITCH))); in testToggleOffAllPermissionsAndCheck()
88 (mUsersHelper.get().isToggleOn(AutomotiveConfigConstants.UNINSTALL_APPS_SWITCH)) in testToggleOffAllPermissionsAndCheck()
91 .toggle(AutomotiveConfigConstants.UNINSTALL_APPS_SWITCH))); in testToggleOffAllPermissionsAndCheck()
99 .isToggleOn(AutomotiveConfigConstants.CREATE_NEW_PROFILE_SWITCH)) in testToggleOnAllPermissionsAndCheck()
[all …]
/platform_testing/tests/automotive/functional/settings/src/android/platform/tests/
DStorageSettingTest.java21 import android.platform.helpers.AutomotiveConfigConstants;
67 .verifyUsageinGB(AutomotiveConfigConstants.STORAGE_MUSIC_AUDIO_SETTINGS)); in testMusicAndAudio()
72 .hasUIElement(AutomotiveConfigConstants.STORAGE_MUSIC_AUDIO_SETTINGS)); in testMusicAndAudio()
75 .openUIOptions(AutomotiveConfigConstants.STORAGE_MUSIC_AUDIO_SETTINGS); in testMusicAndAudio()
87 .verifyUsageinGB(AutomotiveConfigConstants.STORAGE_OTHER_APPS_SETTINGS)); in testOtherApps()
92 .hasUIElement(AutomotiveConfigConstants.STORAGE_OTHER_APPS_SETTINGS)); in testOtherApps()
95 .openUIOptions(AutomotiveConfigConstants.STORAGE_OTHER_APPS_SETTINGS); in testOtherApps()
106 .verifyUsageinGB(AutomotiveConfigConstants.STORAGE_FILES_SETTINGS)); in testFiles()
111 .hasUIElement(AutomotiveConfigConstants.STORAGE_FILES_SETTINGS)); in testFiles()
112 mSettingsUIHelper.get().openUIOptions(AutomotiveConfigConstants.STORAGE_FILES_SETTINGS); in testFiles()
[all …]
DAppInfoVerifyUIElementsTest.java21 import android.platform.helpers.AutomotiveConfigConstants;
66 .hasUIElement(AutomotiveConfigConstants.RECENTLY_OPENED_UI_ELEMENT)); in testVerifyAppsPermissionUIElements()
73 .hasUIElement(AutomotiveConfigConstants.STOP_APP_UI_ELEMENT)); in testVerifyAppsPermissionUIElements()
78 .hasUIElement(AutomotiveConfigConstants.NOTIFICATIONS_UI_ELEMENT)); in testVerifyAppsPermissionUIElements()
83 .hasUIElement(AutomotiveConfigConstants.PERMISSIONS_UI_ELEMENT)); in testVerifyAppsPermissionUIElements()
88 .hasUIElement(AutomotiveConfigConstants.STORAGE_CACHE_UI_ELEMENT)); in testVerifyAppsPermissionUIElements()
97 .hasUIElement(AutomotiveConfigConstants.PERMISSION_MANAGER_UI_ELEMENT)); in testVerifyAppsInfoUIElements()
102 .hasUIElement(AutomotiveConfigConstants.DEFAULT_APPS_UI_ELEMENT)); in testVerifyAppsInfoUIElements()
107 .hasUIElement(AutomotiveConfigConstants.UNUSED_APPS_UI_ELEMENT)); in testVerifyAppsInfoUIElements()
113 AutomotiveConfigConstants.PERFORMANCE_IMPACTING_APPS_UI_ELEMENT)); in testVerifyAppsInfoUIElements()
[all …]
DPrivacyPermissionManagerTest.java22 import android.platform.helpers.AutomotiveConfigConstants;
65 mSettingUIHelper.get().hasUIElement(AutomotiveConfigConstants.PRIVACY_DASHBOARD)); in testVerifyUIAppPermissions()
70 .hasUIElement(AutomotiveConfigConstants.PRIVACY_PERMISSION_MANAGER)); in testVerifyUIAppPermissions()
75 .hasUIElement(AutomotiveConfigConstants.RECENT_PERMISSION_DECISIONS)); in testVerifyUIAppPermissions()
80 mSettingUIHelper.get().openUIOptions(AutomotiveConfigConstants.PRIVACY_PERMISSION_MANAGER); in testPermissionManagerRecentDecisionAllow()
83 .privacyDashboardPermissionPage(AutomotiveConfigConstants.CALENDAR_PERMISSION); in testPermissionManagerRecentDecisionAllow()
92 AutomotiveConfigConstants.PRIVACY_CALENDAR)); in testPermissionManagerRecentDecisionAllow()
97 mSettingUIHelper.get().openUIOptions(AutomotiveConfigConstants.PRIVACY_PERMISSION_MANAGER); in testPermissionManagerRecentDecisionDontAllow()
100 .privacyDashboardPermissionPage(AutomotiveConfigConstants.CALENDAR_PERMISSION); in testPermissionManagerRecentDecisionDontAllow()
109 AutomotiveConfigConstants.PRIVACY_CALENDAR)); in testPermissionManagerRecentDecisionDontAllow()
DPrivacySettingVerifyUIElementsTest.java22 import android.platform.helpers.AutomotiveConfigConstants;
63 mSettingsUIHelper.get().hasUIElement(AutomotiveConfigConstants.MICROPHONE)); in testVerifyMicrophoneUIElement()
64 mSettingsUIHelper.get().openUIOptions(AutomotiveConfigConstants.MICROPHONE); in testVerifyMicrophoneUIElement()
78 mSettingsUIHelper.get().hasUIElement(AutomotiveConfigConstants.LOCATION)); in testVerifyLocationUIElement()
79 mSettingsUIHelper.get().openUIOptions(AutomotiveConfigConstants.LOCATION); in testVerifyLocationUIElement()
93 mSettingsUIHelper.get().hasUIElement(AutomotiveConfigConstants.APP_PERMISSION)); in testVerifyAppPermissionsUIElement()
94 mSettingsUIHelper.get().openUIOptions(AutomotiveConfigConstants.APP_PERMISSION); in testVerifyAppPermissionsUIElement()
110 .hasUIElement(AutomotiveConfigConstants.INFOTAINMENT_SYSTEM_DATA)); in testVerifyInfotainmentSystemDataUIElement()
111 mSettingsUIHelper.get().openUIOptions(AutomotiveConfigConstants.INFOTAINMENT_SYSTEM_DATA); in testVerifyInfotainmentSystemDataUIElement()
127 .hasUIElement(AutomotiveConfigConstants.DATA_SHARING_WITH_GOOGLE)); in testVerifyDataSharingGoogleUIElement()
[all …]
/platform_testing/libraries/automotive-helpers/car-sms-messenger-helper/src/android/platform/helpers/
DCarSmsMessengerHelperImpl.java34 return getPackageFromConfig(AutomotiveConfigConstants.SMS_PACKAGE); in getPackage()
56 getCommandFromConfig(AutomotiveConfigConstants.OPEN_SMS_ACTIVITY_COMMAND)); in open()
63 getUiElementFromConfig(AutomotiveConfigConstants.SMS_BLUETOOTH_ERROR); in isSmsBluetoothErrorDisplayed()
70 getUiElementFromConfig(AutomotiveConfigConstants.SMS_UNREAD_BADGE); in isUnreadSmsDisplayed()
77 getUiElementFromConfig(AutomotiveConfigConstants.SMS_PREVIEW_TEXT); in isSmsPreviewDisplayed()
80 .validateUiObject(smsPreviewTextObj, AutomotiveConfigConstants.SMS_PREVIEW_TEXT); in isSmsPreviewDisplayed()
88 getUiElementFromConfig(AutomotiveConfigConstants.SMS_PREVIEW_TIMESTAMP); in isSmsTimeStampDisplayed()
95 getUiElementFromConfig(AutomotiveConfigConstants.SMS_EMPTY_MESSAGE); in isNoMessagesDisplayed()
102 getUiElementFromConfig(AutomotiveConfigConstants.TAP_TO_READ_ALOUD); in tapToReadAloud()
105 .validateUiObject(tapToReadAloudObj, AutomotiveConfigConstants.TAP_TO_READ_ALOUD); in tapToReadAloud()
[all …]
/platform_testing/libraries/automotive-helpers/facet-bar-helper/src/android/platform/helpers/
DFacetBarHelperImpl.java34 FACET_BAR.HOME.setFacetIcon(AutomotiveConfigConstants.HOME_FACET_BUTTON); in FacetBarHelperImpl()
35 FACET_BAR.PHONE.setFacetIcon(AutomotiveConfigConstants.PHONE_FACET_BUTTON); in FacetBarHelperImpl()
36 FACET_BAR.APP_GRID.setFacetIcon(AutomotiveConfigConstants.APP_GRID_FACET_BUTTON); in FacetBarHelperImpl()
37 FACET_BAR.HVAC.setFacetIcon(AutomotiveConfigConstants.HVAC_FACET_BUTTON); in FacetBarHelperImpl()
38 FACET_BAR.NOTIFICATION.setFacetIcon(AutomotiveConfigConstants.NOTIFICATION_FACET_BUTTON); in FacetBarHelperImpl()
42 AutomotiveConfigConstants.HOME_BOTTOM_CARD); in FacetBarHelperImpl()
43 VERIFY_OPEN_APP.PHONE.setAppResourceForVerification(AutomotiveConfigConstants.DIALER_VIEW); in FacetBarHelperImpl()
45 AutomotiveConfigConstants.APP_GRID_VIEW_ID); in FacetBarHelperImpl()
46 VERIFY_OPEN_APP.HVAC.setAppResourceForVerification(AutomotiveConfigConstants.HVAC_PANEL); in FacetBarHelperImpl()
48 AutomotiveConfigConstants.NOTIFICATION_VIEW); in FacetBarHelperImpl()
/platform_testing/libraries/automotive-helpers/notifications-app-helper/src/android/platform/helpers/
DAutoNotificationHelperImpl.java49 AutomotiveConfigConstants.NOTIFICATION_LIST_SCROLL_ACTION)); in AutoNotificationHelperImpl()
52 AutomotiveConfigConstants.NOTIFICATION_LIST_SCROLL_BACKWARD_BUTTON); in AutoNotificationHelperImpl()
55 AutomotiveConfigConstants.NOTIFICATION_LIST_SCROLL_FORWARD_BUTTON); in AutoNotificationHelperImpl()
57 getUiElementFromConfig(AutomotiveConfigConstants.NOTIFICATION_LIST); in AutoNotificationHelperImpl()
61 AutomotiveConfigConstants.NOTIFICATION_LIST_SCROLL_DIRECTION)); in AutoNotificationHelperImpl()
99 AutomotiveConfigConstants.OPEN_NOTIFICATIONS_COMMAND)); in open()
112 getUiElementFromConfig(AutomotiveConfigConstants.NOTIFICATION_VIEW); in isAppInForeground()
125 AutomotiveConfigConstants.NOTIFICATION_LIST_EMPTY)); in tapClearAllBtn()
128 getUiElementFromConfig(AutomotiveConfigConstants.CLEAR_ALL_BUTTON); in tapClearAllBtn()
148 AutomotiveConfigConstants.NOTIFICATION_LIST_EMPTY)); in clickManageBtn()
[all …]
/platform_testing/libraries/automotive-helpers/phone-helper/src/android/platform/helpers/
DPhoneHelperImpl.java33 pressUIElement(AutomotiveConfigConstants.MOBILE_CALL_BUTTON); in pressCallButton()
39 pressUIElement(AutomotiveConfigConstants.MOBILE_DIAL_PAD_ICON); in pressDialpadIcon()
45 pressUIElement(AutomotiveConfigConstants.MOBILE_PHONE_ICON); in pressPhoneIcon()
77 getUiElementFromConfig(AutomotiveConfigConstants.MOBILE_DIALPAD_INPUT); in enterNumberOnDialpad()
81 .validateUiObject(dialPadInput, AutomotiveConfigConstants.MOBILE_DIALPAD_INPUT); in enterNumberOnDialpad()
106 return getPackageFromConfig(AutomotiveConfigConstants.PHONE_DEVICE_PACKAGE); in getPackage()

12