Home
last modified time | relevance | path

Searched refs:suspend_changed (Results 1 – 5 of 5) sorted by relevance

/external/adhd/cras/src/server/
Dcras_observer.c29 struct cras_alert *suspend_changed; member
242 if (client->ops.suspend_changed) in suspend_changed_alert()
243 client->ops.suspend_changed(client->context, in suspend_changed_alert()
372 CRAS_OBSERVER_SET_ALERT(suspend_changed, NULL, 0); in cras_observer_server_init()
405 cras_alert_destroy(g_observer->alerts.suspend_changed); in cras_observer_server_free()
569 cras_alert_pending_data(g_observer->alerts.suspend_changed, &data, in cras_observer_notify_suspend_changed()
Dcras_iodev_list.c1066 observer_ops.suspend_changed = sys_suspend_change; in cras_iodev_list_init()
/external/adhd/cras/src/common/
Dcras_observer_ops.h45 void (*suspend_changed)(void *context, int suspended); member
/external/adhd/cras/src/tests/
Diodev_list_unittest.cc332 observer_ops->suspend_changed(NULL, 1); in TEST_F()
355 observer_ops->suspend_changed(NULL, 0); in TEST_F()
468 observer_ops->suspend_changed(NULL, 1); in TEST_F()
470 observer_ops->suspend_changed(NULL, 0); in TEST_F()
484 observer_ops->suspend_changed(NULL, 1); in TEST_F()
486 observer_ops->suspend_changed(NULL, 0); in TEST_F()
1816 observer_ops->suspend_changed(NULL, 1); in TEST_F()
1831 observer_ops->suspend_changed(NULL, 0); in TEST_F()
1975 observer_ops->suspend_changed(NULL, 1); in TEST_F()
1984 observer_ops->suspend_changed(NULL, 0); in TEST_F()
[all …]
Dobserver_unittest.cc252 cras_alert_add_callback_map[g_observer->alerts.suspend_changed]); in SetUp()
554 EXPECT_EQ(cras_alert_pending_alert_value, g_observer->alerts.suspend_changed); in TEST_F()
562 EXPECT_EQ(cras_alert_pending_alert_value, g_observer->alerts.suspend_changed); in TEST_F()