/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/java/android/os/ |
D | Build.java | 198 public static final String BASE_OS = SystemProperties.get("ro.build.version.base_os", ""); 203 public static final String SECURITY_PATCH = SystemProperties.get( 219 public static final int SDK_INT = SystemProperties.getInt( 240 public static final int PREVIEW_SDK_INT = SystemProperties.getInt( 778 String finger = SystemProperties.get("ro.build.fingerprint"); in deriveFingerprint() 800 if (TextUtils.isEmpty(SystemProperties.get("ro.build.fingerprint"))) { in ensureFingerprintProperty() 802 SystemProperties.set("ro.build.fingerprint", FINGERPRINT); in ensureFingerprintProperty() 815 SystemProperties.getBoolean("ro.treble.enabled", false); 845 final String system = SystemProperties.get("ro.build.fingerprint"); in isBuildConsistent() 846 final String vendor = SystemProperties.get("ro.vendor.build.fingerprint"); in isBuildConsistent() [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()
|
/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/com/android/internal/os/ |
D | RoSystemProperties.java | 19 import android.os.SystemProperties; 27 SystemProperties.getInt("ro.debuggable", 0) == 1; 29 SystemProperties.getInt("ro.factorytest", 0); 31 SystemProperties.get("ro.control_privapp_permissions"); 35 SystemProperties.getBoolean("ro.config.low_ram", false); 39 SystemProperties.getBoolean("ro.fw.system_user_split", false); 42 public static final String CRYPTO_STATE = SystemProperties.get("ro.crypto.state"); 43 public static final String CRYPTO_TYPE = SystemProperties.get("ro.crypto.type");
|
/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()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | MockableSystemProperties.java | 19 import android.os.SystemProperties; 24 return SystemProperties.get(key); in get() 28 return SystemProperties.getInt(key, def); in getInt() 32 return SystemProperties.getBoolean(key, def); in getBoolean() 36 SystemProperties.set(key, value); in set()
|
/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 | RescueParty.java | 26 import android.os.SystemProperties; 72 if (SystemProperties.getBoolean(PROP_ENABLE_RESCUE, false)) { in isDisabled() 91 if (SystemProperties.getBoolean(PROP_DISABLE_RESCUE, false)) { in isDisabled() 134 return SystemProperties.getInt(PROP_RESCUE_LEVEL, LEVEL_NONE) == LEVEL_FACTORY_RESET; in isAttemptingFactoryReset() 143 SystemProperties.getInt(PROP_RESCUE_LEVEL, LEVEL_NONE) + 1, in incrementRescueLevel() 145 SystemProperties.set(PROP_RESCUE_LEVEL, Integer.toString(level)); in incrementRescueLevel() 161 final int level = SystemProperties.getInt(PROP_RESCUE_LEVEL, LEVEL_NONE); in executeRescueLevel() 277 return SystemProperties.getInt(PROP_RESCUE_BOOT_COUNT, 0); in getCount() 282 SystemProperties.set(PROP_RESCUE_BOOT_COUNT, Integer.toString(count)); in setCount() 287 return SystemProperties.getLong(PROP_RESCUE_BOOT_START, 0); in getStart() [all …]
|
D | RecoverySystemService.java | 27 import android.os.SystemProperties; 102 SystemProperties.set("ctl.start", "uncrypt"); in uncrypt() 205 final String uncryptService = SystemProperties.get(INIT_SERVICE_UNCRYPT); in checkAndWaitForUncryptService() 206 final String setupBcbService = SystemProperties.get(INIT_SERVICE_SETUP_BCB); in checkAndWaitForUncryptService() 207 final String clearBcbService = SystemProperties.get(INIT_SERVICE_CLEAR_BCB); in checkAndWaitForUncryptService() 268 SystemProperties.set("ctl.start", "setup-bcb"); in setupOrClearBcb() 270 SystemProperties.set("ctl.start", "clear-bcb"); in setupOrClearBcb()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | SystemPropertyService.java | 23 return android.os.SystemProperties.get(key, defaultValue); in get() 28 android.os.SystemProperties.set(key, val); in set() 33 return android.os.SystemProperties.getBoolean(key, defaultValue); in getBoolean()
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/ |
D | OMADMAdapter.java | 6 import android.os.SystemProperties; 170 mDevDetail.add(new ConstPathAccessor<>(SystemProperties.get("ro.product.brand"), in OMADMAdapter() 306 return SystemProperties.get("ro.hardware", "Unknown") in getHwV() 307 + "." + SystemProperties.get("ro.revision", "Unknown"); in getHwV() 314 String devicetype = SystemProperties.get("ro.build.characteristics"); in getDeviceType() 325 return "Android " + SystemProperties.get("ro.build.version.release"); in getVersion() 327 version = SystemProperties.get("ro.build.version.full"); in getVersion() 329 return SystemProperties.get("ro.build.id", null) + "~" in getVersion() 330 + SystemProperties.get("ro.build.config.version", null) + "~" in getVersion() 331 + SystemProperties.get("gsm.version.baseband", null) + "~" in getVersion() [all …]
|
/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/services/java/com/android/server/ |
D | SystemServer.java | 43 import android.os.SystemProperties; 267 mRuntimeRestart = "1".equals(SystemProperties.get("sys.boot_completed")); in SystemServer() 285 String timezoneProperty = SystemProperties.get("persist.sys.timezone"); in run() 288 SystemProperties.set("persist.sys.timezone", "GMT"); in run() 299 if (!SystemProperties.get("persist.sys.language").isEmpty()) { in run() 302 SystemProperties.set("persist.sys.locale", languageTag); in run() 303 SystemProperties.set("persist.sys.language", ""); in run() 304 SystemProperties.set("persist.sys.country", ""); in run() 305 SystemProperties.set("persist.sys.localevar", ""); in run() 326 SystemProperties.set("persist.sys.dalvik.vm.lib.2", VMRuntime.getRuntime().vmLibrary()); in run() [all …]
|
/frameworks/base/core/java/com/android/server/ |
D | NetworkManagementSocketTagger.java | 20 import android.os.SystemProperties; 87 if (SystemProperties.getBoolean(PROP_QTAGUID_ENABLED, false)) { in tagSocketFd() 109 if (SystemProperties.getBoolean(PROP_QTAGUID_ENABLED, false)) { in unTagSocketFd() 123 if (SystemProperties.getBoolean(PROP_QTAGUID_ENABLED, false)) { in setKernelCounterSet() 133 if (SystemProperties.getBoolean(PROP_QTAGUID_ENABLED, false)) { in resetKernelUidStats()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbDeviceManager.java | 43 import android.os.SystemProperties; 241 boolean secureAdbEnabled = SystemProperties.getBoolean("ro.adb.secure", false); in UsbDeviceManager() 242 boolean dataEncrypted = "1".equals(SystemProperties.get("vold.decrypt")); in UsbDeviceManager() 346 String serial = SystemProperties.get("ro.serialno", "1234567890ABCDEF"); in initRndisAddress() 389 mCurrentFunctions = SystemProperties.get(USB_CONFIG_PROPERTY, in UsbHandler() 392 SystemProperties.get(USB_STATE_PROPERTY)); in UsbHandler() 394 mCurrentFunctions = SystemProperties.get(getPersistProp(true), in UsbHandler() 396 mCurrentFunctionsApplied = SystemProperties.get(USB_CONFIG_PROPERTY, in UsbHandler() 398 SystemProperties.get(USB_STATE_PROPERTY)); in UsbHandler() 406 SystemProperties.get(USB_PERSISTENT_CONFIG_PROPERTY), in UsbHandler() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | DozeParameters.java | 20 import android.os.SystemProperties; 103 return SystemProperties.getBoolean("doze.vibrate.sigmotion", false); in getVibrateOnSigMotion() 107 return SystemProperties.getBoolean("doze.vibrate.pickup", false); in getVibrateOnPickup() 123 return SystemProperties.getBoolean(propName, mContext.getResources().getBoolean(resId)); in getBoolean() 127 int value = SystemProperties.getInt(propName, mContext.getResources().getInteger(resId)); in getInt() 132 return SystemProperties.get(propName, mContext.getString(resId)); in getString()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerServiceCompilerMapping.java | 19 import android.os.SystemProperties; 50 String sysPropValue = SystemProperties.get(getSystemPropertyName(reason)); in getAndCheckValidity() 102 String value = SystemProperties.get("dalvik.vm.dex2oat-filter"); in getDefaultCompilerFilter()
|
/frameworks/base/vr/java/com/google/vr/platform/ |
D | DeviceInfo.java | 3 import android.os.SystemProperties; 17 return SystemProperties.getBoolean(VR_MODE_BOOT, false); in getVrBoot()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | EncryptionHelper.java | 19 import android.os.SystemProperties; 29 String voldState = SystemProperties.get("vold.decrypt"); in isDataEncrypted()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ScreenShapeHelper.java | 5 import android.os.SystemProperties; 18 return SystemProperties.getInt(ViewRootImpl.PROPERTY_EMULATOR_WIN_OUTSET_BOTTOM_PX, 0); in getWindowOutsetBottomPx()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | FalsingLog.java | 22 import android.os.SystemProperties; 51 public static final boolean ENABLED = SystemProperties.getBoolean("debug.falsing_log", 53 private static final boolean LOGCAT = SystemProperties.getBoolean("debug.falsing_logcat", 58 private static final int MAX_SIZE = SystemProperties.getInt("debug.falsing_log_size", 100);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | TetherUtil.java | 19 import android.os.SystemProperties; 36 if (SystemProperties.getBoolean("net.tethering.noprovisioning", false) in isProvisioningNeeded()
|
/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/core/java/com/android/server/hdmi/ |
D | HdmiCecLocalDevicePlayback.java | 25 import android.os.SystemProperties; 47 SystemProperties.getBoolean(Constants.PROPERTY_WAKE_ON_HOTPLUG, true); 50 SystemProperties.getBoolean(Constants.PROPERTY_SET_MENU_LANGUAGE, false); 90 return SystemProperties.getInt(Constants.PROPERTY_PREFERRED_ADDRESS_PLAYBACK, in getPreferredAddress() 98 SystemProperties.set(Constants.PROPERTY_PREFERRED_ADDRESS_PLAYBACK, in setPreferredAddress() 206 if (SystemProperties.getBoolean(Constants.PROPERTY_KEEP_AWAKE, true)) { in getWakeLock()
|