Searched defs:field (Results 1 - 25 of 50) sorted by path

12

/frameworks/av/media/libstagefright/codec2/include/
H A DC2Work.h49 C2ParamField field; member in struct:android::C2SettingResult
/frameworks/base/core/java/android/app/
H A DNotificationChannel.java261 public void lockFields(int field) { argument
262 mUserLockedFields |= field;
268 public void unlockFields(int field) { argument
269 mUserLockedFields &= ~field;
/frameworks/base/core/java/android/database/
H A DDatabaseUtils.java597 * Reads a String out of a field in a Cursor and writes it to a Map.
600 * @param field The TEXT field to read
601 * @param values The {@link ContentValues} to put the value into, with the field as the key
603 public static void cursorStringToContentValues(Cursor cursor, String field, argument
605 cursorStringToContentValues(cursor, field, values, field);
609 * Reads a String out of a field in a Cursor and writes it to an InsertHelper.
612 * @param field The TEXT field t
616 cursorStringToInsertHelper(Cursor cursor, String field, InsertHelper inserter, int index) argument
629 cursorStringToContentValues(Cursor cursor, String field, ContentValues values, String key) argument
641 cursorIntToContentValues(Cursor cursor, String field, ContentValues values) argument
653 cursorIntToContentValues(Cursor cursor, String field, ContentValues values, String key) argument
670 cursorLongToContentValues(Cursor cursor, String field, ContentValues values) argument
683 cursorLongToContentValues(Cursor cursor, String field, ContentValues values, String key) argument
701 cursorDoubleToCursorValues(Cursor cursor, String field, ContentValues values) argument
714 cursorDoubleToContentValues(Cursor cursor, String field, ContentValues values, String key) argument
[all...]
/frameworks/base/core/java/android/hardware/camera2/
H A DCameraMetadata.java58 * Set a camera metadata field to a value. The field definitions can be
62 * @param key The metadata field to write.
63 * @param value The value to set the field to, which must be of a matching
72 * Get a camera metadata field value.
74 * <p>The field definitions can be
83 * @param key The metadata field to read.
84 * @return The value of that key, or {@code null} if the field is not set.
123 * Return a list of all the Key<?> that are declared as a field inside of the class
156 for (Field field
218 shouldKeyBeAdded(TKey key, Field field, int[] filterTags) argument
[all...]
/frameworks/base/core/java/android/os/
H A DDebug.java438 * <td>The private Java Heap usage in kB. This corresponds to the Java Heap field
446 * field in the App Summary section output by dumpsys meminfo.</td>
453 * the Code field in the App Summary section output by dumpsys meminfo.</td>
459 * <td>The stack usage in kB. This corresponds to the Stack field in the
466 * <td>The graphics usage in kB. This corresponds to the Graphics field in the
474 * field output in the App Summary section by dumpsys meminfo.</td>
481 * field output in the App Summary section by dumpsys meminfo.</td>
2013 * Returns true if the type of the field matches the specified class.
2015 * the field is of the primitive "boolean" type. Also handles all of
2018 private static boolean fieldTypeMatches(Field field, Clas argument
2045 modifyFieldIfSet(final Field field, final TypedProperties properties, final String propertyName) argument
[all...]
/frameworks/base/core/java/android/text/format/
H A DTime.java212 * Ensures the values in each field are in range. For example if the
217 * If "ignoreDst" is true, then this method sets the "isDst" field to -1
254 * Return the maximum possible value for the given field given the value of
257 * @param field one of the constants for HOUR, MINUTE, SECOND, etc.
258 * @return the maximum value for the field.
260 public int getActualMaximum(int field) { argument
261 switch (field) {
291 throw new RuntimeException("bad field=" + field);
374 * format that does not include the "time" field
[all...]
/frameworks/base/core/jni/
H A Dandroid_hardware_Camera.cpp600 // save context in opaque field
1107 struct field { struct
1114 static void find_fields(JNIEnv *env, field *fields, int count)
1117 field *f = &fields[i];
1119 jfieldID field = GetFieldIDOrDie(env, clazz, f->field_name, f->field_type); local
1120 *(f->jfield) = field;
1127 field fields_to_find[] = {
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_util_Process.cpp738 const String8& field = fields[i]; local
739 if (strncmp(p, field.string(), field.length()) == 0) {
740 p += field.length();
751 //ALOGI("Field %s = %" PRId64, field.string(), sizesArray[i]);
H A Dandroid_view_RenderNodeAnimator.cpp101 static inline CanvasPropertyPaintAnimator::PaintField toPaintField(jint field) { argument
102 LOG_ALWAYS_FATAL_IF(field < 0
103 || field > CanvasPropertyPaintAnimator::ALPHA,
104 "Invalid paint field %d", field);
105 return static_cast<CanvasPropertyPaintAnimator::PaintField>(field);
H A Dcom_android_internal_net_NetworkStatsFactory.cpp66 static jobjectArray get_string_array(JNIEnv* env, jobject obj, jfieldID field, int size, bool grow) argument
69 jobjectArray array = (jobjectArray)env->GetObjectField(obj, field);
77 static jintArray get_int_array(JNIEnv* env, jobject obj, jfieldID field, int size, bool grow) argument
80 jintArray array = (jintArray)env->GetObjectField(obj, field);
88 static jlongArray get_long_array(JNIEnv* env, jobject obj, jfieldID field, int size, bool grow) argument
91 jlongArray array = (jlongArray)env->GetObjectField(obj, field);
134 // First field is the index.
153 // Next field is iface.
185 // Find end of tag field
189 // Three digit field i
[all...]
/frameworks/base/core/tests/coretests/src/android/provider/
H A DSettingsBackupTest.java535 for (Field field : clazz.getDeclaredFields()) {
536 if (looksLikeValidSetting(field)) {
538 result.add((String) field.get(null));
548 private static boolean looksLikeValidSetting(Field field) { argument
549 int modifiers = field.getModifiers();
553 && field.getType() == String.class
554 && field.getAnnotation(Deprecated.class) == null;
/frameworks/base/libs/hwui/
H A DAnimator.cpp411 CanvasPropertyPaint* property, PaintField field, float finalValue)
414 , mField(field) {
424 LOG_ALWAYS_FATAL("Unknown field %d", (int) mField);
442 LOG_ALWAYS_FATAL("Unknown field %d", (int) mField);
410 CanvasPropertyPaintAnimator( CanvasPropertyPaint* property, PaintField field, float finalValue) argument
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodec.cpp1750 jfieldID field; local
1751 field = env->GetStaticFieldID(clazz.get(), "CRYPTO_MODE_UNENCRYPTED", "I");
1752 CHECK(field != NULL);
1754 env->GetStaticIntField(clazz.get(), field);
1756 field = env->GetStaticFieldID(clazz.get(), "CRYPTO_MODE_AES_CTR", "I");
1757 CHECK(field != NULL);
1759 env->GetStaticIntField(clazz.get(), field);
1761 field = env->GetStaticFieldID(clazz.get(), "CRYPTO_MODE_AES_CBC", "I");
1762 CHECK(field != NULL);
1764 env->GetStaticIntField(clazz.get(), field);
[all...]
H A Dandroid_media_MediaDrm.cpp45 LOG_FATAL_IF(! (var), "Unable to find field " fieldName);
53 LOG_FATAL_IF(! (var), "Unable to find field " fieldName);
597 jfieldID field; local
598 GET_STATIC_FIELD_ID(field, clazz, "EVENT_PROVISION_REQUIRED", "I");
599 gEventTypes.kEventProvisionRequired = env->GetStaticIntField(clazz, field);
600 GET_STATIC_FIELD_ID(field, clazz, "EVENT_KEY_REQUIRED", "I");
601 gEventTypes.kEventKeyRequired = env->GetStaticIntField(clazz, field);
602 GET_STATIC_FIELD_ID(field, clazz, "EVENT_KEY_EXPIRED", "I");
603 gEventTypes.kEventKeyExpired = env->GetStaticIntField(clazz, field);
604 GET_STATIC_FIELD_ID(field, claz
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
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.java273 * 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 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
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DCameraUtilsTypeReferenceTest.java53 T field; field in class:CameraUtilsTypeReferenceTest.GenericOuterClass.GenericInnerClass
/frameworks/base/packages/Shell/tests/src/com/android/shell/
H A DBugreportReceiverTest.java1124 private void assertField(String name, UiObject field, String expected) argument
1126 String actual = field.getText().toString();
1127 assertEquals("Wrong value on field '" + name + "'", expected, actual);
1143 * Set focus on the name field so it can be validated once focus is lost.
1151 * Takes focus away from the name field so it can be validated.
/frameworks/base/rs/java/android/renderscript/
H A DScriptGroup.java257 * @param field the field ID for the global variable
261 public Future getGlobal(Script.FieldID field) { argument
262 Future f = mGlobalFuture.get(field);
265 // If the field is not bound to this closure, this will return a future
267 // cross-module (cross-script) linking in this case where a field not
269 Object obj = mBindings.get(field);
273 f = new Future(this, field, obj);
274 mGlobalFuture.put(field, f);
536 * of connections: kernel to kernel and kernel to field
870 Binding(Script.FieldID field, Object value) argument
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DStorageManagerService.java2762 * Set a field in the crypto header.
2763 * @param field field to set
2764 * @param contents contents to set in field
2767 public void setField(String field, String contents) throws RemoteException { argument
2775 event = mCryptConnector.execute("cryptfs", "setfield", field, contents);
2782 * Gets a field from the crypto header.
2783 * @param field field to get
2784 * @return contents of field
2787 getField(String field) argument
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DMockStorageManager.java307 public void setField(String field, String contents) throws RemoteException { argument
313 public String getField(String field) throws RemoteException { argument
/frameworks/base/telephony/java/android/telephony/
H A DTelephony.java2317 * An extra field which stores the URI of deleted contents.
2446 * This field is only valid for MM. For SM, its value is always set to 0.
2768 * Following are possible values for the EDITED field
3002 * Generates a content {@link Uri} used to receive updates on a specific field in the
3012 * @param field the ServiceState field to receive updates on
3015 public static Uri getUriForSubscriptionIdAndField(int subscriptionId, String field) { argument
3017 .appendEncodedPath(field).build();
3021 * Generates a content {@link Uri} used to receive updates on every field in the

Completed in 6902 milliseconds

12