HomeSort by relevance Sort by last modified time
    Searched defs:SystemProperties (Results 51 - 75 of 146) sorted by null

1 23 4 5 6

  /packages/apps/Settings/tests/robotests/src/com/android/settings/development/
ShowLayoutBoundsPreferenceControllerTest.java 23 import android.os.SystemProperties;
61 SystemProperties.getBoolean(View.DEBUG_LAYOUT_PROPERTY, false /* default */);
71 SystemProperties.getBoolean(View.DEBUG_LAYOUT_PROPERTY, false /* default */);
78 SystemProperties.set(View.DEBUG_LAYOUT_PROPERTY, Boolean.toString(true));
86 SystemProperties.set(View.DEBUG_LAYOUT_PROPERTY, Boolean.toString(false));
97 SystemProperties.getBoolean(View.DEBUG_LAYOUT_PROPERTY, false /* default */);
StrictModePreferenceControllerTest.java 25 import android.os.SystemProperties;
80 SystemProperties.set(StrictMode.VISUAL_PROPERTY, Boolean.toString(false));
88 SystemProperties.set(StrictMode.VISUAL_PROPERTY, Boolean.toString(true));
97 final boolean isEnabled = SystemProperties.getBoolean(StrictMode.VISUAL_PROPERTY,
BluetoothMaxConnectedAudioDevicesPreferenceControllerTest.java 26 import android.os.SystemProperties;
96 assertThat(SystemProperties.get(MAX_CONNECTED_AUDIO_DEVICES_PROPERTY)).isEmpty();
98 assertThat(SystemProperties.getInt(MAX_CONNECTED_AUDIO_DEVICES_PROPERTY,
112 final String currentValue = SystemProperties.get(MAX_CONNECTED_AUDIO_DEVICES_PROPERTY);
121 SystemProperties.set(MAX_CONNECTED_AUDIO_DEVICES_PROPERTY, propertyValue);
128 assertThat(SystemProperties.get(MAX_CONNECTED_AUDIO_DEVICES_PROPERTY))
135 SystemProperties.set(MAX_CONNECTED_AUDIO_DEVICES_PROPERTY, "garbage");
142 assertThat(SystemProperties.get(MAX_CONNECTED_AUDIO_DEVICES_PROPERTY)).isEmpty();
154 assertThat(SystemProperties.get(MAX_CONNECTED_AUDIO_DEVICES_PROPERTY)).isEmpty();
164 SystemProperties.set(MAX_CONNECTED_AUDIO_DEVICES_PROPERTY, initialValue)
    [all...]
ClearAdbKeysPreferenceControllerTest.java 31 import android.os.SystemProperties;
82 SystemProperties.set(RO_ADB_SECURE_PROPERTY_KEY, Boolean.toString(true));
89 SystemProperties.set(RO_ADB_SECURE_PROPERTY_KEY, Boolean.toString(false));
96 SystemProperties.set(RO_ADB_SECURE_PROPERTY_KEY, Boolean.toString(true));
107 SystemProperties.set(RO_ADB_SECURE_PROPERTY_KEY, Boolean.toString(true));
120 SystemProperties.set(RO_ADB_SECURE_PROPERTY_KEY, Boolean.toString(true));
131 SystemProperties.set(RO_ADB_SECURE_PROPERTY_KEY, Boolean.toString(true));
145 SystemProperties.set(RO_ADB_SECURE_PROPERTY_KEY, Boolean.toString(true));
155 SystemProperties.set(RO_ADB_SECURE_PROPERTY_KEY, Boolean.toString(true));
  /packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/firmwareversion/
BasebandVersionDialogControllerTest.java 28 import android.os.SystemProperties;
74 SystemProperties.set(BASEBAND_PROPERTY, text);
  /frameworks/base/core/java/android/os/
SystemProperties.java 40 public class SystemProperties {
41 private static final String TAG = "SystemProperties";
214 Log.wtf(TAG, "Exception in SystemProperties change callback", t);
229 private SystemProperties() {
SystemService.java 50 SystemProperties.addChangeCallback(new Runnable() {
62 SystemProperties.set("ctl.start", name);
67 SystemProperties.set("ctl.stop", name);
72 SystemProperties.set("ctl.restart", name);
79 final String rawState = SystemProperties.get("init.svc." + service);
Trace.java 127 // SystemProperties.addChangeCallback currently have a negative priority, while
129 SystemProperties.addChangeCallback(() -> {
  /frameworks/base/core/java/android/webkit/
WebViewDelegate.java 30 import android.os.SystemProperties;
62 SystemProperties.addChangeCallback(new Runnable() {
WebViewLibraryLoader.java 27 import android.os.SystemProperties;
218 SystemProperties.getLong(WebViewFactory.CHROMIUM_WEBVIEW_VMSIZE_SIZE_PROPERTY,
351 SystemProperties.set(WebViewFactory.CHROMIUM_WEBVIEW_VMSIZE_SIZE_PROPERTY,
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/development/
AbstractLogdSizePreferenceController.java 21 import android.os.SystemProperties;
94 String defaultValue = SystemProperties.get(SELECT_LOGD_DEFAULT_SIZE_PROPERTY);
96 if (SystemProperties.get("ro.config.low_ram").equals("true")) {
107 String currentTag = SystemProperties.get(SELECT_LOGD_TAG_PROPERTY);
108 String currentValue = SystemProperties.get(SELECT_LOGD_SIZE_PROPERTY);
123 if (SystemProperties.get("ro.config.low_ram").equals("true")) {
146 String currentTag = SystemProperties.get(SELECT_LOGD_TAG_PROPERTY);
159 String snetValue = SystemProperties.get(SELECT_LOGD_SNET_TAG_PROPERTY);
161 snetValue = SystemProperties.get(SELECT_LOGD_RUNTIME_SNET_TAG_PROPERTY);
163 SystemProperties.set(SELECT_LOGD_SNET_TAG_PROPERTY, DEFAULT_SNET_TAG)
    [all...]
AbstractLogpersistPreferenceController.java 24 import android.os.SystemProperties;
78 return TextUtils.equals(SystemProperties.get("ro.debuggable", "0"), "1");
124 = SystemProperties.get(ACTUAL_LOGPERSIST_PROPERTY_ENABLE);
141 String currentValue = SystemProperties.get(ACTUAL_LOGPERSIST_PROPERTY);
145 String currentBuffers = SystemProperties.get(ACTUAL_LOGPERSIST_PROPERTY_BUFFER);
178 SystemProperties.set(ACTUAL_LOGPERSIST_PROPERTY, SELECT_LOGPERSIST_PROPERTY_CLEAR);
185 SystemProperties.set(SELECT_LOGPERSIST_PROPERTY_BUFFER, "");
187 SystemProperties.set(ACTUAL_LOGPERSIST_PROPERTY_BUFFER, "");
188 SystemProperties.set(SELECT_LOGPERSIST_PROPERTY, "");
189 SystemProperties.set(ACTUAL_LOGPERSIST_PROPERTY
    [all...]
  /frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/development/
LogdSizePreferenceControllerTest.java 42 import android.os.SystemProperties;
95 SystemProperties.set(LOW_RAM_CONFIG_PROPERTY_KEY, "true");
102 SystemProperties.set(
105 SystemProperties.set(
117 final String tag = SystemProperties.get(SELECT_LOGD_TAG_PROPERTY);
118 final String logSize = SystemProperties.get(SELECT_LOGD_SIZE_PROPERTY);
119 final String snetTag = SystemProperties.get(SELECT_LOGD_SNET_TAG_PROPERTY);
130 final String tag = SystemProperties.get(SELECT_LOGD_TAG_PROPERTY);
131 final String logSize = SystemProperties.get(SELECT_LOGD_SIZE_PROPERTY);
132 final String snetTag = SystemProperties.get(SELECT_LOGD_SNET_TAG_PROPERTY)
    [all...]
  /frameworks/base/services/core/java/com/android/server/am/
GlobalSettingsToPropertiesMapper.java 23 import android.os.SystemProperties;
115 return SystemProperties.get(key);
120 SystemProperties.set(key, value);
  /packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
AdapterServiceTest.java 39 import android.os.SystemProperties;
424 SystemProperties.get(AdapterService.BLUETOOTH_BTSNOOP_ENABLE_PROPERTY, "");
425 SystemProperties.set(AdapterService.BLUETOOTH_BTSNOOP_ENABLE_PROPERTY, "false");
431 SystemProperties.getBoolean(AdapterService.BLUETOOTH_BTSNOOP_ENABLE_PROPERTY,
434 SystemProperties.set(AdapterService.BLUETOOTH_BTSNOOP_ENABLE_PROPERTY, "true");
464 SystemProperties.set(AdapterService.BLUETOOTH_BTSNOOP_ENABLE_PROPERTY, snoopSetting);
  /frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
UtilsTest.java 38 import android.os.SystemProperties;
163 SystemProperties.set(STORAGE_MANAGER_SHOW_OPT_IN_PROPERTY, "false");
  /frameworks/base/services/core/java/com/android/server/display/
DisplayTransformManager.java 25 import android.os.SystemProperties;
237 return SystemProperties.getInt(PERSISTENT_PROPERTY_DISPLAY_COLOR,
274 SystemProperties.set(PERSISTENT_PROPERTY_SATURATION, Float.toString(saturation));
294 SystemProperties.set(PERSISTENT_PROPERTY_DISPLAY_COLOR, Integer.toString(color));
  /packages/apps/Settings/src/com/android/settings/development/qstile/
DevelopmentTiles.java 24 import android.os.SystemProperties;
71 return SystemProperties.getBoolean(View.DEBUG_LAYOUT_PROPERTY, false);
76 SystemProperties.set(View.DEBUG_LAYOUT_PROPERTY, isEnabled ? "true" : "false");
87 final String value = SystemProperties.get(ThreadedRenderer.PROFILE_PROPERTY);
93 SystemProperties.set(ThreadedRenderer.PROFILE_PROPERTY, isEnabled ? "visual_bars" : "");
112 SystemProperties.set(Settings.Global.DEVELOPMENT_FORCE_RTL, isEnabled ? "1" : "0");
  /packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/
AutomaticStorageManagementSwitchPreferenceControllerTest.java 32 import android.os.SystemProperties;
142 SystemProperties.set(
166 SystemProperties.set(
179 SystemProperties.set(
  /frameworks/base/core/java/android/app/admin/
SecurityLog.java 24 import android.os.SystemProperties;
458 SystemProperties.set(PROPERTY_LOGGING_ENABLED, enabled ? "true" : "false");
465 return SystemProperties.getBoolean(PROPERTY_LOGGING_ENABLED, false);
  /frameworks/base/services/core/java/com/android/server/
PersistentDataBlockService.java 26 import android.os.SystemProperties;
103 mDataBlockFile = SystemProperties.get(PERSISTENT_DATA_BLOCK_PROP);
159 SystemProperties.set(OEM_UNLOCK_PROP, enabled ? "1" : "0");
357 SystemProperties.set(OEM_UNLOCK_PROP, enabled ? "1" : "0");
535 String locked = SystemProperties.get(FLASH_LOCK_PROP);
RescueParty.java 28 import android.os.SystemProperties;
75 if (SystemProperties.getBoolean(PROP_ENABLE_RESCUE, false)) {
94 if (SystemProperties.getBoolean(PROP_DISABLE_RESCUE, false)) {
137 return SystemProperties.getInt(PROP_RESCUE_LEVEL, LEVEL_NONE) == LEVEL_FACTORY_RESET;
146 SystemProperties.getInt(PROP_RESCUE_LEVEL, LEVEL_NONE) + 1,
148 SystemProperties.set(PROP_RESCUE_LEVEL, Integer.toString(level));
164 final int level = SystemProperties.getInt(PROP_RESCUE_LEVEL, LEVEL_NONE);
280 return SystemProperties.getInt(PROP_RESCUE_BOOT_COUNT, 0);
285 SystemProperties.set(PROP_RESCUE_BOOT_COUNT, Integer.toString(count));
290 return SystemProperties.getLong(PROP_RESCUE_BOOT_START, 0)
    [all...]
  /frameworks/base/services/core/java/com/android/server/pm/
UserDataPreparer.java 27 import android.os.SystemProperties;
107 SystemProperties.set(propertyName, "true");
  /frameworks/base/services/core/java/com/android/server/hdmi/
HdmiCecLocalDevicePlayback.java 25 import android.os.SystemProperties;
47 SystemProperties.getBoolean(Constants.PROPERTY_WAKE_ON_HOTPLUG, true);
50 SystemProperties.getBoolean(Constants.PROPERTY_SET_MENU_LANGUAGE, false);
90 return SystemProperties.getInt(Constants.PROPERTY_PREFERRED_ADDRESS_PLAYBACK,
98 SystemProperties.set(Constants.PROPERTY_PREFERRED_ADDRESS_PLAYBACK,
206 if (SystemProperties.getBoolean(Constants.PROPERTY_KEEP_AWAKE, true)) {
  /frameworks/base/core/java/android/view/
Choreographer.java 28 import android.os.SystemProperties;
133 private static final boolean USE_VSYNC = SystemProperties.getBoolean(
137 private static final boolean USE_FRAME_TIME = SystemProperties.getBoolean(
142 private static final int SKIPPED_FRAME_WARNING_LIMIT = SystemProperties.getInt(
245 setFPSDivisor(SystemProperties.getInt(ThreadedRenderer.DEBUG_FPS_DIVISOR, 1));
    [all...]

Completed in 577 milliseconds

1 23 4 5 6