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

1 2 3 4 5 6

  /cts/common/device-side/device-info/src_stub/android/os/
SystemProperties.java 3 * frameworks/base/core/java/android/os/SystemProperties.java
7 public class SystemProperties {
  /packages/apps/Camera2/src_pd/com/android/camera/util/
SystemProperties.java 19 public final class SystemProperties {
25 private SystemProperties() {
  /frameworks/base/core/tests/systemproperties/src/android/os/
SystemPropertiesTest.java 24 import android.os.SystemProperties;
34 SystemProperties.set(PERSIST_KEY, Long.toString(i));
35 long ret = SystemProperties.getLong(PERSIST_KEY, -1);
43 SystemProperties.set(KEY, Long.toString(i));
44 long ret = SystemProperties.getLong(KEY, -1);
53 SystemProperties.set(KEY, "");
54 value = SystemProperties.get(KEY, "default");
58 SystemProperties.set(KEY, null);
59 value = SystemProperties.get(KEY, "default");
62 SystemProperties.set(KEY, "SA")
    [all...]
  /bionic/libc/system_properties/include/system_properties/
system_properties.h 42 class SystemProperties {
49 // We rely on the static SystemProperties in libc to be placed in .bss and zero initialized.
50 SystemProperties() = default;
52 explicit SystemProperties(bool initialized) : initialized_(initialized) {
55 DISALLOW_COPY_AND_ASSIGN(SystemProperties);
  /frameworks/base/core/tests/coretests/src/android/os/
SystemPropertiesTest.java 22 import android.os.SystemProperties;
32 SystemProperties.set(KEY, "");
33 value = SystemProperties.get(KEY, "default");
36 SystemProperties.set(KEY, "AAA");
37 value = SystemProperties.get(KEY, "default");
40 value = SystemProperties.get(KEY);
43 SystemProperties.set(KEY, "");
44 value = SystemProperties.get(KEY, "default");
47 value = SystemProperties.get(KEY);
  /packages/apps/Messaging/src/com/android/messaging/sms/
SystemProperties.java 22 * Hacky way to call the hidden SystemProperties class API
24 class SystemProperties {
30 final Class systemPropertiesClass = Class.forName("android.os.SystemProperties");
  /packages/apps/Settings/src/com/android/settings/notification/
BootSoundPreferenceController.java 20 import android.os.SystemProperties;
45 preference.setChecked(SystemProperties.getBoolean(PROPERTY_BOOT_SOUNDS, true));
53 SystemProperties.set(PROPERTY_BOOT_SOUNDS, switchPreference.isChecked() ? "1" : "0");
  /frameworks/base/core/tests/coretests/src/android/util/
LogTest.java 22 import android.os.SystemProperties;
43 SystemProperties.set(PROPERTY_TAG, null);
45 String value = SystemProperties.get(PROPERTY_TAG);
57 SystemProperties.set(PROPERTY_TAG, "VERBOSE");
68 SystemProperties.set(PROPERTY_TAG, "DEBUG");
79 SystemProperties.set(PROPERTY_TAG, "INFO");
90 SystemProperties.set(PROPERTY_TAG, "WARN");
101 SystemProperties.set(PROPERTY_TAG, "ERROR");
112 SystemProperties.set(PROPERTY_TAG, "ASSERT");
123 SystemProperties.set(PROPERTY_TAG, "SUPPRESS")
    [all...]
  /frameworks/base/services/core/java/com/android/server/
BinderCallsStatsService.java 21 import android.os.SystemProperties;
39 boolean detailedTrackingEnabled = SystemProperties.getBoolean(
67 SystemProperties.set(PERSIST_SYS_BINDER_CALLS_DETAILED_TRACKING, "1");
72 SystemProperties.set(PERSIST_SYS_BINDER_CALLS_DETAILED_TRACKING, "");
  /frameworks/base/services/core/java/com/android/server/connectivity/
MockableSystemProperties.java 19 import android.os.SystemProperties;
24 return SystemProperties.get(key);
28 return SystemProperties.getInt(key, def);
32 return SystemProperties.getBoolean(key, def);
36 SystemProperties.set(key, value);
  /frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/util/
SystemProperties.java 24 * Mirrors hidden class {@link android.os.SystemProperties} (available since API Level 1).
26 public final class SystemProperties {
39 final Class<?> systemProperties = Class.forName("android.os.SystemProperties");
40 final Method get = systemProperties.getMethod("get", String.class, String.class);
49 private SystemProperties() {
  /frameworks/native/cmds/installd/
system_properties.h 30 class SystemProperties {
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
SystemPropertyService.java 23 return android.os.SystemProperties.get(key, defaultValue);
28 android.os.SystemProperties.set(key, val);
33 return android.os.SystemProperties.getBoolean(key, defaultValue);
38 return android.os.SystemProperties.get(key, defaultValue);
  /packages/apps/Settings/src/com/android/settings/development/
BluetoothAbsoluteVolumePreferenceController.java 20 import android.os.SystemProperties;
50 SystemProperties.set(BLUETOOTH_DISABLE_ABSOLUTE_VOLUME_PROPERTY,
57 final boolean isEnabled = SystemProperties.getBoolean(
65 SystemProperties.set(BLUETOOTH_DISABLE_ABSOLUTE_VOLUME_PROPERTY, "false");
BluetoothDeviceNoNamePreferenceController.java 20 import android.os.SystemProperties;
50 SystemProperties.set(BLUETOOTH_SHOW_DEVICES_WITHOUT_NAMES_PROPERTY,
57 final boolean isEnabled = SystemProperties.getBoolean(
65 SystemProperties.set(BLUETOOTH_SHOW_DEVICES_WITHOUT_NAMES_PROPERTY, "false");
BluetoothSnoopLogPreferenceController.java 20 import android.os.SystemProperties;
48 SystemProperties.set(BLUETOOTH_BTSNOOP_ENABLE_PROPERTY, Boolean.toString(enableBtSnoopLog));
55 final boolean enableBtSnoopLog = SystemProperties.getBoolean(
63 SystemProperties.set(BLUETOOTH_BTSNOOP_ENABLE_PROPERTY, Boolean.toString(false));
ForceGpuRenderingPreferenceController.java 20 import android.os.SystemProperties;
49 SystemProperties.set(HARDWARE_UI_PROPERTY,
57 final boolean isEnabled = SystemProperties.getBoolean(HARDWARE_UI_PROPERTY,
65 SystemProperties.set(HARDWARE_UI_PROPERTY, Boolean.toString(false));
ForceMSAAPreferenceController.java 20 import android.os.SystemProperties;
49 SystemProperties.set(MSAA_PROPERTY,
57 final boolean isEnabled = SystemProperties.getBoolean(MSAA_PROPERTY, false /* default */);
64 SystemProperties.set(MSAA_PROPERTY, Boolean.toString(false));
GpuViewUpdatesPreferenceController.java 20 import android.os.SystemProperties;
46 SystemProperties.set(ThreadedRenderer.DEBUG_DIRTY_REGIONS_PROPERTY,
54 final boolean isEnabled = SystemProperties.getBoolean(
62 SystemProperties.set(ThreadedRenderer.DEBUG_DIRTY_REGIONS_PROPERTY, null);
HardwareLayersUpdatesPreferenceController.java 20 import android.os.SystemProperties;
46 SystemProperties.set(ThreadedRenderer.DEBUG_SHOW_LAYERS_UPDATES_PROPERTY,
54 final boolean isEnabled = SystemProperties.getBoolean(
62 SystemProperties.set(ThreadedRenderer.DEBUG_SHOW_LAYERS_UPDATES_PROPERTY, null);
ShowLayoutBoundsPreferenceController.java 20 import android.os.SystemProperties;
46 SystemProperties.set(View.DEBUG_LAYOUT_PROPERTY,
54 final boolean isEnabled = SystemProperties.getBoolean(View.DEBUG_LAYOUT_PROPERTY,
62 SystemProperties.set(View.DEBUG_LAYOUT_PROPERTY, Boolean.toString(false));
BluetoothAvrcpVersionPreferenceController.java 20 import android.os.SystemProperties;
56 SystemProperties.set(BLUETOOTH_AVRCP_VERSION_PROPERTY, newValue.toString());
64 final String currentValue = SystemProperties.get(BLUETOOTH_AVRCP_VERSION_PROPERTY);
CoolColorTemperaturePreferenceController.java 20 import android.os.SystemProperties;
56 SystemProperties.set(COLOR_TEMPERATURE_PROPERTY,
65 final boolean enableColorTemperature = SystemProperties.getBoolean(
73 SystemProperties.set(COLOR_TEMPERATURE_PROPERTY, Boolean.toString(false));
DebugGpuOverdrawPreferenceController.java 20 import android.os.SystemProperties;
65 SystemProperties.set(ThreadedRenderer.DEBUG_OVERDRAW_PROPERTY,
71 final String value = SystemProperties.get(
  /packages/apps/TV/common/src/com/android/tv/common/util/
SystemProperties.java 22 public final class SystemProperties {
47 private SystemProperties() {}

Completed in 315 milliseconds

1 2 3 4 5 6