Home
last modified time | relevance | path

Searched refs:cloud_console_client (Results 1 – 3 of 3) sorted by relevance

/external/autotest/site_utils/
Dcloud_console_client_unittest.py13 from autotest_lib.site_utils import cloud_console_client
25 self._stubs.Set(cloud_console_client, '_create_pubsub_client',
34 self._console_client = cloud_console_client.PubSubBasedClient()
43 console_client = cloud_console_client.PubSubBasedClient()
47 cloud_console_client.LEGACY_TEST_OFFLOAD_MESSAGE), msg['data'])
49 cloud_console_client.CURRENT_MESSAGE_VERSION,
50 msg['attributes'][cloud_console_client.LEGACY_ATTR_VERSION])
53 msg['attributes'][cloud_console_client.LEGACY_ATTR_MOBLAB_MAC]
57 msg['attributes'][cloud_console_client.LEGACY_ATTR_MOBLAB_ID])
60 msg['attributes'][cloud_console_client.LEGACY_ATTR_GCS_URI])
[all …]
Dgs_offloader_unittest.py29 from autotest_lib.site_utils import cloud_console_client
31 cloud_console_client = None variable
113 if cloud_console_client:
114 self.mox.StubOutWithMock(cloud_console_client,
117 cloud_console_client.is_cloud_notification_enabled().AndReturn(True)
120 mox.IsA(cloud_console_client.PubSubBasedClient)).AndReturn(
123 if cloud_console_client:
124 cloud_console_client.is_cloud_notification_enabled().AndReturn(
263 if not cloud_console_client:
267 cloud_console_client.PubSubBasedClient())
Dgs_offloader.py44 from autotest_lib.site_utils import cloud_console_client
46 cloud_console_client = None variable
1111 if (cloud_console_client and
1112 cloud_console_client.is_cloud_notification_enabled()):
1113 console_client = cloud_console_client.PubSubBasedClient()