/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/testing/androidtestlib/src/com/android/test/runner/junit4/ |
H A D | AndroidJUnit4Builder.java | 56 for (Field field : testClass.getDeclaredFields()) { 57 if (field.isAnnotationPresent(InjectInstrumentation.class)) { 60 if (field.isAnnotationPresent(InjectContext.class)) {
|
H A D | AndroidJUnit4ClassRunner.java | 85 "field %s in class %s has an InjectInstrumentation annotation," + 90 "field %s in class %s has an InjectInstrumentation annotation," + 109 private void setFieldValue(Object test, Field field, Object value) { argument 111 field.set(test, value); 114 "Failed to inject value for field %s in class %s", field.getName(), 118 "Failed to inject value for field %s in class %s", field.getName(),
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | FinalPort.java | 27 public FinalPort(Filter filter, String name, Field field, boolean hasDefault) { argument 28 super(filter, name, field, hasDefault);
|
H A D | ProgramPort.java | 32 Field field, 34 super(filter, name, field, hasDefault); 55 "Access to program field '" + mField.getName() + "' was denied!"); 57 throw new RuntimeException("Non Program field '" + mField.getName() 29 ProgramPort(Filter filter, String name, String varName, Field field, boolean hasDefault) argument
|
H A D | Filter.java | 274 * transfer from a FieldPort or ProgramPort to its connected target (field or program variable). 356 Field field, 359 // Make sure field is accessible 360 field.setAccessible(true); 364 ? new FinalPort(this, name, field, hasDefault) 365 : new FieldPort(this, name, field, hasDefault); 369 MutableFrameFormat format = ObjectFormat.fromClass(field.getType(), 379 Field field, 382 // Make sure field is accessible 383 field 355 addFieldPort(String name, Field field, boolean hasDefault, boolean isFinal) argument 377 addProgramPort(String name, String varName, Field field, Class varType, boolean hasDefault) argument 599 addFieldGenerator(GenerateFieldPort generator, Field field) argument 605 addProgramGenerator(GenerateProgramPort generator, Field field) argument [all...] |
H A D | FieldPort.java | 32 public FieldPort(Filter filter, String name, Field field, boolean hasDefault) { argument 34 mField = field; 68 "Access to field '" + mField.getName() + "' was denied!"); 94 return "field " + super.toString();
|
/frameworks/opt/mms/src/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/core/jni/ |
H A D | android_os_UEventObserver.cpp | 51 const char* field = buffer; local 54 if (strstr(field, match.string())) { 58 field += strlen(field) + 1; 59 } while (field != end);
|
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);
|
/frameworks/base/core/java/android/test/ |
H A D | AndroidTestCase.java | 157 for (Field field : fields) { 158 final Class<?> fieldClass = field.getDeclaringClass(); 159 if (testCaseClass.isAssignableFrom(fieldClass) && !field.getType().isPrimitive()) { 161 field.setAccessible(true); 162 field.set(this, null); 164 android.util.Log.d("TestCase", "Error: Could not nullify field!"); 167 if (field.get(this) != null) { 168 android.util.Log.d("TestCase", "Error: Could not nullify field!");
|
/frameworks/compile/libbcc/include/bcinfo/Wrap/ |
H A D | BCHeaderField.h | 24 // Class representing a variable-size metadata field in the bitcode header. 70 FixedSubfield field; 71 ReadFixedSubfield(&field, buf); 72 ID_ = static_cast<Tag>(field); 73 ReadFixedSubfield(&field, buf + sizeof(FixedSubfield)); 74 len_ = static_cast<size_t>(field); 88 // Get the data size from a serialized field to allow allocation
|
/frameworks/compile/libbcc/bcinfo/Wrap/ |
H A D | bitcode_wrapperer.cpp | 218 BCHeaderField field(BCHeaderField::kInvalid, 0, 220 field.Read(&buffer_[cursor_], buffer_size_); 221 header_fields_.push_back(field); 222 size_t field_size = field.GetTotalSize(); 228 "variable field data\n"); 239 switch (field.getID()) { 241 if (field.Write((uint8_t*)&tempIntField, 247 if (field.Write((uint8_t*)&tempIntField, 253 // Ignore other field types for now 331 void BitcodeWrapperer::AddHeaderField(BCHeaderField* field) { argument [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/rs/driver/ |
H A D | rsdShader.cpp | 143 for (uint32_t field=0; field < e->mHal.state.fieldsCount; field++) { 144 const Element *f = e->mHal.state.fields[field]; 157 s.append(e->mHal.state.fieldNames[field]); 167 for (uint32_t field=0; field < e->mHal.state.fieldsCount; field++) { 168 const Element *f = e->mHal.state.fields[field]; 169 const char *fn = e->mHal.state.fieldNames[field]; 309 logUniform(const Element *field, const float *fd, uint32_t arraySize ) argument 355 setUniform(const Context *rsc, const Element *field, const float *fd, int32_t slot, uint32_t arraySize ) argument [all...] |
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
H A D | ColladaParser.java | 246 Element field = (Element)childNode;
247 String fieldName = field.getTagName();
248 String description = field.getAttribute("sid");
250 Float3 value = getFloat3(field);
254 Float4 value = getFloat4(field);
259 Float3 value = getFloat3(field);
263 getRenderable(field, current);
265 updateLight(field, current);
267 updateCamera(field, current);
269 getNode(field, curren [all...] |
/frameworks/av/media/libstagefright/wifi-display/ |
H A D | ParsedMessage.h | 35 void getRequestField(size_t index, AString *field) const;
|
/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/core/java/android/database/ |
H A D | DatabaseUtils.java | 577 * Reads a String out of a field in a Cursor and writes it to a Map. 580 * @param field The TEXT field to read 581 * @param values The {@link ContentValues} to put the value into, with the field as the key 583 public static void cursorStringToContentValues(Cursor cursor, String field, argument 585 cursorStringToContentValues(cursor, field, values, field); 589 * Reads a String out of a field in a Cursor and writes it to an InsertHelper. 592 * @param field The TEXT field t 596 cursorStringToInsertHelper(Cursor cursor, String field, InsertHelper inserter, int index) argument 609 cursorStringToContentValues(Cursor cursor, String field, ContentValues values, String key) argument 621 cursorIntToContentValues(Cursor cursor, String field, ContentValues values) argument 633 cursorIntToContentValues(Cursor cursor, String field, ContentValues values, String key) argument 650 cursorLongToContentValues(Cursor cursor, String field, ContentValues values) argument 663 cursorLongToContentValues(Cursor cursor, String field, ContentValues values, String key) argument 681 cursorDoubleToCursorValues(Cursor cursor, String field, ContentValues values) argument 694 cursorDoubleToContentValues(Cursor cursor, String field, ContentValues values, String key) argument [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiConfiguration.java | 33 * In old configurations, the "private_key" field was used. However, newer 34 * configurations use the key_id field with the engine_id set to "keystore". 35 * If this field is found in the configuration, the migration code is 417 for (EnterpriseField field : enterpriseFields) { 418 field.setValue(null); 499 for (EnterpriseField field : enterpriseFields) { 500 sbuf.append('\n').append(" " + field.varName() + ": "); 501 String value = field.value(); 638 for (EnterpriseField field : enterpriseFields) { 639 dest.writeString(field [all...] |
/frameworks/base/core/java/android/view/ |
H A D | ViewDebug.java | 80 * When resolveId is true, and if the annotated field/method return value 867 final Field field = fields[i]; 868 if (field.isAnnotationPresent(ExportedProperty.class)) { 869 field.setAccessible(true); 870 foundFields.add(field); 871 sAnnotations.put(field, field.getAnnotation(ExportedProperty.class)); 1019 final Field field = fields[i]; 1024 final Class<?> type = field.getType(); 1025 final ExportedProperty property = sAnnotations.get(field); [all...] |