/frameworks/base/core/java/com/google/android/mms/pdu/ |
D | PduHeaders.java | 342 protected int getOctet(int field) { in getOctet() argument 343 Integer octet = (Integer) mHeaderMap.get(field); in getOctet() 358 protected void setOctet(int value, int field) in setOctet() argument 364 switch (field) { in setOctet() 492 mHeaderMap.put(field, value); in setOctet() 502 protected byte[] getTextString(int field) { in getTextString() argument 503 return (byte[]) mHeaderMap.get(field); in getTextString() 515 protected void setTextString(byte[] value, int field) { in setTextString() argument 524 switch (field) { in setTextString() 541 mHeaderMap.put(field, value); in setTextString() [all …]
|
D | PduComposer.java | 481 private int appendHeader(int field) { in appendHeader() argument 482 switch (field) { in appendHeader() 484 appendOctet(field); in appendHeader() 486 int version = mPduHeader.getOctet(field); in appendHeader() 497 byte[] textString = mPduHeader.getTextString(field); in appendHeader() 502 appendOctet(field); in appendHeader() 509 EncodedStringValue[] addr = mPduHeader.getEncodedStringValues(field); in appendHeader() 522 appendOctet(field); in appendHeader() 529 appendOctet(field); in appendHeader() 531 EncodedStringValue from = mPduHeader.getEncodedStringValue(field); in appendHeader() [all …]
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | ContentProviderOperationTest.java | 388 Field field; in builderSetSelectionArgsBackReferences() local 389 field = CLASS_BUILDER.getDeclaredField("mSelectionArgsBackReferences"); in builderSetSelectionArgsBackReferences() 390 field.setAccessible(true); in builderSetSelectionArgsBackReferences() 391 field.set(builder, selArgsBackRef); in builderSetSelectionArgsBackReferences() 397 Field field; in builderSetValuesBackReferences() local 398 field = CLASS_BUILDER.getDeclaredField("mValuesBackReferences"); in builderSetValuesBackReferences() 399 field.setAccessible(true); in builderSetValuesBackReferences() 400 field.set(builder, valuesBackReferences); in builderSetValuesBackReferences() 406 Field field; in builderSetSelection() local 407 field = CLASS_BUILDER.getDeclaredField("mSelection"); in builderSetSelection() [all …]
|
/frameworks/base/core/jni/ |
D | android_database_CursorWindow.cpp | 152 field_slot_t field; in getLong_native() local 153 err = window->read_field_slot(row, column, &field); in getLong_native() 159 uint8_t type = field.type; in getLong_native() 167 uint32_t size = field.data.buffer.size; in getLong_native() 170 return strtoll((char const *)window->offsetToPtr(field.data.buffer.offset), NULL, 0); in getLong_native() 172 String8 ascii((char16_t *) window->offsetToPtr(field.data.buffer.offset), size / 2); in getLong_native() 202 field_slot_t field; in getBlob_native() local 203 err = window->read_field_slot(row, column, &field); in getBlob_native() 209 uint8_t type = field.type; in getBlob_native() 211 jbyteArray byteArray = env->NewByteArray(field.data.buffer.size); in getBlob_native() [all …]
|
D | Time.cpp | 38 #define COMPARE_FIELD(field) do { \ argument 39 int diff = a.t.field - b.t.field; \
|
D | android_hardware_Camera.cpp | 656 struct field { struct 663 static int find_fields(JNIEnv *env, field *fields, int count) in find_fields() argument 666 field *f = &fields[i]; in find_fields() 673 jfieldID field = env->GetFieldID(clazz, f->field_name, f->field_type); in find_fields() local 674 if (field == NULL) { in find_fields() 679 *(f->jfield) = field; in find_fields() 688 field fields_to_find[] = { in register_android_hardware_Camera()
|
/frameworks/base/test-runner/src/android/test/ |
D | ActivityTestCase.java | 63 for (Field field : fields) { in scrubClass() 64 final Class<?> fieldClass = field.getDeclaringClass(); in scrubClass() 65 if (testCaseClass.isAssignableFrom(fieldClass) && !field.getType().isPrimitive()) { in scrubClass() 67 field.setAccessible(true); in scrubClass() 68 field.set(this, null); in scrubClass() 73 if (field.get(this) != null) { in scrubClass()
|
D | InstrumentationUtils.java | 40 Integer field = (Integer)cls.getDeclaredField(identifier).get(cls); in getMenuIdentifier() local 41 id = field.intValue(); in getMenuIdentifier()
|
/frameworks/base/media/libdrm/mobile1/src/jni/ |
D | drm1_jni.c | 424 jfieldID field; in getObjectIntField() local 430 field = (*env)->GetFieldID(env, clazz, name, "I"); in getObjectIntField() 433 if (NULL == field) in getObjectIntField() 436 *value = (*env)->GetIntField(env, obj, field); in getObjectIntField() 444 jfieldID field; in setObjectIntField() local 450 field = (*env)->GetFieldID(env, clazz, name, "I"); in setObjectIntField() 453 if (NULL == field) in setObjectIntField() 456 (*env)->SetIntField(env, obj, field, value); in setObjectIntField() 464 jfieldID field; in setObjectLongField() local 470 field = (*env)->GetFieldID(env, clazz, name, "J"); in setObjectLongField() [all …]
|
/frameworks/base/core/java/android/test/ |
D | AndroidTestCase.java | 156 for (Field field : fields) { in scrubClass() 157 final Class<?> fieldClass = field.getDeclaringClass(); in scrubClass() 158 if (testCaseClass.isAssignableFrom(fieldClass) && !field.getType().isPrimitive()) { in scrubClass() 160 field.setAccessible(true); in scrubClass() 161 field.set(this, null); in scrubClass() 166 if (field.get(this) != null) { in scrubClass()
|
/frameworks/base/libs/rs/ |
D | rsProgramVertex.cpp | 129 for (uint32_t field=0; field < e->getFieldCount(); field++) { in createShader() local 130 const Element *f = e->getField(field); in createShader() 143 mShader.append(e->getFieldName(field)); in createShader() 151 for (uint32_t field=0; field < e->getFieldCount(); field++) { in createShader() local 152 const Element *f = e->getField(field); in createShader() 165 mShader.append(e->getFieldName(field)); in createShader() 234 for (uint32_t field=0; field < e->getFieldCount(); field++) { in setupGL2() local 235 const Element *f = e->getField(field); in setupGL2() 236 uint32_t offset = e->getFieldOffsetBytes(field); in setupGL2()
|
D | rsProgram.cpp | 155 for (uint32_t field=0; field < e->getFieldCount(); field++) { in getGLSLInputString() local 156 const Element *f = e->getField(field); in getGLSLInputString() 169 s.append(e->getFieldName(field)); in getGLSLInputString()
|
/frameworks/base/core/java/android/database/ |
D | DatabaseUtils.java | 458 public static void cursorStringToContentValues(Cursor cursor, String field, in cursorStringToContentValues() argument 460 cursorStringToContentValues(cursor, field, values, field); in cursorStringToContentValues() 471 public static void cursorStringToInsertHelper(Cursor cursor, String field, in cursorStringToInsertHelper() argument 473 inserter.bind(index, cursor.getString(cursor.getColumnIndexOrThrow(field))); in cursorStringToInsertHelper() 484 public static void cursorStringToContentValues(Cursor cursor, String field, in cursorStringToContentValues() argument 486 values.put(key, cursor.getString(cursor.getColumnIndexOrThrow(field))); in cursorStringToContentValues() 496 public static void cursorIntToContentValues(Cursor cursor, String field, ContentValues values) { in cursorIntToContentValues() argument 497 cursorIntToContentValues(cursor, field, values, field); in cursorIntToContentValues() 508 public static void cursorIntToContentValues(Cursor cursor, String field, ContentValues values, in cursorIntToContentValues() argument 510 int colIndex = cursor.getColumnIndex(field); in cursorIntToContentValues() [all …]
|
D | AbstractCursor.java | 220 String field = getString(i); in fillWindow() local 221 if (field != null) { in fillWindow() 222 if (!window.putString(field, mPos, i)) { in fillWindow()
|
/frameworks/base/core/java/android/os/ |
D | Debug.java | 957 private static boolean fieldTypeMatches(Field field, Class<?> cl) { in fieldTypeMatches() argument 958 Class<?> fieldClass = field.getType(); in fieldTypeMatches() 984 private static void modifyFieldIfSet(final Field field, final TypedProperties properties, in modifyFieldIfSet() argument 986 if (field.getType() == java.lang.String.class) { in modifyFieldIfSet() 994 field.set(null, null); // null object for static fields; null string in modifyFieldIfSet() 1005 " does not match field type (" + field.getType() + ")"); in modifyFieldIfSet() 1014 if (!fieldTypeMatches(field, value.getClass())) { in modifyFieldIfSet() 1017 " does not match field type (" + field.getType() + ")"); in modifyFieldIfSet() 1020 field.set(null, value); // null object for static fields in modifyFieldIfSet() 1101 for (Field field : cl.getDeclaredFields()) { in setFieldsOn() [all …]
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiConfiguration.java | 312 for (EnterpriseField field : enterpriseFields) { in WifiConfiguration() 313 field.setValue(null); in WifiConfiguration() 390 for (EnterpriseField field : enterpriseFields) { in toString() 391 sbuf.append('\n').append(" " + field.varName() + ": "); in toString() 392 String value = field.value(); in toString() 454 for (EnterpriseField field : enterpriseFields) { in writeToParcel() 455 dest.writeString(field.value()); in writeToParcel() 480 for (EnterpriseField field : config.enterpriseFields) { 481 field.setValue(in.readString());
|
/frameworks/ex/common/java/com/android/common/ |
D | ArrayListCursor.java | 83 byte[] field = (byte[]) data; in fillWindow() 84 if (!window.putBlob(field, mPos, i)) { in fillWindow() 89 String field = data.toString(); in fillWindow() local 90 if (!window.putString(field, mPos, i)) { in fillWindow()
|
D | GoogleLogTags.logtags | 59 # This event is logged for GTalk connection state changes. The status field is an int, but 65 # The status field is an int, but contains 2 different values, it's represented as
|
/frameworks/base/core/java/android/view/ |
D | ViewDebug.java | 1300 final Field field = fields[i]; in getExportedPropertyFields() local 1301 if (field.isAnnotationPresent(ExportedProperty.class)) { in getExportedPropertyFields() 1302 field.setAccessible(true); in getExportedPropertyFields() 1303 foundFields.add(field); in getExportedPropertyFields() 1304 annotations.put(field, field.getAnnotation(ExportedProperty.class)); in getExportedPropertyFields() 1449 final Field field = fields[i]; in exportFields() local 1454 final Class<?> type = field.getType(); in exportFields() 1455 final ExportedProperty property = sAnnotations.get(field); in exportFields() 1462 final int id = field.getInt(view); in exportFields() 1467 final int intValue = field.getInt(view); in exportFields() [all …]
|
/frameworks/base/docs/html/guide/topics/ui/notifiers/ |
D | notifications.jd | 200 setLatestEventInfo()} with new values, change some field values of the Notification, and then call 218 <p>To use the user's default sound, add "DEFAULT_SOUND" to the <var>defaults</var> field:</p> 224 <var>sound</var> field. 243 or the notification is cancelled, add "FLAG_INSISTENT" to the <var>flags</var> field.</p> 245 <p class="note"><strong>Note:</strong> If the <var>defaults</var> field includes 246 "DEFAULT_SOUND", then the default sound overrides any sound defined by the <var>sound</var> field.<… 254 <p>To use the default pattern, add "DEFAULT_VIBRATE" to the <var>defaults</var> field:</p> 260 <var>vibrate</var> field:</p> 272 <p class="note"><strong>Note:</strong> If the <var>defaults</var> field includes 274 <var>vibrate</var> field.</p> [all …]
|
/frameworks/base/docs/html/guide/practices/design/ |
D | performance.jd | 144 <p>On devices without a JIT, caching field accesses is about 20% faster than 145 repeatedly accesssing the field. With a JIT, field access costs about the same 162 <code>i = getCount()</code>) instead of accessing the field directly (<code>i 164 usually inline the access, and if you need to restrict or debug field access 168 much more so than instance field lookups. It's reasonable to follow 173 <p>Without a JIT, direct field access is about 3x faster than invoking a 174 trivial getter. With the JIT (where direct field access is as cheap as 175 accessing a local), direct field access is about 7x faster than invoking a 191 When these values are referenced later on, they are accessed with field 200 because the constants go into static field initializers in the dex file. [all …]
|
/frameworks/base/core/java/android/webkit/ |
D | FileLoader.java | 133 final Field field = d.getField(fieldName); in setupStreamAndSendStatus() local 134 final int id = field.getInt(null); in setupStreamAndSendStatus()
|
/frameworks/base/docs/html/resources/articles/ |
D | creating-input-method.jd | 104 attributes of the application's text field.</p><p>(<code>EditorInfo.inputType 134 the text field and any associated context. Preferably, no more than half the 142 application's text field.</p> 167 <p>When editing text in a text field, some of the more useful methods on 188 steps to compose a word or glyph, you can show the progress in the text field 191 the text field in some fashion, such as an underline.</p> 227 the user sees the input method quickly on tapping on a text field. And
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | IccProvider.java | 96 byte[] field = (byte[]) data; in fillWindow() 97 if (!window.putBlob(field, mPos, i)) { in fillWindow() 102 String field = data.toString(); in fillWindow() local 103 if (!window.putString(field, mPos, i)) { in fillWindow()
|
/frameworks/base/docs/html/guide/topics/providers/ |
D | content-providers.jd | 143 Every record includes a numeric {@code _ID} field that uniquely identifies 151 record to record and column to column to read the contents of each field. 152 It has specialized methods for reading each type of data. So, to read a field, 153 you must know what type of data the field contains. (There's more on query 328 the {@code _COUNT} field of each record. 403 data type of the field, because the Cursor object has a separate method 432 // Get the field values 575 in a file and record the file path in a hidden field of the record.) 753 the IDs of the records. You should have this field whether or not you have 754 another field (such as a URL) that is also unique among all records. If [all …]
|