/frameworks/base/core/tests/systemproperties/src/android/os/ |
D | SystemPropertiesTest.java | 21 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/ |
D | SystemPropertiesTest.java | 22 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/ |
D | SQLiteGlobal.java | 21 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()
|
D | SQLiteDebug.java | 22 import android.os.SystemProperties; 82 int slowQueryMillis = SystemProperties.getInt("db.log.slow_query_threshold", -1); in shouldLogSlowQuery()
|
/frameworks/base/core/java/android/os/ |
D | Build.java | 172 public static final int SDK_INT = SystemProperties.getInt( 615 String finger = SystemProperties.get("ro.build.fingerprint"); in deriveFingerprint() 637 if (TextUtils.isEmpty(SystemProperties.get("ro.build.fingerprint"))) { in ensureFingerprintProperty() 639 SystemProperties.set("ro.build.fingerprint", FINGERPRINT); in ensureFingerprintProperty() 653 final String system = SystemProperties.get("ro.build.fingerprint"); in isFingerprintConsistent() 654 final String vendor = SystemProperties.get("ro.vendor.build.fingerprint"); in isFingerprintConsistent() 682 SystemProperties.getInt("ro.debuggable", 0) == 1; 689 return SystemProperties.get(TelephonyProperties.PROPERTY_BASEBAND_VERSION, null); in getRadioVersion() 693 return SystemProperties.get(property, UNKNOWN); in getString() 697 String value = SystemProperties.get(property); in getStringList() [all …]
|
D | SystemService.java | 50 SystemProperties.addChangeCallback(new Runnable() { in SystemProperties.addChangeCallback() 62 SystemProperties.set("ctl.start", name); in start() 67 SystemProperties.set("ctl.stop", name); in stop() 72 SystemProperties.set("ctl.restart", name); in restart() 79 final String rawState = SystemProperties.get("init.svc." + service); in getState()
|
D | FactoryTest.java | 39 return SystemProperties.getInt("ro.factorytest", FACTORY_TEST_OFF); in getMode() 47 return SystemProperties.getInt("factory.long_press_power_off", 0) != 0; in isLongPressOnPowerOffEnabled()
|
/frameworks/base/services/core/java/com/android/server/ |
D | EntropyMixer.java | 33 import android.os.SystemProperties; 167 out.println(SystemProperties.get("ro.serialno")); in addDeviceSpecificEntropy() 168 out.println(SystemProperties.get("ro.bootmode")); in addDeviceSpecificEntropy() 169 out.println(SystemProperties.get("ro.baseband")); in addDeviceSpecificEntropy() 170 out.println(SystemProperties.get("ro.carrier")); in addDeviceSpecificEntropy() 171 out.println(SystemProperties.get("ro.bootloader")); in addDeviceSpecificEntropy() 172 out.println(SystemProperties.get("ro.hardware")); in addDeviceSpecificEntropy() 173 out.println(SystemProperties.get("ro.revision")); in addDeviceSpecificEntropy() 174 out.println(SystemProperties.get("ro.build.fingerprint")); in addDeviceSpecificEntropy()
|
D | CommonTimeManagementService.java | 37 import android.os.SystemProperties; 65 AUTO_DISABLE = (0 != SystemProperties.getInt(AUTO_DISABLE_PROP, 1)); 66 ALLOW_WIFI = (0 != SystemProperties.getInt(ALLOW_WIFI_PROP, 0)); 67 tmp = SystemProperties.getInt(SERVER_PRIO_PROP, 1); 68 NO_INTERFACE_TIMEOUT = SystemProperties.getInt(NO_INTERFACE_TIMEOUT_PROP, 60000);
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | PropConfig.java | 20 import android.os.SystemProperties; 26 return SystemProperties.getInt(propName, context.getResources().getInteger(resId)); in getInt() 30 final String prop = SystemProperties.get(propName, UNSET); in getStringArray()
|
/frameworks/base/core/java/com/android/server/ |
D | NetworkManagementSocketTagger.java | 19 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()
|
D | BootReceiver.java | 31 import android.os.SystemProperties; 48 SystemProperties.getInt("ro.debuggable", 0) == 1 ? 98304 : 65536; 103 .append(SystemProperties.get("ro.revision", "")).append("\n") in logBootEvents() 109 final String bootReason = SystemProperties.get("ro.boot.bootreason", null); in logBootEvents() 125 if (SystemProperties.getLong("ro.runtime.firstboot", 0) == 0) { in logBootEvents() 126 if ("encrypted".equals(SystemProperties.get("ro.crypto.state")) in logBootEvents() 127 && "trigger_restart_min_framework".equals(SystemProperties.get("vold.decrypt"))){ in logBootEvents() 133 SystemProperties.set("ro.runtime.firstboot", now); in logBootEvents()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | DozeParameters.java | 20 import android.os.SystemProperties; 102 return SystemProperties.getBoolean("doze.vibrate.sigmotion", false); in getVibrateOnSigMotion() 110 return SystemProperties.getBoolean("doze.vibrate.pickup", false); in getVibrateOnPickup() 142 return SystemProperties.getBoolean(propName, mContext.getResources().getBoolean(resId)); in getBoolean() 146 int value = SystemProperties.getInt(propName, mContext.getResources().getInteger(resId)); in getInt() 151 return SystemProperties.get(propName, mContext.getString(resId)); in getString()
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/util/ |
D | SystemProperties.java | 26 public final class SystemProperties { class 49 private SystemProperties() { in SystemProperties() method in SystemProperties
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbDeviceManager.java | 40 import android.os.SystemProperties; 178 boolean secureAdbEnabled = SystemProperties.getBoolean("ro.adb.secure", false); in UsbDeviceManager() 179 boolean dataEncrypted = "1".equals(SystemProperties.get("vold.decrypt")); in UsbDeviceManager() 256 String serial = SystemProperties.get("ro.serialno", "1234567890ABCDEF"); in initRndisAddress() 344 mDefaultFunctions = SystemProperties.get("persist.sys.usb.config", "adb"); in UsbHandler() 351 String config = SystemProperties.get("sys.usb.config", "none"); in UsbHandler() 354 SystemProperties.set("sys.usb.config", mDefaultFunctions); in UsbHandler() 363 String value = SystemProperties.get("persist.service.adb.enable", ""); in UsbHandler() 371 SystemProperties.set("persist.service.adb.enable", ""); in UsbHandler() 444 if (state.equals(SystemProperties.get("sys.usb.state"))) return true; in waitForState() [all …]
|
/frameworks/base/core/java/android/util/ |
D | DisplayMetrics.java | 19 import android.os.SystemProperties; 312 return SystemProperties.getInt("qemu.sf.lcd_density", in getDeviceDensity() 313 SystemProperties.getInt("ro.sf.lcd_density", DENSITY_DEFAULT)); in getDeviceDensity()
|
/frameworks/base/services/java/com/android/server/ |
D | SystemServer.java | 45 import android.os.SystemProperties; 199 SystemProperties.set("persist.sys.dalvik.vm.lib.2", VMRuntime.getRuntime().vmLibrary()); in run() 279 final String shutdownAction = SystemProperties.get( in performPendingShutdown() 338 String cryptState = SystemProperties.get("vold.decrypt"); in startBootstrapServices() 414 boolean disableStorage = SystemProperties.getBoolean("config.disable_storage", false); in startOtherServices() 415 boolean disableMedia = SystemProperties.getBoolean("config.disable_media", false); in startOtherServices() 416 boolean disableBluetooth = SystemProperties.getBoolean("config.disable_bluetooth", false); in startOtherServices() 417 boolean disableTelephony = SystemProperties.getBoolean("config.disable_telephony", false); in startOtherServices() 418 boolean disableLocation = SystemProperties.getBoolean("config.disable_location", false); in startOtherServices() 419 boolean disableSystemUI = SystemProperties.getBoolean("config.disable_systemui", false); in startOtherServices() [all …]
|
/frameworks/base/cmds/svc/src/com/android/commands/svc/ |
D | UsbCommand.java | 23 import android.os.SystemProperties; 59 System.err.println(SystemProperties.get("sys.usb.config")); in run()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DataCallResponse.java | 24 import android.os.SystemProperties; 187 dnsServers[0] = SystemProperties.get(propertyPrefix + "dns1"); in setLinkProperties() 188 dnsServers[1] = SystemProperties.get(propertyPrefix + "dns2"); in setLinkProperties() 208 String sysGateways = SystemProperties.get(propertyPrefix + "gw"); in setLinkProperties()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | LogTest.java | 22 import android.os.SystemProperties; 140 SystemProperties.set(LOG_TAG, "VERBOSE"); in setUp()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | SamplingProfilerIntegration.java | 21 import android.os.SystemProperties; 56 samplingProfilerMilliseconds = SystemProperties.getInt("persist.sys.profiler_ms", 0); 57 samplingProfilerDepth = SystemProperties.getInt("persist.sys.profiler_depth", 4);
|
/frameworks/native/opengl/tests/testFramerate/src/com/android/testframerate/ |
D | TestFramerateView.java | 21 import android.os.SystemProperties; 51 long longFrameTime_ms = Integer.parseInt(SystemProperties.get("debug.longframe_ms", "16")); in registerTime()
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbManager.java | 25 import android.os.SystemProperties; 404 String functions = SystemProperties.get(property, ""); in propertyContainsFunction() 433 String functions = SystemProperties.get("persist.sys.usb.config", ""); in getDefaultFunction()
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | CameraAgentFactory.java | 23 import com.android.ex.camera2.portability.util.SystemProperties; 47 SystemProperties.get(API_LEVEL_OVERRIDE_KEY, API_LEVEL_OVERRIDE_DEFAULT);
|
/frameworks/base/core/java/android/webkit/ |
D | WebViewDelegate.java | 26 import android.os.SystemProperties; 56 SystemProperties.addChangeCallback(new Runnable() { in setOnTraceEnabledChangeListener()
|