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

1 2 3 4 5 6 7 8 910

  /frameworks/base/core/java/android/os/
FactoryTest.java 39 return SystemProperties.getInt("ro.factorytest", FACTORY_TEST_OFF);
47 return SystemProperties.getInt("factory.long_press_power_off", 0) != 0;
Build.java 162 public static final String BASE_OS = SystemProperties.get("ro.build.version.base_os", "");
167 public static final String SECURITY_PATCH = SystemProperties.get(
183 public static final int SDK_INT = SystemProperties.getInt(
204 public static final int PREVIEW_SDK_INT = SystemProperties.getInt(
653 String finger = SystemProperties.get("ro.build.fingerprint");
675 if (TextUtils.isEmpty(SystemProperties.get("ro.build.fingerprint"))) {
677 SystemProperties.set("ro.build.fingerprint", FINGERPRINT);
694 final String system = SystemProperties.get("ro.build.fingerprint");
695 final String vendor = SystemProperties.get("ro.vendor.build.fingerprint");
696 final String bootimage = SystemProperties.get("ro.bootimage.build.fingerprint")
    [all...]
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);
  /packages/apps/Camera2/src_pd/com/android/camera/util/
SystemProperties.java 19 public final class SystemProperties {
25 private 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);
  /frameworks/base/core/tests/systemproperties/src/android/os/
SystemPropertiesTest.java 21 import android.os.SystemProperties;
31 SystemProperties.set(PERSIST_KEY, Long.toString(i));
32 long ret = SystemProperties.getLong(PERSIST_KEY, -1);
40 SystemProperties.set(KEY, Long.toString(i));
41 long ret = SystemProperties.getLong(KEY, -1);
50 SystemProperties.set(KEY, "");
51 value = SystemProperties.get(KEY, "default");
54 SystemProperties.set(KEY, "SA");
55 value = SystemProperties.get(KEY, "default");
58 value = SystemProperties.get(KEY)
    [all...]
  /cts/tests/tests/os/src/android/os/cts/
UsbDebuggingTest.java 20 import android.os.SystemProperties;
28 assertEquals("1", SystemProperties.get("ro.adb.secure"));
  /frameworks/base/core/java/android/database/sqlite/
SQLiteGlobal.java 21 import android.os.SystemProperties;
66 return SystemProperties.getInt("debug.sqlite.pagesize", sDefaultPageSize);
74 return SystemProperties.get("debug.sqlite.journalmode",
83 return SystemProperties.getInt("debug.sqlite.journalsizelimit",
92 return SystemProperties.get("debug.sqlite.syncmode",
101 return SystemProperties.get("debug.sqlite.wal.syncmode",
110 int value = SystemProperties.getInt("debug.sqlite.wal.autocheckpoint",
120 int value = SystemProperties.getInt("debug.sqlite.wal.poolsize",
SQLiteDebug.java 22 import android.os.SystemProperties;
82 int slowQueryMillis = SystemProperties.getInt("db.log.slow_query_threshold", -1);
  /frameworks/base/services/core/java/com/android/server/notification/
PropConfig.java 20 import android.os.SystemProperties;
26 return SystemProperties.getInt(propName, context.getResources().getInteger(resId));
30 final String prop = SystemProperties.get(propName, UNSET);
  /hardware/intel/common/utils/ituxd/src/com/intel/thermal/
ituxdApp.java 21 import android.os.SystemProperties;
36 if ("1".equals(SystemProperties.get("persist.service.thermal", "0"))) {
  /frameworks/base/core/java/com/android/internal/util/
ScreenShapeHelper.java 6 import android.os.SystemProperties;
25 return SystemProperties.getInt(ViewRootImpl.PROPERTY_EMULATOR_WIN_OUTSET_BOTTOM_PX, 0);
  /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() {
  /packages/apps/Camera2/src/com/android/camera/debug/
DebugPropertyHelper.java 19 import com.android.camera.util.SystemProperties;
43 return ON_VALUE.equals(SystemProperties.get(property, OFF_VALUE));
  /frameworks/base/services/core/java/com/android/server/
EntropyMixer.java 33 import android.os.SystemProperties;
167 out.println(SystemProperties.get("ro.serialno"));
168 out.println(SystemProperties.get("ro.bootmode"));
169 out.println(SystemProperties.get("ro.baseband"));
170 out.println(SystemProperties.get("ro.carrier"));
171 out.println(SystemProperties.get("ro.bootloader"));
172 out.println(SystemProperties.get("ro.hardware"));
173 out.println(SystemProperties.get("ro.revision"));
174 out.println(SystemProperties.get("ro.build.fingerprint"));
  /frameworks/base/cmds/svc/src/com/android/commands/svc/
UsbCommand.java 23 import android.os.SystemProperties;
59 System.err.println(SystemProperties.get("sys.usb.config"));
  /frameworks/base/core/java/com/android/server/
NetworkManagementSocketTagger.java 19 import android.os.SystemProperties;
36 * {@link SystemProperties} key that indicates if {@code qtaguid} bandwidth
79 if (SystemProperties.getBoolean(PROP_QTAGUID_ENABLED, false)) {
101 if (SystemProperties.getBoolean(PROP_QTAGUID_ENABLED, false)) {
115 if (SystemProperties.getBoolean(PROP_QTAGUID_ENABLED, false)) {
125 if (SystemProperties.getBoolean(PROP_QTAGUID_ENABLED, false)) {
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
SettingsHelper.java 26 import android.os.SystemProperties;
43 SystemProperties.set(setting, value);
52 return SystemProperties.get(setting);
  /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");
  /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...]
  /packages/apps/Settings/src/com/android/settings/
BugreportPreference.java 23 import android.os.SystemProperties;
58 SystemProperties.set("ctl.start", "bugreport");
SettingsLicenseActivity.java 24 import android.os.SystemProperties;
44 final String path = SystemProperties.get(PROPERTY_LICENSE_PATH, DEFAULT_LICENSE_PATH);
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/about/
LicenseActivity.java 26 import android.os.SystemProperties;
48 final String path = SystemProperties.get(PROPERTY_LICENSE_PATH, DEFAULT_LICENSE_PATH);
  /frameworks/base/core/java/android/util/
DisplayMetrics.java 19 import android.os.SystemProperties;
328 return SystemProperties.getInt("qemu.sf.lcd_density",
329 SystemProperties.getInt("ro.sf.lcd_density", DENSITY_DEFAULT));
  /packages/services/Telephony/src/com/android/phone/
InCallScreenShowActivation.java 27 import android.os.SystemProperties;
51 (PhoneGlobals.DBG_LEVEL >= 1) && (SystemProperties.getInt("ro.debuggable", 0) == 1);
120 && (SystemProperties.getInt("ro.debuggable", 0) == 1)) {
200 String mode = SystemProperties.get("ro.setupwizard.mode", "REQUIRED");

Completed in 1381 milliseconds

1 2 3 4 5 6 7 8 910