/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...] |
/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/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",
|
/frameworks/base/core/tests/systemproperties/ |
AndroidManifest.xml | 19 package="com.android.frameworks.coretests.systemproperties" 27 android:targetPackage="com.android.frameworks.coretests.systemproperties" 28 android:label="Frameworks SystemProperties Core Tests" />
|
run_core_systemproperties_test.sh | 24 adb shell am instrument -w -e class android.os.SystemPropertiesTest com.android.frameworks.coretests.systemproperties/android.test.InstrumentationTestRunner
|
/frameworks/base/services/java/com/android/server/ |
EntropyMixer.java | 34 import android.os.SystemProperties; 151 out.println(SystemProperties.get("ro.serialno")); 152 out.println(SystemProperties.get("ro.bootmode")); 153 out.println(SystemProperties.get("ro.baseband")); 154 out.println(SystemProperties.get("ro.carrier")); 155 out.println(SystemProperties.get("ro.bootloader")); 156 out.println(SystemProperties.get("ro.hardware")); 157 out.println(SystemProperties.get("ro.revision")); 158 out.println(SystemProperties.get("ro.build.fingerprint"));
|
BootReceiver.java | 31 import android.os.SystemProperties; 48 SystemProperties.getInt("ro.debuggable", 0) == 1 ? 98304 : 65536; 103 .append(SystemProperties.get("ro.revision", "")).append("\n") 115 if (SystemProperties.getLong("ro.runtime.firstboot", 0) == 0) { 117 SystemProperties.set("ro.runtime.firstboot", now);
|
SamplingProfilerService.java | 27 import android.os.SystemProperties; 118 SystemProperties.set("persist.sys.profiler_ms", samplingProfilerMs.toString());
|
/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...] |
/cts/tests/tests/os/src/android/os/cts/ |
UsbDebuggingTest.java | 20 import android.os.SystemProperties; 28 assertEquals("1", SystemProperties.get("ro.adb.secure"));
|
/packages/apps/Phone/src/com/android/phone/ |
CallerInfoCacheUpdateReceiver.java | 22 import android.os.SystemProperties; 34 (PhoneGlobals.DBG_LEVEL >= 1) && (SystemProperties.getInt("ro.debuggable", 0) == 1);
|
CdmaDisplayInfo.java | 21 import android.os.SystemProperties; 30 private static final boolean DBG = (SystemProperties.getInt("ro.debuggable", 0) == 1);
|
CdmaOptions.java | 22 import android.os.SystemProperties; 90 String subscriptionsSupported = SystemProperties.get("ril.subscription.types");
|
/frameworks/base/core/java/android/os/ |
SystemService.java | 52 SystemProperties.addChangeCallback(new Runnable() { 64 SystemProperties.set("ctl.start", name); 69 SystemProperties.set("ctl.stop", name); 74 SystemProperties.set("ctl.restart", name); 81 final String rawState = SystemProperties.get("init.svc." + service);
|
FactoryTest.java | 33 return SystemProperties.getInt("factory.long_press_power_off", 0) != 0;
|
/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"));
|
/packages/apps/Settings/src/com/android/settings/ |
BugreportPreference.java | 23 import android.os.SystemProperties; 58 SystemProperties.set("ctl.start", "bugreport");
|
DevelopmentSettings.java | 48 import android.os.SystemProperties; 228 if (!SystemProperties.getBoolean("ro.adb.secure", false)) { 505 String currentValue = SystemProperties.get(HDCP_CHECKING_PROPERTY); 633 if (TextUtils.isEmpty(SystemProperties.get(StrictMode.VISUAL_PROPERTY))) { 636 boolean enabled = SystemProperties.getBoolean(StrictMode.VISUAL_PROPERTY, false); 733 updateCheckBox(mForceHardwareUi, SystemProperties.getBoolean(HARDWARE_UI_PROPERTY, false)); 737 SystemProperties.set(HARDWARE_UI_PROPERTY, mForceHardwareUi.isChecked() ? "true" : "false"); 742 updateCheckBox(mForceMsaa, SystemProperties.getBoolean(MSAA_PROPERTY, false)); 746 SystemProperties.set(MSAA_PROPERTY, mForceMsaa.isChecked() ? "true" : "false"); 751 String value = SystemProperties.get(HardwareRenderer.PROFILE_PROPERTY) [all...] |
/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)) {
|
/frameworks/base/core/java/android/webkit/ |
WebViewFactory.java | 21 import android.os.SystemProperties; 91 if (SystemProperties.getBoolean(DEPRECATED_CHROMIUM_PROPERTY, false)) { 96 return SystemProperties.getBoolean(WEBVIEW_EXPERIMENTAL_PROPERTY, false);
|
/frameworks/native/opengl/tests/testFramerate/src/com/android/testframerate/ |
TestFramerateView.java | 21 import android.os.SystemProperties; 51 long longFrameTime_ms = Integer.parseInt(SystemProperties.get("debug.longframe_ms", "16"));
|
/frameworks/base/services/java/com/android/server/usb/ |
UsbDeviceManager.java | 41 import android.os.SystemProperties; 172 boolean secureAdbEnabled = SystemProperties.getBoolean("ro.adb.secure", false); 173 boolean dataEncrypted = "1".equals(SystemProperties.get("vold.decrypt")); 242 String serial = SystemProperties.get("ro.serialno", "1234567890ABCDEF"); 335 mDefaultFunctions = SystemProperties.get("persist.sys.usb.config", "adb"); 342 String config = SystemProperties.get("sys.usb.config", "none"); 345 SystemProperties.set("sys.usb.config", mDefaultFunctions); 354 String value = SystemProperties.get("persist.service.adb.enable", ""); 362 SystemProperties.set("persist.service.adb.enable", ""); 434 if (state.equals(SystemProperties.get("sys.usb.state"))) return true [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
DataCallResponse.java | 24 import android.os.SystemProperties; 177 dnsServers[0] = SystemProperties.get(propertyPrefix + "dns1"); 178 dnsServers[1] = SystemProperties.get(propertyPrefix + "dns2"); 198 String sysGateways = SystemProperties.get(propertyPrefix + "gw");
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
MediaProfileReader.java | 27 import android.os.SystemProperties; 56 s = SystemProperties.get("ro.product.name");
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
UsbDebuggingActivity.java | 33 import android.os.SystemProperties; 58 if (SystemProperties.getInt("service.adb.tcp.port", 0) == 0) {
|