Searched defs:field (Results 1 - 10 of 10) sorted by relevance

/frameworks/base/core/jni/
H A Dandroid_bluetooth_common.cpp41 jfieldID field = env->GetFieldID(clazz, member, mtype); local
42 if (field == NULL) {
45 return field;
H A Dandroid_database_CursorWindow.cpp135 snprintf(buf, sizeof(buf), "get field slot from row %d col %d failed", row, column);
152 field_slot_t field; local
153 err = window->read_field_slot(row, column, &field);
159 uint8_t type = field.type;
167 uint32_t size = field.data.buffer.size;
170 return strtoll((char const *)window->offsetToPtr(field.data.buffer.offset), NULL, 0);
172 String8 ascii((char16_t *) window->offsetToPtr(field.data.buffer.offset), size / 2);
202 field_slot_t field; local
203 err = window->read_field_slot(row, column, &field);
209 uint8_t type = field
234 field_slot_t field; local
250 field_slot_t field; local
323 field_slot_t field; local
398 field_slot_t field; local
[all...]
H A Dandroid_hardware_Camera.cpp216 // save context in opaque field
445 struct field { struct
452 static int find_fields(JNIEnv *env, field *fields, int count)
455 field *f = &fields[i];
462 jfieldID field = env->GetFieldID(clazz, f->field_name, f->field_type); local
463 if (field == NULL) {
468 *(f->jfield) = field;
477 field fields_to_find[] = {
H A Dandroid_util_Process.cpp513 const String8& field = fields[i]; local
514 if (strncmp(p, field.string(), field.length()) == 0) {
515 p += field.length();
526 //LOGI("Field %s = %d", field.string(), sizesArray[i]);
/frameworks/base/core/java/android/database/
H A DDatabaseUtils.java437 * Reads a String out of a field in a Cursor and writes it to a Map.
440 * @param field The TEXT field to read
441 * @param values The {@link ContentValues} to put the value into, with the field as the key
443 public static void cursorStringToContentValues(Cursor cursor, String field, argument
445 cursorStringToContentValues(cursor, field, values, field);
449 * Reads a String out of a field in a Cursor and writes it to an InsertHelper.
452 * @param field The TEXT field t
456 cursorStringToInsertHelper(Cursor cursor, String field, InsertHelper inserter, int index) argument
469 cursorStringToContentValues(Cursor cursor, String field, ContentValues values, String key) argument
481 cursorIntToContentValues(Cursor cursor, String field, ContentValues values) argument
493 cursorIntToContentValues(Cursor cursor, String field, ContentValues values, String key) argument
510 cursorLongToContentValues(Cursor cursor, String field, ContentValues values) argument
523 cursorLongToContentValues(Cursor cursor, String field, ContentValues values, String key) argument
541 cursorDoubleToCursorValues(Cursor cursor, String field, ContentValues values) argument
554 cursorDoubleToContentValues(Cursor cursor, String field, ContentValues values, String key) argument
[all...]
/frameworks/base/core/java/android/os/
H A DDebug.java801 * Returns true if the type of the field matches the specified class.
803 * the field is of the primitive "boolean" type. Also handles all of
806 private static boolean fieldTypeMatches(Field field, Class<?> cl) { argument
807 Class<?> fieldClass = field.getType();
814 * have a Class field called "TYPE" that points to the corresponding
830 * Looks up the property that corresponds to the field, and sets the field's value
833 private static void modifyFieldIfSet(final Field field, final TypedProperties properties, argument
835 if (field.getType() == java.lang.String.class) {
843 field
[all...]
/frameworks/base/core/java/android/text/format/
H A DTime.java185 * Ensures the values in each field are in range. For example if the
190 * If "ignoreDst" is true, then this method sets the "isDst" field to -1
213 * Return the maximum possible value for the given field given the value of
216 * @param field one of the constants for HOUR, MINUTE, SECOND, etc.
217 * @return the maximum value for the field.
219 public int getActualMaximum(int field) { argument
220 switch (field) {
250 throw new RuntimeException("bad field=" + field);
380 * format that does not include the "time" field
[all...]
/frameworks/base/core/java/com/google/android/mms/pdu/
H A DPduComposer.java332 * In the implementation of EncodedStringValue, the charset field will
456 private int appendHeader(int field) { argument
457 switch (field) {
459 appendOctet(field);
461 int version = mPduHeader.getOctet(field);
472 byte[] textString = mPduHeader.getTextString(field);
477 appendOctet(field);
484 EncodedStringValue[] addr = mPduHeader.getEncodedStringValues(field);
510 appendOctet(field);
517 appendOctet(field);
[all...]
H A DPduHeaders.java98 * X-Mms-Message-Type field types.
137 * field types.
145 * field type components.
151 * X-Mms-MMS-Version field types.
162 * From field type components.
183 * MM-Flags field type components.
190 * X-Mms-Message-Class field types.
203 * X-Mms-Priority field types.
210 * X-Mms-Response-Status field types.
245 * X-Mms-Retrieve-Status field type
342 getOctet(int field) argument
358 setOctet(int value, int field) argument
502 getTextString(int field) argument
515 setTextString(byte[] value, int field) argument
551 getEncodedStringValue(int field) argument
562 getEncodedStringValues(int field) argument
581 setEncodedStringValue(EncodedStringValue value, int field) argument
618 setEncodedStringValues(EncodedStringValue[] value, int field) argument
651 appendEncodedStringValue(EncodedStringValue value, int field) argument
683 getLongInteger(int field) argument
698 setLongInteger(long value, int field) argument
[all...]
/frameworks/base/media/libdrm/mobile1/src/jni/
H A Ddrm1_jni.c424 jfieldID field; local
430 field = (*env)->GetFieldID(env, clazz, name, "I");
433 if (NULL == field)
436 *value = (*env)->GetIntField(env, obj, field);
444 jfieldID field; local
450 field = (*env)->GetFieldID(env, clazz, name, "I");
453 if (NULL == field)
456 (*env)->SetIntField(env, obj, field, value);
464 jfieldID field; local
470 field
533 jfieldID field; local
659 jfieldID field; local
781 jfieldID field; local
858 jfieldID field; local
1037 jfieldID field; local
[all...]

Completed in 129 milliseconds