Home
last modified time | relevance | path

Searched refs:SystemProperties (Results 1 – 25 of 118) sorted by relevance

12345

/frameworks/base/core/tests/systemproperties/src/android/os/
DSystemPropertiesTest.java21 import android.os.SystemProperties;
31 SystemProperties.set(PERSIST_KEY, Long.toString(i)); in testStressPersistPropertyConsistency()
32 long ret = SystemProperties.getLong(PERSIST_KEY, -1); in testStressPersistPropertyConsistency()
40 SystemProperties.set(KEY, Long.toString(i)); in testStressMemoryPropertyConsistency()
41 long ret = SystemProperties.getLong(KEY, -1); in testStressMemoryPropertyConsistency()
50 SystemProperties.set(KEY, ""); in testProperties()
51 value = SystemProperties.get(KEY, "default"); in testProperties()
54 SystemProperties.set(KEY, "SA"); in testProperties()
55 value = SystemProperties.get(KEY, "default"); in testProperties()
58 value = SystemProperties.get(KEY); in testProperties()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DSystemPropertiesTest.java22 import android.os.SystemProperties;
32 SystemProperties.set(KEY, ""); in testProperties()
33 value = SystemProperties.get(KEY, "default"); in testProperties()
36 SystemProperties.set(KEY, "AAA"); in testProperties()
37 value = SystemProperties.get(KEY, "default"); in testProperties()
40 value = SystemProperties.get(KEY); in testProperties()
43 SystemProperties.set(KEY, ""); in testProperties()
44 value = SystemProperties.get(KEY, "default"); in testProperties()
47 value = SystemProperties.get(KEY); in testProperties()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteGlobal.java21 import android.os.SystemProperties;
66 return SystemProperties.getInt("debug.sqlite.pagesize", sDefaultPageSize); in getDefaultPageSize()
74 return SystemProperties.get("debug.sqlite.journalmode", in getDefaultJournalMode()
83 return SystemProperties.getInt("debug.sqlite.journalsizelimit", in getJournalSizeLimit()
92 return SystemProperties.get("debug.sqlite.syncmode", in getDefaultSyncMode()
101 return SystemProperties.get("debug.sqlite.wal.syncmode", in getWALSyncMode()
110 int value = SystemProperties.getInt("debug.sqlite.wal.autocheckpoint", in getWALAutoCheckpoint()
120 int value = SystemProperties.getInt("debug.sqlite.wal.poolsize", in getWALConnectionPoolSize()
DSQLiteDebug.java22 import android.os.SystemProperties;
82 int slowQueryMillis = SystemProperties.getInt("db.log.slow_query_threshold", -1); in shouldLogSlowQuery()
/frameworks/base/services/java/com/android/server/
DEntropyMixer.java29 import android.os.SystemProperties;
135 out.println(SystemProperties.get("ro.serialno")); in addDeviceSpecificEntropy()
136 out.println(SystemProperties.get("ro.bootmode")); in addDeviceSpecificEntropy()
137 out.println(SystemProperties.get("ro.baseband")); in addDeviceSpecificEntropy()
138 out.println(SystemProperties.get("ro.carrier")); in addDeviceSpecificEntropy()
139 out.println(SystemProperties.get("ro.bootloader")); in addDeviceSpecificEntropy()
140 out.println(SystemProperties.get("ro.hardware")); in addDeviceSpecificEntropy()
141 out.println(SystemProperties.get("ro.revision")); in addDeviceSpecificEntropy()
DBootReceiver.java28 import android.os.SystemProperties;
45 SystemProperties.getInt("ro.debuggable", 0) == 1 ? 98304 : 65536;
102 if (SystemProperties.getLong("ro.runtime.firstboot", 0) == 0) { in logBootEvents()
104 SystemProperties.set("ro.runtime.firstboot", now); in logBootEvents()
DCommonTimeManagementService.java40 import android.os.SystemProperties;
66 AUTO_DISABLE = (0 != SystemProperties.getInt(AUTO_DISABLE_PROP, 1));
67 ALLOW_WIFI = (0 != SystemProperties.getInt(ALLOW_WIFI_PROP, 0));
68 tmp = SystemProperties.getInt(SERVER_PRIO_PROP, 1);
69 NO_INTERFACE_TIMEOUT = SystemProperties.getInt(NO_INTERFACE_TIMEOUT_PROP, 60000);
DConnectivityService.java70 import android.os.SystemProperties;
337 if (TextUtils.isEmpty(SystemProperties.get("net.hostname"))) { in ConnectivityService()
342 SystemProperties.set("net.hostname", name); in ConnectivityService()
472 mTestMode = SystemProperties.get("cm.test.mode").equals("true") in ConnectivityService()
473 && SystemProperties.get("ro.build.type").equals("eng"); in ConnectivityService()
663 int defaultDelay = SystemProperties.getInt( in getConnectivityChangeDelay()
2138 String bufferSizes = SystemProperties.get(key); in updateNetworkSettings()
2145 bufferSizes = SystemProperties.get(key); in updateNetworkSettings()
2219 if (SystemProperties.get(prop).length() == 0) { in reassessPidDns()
2225 SystemProperties.set(prop, ""); in reassessPidDns()
[all …]
DSystemServer.java37 import android.os.SystemProperties;
96 final String shutdownAction = SystemProperties.get( in run()
112 String factoryTestStr = SystemProperties.get("ro.factorytest"); in run()
115 final boolean headless = "1".equals(SystemProperties.get("ro.config.headless", "0")); in run()
167 String cryptState = SystemProperties.get("vold.decrypt"); in run()
242 if (SystemProperties.get("ro.kernel.qemu").equals("1")) { in run()
252 if (!"0".equals(SystemProperties.get("system_init.startaudioservice"))) { in run()
324 if (!"0".equals(SystemProperties.get("system_init.startmountservice"))) { in run()
530 if (!"0".equals(SystemProperties.get("system_init.startaudioservice"))) { in run()
DSamplingProfilerService.java27 import android.os.SystemProperties;
118 SystemProperties.set("persist.sys.profiler_ms", samplingProfilerMs.toString()); in onChange()
/frameworks/base/core/java/android/os/
DBuild.java105 public static final int SDK_INT = SystemProperties.getInt(
435 SystemProperties.getInt("ro.debuggable", 0) == 1;
442 return SystemProperties.get(TelephonyProperties.PROPERTY_BASEBAND_VERSION, null); in getRadioVersion()
446 return SystemProperties.get(property, UNKNOWN); in getString()
451 return Long.parseLong(SystemProperties.get(property)); in getLong()
DSystemService.java24 SystemProperties.set("ctl.start", name); in start()
29 SystemProperties.set("ctl.stop", name); in stop()
34 SystemProperties.set("ctl.restart", name); in restart()
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java25 import android.os.SystemProperties;
339 SystemProperties.getInt(TelephonyProperties.CURRENT_ACTIVE_PHONE, in getPhoneTypeFromProperty()
348 int mode = SystemProperties.getInt("ro.telephony.default_network", -1); in getPhoneTypeFromNetworkType()
367 return SystemProperties.get(TelephonyProperties.PROPERTY_OPERATOR_ALPHA); in getNetworkOperatorName()
378 return SystemProperties.get(TelephonyProperties.PROPERTY_OPERATOR_NUMERIC); in getNetworkOperator()
388 return "true".equals(SystemProperties.get(TelephonyProperties.PROPERTY_OPERATOR_ISROAMING)); in isNetworkRoaming()
400 return SystemProperties.get(TelephonyProperties.PROPERTY_OPERATOR_ISO_COUNTRY); in getNetworkCountryIso()
614 String prop = SystemProperties.get(TelephonyProperties.PROPERTY_SIM_STATE); in getSimState()
644 return SystemProperties.get(TelephonyProperties.PROPERTY_ICC_OPERATOR_NUMERIC); in getSimOperator()
655 return SystemProperties.get(TelephonyProperties.PROPERTY_ICC_OPERATOR_ALPHA); in getSimOperatorName()
[all …]
/frameworks/base/core/java/com/android/server/
DNetworkManagementSocketTagger.java19 import android.os.SystemProperties;
79 if (SystemProperties.getBoolean(PROP_QTAGUID_ENABLED, false)) { in tagSocketFd()
101 if (SystemProperties.getBoolean(PROP_QTAGUID_ENABLED, false)) { in unTagSocketFd()
115 if (SystemProperties.getBoolean(PROP_QTAGUID_ENABLED, false)) { in setKernelCounterSet()
125 if (SystemProperties.getBoolean(PROP_QTAGUID_ENABLED, false)) { in resetKernelUidStats()
/frameworks/base/core/java/android/util/
DDisplayMetrics.java19 import android.os.SystemProperties;
214 return SystemProperties.getInt("qemu.sf.lcd_density", in getDeviceDensity()
215 SystemProperties.getInt("ro.sf.lcd_density", DENSITY_DEFAULT)); in getDeviceDensity()
/frameworks/base/services/java/com/android/server/usb/
DUsbDeviceManager.java47 import android.os.SystemProperties;
225 String serial = SystemProperties.get("ro.serialno", "1234567890ABCDEF"); in initRndisAddress()
308 mDefaultFunctions = SystemProperties.get("persist.sys.usb.config", "adb"); in UsbHandler()
315 String config = SystemProperties.get("sys.usb.config", "none"); in UsbHandler()
318 SystemProperties.set("sys.usb.config", mDefaultFunctions); in UsbHandler()
327 String value = SystemProperties.get("persist.service.adb.enable", ""); in UsbHandler()
335 SystemProperties.set("persist.service.adb.enable", ""); in UsbHandler()
405 if (state.equals(SystemProperties.get("sys.usb.state"))) return true; in waitForState()
415 SystemProperties.set("sys.usb.config", config); in setUsbConfig()
450 SystemProperties.set("persist.sys.usb.config", functions); in setEnabledFunctions()
[all …]
/frameworks/base/cmds/svc/src/com/android/commands/svc/
DUsbCommand.java23 import android.os.SystemProperties;
59 System.err.println(SystemProperties.get("sys.usb.config")); in run()
/frameworks/base/telephony/java/com/android/internal/telephony/
DDataCallState.java24 import android.os.SystemProperties;
178 dnsServers[0] = SystemProperties.get(propertyPrefix + "dns1"); in setLinkProperties()
179 dnsServers[1] = SystemProperties.get(propertyPrefix + "dns2"); in setLinkProperties()
199 String sysGateways = SystemProperties.get(propertyPrefix + "gw"); in setLinkProperties()
DCallTracker.java22 import android.os.SystemProperties;
146 String testEn = SystemProperties.get("ril.test.emergencynumber"); in checkForTestEmergencyNumber()
/frameworks/base/core/tests/coretests/src/android/util/
DLogTest.java22 import android.os.SystemProperties;
140 SystemProperties.set(LOG_TAG, "VERBOSE"); in setUp()
/frameworks/base/core/java/com/android/internal/os/
DSamplingProfilerIntegration.java21 import android.os.SystemProperties;
56 samplingProfilerMilliseconds = SystemProperties.getInt("persist.sys.profiler_ms", 0);
57 samplingProfilerDepth = SystemProperties.getInt("persist.sys.profiler_depth", 4);
/frameworks/base/core/java/android/hardware/usb/
DUsbManager.java25 import android.os.SystemProperties;
404 String functions = SystemProperties.get(property, ""); in propertyContainsFunction()
433 String functions = SystemProperties.get("persist.sys.usb.config", ""); in getDefaultFunction()
/frameworks/native/opengl/tests/testFramerate/src/com/android/testframerate/
DTestFramerateView.java21 import android.os.SystemProperties;
51 long longFrameTime_ms = Integer.parseInt(SystemProperties.get("debug.longframe_ms", "16")); in registerTime()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DCdmaServiceStateTracker.java44 import android.os.SystemProperties;
83 private int mNitzUpdateSpacing = SystemProperties.getInt("ro.nitz_update_spacing",
88 private int mNitzUpdateDiff = SystemProperties.getInt("ro.nitz_update_diff",
685 opNames[2] = SystemProperties.get( in handlePollStateResultMessage()
875 String zoneName = SystemProperties.get(TIMEZONE_PROPERTY); in fixTimeZone()
1019 SystemProperties.get(TelephonyProperties.PROPERTY_OPERATOR_NUMERIC, ""); in pollStateDone()
1240 String homeRoamIndicators = SystemProperties.get("ro.cdma.homesystem"); in isRoamIndForHomeSystem()
1266 String spn = SystemProperties.get(TelephonyProperties.PROPERTY_ICC_OPERATOR_ALPHA, "empty"); in isRoamingBetweenOperators()
1352 String iso = SystemProperties.get(TelephonyProperties.PROPERTY_OPERATOR_ISO_COUNTRY); in setTimeFromNITZString()
1393 String ignore = SystemProperties.get("gsm.ignore-nitz"); in setTimeFromNITZString()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaProfileReader.java27 import android.os.SystemProperties;
56 s = SystemProperties.get("ro.product.name"); in getDeviceType()

12345