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

Side by Side Diff: build/android/pylib/device_settings.py

Issue 1314313004: [Android][telemetry] Update pylib imports for modules that moved into devil. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « build/android/pylib/constants/__init__.py ('k') | build/android/pylib/flag_changer.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium 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 import logging 5 import logging
6 6
7 from devil.android import device_errors
7 from pylib import constants 8 from pylib import constants
8 from pylib import content_settings 9 from pylib import content_settings
9 from pylib.device import device_errors
10 10
11 _LOCK_SCREEN_SETTINGS_PATH = '/data/system/locksettings.db' 11 _LOCK_SCREEN_SETTINGS_PATH = '/data/system/locksettings.db'
12 _ALTERNATE_LOCK_SCREEN_SETTINGS_PATH = ( 12 _ALTERNATE_LOCK_SCREEN_SETTINGS_PATH = (
13 '/data/data/com.android.providers.settings/databases/settings.db') 13 '/data/data/com.android.providers.settings/databases/settings.db')
14 PASSWORD_QUALITY_UNSPECIFIED = '0' 14 PASSWORD_QUALITY_UNSPECIFIED = '0'
15 15
16 16
17 def ConfigureContentSettings(device, desired_settings): 17 def ConfigureContentSettings(device, desired_settings):
18 """Configures device content setings from a list. 18 """Configures device content setings from a list.
19 19
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 ('user_rotation', 0), 189 ('user_rotation', 0),
190 ]), 190 ]),
191 ] 191 ]
192 192
193 NETWORK_DISABLED_SETTINGS = [ 193 NETWORK_DISABLED_SETTINGS = [
194 ('settings/global', [ 194 ('settings/global', [
195 ('airplane_mode_on', 1), 195 ('airplane_mode_on', 1),
196 ('wifi_on', 0), 196 ('wifi_on', 0),
197 ]), 197 ]),
198 ] 198 ]
OLDNEW
« no previous file with comments | « build/android/pylib/constants/__init__.py ('k') | build/android/pylib/flag_changer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698