d0e7fd36b52f7895dea0545a658cd8538c2fbd6a |
|
22-Oct-2015 |
Cheng-Yi Chiang <cychiang@chromium.org> |
[autotest] browser_facade_adapter: Add facade adapter for browser facade This will be used in the server side test to access browser and tabs. BUG=chromium:546490 TEST=not used yet Change-Id: Ifbf36ed0580921efad0d647ffc38c5c91eb1d8c7 Reviewed-on: https://chromium-review.googlesource.com/308082 Commit-Ready: Cheng-Yi Chiang <cychiang@chromium.org> Tested-by: Cheng-Yi Chiang <cychiang@chromium.org> Reviewed-by: Wai-Hong Tam <waihong@chromium.org> Reviewed-by: Rohit Makasana <rohitbm@chromium.org>
/external/autotest/server/cros/multimedia/remote_facade_factory.py
|
58e5dd3b600081607d5ecb514d9bf3ebea83c533 |
|
17-Oct-2015 |
Roshan Pius <rpius@google.com> |
autotest: Create RpcServerTracker for Host objects. Create a generic RpcServerTracker which can be used by any host object to start and manage RPC server connections. The RPCServerTracker uses the associated host object to start the required XML/JSON RPC server on the DUT and forwards the port from the AutoTest Server to Brillo/Cros DUT. This CL basically ports over most of the RPC server connection management code from CrosHost into a separate class so that it can be reused by AdbHost as well. AdbHost modifies the |host.rpc_port_forward/disconnect| method to forward the RPC connection from the AdbHost to Brillo DUT using 'adb forward'. Related Change: 1. Add a |verbose| flag to the |host.run| method in AdbHost so that we can reuse the |host.run_background| method already implemented by SshHost. BUG=brillo:24338381 TEST=Ran network_WiFi_SimpleConnect.wifi_check11g on both dragonboard and cros DUT. `test_that $host --board=panther network_WiFi_SimpleConnect.wifi_check11g` Change-Id: I7e44cbd5897871f01f320cb57377a28491571478 Reviewed-on: https://chromium-review.googlesource.com/307163 Commit-Ready: Roshan Pius <rpius@chromium.org> Tested-by: Roshan Pius <rpius@chromium.org> Reviewed-by: Roshan Pius <rpius@chromium.org>
/external/autotest/server/cros/multimedia/remote_facade_factory.py
|
50dd4f7c20b50157410a7c81fc87eae68f9e4b5f |
|
06-Oct-2015 |
Cheng-Yi Chiang <cychiang@chromium.org> |
[autotest] multimedia_xmlrpc_server: Add log file BUG=None TEST=Run audio_AudioBasicHeadphone test and see /var/log/multimedia_xmlrpc_server.log on Cros device. Change-Id: I98d9e2d16629ac524895e3577e40522403a276dc Reviewed-on: https://chromium-review.googlesource.com/304033 Commit-Ready: Cheng-Yi Chiang <cychiang@chromium.org> Tested-by: Cheng-Yi Chiang <cychiang@chromium.org> Reviewed-by: Wai-Hong Tam <waihong@chromium.org>
/external/autotest/server/cros/multimedia/remote_facade_factory.py
|
7a26451c0440319ffd0c050949ece599e5f5dbab |
|
31-Aug-2015 |
Selina Liu <hsuying@google.com> |
remote_facade_factory: Add create_usb_facade BUG=chromium:514541 TEST=not used yet. Change-Id: I7243ba7977b1a8eb60cd643c774d0d7ab03be356 Reviewed-on: https://chromium-review.googlesource.com/295994 Commit-Ready: Cheng-Yi Chiang <cychiang@chromium.org> Tested-by: Cheng-Yi Chiang <cychiang@chromium.org> Reviewed-by: Cheng-Yi Chiang <cychiang@chromium.org>
/external/autotest/server/cros/multimedia/remote_facade_factory.py
|
3848e35d3fc6f8618c86bb3437aff3464497122e |
|
08-Sep-2015 |
Cheng-Yi Chiang <cychiang@chromium.org> |
[autotest] multimedia: Use system_facade_native in remote_facade_factory remote_facade_factory provides a create_system_facade method to create an instance of SystemFacadeRemoteAdapter to let server side test access system functions on Cros device. BUG=chrome-os-partner:43942 TEST=not used yet Change-Id: I5467ecd1febe401fb07d7d9b9f29e5194578a671 Reviewed-on: https://chromium-review.googlesource.com/297879 Commit-Ready: Cheng-Yi Chiang <cychiang@chromium.org> Tested-by: Cheng-Yi Chiang <cychiang@chromium.org> Reviewed-by: Wai-Hong Tam <waihong@chromium.org>
/external/autotest/server/cros/multimedia/remote_facade_factory.py
|
e0b08e6170b57f90262726eb7f04e059cb47419c |
|
11-Aug-2015 |
Hsinyu Chao <hychao@chromium.org> |
Revert "autotest: move constants to common_lib" This reverts commit a4ac7a8f67d61f8a616724f9426dbc0fce71ce69. BUG=chromium:519353 Change-Id: Iec2873ad22b5bb90e46a9e5b323f9626a2c07d9b Reviewed-on: https://chromium-review.googlesource.com/292347 Reviewed-by: Hsinyu Chao <hychao@chromium.org> Commit-Queue: Hsinyu Chao <hychao@chromium.org> Tested-by: Hsinyu Chao <hychao@chromium.org> Reviewed-by: Sonny Rao <sonnyrao@chromium.org> Commit-Queue: Sonny Rao <sonnyrao@chromium.org> Tested-by: Sonny Rao <sonnyrao@chromium.org>
/external/autotest/server/cros/multimedia/remote_facade_factory.py
|
a4ac7a8f67d61f8a616724f9426dbc0fce71ce69 |
|
06-Aug-2015 |
Eric Caruso <ejcaruso@chromium.org> |
autotest: move constants to common_lib This file gets imported from lots of server-side tests and infrastructure so it shouldn't be hiding in client/cros. This moves the file and fixes all imports. BUG=chromium:485834 TEST=run many tests, make sure there are no problems importing constants Change-Id: I5c2b2a0bef6ebc998e62f40162a6ec9cc4436480 Reviewed-on: https://chromium-review.googlesource.com/291302 Trybot-Ready: Eric Caruso <ejcaruso@chromium.org> Commit-Queue: Eric Caruso <ejcaruso@chromium.org> Tested-by: Eric Caruso <ejcaruso@chromium.org> Reviewed-by: Chris Sosa <sosa@google.com>
/external/autotest/server/cros/multimedia/remote_facade_factory.py
|
1a5fd392b7024f2b4ccb54e51f618824a569caf5 |
|
09-Jun-2015 |
Kalin Stoyanov <kalin@chromium.org> |
Add audio-board test for reboot case Audio will play, then DUT reboot, then play again and record. Check recorded file matches the original golden file. BUG=None TEST=Tested squawks and peppy in lab. Change-Id: I2126013e4267c1ec7425e14203df431c58c20356 Reviewed-on: https://chromium-review.googlesource.com/276530 Reviewed-by: Cheng-Yi Chiang <cychiang@chromium.org> Commit-Queue: Kalin Stoyanov <kalin@chromium.org> Tested-by: Kalin Stoyanov <kalin@chromium.org>
/external/autotest/server/cros/multimedia/remote_facade_factory.py
|
aa3df9bc937b5967fe0dc031e437652531c9613a |
|
21-Apr-2015 |
Hung-ying Tyan <tyanh@chromium.org> |
Chameleon: raise Exception when an RPC call fails Recently some RPC calls (e.g., set_mirrored(), load_calibration_image() etc) failed with DevToolsClientUrlError but they are hidden in the return value instead of a proper exception being raised. It makes it hard to triage the bugs. This commit checks if a traceback string is returned from an RPC call and raises an exception when it occurs. BUG=chromium:478619,chromium:478870,chromium:478821,chromium:478793,chromium:478667 etc TEST=ran display_Resolution and failed set_mirrored() deliberately Change-Id: If713253f6085bab77b70d319507ef18328b38f0f Reviewed-on: https://chromium-review.googlesource.com/266680 Tested-by: Hung-ying Tyan <tyanh@chromium.org> Reviewed-by: Wai-Hong Tam <waihong@chromium.org> Commit-Queue: Hung-ying Tyan <tyanh@google.com>
/external/autotest/server/cros/multimedia/remote_facade_factory.py
|
d94feb65407b07bd2c17ffd94cfcace57f9d0650 |
|
17-Feb-2015 |
Ilja H. Friedel <ihf@chromium.org> |
Convert chameleon tests to Freon. TEST=Ran on X and Freon variant of parrot test_that --args "chameleon_host=$CHAMELEON_IP" $DUT_IP suite:chameleon_hdmi BUG=chromium:423527, chromium:451787, chromium:451800 CQ-DEPEND=CL:242131 Change-Id: I9f145c387a22529b369e6017894ae20c5f6f429f Reviewed-on: https://chromium-review.googlesource.com/250674 Tested-by: Ilja Friedel <ihf@chromium.org> Reviewed-by: Hung-ying Tyan <tyanh@chromium.org> Commit-Queue: Ilja Friedel <ihf@chromium.org>
/external/autotest/server/cros/multimedia/remote_facade_factory.py
|
73c6e1e9d092f8a03a896cb08340af12575ee4b0 |
|
18-Jan-2015 |
Cheng-Yi Chiang <cychiang@chromium.org> |
audio: Simplify the path in AudioTestData and playback API Now AudioTestData only maintains one path. Also simplify the API provided by multimedia server to play an audio file. To play an audio file, the multimedia client will do 1. Send file to multimedia server using CrosHost send_file method. 2. Send data path and format to multimedia server so server knows what and how to play. BUG=chromium:437678 TEST=run audio_AudioBasicHeadphone and audio_AudioBasicExternalMicrophone test Change-Id: I1eb8bbf701b09eb0b534ff3b311cad55f88a710d Reviewed-on: https://chromium-review.googlesource.com/241404 Reviewed-by: Wai-Hong Tam <waihong@chromium.org> Tested-by: Cheng-Yi Chiang <cychiang@chromium.org> Commit-Queue: Cheng-Yi Chiang <cychiang@chromium.org>
/external/autotest/server/cros/multimedia/remote_facade_factory.py
|
3b55cc3f65896c510fc44087b075a54a3787c7d6 |
|
22-Jan-2015 |
Tom Wai-Hong Tam <waihong@chromium.org> |
Chameleon: Not clear state when starting telemetry in the intermediate of test By default, starting telemetry clears the previous state. It makes some settings, like mirrored/extended mode, got cleared. Some tests, like verifying mirrored mode consistency, fails. This change only clears state in the beginning of the test and does not do it in the intermediate of test. BUG=chromium:441465 TEST=Ran display_HotPlugAtBoot.mirrored passed on peach_pi. Change-Id: Iaaae950dd396d25c69c1c19ca8c17725325ba9f3 Reviewed-on: https://chromium-review.googlesource.com/242405 Tested-by: Wai-Hong Tam <waihong@chromium.org> Reviewed-by: Hung-ying Tyan <tyanh@chromium.org> Commit-Queue: Wai-Hong Tam <waihong@chromium.org>
/external/autotest/server/cros/multimedia/remote_facade_factory.py
|
40484b5a1ad6f742f803f0d8b88f87f53ba8dac9 |
|
06-Dec-2014 |
Tom Wai-Hong Tam <waihong@chromium.org> |
Chameleon: Don't postpone connecting to RPC server to the first call The original code postpones connecting to RPC server to the first RPC call. It makes debugging hard as the log message is not in the order of the test flow. So don't do that. BUG=chromium:429862 TEST=Ran display_HotPlugAtBoot test passed. Change-Id: I74f12be4edaf188cf55e2df0fceeafcc43f13f20 Reviewed-on: https://chromium-review.googlesource.com/233712 Tested-by: Wai-Hong Tam <waihong@chromium.org> Reviewed-by: Cheng-Yi Chiang <cychiang@chromium.org> Commit-Queue: Wai-Hong Tam <waihong@chromium.org>
/external/autotest/server/cros/multimedia/remote_facade_factory.py
|
e88a818f0bc745083457df96c65e73746f653863 |
|
27-Nov-2014 |
Tom Wai-Hong Tam <waihong@chromium.org> |
Auto-reconnect the facade xmlrpc server when the connection is lost This change enables auto-reconnect to the facade xmlrpc server. With this feature, we don't need to wrap the reboot method to set up the connection. Tests now can use any other reboot methods for reboot. BUG=chromium:429862 TEST=Ran display_Resolution.reboot and display_HotPlugAtBoot passed. Change-Id: I384615f8808fb9e9e1978a9739104f120231f96b Reviewed-on: https://chromium-review.googlesource.com/232148 Reviewed-by: Wai-Hong Tam <waihong@chromium.org> Commit-Queue: Wai-Hong Tam <waihong@chromium.org> Tested-by: Wai-Hong Tam <waihong@chromium.org>
/external/autotest/server/cros/multimedia/remote_facade_factory.py
|
d01505bfb71a180bae4b6b1ceb528ee7be511541 |
|
03-Nov-2014 |
Tom Wai-Hong Tam <waihong@chromium.org> |
Chameleon: Move display and audio libraries to multimedia directory These libraries are not related to chameleon. Move them out from chameleon directory to the new multimedia directory. BUG=chromium:405143 TEST=Ran the chameleon_hdmi suite and verified it did not break the tests. Change-Id: I30a413f08206efa0605fbc0d91473edf0f897a1f Reviewed-on: https://chromium-review.googlesource.com/227193 Reviewed-by: Wai-Hong Tam <waihong@chromium.org> Tested-by: Wai-Hong Tam <waihong@chromium.org> Commit-Queue: Wai-Hong Tam <waihong@chromium.org>
/external/autotest/server/cros/multimedia/remote_facade_factory.py
|