/frameworks/base/test-runner/src/android/test/ |
H A D | ActivityTestCase.java | 64 for (Field field : fields) { 65 final Class<?> fieldClass = field.getDeclaringClass(); 66 if (testCaseClass.isAssignableFrom(fieldClass) && !field.getType().isPrimitive() 67 && (field.getModifiers() & Modifier.FINAL) == 0) { 69 field.setAccessible(true); 70 field.set(this, null); 72 android.util.Log.d("TestCase", "Error: Could not nullify field!"); 75 if (field.get(this) != null) { 76 android.util.Log.d("TestCase", "Error: Could not nullify field!");
|
H A D | InstrumentationUtils.java | 40 Integer field = (Integer)cls.getDeclaredField(identifier).get(cls); 41 id = field.intValue();
|
/frameworks/base/core/tests/coretests/src/android/content/ |
H A D | ContentProviderOperationTest.java | 388 Field field; 389 field = CLASS_BUILDER.getDeclaredField("mSelectionArgsBackReferences"); 390 field.setAccessible(true); 391 field.set(builder, selArgsBackRef); 397 Field field; 398 field = CLASS_BUILDER.getDeclaredField("mValuesBackReferences"); 399 field.setAccessible(true); 400 field.set(builder, valuesBackReferences); 406 Field field; 407 field [all...] |
/frameworks/base/core/java/com/google/android/mms/pdu/ |
H A D | PduHeaders.java | 98 * 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...] |
H A D | PduComposer.java | 334 * In the implementation of EncodedStringValue, the charset field will 481 private int appendHeader(int field) { argument 482 switch (field) { 484 appendOctet(field); 486 int version = mPduHeader.getOctet(field); 497 byte[] textString = mPduHeader.getTextString(field); 502 appendOctet(field); 509 EncodedStringValue[] addr = mPduHeader.getEncodedStringValues(field); 522 appendOctet(field); 529 appendOctet(field); [all...] |
/frameworks/base/libs/rs/driver/ |
H A D | rsdShader.cpp | 93 for (uint32_t field=0; field < e->getFieldCount(); field++) { 94 const Element *f = e->getField(field); 107 s.append(e->getFieldName(field)); 117 for (uint32_t field=0; field < e->getFieldCount(); field++) { 118 const Element *f = e->getField(field); 119 const char *fn = e->getFieldName(field); 250 logUniform(const Element *field, const float *fd, uint32_t arraySize ) argument 296 setUniform(const Context *rsc, const Element *field, const float *fd, int32_t slot, uint32_t arraySize ) argument [all...] |
H A D | rsdShader.h | 96 void logUniform(const android::renderscript::Element *field, const float *fd, uint32_t arraySize ); 97 void setUniform(const android::renderscript::Context *rsc, const android::renderscript::Element *field, const float *fd, int32_t slot, uint32_t arraySize );
|
/frameworks/base/core/java/android/test/ |
H A D | AndroidTestCase.java | 156 for (Field field : fields) { 157 final Class<?> fieldClass = field.getDeclaringClass(); 158 if (testCaseClass.isAssignableFrom(fieldClass) && !field.getType().isPrimitive()) { 160 field.setAccessible(true); 161 field.set(this, null); 163 android.util.Log.d("TestCase", "Error: Could not nullify field!"); 166 if (field.get(this) != null) { 167 android.util.Log.d("TestCase", "Error: Could not nullify field!");
|
/frameworks/base/core/java/android/os/ |
H A D | Debug.java | 1120 * Returns true if the type of the field matches the specified class. 1122 * the field is of the primitive "boolean" type. Also handles all of 1125 private static boolean fieldTypeMatches(Field field, Class<?> cl) { argument 1126 Class<?> fieldClass = field.getType(); 1133 * have a Class field called "TYPE" that points to the corresponding 1149 * Looks up the property that corresponds to the field, and sets the field's value 1152 private static void modifyFieldIfSet(final Field field, final TypedProperties properties, argument 1154 if (field.getType() == java.lang.String.class) { 1162 field [all...] |
/frameworks/base/media/libdrm/mobile1/src/jni/ |
H A D | drm1_jni.c | 425 jfieldID field; local 431 field = (*env)->GetFieldID(env, clazz, name, "I"); 434 if (NULL == field) 437 *value = (*env)->GetIntField(env, obj, field); 445 jfieldID field; local 451 field = (*env)->GetFieldID(env, clazz, name, "I"); 454 if (NULL == field) 457 (*env)->SetIntField(env, obj, field, value); 465 jfieldID field; local 471 field 534 jfieldID field; local 660 jfieldID field; local 772 jfieldID field; local 849 jfieldID field; local 1028 jfieldID field; local [all...] |
/frameworks/base/opengl/libs/GLES2_dbg/src/ |
H A D | header.h | 59 unsigned char field [24]; // 8 * 24 = 192 member in struct:android::GLFunctionBitfield 64 field[byte] |= mask; 66 field[byte] &= ~mask; 71 return field[byte] & mask;
|
/frameworks/base/core/java/android/database/ |
H A D | DatabaseUtils.java | 580 * Reads a String out of a field in a Cursor and writes it to a Map. 583 * @param field The TEXT field to read 584 * @param values The {@link ContentValues} to put the value into, with the field as the key 586 public static void cursorStringToContentValues(Cursor cursor, String field, argument 588 cursorStringToContentValues(cursor, field, values, field); 592 * Reads a String out of a field in a Cursor and writes it to an InsertHelper. 595 * @param field The TEXT field t 599 cursorStringToInsertHelper(Cursor cursor, String field, InsertHelper inserter, int index) argument 612 cursorStringToContentValues(Cursor cursor, String field, ContentValues values, String key) argument 624 cursorIntToContentValues(Cursor cursor, String field, ContentValues values) argument 636 cursorIntToContentValues(Cursor cursor, String field, ContentValues values, String key) argument 653 cursorLongToContentValues(Cursor cursor, String field, ContentValues values) argument 666 cursorLongToContentValues(Cursor cursor, String field, ContentValues values, String key) argument 684 cursorDoubleToCursorValues(Cursor cursor, String field, ContentValues values) argument 697 cursorDoubleToContentValues(Cursor cursor, String field, ContentValues values, String key) argument [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiConfiguration.java | 380 for (EnterpriseField field : enterpriseFields) { 381 field.setValue(null); 462 for (EnterpriseField field : enterpriseFields) { 463 sbuf.append('\n').append(" " + field.varName() + ": "); 464 String value = field.value(); 580 for (EnterpriseField field : enterpriseFields) { 581 dest.writeString(field.value()); 610 for (EnterpriseField field : config.enterpriseFields) { 611 field.setValue(in.readString());
|
H A D | WifiConfigStore.java | 1028 for (WifiConfiguration.EnterpriseField field 1030 String varName = field.varName(); 1031 String value = field.value(); 1033 if (field != config.eap) { 1340 for (WifiConfiguration.EnterpriseField field : 1343 field.varName()); 1345 if (field != config.eap) value = removeDoubleQuotes(value); 1346 field.setValue(value);
|
/frameworks/base/core/jni/ |
H A D | Time.cpp | 38 #define COMPARE_FIELD(field) do { \ 39 int diff = a.t.field - b.t.field; \
|
H A D | android_view_TextureView.cpp | 54 #define GET_INT(object, field) \ 55 env->GetIntField(object, field) 57 #define SET_INT(object, field, value) \ 58 env->SetIntField(object, field, value) 217 LOG_FATAL_IF(!var, "Unable to find field" fieldName);
|
H A D | android_hardware_Camera.cpp | 487 // save context in opaque field 875 struct field { struct 882 static int find_fields(JNIEnv *env, field *fields, int count) 885 field *f = &fields[i]; 892 jfieldID field = env->GetFieldID(clazz, f->field_name, f->field_type); local 893 if (field == NULL) { 898 *(f->jfield) = field; 907 field fields_to_find[] = {
|
H A D | android_util_Process.cpp | 494 const String8& field = fields[i]; local 495 if (strncmp(p, field.string(), field.length()) == 0) { 496 p += field.length(); 507 //LOGI("Field %s = %d", field.string(), sizesArray[i]);
|
H A D | android_bluetooth_common.cpp | 102 jfieldID field = env->GetFieldID(clazz, member, mtype); local 103 if (field == NULL) { 106 return field;
|
/frameworks/compile/slang/ |
H A D | slang_rs_type_spec.h | 164 const char *name; // field name 177 struct RSRecordField field[1]; member in struct:RSRecordType 252 RS_CAST_TO_RECORD_TYPE(R)->field[(I)].name 257 RS_CAST_TO_RECORD_TYPE(R)->field[(I)].type 262 RS_CAST_TO_RECORD_TYPE(R)->field[(I)].dk
|
/frameworks/base/core/java/android/view/ |
H A D | ViewDebug.java | 164 * When resolveId is true, and if the annotated field/method return value 1390 final Field field = fields[i]; 1391 if (field.isAnnotationPresent(ExportedProperty.class)) { 1392 field.setAccessible(true); 1393 foundFields.add(field); 1394 sAnnotations.put(field, field.getAnnotation(ExportedProperty.class)); 1538 final Field field = fields[i]; 1543 final Class<?> type = field.getType(); 1544 final ExportedProperty property = sAnnotations.get(field); [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | FileLoader.java | 108 // drawable/foo.png, the id is located at field "foo" of class 133 final Field field = d.getField(fieldName); 134 final int id = field.getInt(null); 150 errorMsg = "Can't find field: " + fieldName + " in "
|
/frameworks/base/tests/CoreTests/android/core/ |
H A D | ClassTest.java | 126 Field field = obj.getClass().getDeclaredField("str"); 127 field.set(obj, null);
|
H A D | MiscRegressionTest.java | 214 Field field = getClass().getDeclaredField("MY_LONG"); 215 assertEquals(5073258162644648461L, field.getLong(null));
|
/frameworks/base/core/java/android/text/format/ |
H A D | Time.java | 191 * Ensures the values in each field are in range. For example if the 196 * If "ignoreDst" is true, then this method sets the "isDst" field to -1 219 * Return the maximum possible value for the given field given the value of 222 * @param field one of the constants for HOUR, MINUTE, SECOND, etc. 223 * @return the maximum value for the field. 225 public int getActualMaximum(int field) { argument 226 switch (field) { 256 throw new RuntimeException("bad field=" + field); 405 * format that does not include the "time" field [all...] |