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

/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DFinalPort.java27 public FinalPort(Filter filter, String name, Field field, boolean hasDefault) { argument
28 super(filter, name, field, hasDefault);
H A DProgramPort.java32 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 DFieldPort.java32 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();
H A DFilter.java274 * 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...]
/frameworks/base/core/jni/
H A Dandroid_os_UEventObserver.cpp51 const char* field = buffer; local
54 if (strstr(field, match.string())) {
58 field += strlen(field) + 1;
59 } while (field != end);
H A Dandroid_hardware_camera2_CameraMetadata.cpp409 struct field { struct
416 static int find_fields(JNIEnv *env, field *fields, int count)
419 field *f = &fields[i];
426 jfieldID field = env->GetFieldID(clazz, f->field_name, f->field_type); local
427 if (field == NULL) {
432 *(f->jfield) = field;
453 field fields_to_find[] = {
H A Dandroid_hardware_Camera.cpp502 // save context in opaque field
969 struct field { struct
976 static int find_fields(JNIEnv *env, field *fields, int count)
979 field *f = &fields[i];
986 jfieldID field = env->GetFieldID(clazz, f->field_name, f->field_type); local
987 if (field == NULL) {
992 *(f->jfield) = field;
1001 field fields_to_find[] = {
H A Dandroid_util_Process.cpp561 const String8& field = fields[i]; local
562 if (strncmp(p, field.string(), field.length()) == 0) {
563 p += field.length();
574 //ALOGI("Field %s = %d", field.string(), sizesArray[i]);
/frameworks/testing/androidtestlib/src/com/android/test/runner/junit4/
H A DAndroidJUnit4ClassRunner.java94 "field %s in class %s has an InjectInstrumentation annotation," +
99 "field %s in class %s has an InjectInstrumentation annotation," +
123 private void setFieldValue(Object test, Field field, Object value) { argument
125 field.set(test, value);
128 "Failed to inject value for field %s in class %s", field.getName(),
132 "Failed to inject value for field %s in class %s", field.getName(),
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DInputPort.java31 * 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/compile/libbcc/bcinfo/Wrap/
H A Dbitcode_wrapperer.cpp218 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/compile/slang/
H A Dslang_rs_type_spec.h150 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
/frameworks/rs/driver/
H A DrsdShader.cpp143 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/core/java/android/text/format/
H A DTime.java196 * Ensures the values in each field are in range. For example if the
201 * If "ignoreDst" is true, then this method sets the "isDst" field to -1
224 * Return the maximum possible value for the given field given the value of
227 * @param field one of the constants for HOUR, MINUTE, SECOND, etc.
228 * @return the maximum value for the field.
230 public int getActualMaximum(int field) { argument
231 switch (field) {
261 throw new RuntimeException("bad field=" + field);
379 * format that does not include the "time" field
[all...]
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/
H A DPduComposer.java334 * 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...]
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/core/java/android/database/
H A DDatabaseUtils.java577 * 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/media/jni/
H A Dandroid_media_MediaCodec.cpp918 jfieldID field; local
919 field = env->GetStaticFieldID(clazz.get(), "ERROR_NO_KEY", "I");
920 CHECK(field != NULL);
922 env->GetStaticIntField(clazz.get(), field);
924 field = env->GetStaticFieldID(clazz.get(), "ERROR_KEY_EXPIRED", "I");
925 CHECK(field != NULL);
927 env->GetStaticIntField(clazz.get(), field);
929 field = env->GetStaticFieldID(clazz.get(), "ERROR_RESOURCE_BUSY", "I");
930 CHECK(field != NULL);
932 env->GetStaticIntField(clazz.get(), field);
[all...]
H A Dandroid_media_MediaDrm.cpp44 LOG_FATAL_IF(! var, "Unable to find field " fieldName);
52 LOG_FATAL_IF(! var, "Unable to find field " fieldName);
527 jfieldID field; local
528 GET_STATIC_FIELD_ID(field, clazz, "EVENT_PROVISION_REQUIRED", "I");
529 gEventTypes.kEventProvisionRequired = env->GetStaticIntField(clazz, field);
530 GET_STATIC_FIELD_ID(field, clazz, "EVENT_KEY_REQUIRED", "I");
531 gEventTypes.kEventKeyRequired = env->GetStaticIntField(clazz, field);
532 GET_STATIC_FIELD_ID(field, clazz, "EVENT_KEY_EXPIRED", "I");
533 gEventTypes.kEventKeyExpired = env->GetStaticIntField(clazz, field);
534 GET_STATIC_FIELD_ID(field, claz
[all...]
/frameworks/base/core/java/android/os/
H A DDebug.java1367 * Returns true if the type of the field matches the specified class.
1369 * the field is of the primitive "boolean" type. Also handles all of
1372 private static boolean fieldTypeMatches(Field field, Class<?> cl) { argument
1373 Class<?> fieldClass = field.getType();
1380 * have a Class field called "TYPE" that points to the corresponding
1396 * Looks up the property that corresponds to the field, and sets the field's value
1399 private static void modifyFieldIfSet(final Field field, final TypedProperties properties, argument
1401 if (field.getType() == java.lang.String.class) {
1409 field
[all...]
/frameworks/base/media/jni/mediaeditor/
H A DVideoEditorMain.cpp321 int field = 0; local
635 // Validate the mSurface's mNativeSurface field
706 // Validate the mSurface's mNativeSurface field
1649 M4OSA_TRACE1_0("cannot find object field for mEditClazz");
1655 M4OSA_TRACE1_0("cannot find object field for mEffectsClazz");
1661 M4OSA_TRACE1_0("cannot find field for effectSettingsArray Array");
1667 M4OSA_TRACE1_0("cannot find object field for effectSettingsArray");
2118 // Validate the mSurface's mNativeSurface field

Completed in 487 milliseconds