Home
last modified time | relevance | path

Searched refs:discoverer (Results 1 – 25 of 63) sorted by relevance

123

/platform_testing/tests/automotive/mobly_tests/utilities/
Dbt_utils.py33 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 …]
Dmedia_utils.py25 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 …]
Dcommon_utils.py24 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/
Dbluetooth_base_test.py29 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()
Dbluetooth_sms_base_test.py25 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/
Dconnectivity_test_disable_phone.py49 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()
Dconnectivity_test_disable_media.py48 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()
Dconnectivity_test_default_state.py35 self.discoverer.mbs.btIsEnabled(),
40 self.discoverer.mbs.btDisable()
Dconnectivity_test_status_displayed_in_l2.py56 self.discoverer.mbs.pressDeviceInBluetoothSettings(target_name)
60 summary = self.discoverer.mbs.getDeviceSummary()
/platform_testing/tests/automotive/mobly_tests/uxrestriction/
Duxrestriction_test_receive_call_answer_decline.py42 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/
Dmedia_test_device_sync_after_hu_start.py30 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)
Dmedia_test_play_status_after_reboot.py30 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/
Ddialer_test_page_refresh.py48 self.discoverer.mbs.pressHome()
57 self.discoverer.mbs.pressHome()
59 self.discoverer.mbs.openDialPad()
60 stored_number = self.discoverer.mbs.getNumberInDialPad()
Ddialer_test_decline_incoming_call.py53 self.discoverer.mbs.hasUIElementWithText(constants.DECLINE_CALL_TEXT),
57 self.discoverer.mbs.clickUIElementWithText(constants.DECLINE_CALL_TEXT)
62 self.discoverer.mbs.isOngoingCallDisplayedOnHome(),
Ddialer_test_contact_test.py50 contactToCall = super.discoverer.mbs.getFirstContactFromContactList()
53 super.discoverer.mbs.callContact(contactToCall)
/platform_testing/tests/bettertogether/quickstart/performance_test/
Dnearby_connection_wrapper.py41 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 …]
Dquick_start_stress_test.py73 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 …]
Desim_transfer_stress_test.py104 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),
Dnearby_share_stress_test.py87 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/
Dnearby_connection_wrapper.py41 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/
Dnearbyconnections_function_test.py45 self.discoverer.nearby3p.getLocalEndpointId()
51 self.discoverer,
53 self.discoverer.nearby3p,
111 '01_source_device_serial': self.discoverer.serial,
114 self.discoverer
Dbeto_cq_function_group_test.py89 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
Dfunction_test_actor_base.py29 discoverer: android_device.AndroidDevice,
34 self.discoverer: android_device.AndroidDevice = discoverer
Dbt_multiplex_function_test_actor.py53 self.discoverer,
55 self.discoverer.nearby2,
77 self.discoverer,
79 self.discoverer.nearby,
Dfixed_wifi_medium_function_test_actor.py41 self.discoverer,
43 self.discoverer.nearby,
96 self.discoverer, wifi_ssid, wifi_password
98 self.discoverer.log.info(

123