/platform_testing/tests/automotive/functional/uxrestriction/src/android/platform/tests/ |
D | UxRestrictionTest.java | 38 private HelperAccessor<IAutoSettingHelper> mSettingHelper; field in UxRestrictionTest 46 mSettingHelper = new HelperAccessor<>(IAutoSettingHelper.class); in UxRestrictionTest() 59 mSettingHelper.get().goBackToSettingsScreen(); in disableDrivingMode() 66 mSettingHelper.get().openSetting(SettingsConstants.SOUND_SETTINGS); in testRestrictedSoundSettings() 67 String currentTitle = mSettingHelper.get().getPageTitleText(); in testRestrictedSoundSettings() 70 mSettingHelper.get().checkMenuExists("In-call volume")); in testRestrictedSoundSettings() 71 mSettingHelper.get().openMenuWith("In-call Volume"); in testRestrictedSoundSettings() 72 String newTitle = mSettingHelper.get().getPageTitleText(); in testRestrictedSoundSettings() 78 mSettingHelper.get().openSetting(SettingsConstants.NETWORK_AND_INTERNET_SETTINGS); in testRestrictedNetworkSettings() 81 mSettingHelper.get().checkMenuExists("Hotspot")); in testRestrictedNetworkSettings() [all …]
|
/platform_testing/tests/automotive/functional/settings/src/android/platform/tests/ |
D | SettingTest.java | 37 private HelperAccessor<IAutoSettingHelper> mSettingHelper; field in SettingTest 41 mSettingHelper = new HelperAccessor<>(IAutoSettingHelper.class); in SettingTest() 47 mSettingHelper.get().goBackToSettingsScreen(); in goBackToSettingsScreen() 52 mSettingHelper.get().openSetting(SettingsConstants.DISPLAY_SETTINGS); in testDisplaySettings() 55 mSettingHelper.get().checkMenuExists("Brightness level")); in testDisplaySettings() 60 mSettingHelper.get().openSetting(SettingsConstants.SOUND_SETTINGS); in testSoundSettings() 63 mSettingHelper.get().checkMenuExists("In-call volume")); in testSoundSettings() 68 mSettingHelper.get().openSetting(SettingsConstants.APPS_SETTINGS); in testAppinfoSettings() 71 mSettingHelper.get().checkMenuExists("Recently opened")); in testAppinfoSettings() 77 mSettingHelper.get().openSetting(SettingsConstants.PROFILE_ACCOUNT_SETTINGS); in testAccountsSettings() [all …]
|
D | WifiSettingTest.java | 35 private HelperAccessor<IAutoSettingHelper> mSettingHelper; field in WifiSettingTest 38 mSettingHelper = new HelperAccessor<>(IAutoSettingHelper.class); in WifiSettingTest() 44 mSettingHelper.get().openSetting(SettingsConstants.NETWORK_AND_INTERNET_SETTINGS); in openNetworkSetting() 47 mSettingHelper.get().checkMenuExists("Hotspot")); in openNetworkSetting() 52 mSettingHelper.get().goBackToSettingsScreen(); in goBackToSettingsScreen() 57 mSettingHelper.get().turnOnOffWifi(false); in testWifiSettings() 58 assertFalse(mSettingHelper.get().isWifiOn()); in testWifiSettings() 59 mSettingHelper.get().turnOnOffWifi(true); in testWifiSettings() 60 assertTrue(mSettingHelper.get().isWifiOn()); in testWifiSettings() 65 mSettingHelper.get().turnOnOffHotspot(true); in testTurnOnOffHotspot() [all …]
|
D | PrivacySettingVerifyUIElementsTest.java | 38 private HelperAccessor<IAutoSettingHelper> mSettingHelper; field in PrivacySettingVerifyUIElementsTest 42 mSettingHelper = new HelperAccessor<>(IAutoSettingHelper.class); in PrivacySettingVerifyUIElementsTest() 47 mSettingHelper.get().openSetting(SettingsConstants.PRIVACY_SETTINGS); in openPrivacySetting() 50 mSettingHelper.get().checkMenuExists("Microphone")); in openPrivacySetting() 55 mSettingHelper.get().goBackToSettingsScreen(); in goBackToSettingsScreen() 56 mSettingHelper.get().exit(); in goBackToSettingsScreen() 67 mSettingHelper.get().checkMenuExists("Use microphone")); in testVerifyMicrophoneUIElement() 68 String currentTitle = mSettingHelper.get().getPageTitleText(); in testVerifyMicrophoneUIElement() 70 String newTitle = mSettingHelper.get().getPageTitleText(); in testVerifyMicrophoneUIElement() 82 mSettingHelper.get().checkMenuExists("Location access")); in testVerifyLocationUIElement() [all …]
|
D | PrivacySettingTest.java | 36 private HelperAccessor<IAutoSettingHelper> mSettingHelper; field in PrivacySettingTest 40 mSettingHelper = new HelperAccessor<>(IAutoSettingHelper.class); in PrivacySettingTest() 46 mSettingHelper.get().openSetting(SettingsConstants.PRIVACY_SETTINGS); in openPrivacySetting() 49 mSettingHelper.get().checkMenuExists("Microphone")); in openPrivacySetting() 54 mSettingHelper.get().goBackToSettingsScreen(); in goBackToSettingsScreen() 59 mSettingHelper.get().openMenuWith("Data sharing with Google"); in testActivityControlUserLoggedIn() 60 mSettingHelper.get().openMenuWith("Activity Controls"); in testActivityControlUserLoggedIn() 69 mSettingHelper.get().openMenuWith("Data sharing with Google"); in testAutofillServiceNoUserLoggedIn() 70 mSettingHelper.get().openMenuWith("Autofill service from Google"); in testAutofillServiceNoUserLoggedIn() 79 mSettingHelper.get().openMenuWith("Data sharing with Google"); in testAutofillServiceUserLoggedIn() [all …]
|
D | DisplaySettingTest.java | 36 private final HelperAccessor<IAutoSettingHelper> mSettingHelper; field in DisplaySettingTest 40 mSettingHelper = new HelperAccessor<>(IAutoSettingHelper.class); in DisplaySettingTest() 46 mSettingHelper.get().openSetting(SettingsConstants.DISPLAY_SETTINGS); in testBrightnessIncrease() 49 mSettingHelper.get().checkMenuExists("Brightness level")); in testBrightnessIncrease() 51 int lowBrightness = mSettingHelper.get().setBrightness(0.1f); in testBrightnessIncrease() 54 int highBrightness = mSettingHelper.get().setBrightness(0.9f); in testBrightnessIncrease() 69 mSettingHelper.get().openSetting(SettingsConstants.DISPLAY_SETTINGS); in testAdaptiveBrightnessDefaultValue() 72 mSettingHelper.get().checkMenuExists("Adaptive brightness")); in testAdaptiveBrightnessDefaultValue() 82 mSettingHelper.get().openSetting(SettingsConstants.DISPLAY_SETTINGS); in testAdaptiveBrightnessToggle() 85 mSettingHelper.get().checkMenuExists("Adaptive brightness")); in testAdaptiveBrightnessToggle()
|
D | MicroPhoneSettingTest.java | 41 private HelperAccessor<IAutoSettingHelper> mSettingHelper; field in MicroPhoneSettingTest 46 mSettingHelper = new HelperAccessor<>(IAutoSettingHelper.class); in MicroPhoneSettingTest() 53 mSettingHelper.get().openSetting(SettingsConstants.PRIVACY_SETTINGS); in openPrivacySetting() 56 mSettingHelper.get().checkMenuExists("Microphone")); in openPrivacySetting() 57 mSettingHelper.get().openMenuWith("MicroPhone"); in openPrivacySetting() 60 mSettingHelper.get().checkMenuExists("Use microphone")); in openPrivacySetting() 65 mSettingHelper.get().openSetting(SettingsConstants.PRIVACY_SETTINGS); in manageMicrophonePermissions() 68 mSettingHelper.get().checkMenuExists("Microphone")); in manageMicrophonePermissions() 69 mSettingHelper.get().openMenuWith("MicroPhone"); in manageMicrophonePermissions() 78 mSettingHelper.get().goBackToSettingsScreen(); in goBackToSettingsScreen() [all …]
|
D | SettingSearchTest.java | 53 private HelperAccessor<IAutoSettingHelper> mSettingHelper; field in SettingSearchTest 56 mSettingHelper = new HelperAccessor<>(IAutoSettingHelper.class); in SettingSearchTest() 62 mSettingHelper.get().openFullSettings(); in openSetting() 67 mSettingHelper.get().exit(); in exitSettings() 77 mSettingHelper.get().searchAndSelect(searchApp); in testSearchApplication() 78 mSettingHelper.get().checkMenuExists("Allowed"); in testSearchApplication() 92 mSettingHelper.get().searchAndSelect(searchSetting); in testSearchSetting() 95 mSettingHelper.get().isValidPageTitle(searchSetting)); in testSearchSetting()
|
D | MicroPhoneRecentAppsTest.java | 35 private HelperAccessor<IAutoSettingHelper> mSettingHelper; field in MicroPhoneRecentAppsTest 44 mSettingHelper = new HelperAccessor<>(IAutoSettingHelper.class); in MicroPhoneRecentAppsTest() 61 mSettingHelper.get().openSetting(SettingsConstants.PRIVACY_SETTINGS); in testRecentlyAccessedApps() 62 mSettingHelper.get().openMenuWith("MicroPhone"); in testRecentlyAccessedApps() 70 mSettingHelper.get().openSetting(SettingsConstants.PRIVACY_SETTINGS); in testViewAllLink() 71 mSettingHelper.get().openMenuWith("MicroPhone"); in testViewAllLink()
|
D | StorageSettingTest.java | 37 private HelperAccessor<IAutoSettingHelper> mSettingHelper; field in StorageSettingTest 43 mSettingHelper = new HelperAccessor<>(IAutoSettingHelper.class); in StorageSettingTest() 49 mSettingHelper.get().openSetting(SettingsConstants.SYSTEM_SETTINGS); in openSystemStorageFacet() 52 mSettingHelper.get().checkMenuExists("Languages & input")); in openSystemStorageFacet() 58 mSettingHelper.get().goBackToSettingsScreen(); in goBackToSettingsScreen() 78 mSettingHelper.get().checkMenuExists("Hide system apps")); in testMusicAndAudio() 97 "Other apps is not open", mSettingHelper.get().checkMenuExists("Hide system apps")); in testOtherApps()
|
D | EnableDevelopersOption.java | 34 private HelperAccessor<IAutoSettingHelper> mSettingHelper; field in EnableDevelopersOption 38 mSettingHelper = new HelperAccessor<>(IAutoSettingHelper.class); in EnableDevelopersOption() 44 mSettingHelper.get().openSetting(SettingsConstants.SYSTEM_SETTINGS); in testToVerifyDeveloperOptions() 54 mSettingHelper.get().goBackToSettingsScreen(); in goBackToSettingsScreen()
|
D | SecuritySettingTest.java | 40 private HelperAccessor<IAutoSettingHelper> mSettingHelper; field in SecuritySettingTest 44 mSettingHelper = new HelperAccessor<>(IAutoSettingHelper.class); in SecuritySettingTest() 49 mSettingHelper.get().openSetting(SettingsConstants.SECURITY_SETTINGS); in openSecuritySettingFacet() 52 mSettingHelper.get().checkMenuExists("Profile lock")); in openSecuritySettingFacet() 57 mSettingHelper.get().goBackToSettingsScreen(); in goBackToSettingsScreen()
|
D | PrivacyPermissionManagerTest.java | 40 private HelperAccessor<IAutoSettingHelper> mSettingHelper; field in PrivacyPermissionManagerTest 45 mSettingHelper = new HelperAccessor<>(IAutoSettingHelper.class); in PrivacyPermissionManagerTest() 51 mSettingHelper.get().openSetting(SettingsConstants.PRIVACY_SETTINGS); in openPrivacyAppPermissions() 52 mSettingHelper.get().openMenuWith("App permissions"); in openPrivacyAppPermissions() 57 mSettingHelper.get().goBackToSettingsScreen(); in goBackToSettingsScreen() 58 mSettingHelper.get().exit(); in goBackToSettingsScreen()
|
D | AppInfoSettingTest.java | 23 private HelperAccessor<IAutoSettingHelper> mSettingHelper; field in AppInfoSettingTest 31 mSettingHelper = new HelperAccessor<>(IAutoSettingHelper.class); in AppInfoSettingTest() 35 mSettingHelper.get().openSetting(SettingsConstants.APPS_SETTINGS); in openAppInfoFacet() 38 mSettingHelper.get().checkMenuExists("Reset app grid to A-Z order")); in openAppInfoFacet() 44 mSettingHelper.get().exit(); in goBackToSettingsScreen() 77 mSettingHelper.get().openSetting(SettingsConstants.APPS_SETTINGS); in testAllowedAppNumber()
|
D | AppInfoVerifyUIElementsTest.java | 38 private HelperAccessor<IAutoSettingHelper> mSettingHelper; field in AppInfoVerifyUIElementsTest 46 mSettingHelper = new HelperAccessor<>(IAutoSettingHelper.class); in AppInfoVerifyUIElementsTest() 51 mSettingHelper.get().openSetting(SettingsConstants.APPS_SETTINGS); in openAppInfoFacet() 56 mSettingHelper.get().goBackToSettingsScreen(); in goBackToSettingsScreen() 57 mSettingHelper.get().exit(); in goBackToSettingsScreen()
|
D | SystemSettingTest.java | 37 private HelperAccessor<IAutoSettingHelper> mSettingHelper; field in SystemSettingTest 41 mSettingHelper = new HelperAccessor<>(IAutoSettingHelper.class); in SystemSettingTest() 48 mSettingHelper.get().openSetting(SettingsConstants.SYSTEM_SETTINGS); in openSystemFacet() 51 mSettingHelper.get().checkMenuExists("Languages & input")); in openSystemFacet() 56 mSettingHelper.get().goBackToSettingsScreen(); in goBackToSettingsScreen()
|
/platform_testing/tests/automotive/functional/statusbar/src/android/platform/tests/ |
D | NetworkPaletteTest.java | 37 private HelperAccessor<IAutoSettingHelper> mSettingHelper; field in NetworkPaletteTest 43 mSettingHelper = new HelperAccessor<>(IAutoSettingHelper.class); in NetworkPaletteTest() 52 mSettingHelper.get().checkMenuExists("Network & internet settings")); in openNetworkPalette() 57 mSettingHelper.get().exit(); in goBackToHomeScreen() 77 if (!mSettingHelper.get().isWifiOn()) { in testWifiName() 81 assertTrue("Wi-Fi is not enabled", mSettingHelper.get().isWifiOn()); in testWifiName() 85 assertFalse("Wi-Fi is enabled", mSettingHelper.get().isWifiOn()); in testWifiName() 91 if (!mSettingHelper.get().isWifiOn()) { in testWifiAndHotspotEnabledTogether() 97 assertTrue("Wi-Fi is not enabled", mSettingHelper.get().isWifiOn()); in testWifiAndHotspotEnabledTogether() 104 mSettingHelper.get().openMenuWith("Network & internet settings"); in testNetworkAndinternetSettings() [all …]
|
/platform_testing/tests/automotive/functional/multiuser/src/android/platform/tests/ |
D | DeleteAdminUser.java | 50 private HelperAccessor<IAutoSettingHelper> mSettingHelper; field in DeleteAdminUser 55 mSettingHelper = new HelperAccessor<>(IAutoSettingHelper.class); in DeleteAdminUser() 60 mSettingHelper.get().goBackToSettingsScreen(); in goBackToHomeScreen() 70 mSettingHelper.get().openSetting(SettingsConstants.PROFILE_ACCOUNT_SETTINGS); in testRemoveUser() 72 mSettingHelper.get().openSetting(SettingsConstants.PROFILE_ACCOUNT_SETTINGS); in testRemoveUser()
|
D | DeleteGuestNotAllowed.java | 47 private HelperAccessor<IAutoSettingHelper> mSettingHelper; field in DeleteGuestNotAllowed 51 mSettingHelper = new HelperAccessor<>(IAutoSettingHelper.class); in DeleteGuestNotAllowed() 56 mSettingHelper.get().openSetting(SettingsConstants.PROFILE_ACCOUNT_SETTINGS); in openAccountsFacet() 61 mSettingHelper.get().goBackToSettingsScreen(); in goBackToHomeScreen()
|
D | DeleteLastAdminUser.java | 46 private HelperAccessor<IAutoSettingHelper> mSettingHelper; field in DeleteLastAdminUser 50 mSettingHelper = new HelperAccessor<>(IAutoSettingHelper.class); in DeleteLastAdminUser() 55 mSettingHelper.get().openSetting(SettingsConstants.PROFILE_ACCOUNT_SETTINGS); in openAccountsFacet() 60 mSettingHelper.get().goBackToSettingsScreen(); in goBackToHomeScreen()
|
D | DeleteCurrentNonAdminUser.java | 47 private HelperAccessor<IAutoSettingHelper> mSettingHelper; field in DeleteCurrentNonAdminUser 52 mSettingHelper = new HelperAccessor<>(IAutoSettingHelper.class); in DeleteCurrentNonAdminUser() 57 mSettingHelper.get().goBackToSettingsScreen(); in goBackToHomeScreen() 71 mSettingHelper.get().openSetting(SettingsConstants.PROFILE_ACCOUNT_SETTINGS); in testRemoveUserSelf()
|
D | DeleteNonAdminUser.java | 50 private HelperAccessor<IAutoSettingHelper> mSettingHelper; field in DeleteNonAdminUser 55 mSettingHelper = new HelperAccessor<>(IAutoSettingHelper.class); in DeleteNonAdminUser() 60 mSettingHelper.get().goBackToSettingsScreen(); in goBackToHomeScreen() 70 mSettingHelper.get().openSetting(SettingsConstants.PROFILE_ACCOUNT_SETTINGS); in testRemoveUser()
|
/platform_testing/tests/automotive/functional/locationstatusbar/src/android/platform/tests/ |
D | SettingsLocationTest.java | 37 private HelperAccessor<IAutoSettingHelper> mSettingHelper; field in SettingsLocationTest 40 mSettingHelper = new HelperAccessor<>(IAutoSettingHelper.class); in SettingsLocationTest() 46 mSettingHelper.get().openSetting(SettingsConstants.LOCATION_SETTINGS); in setup() 48 "Location settings did not open", mSettingHelper.get().checkMenuExists("Location")); in setup()
|
/platform_testing/tests/automotive/functional/lockscreen/src/android/platform/tests/ |
D | LockScreenTest.java | 46 private HelperAccessor<IAutoSettingHelper> mSettingHelper; field in LockScreenTest 53 mSettingHelper = new HelperAccessor<>(IAutoSettingHelper.class); in LockScreenTest() 68 mSettingHelper.get().openSetting(SettingsConstants.SECURITY_SETTINGS); in openSecuritySettingFacet() 71 mSettingHelper.get().checkMenuExists("Profile lock")); in openSecuritySettingFacet() 76 mSettingHelper.get().goBackToSettingsScreen(); in goBackToSettingsScreen()
|
/platform_testing/tests/automotive/functional/profileiconlist/src/android/platform/tests/ |
D | ProfileIconsListTest.java | 48 private HelperAccessor<IAutoSettingHelper> mSettingHelper; field in ProfileIconsListTest 52 mSettingHelper = new HelperAccessor<>(IAutoSettingHelper.class); in ProfileIconsListTest() 71 mSettingHelper.get().checkMenuExists("Add a profile")); in testListOfProfiles() 74 mSettingHelper.get().checkMenuExists("Profiles & accounts settings")); in testListOfProfiles()
|