/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/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/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/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/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
|
H A D | bitcode_wrapperer.h | 63 // Add a variable-length field to the header. The caller is responsible 65 void AddHeaderField(BCHeaderField* field);
|
/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...] |
H A D | rsdShader.h | 125 void logUniform(const android::renderscript::Element *field, 128 const android::renderscript::Element *field,
|
/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/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 | 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 | 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(); 617 for (EnterpriseField field : enterpriseFields) { 618 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 828 final Field field = fields[i]; 829 if (field.isAnnotationPresent(ExportedProperty.class)) { 830 field.setAccessible(true); 831 foundFields.add(field); 832 sAnnotations.put(field, field.getAnnotation(ExportedProperty.class)); 976 final Field field = fields[i]; 981 final Class<?> type = field.getType(); 982 final ExportedProperty property = sAnnotations.get(field); [all...] |
/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);
|
/frameworks/base/tests/WebViewTests/src/com/android/webviewtests/ |
H A D | JavaBridgeBasicsTest.java | 393 public int field; 415 public String field = "foo"; 418 "testObject.getClass().getField('field').get(testObject).toString()")); 434 private int field; 436 assertRaisesException("testObject.getClass().getField('field')"); 437 // getDeclaredField() is able to access a private field, but getInt() 440 "testObject.getClass().getDeclaredField('field').getInt(testObject)");
|
/frameworks/compile/slang/ |
H A D | slang_rs_type_spec.h | 150 const char *name; // field name 162 struct RSRecordField field[1]; member in struct:RSRecordType 237 RS_CAST_TO_RECORD_TYPE(R)->field[(I)].name 242 RS_CAST_TO_RECORD_TYPE(R)->field[(I)].type
|