Lines Matching defs:value
50 * static native int writeEvent(int tag, int value)
54 jint tag, jint value)
56 return android_btWriteLog(tag, EVENT_TYPE_INT, &value, sizeof(value));
61 * static native int writeEvent(long tag, long value)
65 jint tag, jlong value)
67 return android_btWriteLog(tag, EVENT_TYPE_LONG, &value, sizeof(value));
72 * static native int writeEvent(long tag, float value)
76 jint tag, jfloat value)
78 return android_btWriteLog(tag, EVENT_TYPE_FLOAT, &value, sizeof(value));
83 * static native int writeEvent(int tag, String value)
87 jint tag, jstring value) {
91 // to be all crashy if you pass in NULL -- but make the NULL value explicit.
92 const char *str = value != NULL ? env->GetStringUTFChars(value, NULL) : "NULL";
102 if (value != NULL) env->ReleaseStringUTFChars(value, str);
108 * static native int writeEvent(long tag, Object... value)
111 jint tag, jobjectArray value) {
112 if (value == NULL) {
120 jsize copied = 0, num = env->GetArrayLength(value);
122 jobject item = env->GetObjectArrayElement(value, copied);
281 { &gIntegerClass, "value", "I", &gIntegerValueID },
282 { &gLongClass, "value", "J", &gLongValueID },
283 { &gFloatClass, "value", "F", &gFloatValueID },