Home
last modified time | relevance | path

Searched refs:propBuf (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/jni/
DAndroidRuntime.cpp602 char propBuf[PROPERTY_VALUE_MAX]; in startVm() local
656 property_get("dalvik.vm.checkjni", propBuf, ""); in startVm()
657 if (strcmp(propBuf, "true") == 0) { in startVm()
659 } else if (strcmp(propBuf, "false") != 0) { in startVm()
661 property_get("ro.kernel.android.checkjni", propBuf, ""); in startVm()
662 if (propBuf[0] == '1') { in startVm()
675 property_get("dalvik.vm.execution-mode", propBuf, ""); in startVm()
676 if (strcmp(propBuf, "int:portable") == 0) { in startVm()
678 } else if (strcmp(propBuf, "int:fast") == 0) { in startVm()
680 } else if (strcmp(propBuf, "int:jit") == 0) { in startVm()
[all …]
/frameworks/base/services/core/jni/
Dcom_android_server_SystemServer.cpp34 char propBuf[PROPERTY_VALUE_MAX]; in android_server_SystemServer_startSensorService() local
35 property_get("system_init.startsensorservice", propBuf, "1"); in android_server_SystemServer_startSensorService()
36 if (strcmp(propBuf, "1") == 0) { in android_server_SystemServer_startSensorService()
/frameworks/base/cmds/idmap/
Dscan.cpp91 char propBuf[PROPERTY_VALUE_MAX]; in check_property() local
92 property_get(prop, propBuf, NULL); in check_property()
95 return (strcmp(propBuf, val) == 0); in check_property()