History log of /external/autotest/client/cros/audio/cras_dbus_utils.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
cc69be62a7cdd985e91bc0487c304232b6024f40 01-Nov-2015 Cheng-Yi Chiang <cychiang@chromium.org> [autotest] cras_dbus_utils: Ignore redundant NodesChanged signal

Compares GetNodes result when receiving NodesChanged signal.
When there is no nodes change which affects user, ignore NodesChanged
signal.

BUG=chromium:547100
TEST=run audio_AudioBasicBluetoothPlayback.suspend test on samus and link

Change-Id: I6714a76e734e43c9929e1a311394a1ecca210d65
Reviewed-on: https://chromium-review.googlesource.com/310062
Commit-Ready: Cheng-Yi Chiang <cychiang@chromium.org>
Tested-by: Cheng-Yi Chiang <cychiang@chromium.org>
Reviewed-by: Kalin Stoyanov <kalin@chromium.org>
/external/autotest/client/cros/audio/cras_dbus_utils.py
8161feb37bbc4c172809b774256bb682ec1292a4 20-Oct-2015 Cheng-Yi Chiang <cychiang@chromium.org> [autotest] cras_dbus_utils: Add wait_for_unexpected_nodes_changed

Add a method to wait for NodesChanged signal in a blocking call.

BUG=chromium:542964
TEST=not used yet

Change-Id: I567e8e3f9bd9895cdd04cec33a6ae5670d1441a2
Reviewed-on: https://chromium-review.googlesource.com/307058
Commit-Ready: Cheng-Yi Chiang <cychiang@chromium.org>
Tested-by: Cheng-Yi Chiang <cychiang@chromium.org>
Reviewed-by: Kalin Stoyanov <kalin@chromium.org>
/external/autotest/client/cros/audio/cras_dbus_utils.py
1cf1bce04c767545da4e79cddc932b2d967f9aef 20-Oct-2015 Cheng-Yi Chiang <cychiang@chromium.org> [autotest] cras_dbus_utils: Add CrasDBusBackgroundSignalCounter

Add CrasDBusBackgroundSignalCounter to count number of DBus signal sent
from Cras.

BUG=chromium:542964
TEST=Not used yet

Change-Id: I408d5134ab355ec6a508fbf6343d0707563fdc92
Reviewed-on: https://chromium-review.googlesource.com/307056
Commit-Ready: Cheng-Yi Chiang <cychiang@chromium.org>
Tested-by: Cheng-Yi Chiang <cychiang@chromium.org>
Reviewed-by: Hsinyu Chao <hychao@chromium.org>
/external/autotest/client/cros/audio/cras_dbus_utils.py
740c0f8d8932e7a8f08fa69f2d09aa143ee65d86 20-Oct-2015 Cheng-Yi Chiang <cychiang@chromium.org> [autotest] cras_dbus_utils: Add a subclass CrasDBusSignalListener

CrasDBusSignalListener subclasses CrasDBusMonitor. CrasDBusMonitor will
be subclassed by other classes to provide more functions related to Cras
DBus signal.

BUG=chromium:542964
TEST=run audio_AudioBasicUSBPlayback test

Change-Id: I81793f99cbd5c7b330cf0c207fe4e374b7220e5e
Reviewed-on: https://chromium-review.googlesource.com/307055
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/client/cros/audio/cras_dbus_utils.py
178ac179d206e6671291157293d24a6559fe5ba5 20-Oct-2015 Cheng-Yi Chiang <cychiang@chromium.org> [autotest] cras_dbus_utils: Let CrasDBusMonitor acquire a new dbus.SystemBus

Use private=True to acquire a new dbus.SystemBus object. This object
will have its main loop set to gobject main loop.

BUG=chromium:542964
TEST=run audio_AudioBasicUSBPlayback test

Change-Id: I2289a1973465d403f7ae8e81ac6ab2688028c2c6
Reviewed-on: https://chromium-review.googlesource.com/307054
Commit-Ready: Cheng-Yi Chiang <cychiang@chromium.org>
Tested-by: Cheng-Yi Chiang <cychiang@chromium.org>
Reviewed-by: Kalin Stoyanov <kalin@chromium.org>
/external/autotest/client/cros/audio/cras_dbus_utils.py
d142de826fc454540ced5db2ba6e6cda6884733a 20-Oct-2015 Cheng-Yi Chiang <cychiang@chromium.org> [autotest] cras_dbus_utils: Move DBus related class to cras_dbus_utils

Move DBus related class from cras_utils to cras_dbus_utils.

BUG=chromium:542964
TEST=run audio_AudioBasicUSBPlayback test

Change-Id: I0167df379e7f66fa75b42f62f925ac8b30cf60a3
Reviewed-on: https://chromium-review.googlesource.com/307053
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/client/cros/audio/cras_dbus_utils.py