/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 | 38 Integer field = (Integer)cls.getDeclaredField(identifier).get(cls); 39 id = field.intValue();
|
/frameworks/opt/net/wifi/service/jni/ |
H A D | jni_helper.cpp | 53 jfieldID field = (env)->GetFieldID(cls, name, "Z"); local 54 if (field == 0) { 55 THROW(env, "Error in accessing field"); 59 jboolean value = (env)->GetBooleanField(obj, field); 67 jfieldID field = (env)->GetFieldID(cls, name, "I"); local 68 if (field == 0) { 69 THROW(env, "Error in accessing field"); 73 jint value = (env)->GetIntField(obj, field); 81 jfieldID field = (env)->GetFieldID(cls, name, "J"); local 82 if (field 102 jfieldID field = (env)->GetStaticFieldID(cls, name, "J"); local 115 jfieldID field = (env)->GetFieldID(cls, name, type); local 129 jfieldID field = (env)->GetFieldID(cls, name, "[J"); local 166 jfieldID field = (env)->GetStaticFieldID(cls, name, "[J"); local 189 jfieldID field = (env)->GetFieldID(cls, name, type); local 215 jfieldID field = (env)->GetFieldID(cls, name, "I"); local 233 jfieldID field = (env)->GetFieldID(cls, name, "J"); local 257 jfieldID field = (env)->GetStaticFieldID(cls, name, "J"); local 276 jfieldID field = (env)->GetFieldID(cls, name, "[J"); local 304 jfieldID field = (env)->GetStaticFieldID(cls, name, "[J"); local 324 jfieldID field = (env)->GetFieldID(cls, name, "[J"); local 360 jfieldID field = (env)->GetFieldID(cls, name, type); local [all...] |
/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/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | InputPort.java | 31 * InputPorts may be bound to fields of the Filter. When an input port is bound to a field, Frame 32 * values will be assigned to the field once a Frame is received on that port. The Frame value must 33 * be of a type that is compatible with the field type. 54 public FieldBinding(Field field) { argument 55 mField = field; 69 throw new RuntimeException("Assigning frame " + frame + " to field " 107 * Bind this input port to the specified field. 109 * Use this when you wish to pull frames directly into a field of the filter. This requires 110 * that the input frames can be interpreted as object-based frames of the field's class. 117 * @param field th 121 bindToField(Field field) argument [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 | 273 * transfer from a FieldPort or ProgramPort to its connected target (field or program variable). 355 Field field, 358 // Make sure field is accessible 359 field.setAccessible(true); 363 ? new FinalPort(this, name, field, hasDefault) 364 : new FieldPort(this, name, field, hasDefault); 368 MutableFrameFormat format = ObjectFormat.fromClass(field.getType(), 378 Field field, 381 // Make sure field is accessible 382 field 354 addFieldPort(String name, Field field, boolean hasDefault, boolean isFinal) argument 376 addProgramPort(String name, String varName, Field field, Class varType, boolean hasDefault) argument 598 addFieldGenerator(GenerateFieldPort generator, Field field) argument 604 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/telephony/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 | android_view_TextureView.cpp | 57 #define GET_INT(object, field) \ 58 env->GetIntField(object, field) 60 #define GET_LONG(object, field) \ 61 env->GetLongField(object, field) 63 #define SET_INT(object, field, value) \ 64 env->SetIntField(object, field, value) 66 #define SET_LONG(object, field, value) \ 67 env->SetLongField(object, field, value) 225 LOG_FATAL_IF(!var, "Unable to find field" fieldName);
|
H A D | android_view_GraphicBuffer.cpp | 82 #define GET_INT(object, field) \ 83 env->GetIntField(object, field) 85 #define SET_INT(object, field, value) \ 86 env->SetIntField(object, field, value) 88 #define GET_LONG(object, field) \ 89 env->GetLongField(object, field) 91 #define SET_LONG(object, field, value) \ 92 env->SetLongField(object, field, value) 286 LOG_FATAL_IF(! var, "Unable to find field " fieldName);
|
/frameworks/webview/chromium/tools/ |
H A D | memreport.py | 92 field = token.split('=')[1] 94 mem_usage[key] += int(field) 96 array = eval(field) 103 def _ConvertMemoryField(field): 104 return str(field / (1024))
|
/frameworks/base/core/java/android/test/ |
H A D | AndroidTestCase.java | 159 for (Field field : fields) { 160 if (!field.getType().isPrimitive() && 161 !Modifier.isStatic(field.getModifiers())) { 163 field.setAccessible(true); 164 field.set(this, null); 166 android.util.Log.d("TestCase", "Error: Could not nullify field!"); 169 if (field.get(this) != null) { 170 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/core/java/android/hardware/camera2/ |
H A D | CameraMetadata.java | 56 * Set a camera metadata field to a value. The field definitions can be 60 * @param key The metadata field to write. 61 * @param value The value to set the field to, which must be of a matching 70 * Get a camera metadata field value. 72 * <p>The field definitions can be 81 * @param key The metadata field to read. 82 * @return The value of that key, or {@code null} if the field is not set. 113 * Return a list of all the Key<?> that are declared as a field inside of the class 146 for (Field field 178 shouldKeyBeAdded(TKey key, Field field, int[] filterTags) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/ |
H A D | LayoutLibTestCallback.java | 69 for (Field field : resClass.getDeclaredFields()) { 70 final int modifiers = field.getModifiers(); 72 final Class<?> type = field.getType(); 76 new IntArrayWrapper((int[]) field.get(null)), 77 field.getName()); 79 final Integer value = (Integer) field.get(null); 80 mProjectResources.put(value, Pair.of(resType, field.getName())); 81 resName2Id.put(field.getName(), value); 83 mLog.error(null, "Unknown field type in R class: %1$s", type);
|
/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/include/media/stagefright/foundation/ |
H A D | ParsedMessage.h | 35 bool getRequestField(size_t index, AString *field) const;
|
/frameworks/compile/mclinker/ |
H A D | mcld-host-build.mk | 11 -Wno-unused-private-field \
|
/frameworks/base/core/java/android/os/ |
H A D | Debug.java | 1406 * Returns true if the type of the field matches the specified class. 1408 * the field is of the primitive "boolean" type. Also handles all of 1411 private static boolean fieldTypeMatches(Field field, Class<?> cl) { argument 1412 Class<?> fieldClass = field.getType(); 1419 * have a Class field called "TYPE" that points to the corresponding 1435 * Looks up the property that corresponds to the field, and sets the field's value 1438 private static void modifyFieldIfSet(final Field field, final TypedProperties properties, argument 1440 if (field.getType() == java.lang.String.class) { 1448 field [all...] |