Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
DAndroidRuntime.cpp637 char propBuf[PROPERTY_VALUE_MAX]; in startVm() local
718 property_get("dalvik.vm.checkjni", propBuf, ""); in startVm()
719 if (strcmp(propBuf, "true") == 0) { in startVm()
721 } else if (strcmp(propBuf, "false") != 0) { in startVm()
723 property_get("ro.kernel.android.checkjni", propBuf, ""); in startVm()
724 if (propBuf[0] == '1') { in startVm()
737 property_get("dalvik.vm.execution-mode", propBuf, ""); in startVm()
738 if (strcmp(propBuf, "int:portable") == 0) { in startVm()
740 } else if (strcmp(propBuf, "int:fast") == 0) { in startVm()
742 } else if (strcmp(propBuf, "int:jit") == 0) { in startVm()
[all …]
/frameworks/base/services/core/jni/
Dcom_android_server_SystemServer.cpp37 char propBuf[PROPERTY_VALUE_MAX]; in android_server_SystemServer_startSensorService() local
38 property_get("system_init.startsensorservice", propBuf, "1"); in android_server_SystemServer_startSensorService()
39 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()