/platform_testing/tests/automotive/mobly_tests/utilities/ |
D | bt_utils.py | 33 def __init__(self, discoverer, target): argument 34 self.discoverer = discoverer 37 self.media_utils = MediaUtils(self.target, self.discoverer) 48 if self.discoverer.mbs.isAssistantImprovementPopUpPresent(): 51 self.discoverer.mbs.skipImprovementCallingAndTextingPopUp() 52 asserts.assert_false(self.discoverer.mbs.isAssistantImprovementPopUpPresent(), 67 self.discoverer.log.info('Looking for Bluetooth devices.') 68 discovered_devices = self.discoverer.mbs.btDiscoverAndGetResults() 69 self.discoverer.log.debug('Found Bluetooth devices: %s', 84 self.discoverer.mbs.btEnable() [all …]
|
D | media_utils.py | 25 def __init__(self, target, discoverer): argument 27 self.discoverer = discoverer 28 self.common_utils = CommonUtils(self.target, self.discoverer) 44 self.discoverer.serial, 46 return self.discoverer.adb.shell(shell_command) 143 actual_song_title = self.discoverer.mbs.getMediaTrackName() 150 self.discoverer.mbs.clickNextTrack() 156 self.discoverer.mbs.clickPreviousTrack() 162 self.discoverer.mbs.openBluetoothMediaApp() 167 self.discoverer.mbs.pauseMedia() [all …]
|
D | common_utils.py | 24 def __init__(self, target, discoverer): argument 26 self.discoverer = discoverer 32 is_current_page_has_ui_element = self.discoverer.mbs.hasUIElementWithText( 42 self.discoverer.mbs.clickUIElementWithText(ui_element_text_content) 57 self.discoverer.mbs.grantRestrictedPermissionsForBTMedia(permission)
|
/platform_testing/tests/automotive/mobly_tests/ |
D | bluetooth_base_test.py | 29 self.discoverer = android_device.get_device( 32 self.discoverer.debug_tag = 'discoverer' 38 self.discoverer.load_snippet('mbs', android_device.MBS_PACKAGE) 40 self.call_utils = (spectatio_utils.CallUtils(self.discoverer)) 41 self.bt_utils = (bt_utils.BTUtils(self.discoverer, self.target)) 43 self.video_utils_service = VideoRecording(self.discoverer, self.__class__.__name__) 53 self.discoverer.mbs.btEnable() 60 self.discoverer.mbs.btDisable()
|
D | bluetooth_sms_base_test.py | 25 self.discoverer = android_device.get_device( 28 self.discoverer.debug_tag = 'discoverer' 33 self.discoverer.load_snippet('mbs', android_device.MBS_PACKAGE) 39 self.call_utils = (spectatio_utils.CallUtils(self.discoverer)) 40 self.bt_utils = (bt_utils.BTUtils(self.discoverer, self.target))
|
/platform_testing/tests/automotive/mobly_tests/connectivity/ |
D | connectivity_test_disable_phone.py | 49 self.discoverer.mbs.isPhonePreferenceChecked(), 55 self.discoverer.mbs.pressDeviceInBluetoothSettings(target_name) 57 summary = self.discoverer.mbs.getDeviceSummary() 72 self.discoverer.mbs.isPhonePreferenceChecked(), 76 self.discoverer.mbs.pressDeviceInBluetoothSettings(target_name) 78 summary = self.discoverer.mbs.getDeviceSummary()
|
D | connectivity_test_disable_media.py | 48 self.discoverer.mbs.isMediaPreferenceChecked(), 53 self.discoverer.mbs.pressDeviceInBluetoothSettings(self.target_name) 55 summary = self.discoverer.mbs.getDeviceSummary() 69 self.discoverer.mbs.isMediaPreferenceChecked(), 73 self.discoverer.mbs.pressDeviceInBluetoothSettings(self.target_name) 75 summary = self.discoverer.mbs.getDeviceSummary()
|
D | connectivity_test_default_state.py | 35 self.discoverer.mbs.btIsEnabled(), 40 self.discoverer.mbs.btDisable()
|
D | connectivity_test_status_displayed_in_l2.py | 56 self.discoverer.mbs.pressDeviceInBluetoothSettings(target_name) 60 summary = self.discoverer.mbs.getDeviceSummary()
|
/platform_testing/tests/automotive/mobly_tests/uxrestriction/ |
D | uxrestriction_test_receive_call_answer_decline.py | 42 self.common_utils = CommonUtils(self.target, self.discoverer) 65 self.discoverer.mbs.hasUIElementWithText(constants.ANSWER_CALL_TEXT), 69 self.discoverer.mbs.clickUIElementWithText(constants.ANSWER_CALL_TEXT) 74 self.discoverer.mbs.isOngoingCallDisplayedOnHome(), 89 self.discoverer.mbs.hasUIElementWithText(constants.DECLINE_CALL_TEXT), 93 self.discoverer.mbs.clickUIElementWithText(constants.DECLINE_CALL_TEXT) 98 self.discoverer.mbs.isOngoingCallDisplayedOnHome(),
|
/platform_testing/tests/automotive/mobly_tests/media/ |
D | media_test_device_sync_after_hu_start.py | 30 self.media_utils = MediaUtils(self.target, self.discoverer) 31 self.common_utils = CommonUtils(self.target, self.discoverer) 45 self.discoverer.unload_snippet('mbs') 47 self.discoverer.reboot() 50 self.video_utils_service = VideoRecording(self.discoverer, self.__class__.__name__) 55 self.discoverer.load_snippet('mbs', android_device.MBS_PACKAGE)
|
D | media_test_play_status_after_reboot.py | 30 self.media_utils = MediaUtils(self.target, self.discoverer) 31 self.common_utils = CommonUtils(self.target, self.discoverer) 54 self.discoverer.unload_snippet('mbs') 56 self.discoverer.reboot() 58 self.discoverer.load_snippet('mbs', android_device.MBS_PACKAGE) 61 self.video_utils_service = VideoRecording(self.discoverer, self.__class__.__name__)
|
/platform_testing/tests/automotive/mobly_tests/dialer/ |
D | dialer_test_page_refresh.py | 48 self.discoverer.mbs.pressHome() 57 self.discoverer.mbs.pressHome() 59 self.discoverer.mbs.openDialPad() 60 stored_number = self.discoverer.mbs.getNumberInDialPad()
|
D | dialer_test_decline_incoming_call.py | 53 self.discoverer.mbs.hasUIElementWithText(constants.DECLINE_CALL_TEXT), 57 self.discoverer.mbs.clickUIElementWithText(constants.DECLINE_CALL_TEXT) 62 self.discoverer.mbs.isOngoingCallDisplayedOnHome(),
|
D | dialer_test_contact_test.py | 50 contactToCall = super.discoverer.mbs.getFirstContactFromContactList() 53 super.discoverer.mbs.callContact(contactToCall)
|
/platform_testing/tests/bettertogether/quickstart/performance_test/ |
D | nearby_connection_wrapper.py | 41 discoverer: android_device.AndroidDevice, 55 self.discoverer = discoverer 97 self.discoverer.log.info( 133 self.discoverer.log.info('Stop discovery') 144 self.discoverer.log.info( 150 self.discoverer.serial, 197 self.discoverer.serial, 215 self.discoverer.log.info('Start connection accept') 254 self.discoverer.log.info( 264 self.discoverer.log.info( [all …]
|
D | quick_start_stress_test.py | 73 self.discoverer.nearby2.stopDiscovery() 74 self.discoverer.nearby2.stopAllEndpoints() 121 self.discoverer, 133 discoverer, argument 147 discoverer, wifi_ssid, wifi_password 149 discoverer.log.info( 162 discoverer, 164 discoverer.nearby, 209 discoverer, 211 discoverer.nearby2, [all …]
|
D | esim_transfer_stress_test.py | 104 self.discoverer, wifi_ssid, wifi_password 106 self.discoverer.log.info( 125 self.discoverer, 127 self.discoverer.nearby, 165 self.discoverer.log.info(test_report) 236 '02_source_device_serial': self.discoverer.serial, 239 self.discoverer),
|
D | nearby_share_stress_test.py | 87 self.discoverer, wifi_ssid, wifi_password 89 self.discoverer.log.info( 129 self.discoverer, 131 self.discoverer.nearby, 176 self.discoverer.log.info(test_report) 256 '02_source_device_serial': self.discoverer.serial, 259 self.discoverer),
|
/platform_testing/tests/bettertogether/betocq/ |
D | nearby_connection_wrapper.py | 41 discoverer: android_device.AndroidDevice, 55 self.discoverer = discoverer 97 self.discoverer.log.info( 134 self.discoverer.log.info('Stop discovery') 145 self.discoverer.log.info( 151 self.discoverer.serial, 195 self.discoverer.serial, 215 self.discoverer.log.info('Start connection accept') 257 self.discoverer.log.info( 268 self.discoverer.log.info( [all …]
|
/platform_testing/tests/bettertogether/betocq/function_tests/ |
D | nearbyconnections_function_test.py | 45 self.discoverer.nearby3p.getLocalEndpointId() 51 self.discoverer, 53 self.discoverer.nearby3p, 111 '01_source_device_serial': self.discoverer.serial, 114 self.discoverer
|
D | beto_cq_function_group_test.py | 89 self.test_parameters, self.discoverer, self.advertiser 93 self.test_parameters, self.discoverer, self.advertiser 98 self.test_parameters, self.discoverer, self.advertiser 125 '01_source_device_serial': self.discoverer.serial, 128 self.discoverer
|
D | function_test_actor_base.py | 29 discoverer: android_device.AndroidDevice, 34 self.discoverer: android_device.AndroidDevice = discoverer
|
D | bt_multiplex_function_test_actor.py | 53 self.discoverer, 55 self.discoverer.nearby2, 77 self.discoverer, 79 self.discoverer.nearby,
|
D | fixed_wifi_medium_function_test_actor.py | 41 self.discoverer, 43 self.discoverer.nearby, 96 self.discoverer, wifi_ssid, wifi_password 98 self.discoverer.log.info(
|