Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(204)

Side by Side Diff: client/site_tests/network_3GDormancyDance/network_3GDormancyDance.py

Issue 6479003: Move site_backchannel and site_tpm module into client/cros dir. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/autotest.git@master
Patch Set: patch Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 from autotest_lib.client.bin import site_backchannel, test, utils 5 from autotest_lib.client.bin import test, utils
6 from autotest_lib.client.common_lib import error 6 from autotest_lib.client.common_lib import error
7 7
8 import dbus, dbus.mainloop.glib, gobject 8 import dbus, dbus.mainloop.glib, gobject
9 import glib 9 import glib
10 10
11 from autotest_lib.client.cros import flimflam_test_path 11 from autotest_lib.client.cros import flimflam_test_path
12 import flimflam 12 import flimflam
13 13
14 class network_3GDormancyDance(test.test): 14 class network_3GDormancyDance(test.test):
15 version = 1 15 version = 1
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 self.device = self.flim.FindElementByPropertySubstring('Device', 81 self.device = self.flim.FindElementByPropertySubstring('Device',
82 'Interface', 82 'Interface',
83 name) 83 name)
84 self.bus.add_signal_receiver(self.PropertyChanged, 84 self.bus.add_signal_receiver(self.PropertyChanged,
85 signal_name='PropertyChanged') 85 signal_name='PropertyChanged')
86 self.bus.add_signal_receiver(self.DormancyStatus, 86 self.bus.add_signal_receiver(self.DormancyStatus,
87 signal_name='DormancyStatus') 87 signal_name='DormancyStatus')
88 self.mainloop = gobject.MainLoop() 88 self.mainloop = gobject.MainLoop()
89 glib.idle_add(self.begin) 89 glib.idle_add(self.begin)
90 self.mainloop.run() 90 self.mainloop.run()
OLDNEW
« no previous file with comments | « client/site_tests/hardware_TPM/hardware_TPM.py ('k') | client/site_tests/network_3GFailedConnect/network_3GFailedConnect.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698