| OLD | NEW | 
|    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  Loading... | 
|  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 ] | 
| OLD | NEW |