/frameworks/base/core/java/android/database/ |
D | AbstractWindowedCursor.java | 46 public byte[] getBlob(int columnIndex) { in getBlob() argument 48 return mWindow.getBlob(mPos, columnIndex); in getBlob() 52 public String getString(int columnIndex) { in getString() argument 54 return mWindow.getString(mPos, columnIndex); in getString() 58 public void copyStringToBuffer(int columnIndex, CharArrayBuffer buffer) { in copyStringToBuffer() argument 60 mWindow.copyStringToBuffer(mPos, columnIndex, buffer); in copyStringToBuffer() 64 public short getShort(int columnIndex) { in getShort() argument 66 return mWindow.getShort(mPos, columnIndex); in getShort() 70 public int getInt(int columnIndex) { in getInt() argument 72 return mWindow.getInt(mPos, columnIndex); in getInt() [all …]
|
D | RedactingCursor.java | 82 public double getDouble(int columnIndex) { in getDouble() argument 83 final int i = mRedactions.indexOfKey(columnIndex); in getDouble() 87 return super.getDouble(columnIndex); in getDouble() 92 public float getFloat(int columnIndex) { in getFloat() argument 93 final int i = mRedactions.indexOfKey(columnIndex); in getFloat() 97 return super.getFloat(columnIndex); in getFloat() 102 public int getInt(int columnIndex) { in getInt() argument 103 final int i = mRedactions.indexOfKey(columnIndex); in getInt() 107 return super.getInt(columnIndex); in getInt() 112 public long getLong(int columnIndex) { in getLong() argument [all …]
|
D | TranslatingCursor.java | 147 public double getDouble(int columnIndex) { in getDouble() argument 148 if (ArrayUtils.contains(mTranslateColumnIndices, columnIndex)) { in getDouble() 151 return super.getDouble(columnIndex); in getDouble() 156 public float getFloat(int columnIndex) { in getFloat() argument 157 if (ArrayUtils.contains(mTranslateColumnIndices, columnIndex)) { in getFloat() 160 return super.getFloat(columnIndex); in getFloat() 165 public int getInt(int columnIndex) { in getInt() argument 166 if (ArrayUtils.contains(mTranslateColumnIndices, columnIndex)) { in getInt() 169 return super.getInt(columnIndex); in getInt() 174 public long getLong(int columnIndex) { in getLong() argument [all …]
|
D | CursorWrapper.java | 96 public String getColumnName(int columnIndex) { in getColumnName() argument 97 return mCursor.getColumnName(columnIndex); in getColumnName() 106 public double getDouble(int columnIndex) { in getDouble() argument 107 return mCursor.getDouble(columnIndex); in getDouble() 121 public float getFloat(int columnIndex) { in getFloat() argument 122 return mCursor.getFloat(columnIndex); in getFloat() 126 public int getInt(int columnIndex) { in getInt() argument 127 return mCursor.getInt(columnIndex); in getInt() 131 public long getLong(int columnIndex) { in getLong() argument 132 return mCursor.getLong(columnIndex); in getLong() [all …]
|
D | Cursor.java | 222 String getColumnName(@IntRange(from = 0) int columnIndex); in getColumnName() 248 byte[] getBlob(@IntRange(from = 0) int columnIndex); in getBlob() 260 String getString(@IntRange(from = 0) int columnIndex); in getString() 270 void copyStringToBuffer(@IntRange(from = 0) int columnIndex, CharArrayBuffer buffer); in copyStringToBuffer() 283 short getShort(@IntRange(from = 0) int columnIndex); in getShort() 296 int getInt(@IntRange(from = 0) int columnIndex); in getInt() 309 long getLong(@IntRange(from = 0) int columnIndex); in getLong() 322 float getFloat(@IntRange(from = 0) int columnIndex); in getFloat() 335 double getDouble(@IntRange(from = 0) int columnIndex); in getDouble() 346 @FieldType int getType(@IntRange(from = 0) int columnIndex); in getType() [all …]
|
D | AbstractCursor.java | 209 public void copyStringToBuffer(int columnIndex, CharArrayBuffer buffer) { in copyStringToBuffer() argument 211 String result = getString(columnIndex); in copyStringToBuffer() 379 public String getColumnName(int columnIndex) { in getColumnName() argument 380 return getColumnNames()[columnIndex]; in getColumnName() 513 protected boolean isFieldUpdated(int columnIndex) { in isFieldUpdated() argument 521 protected Object getUpdatedField(int columnIndex) { in getUpdatedField() argument
|
D | MatrixCursor.java | 247 public final RowBuilder add(int columnIndex, Object value) { in add() argument 248 data[(row * columnCount) + columnIndex] = value; in add()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | CallerInfo.java | 227 int columnIndex; in getCallerInfo() local 230 columnIndex = cursor.getColumnIndex(PhoneLookup.DISPLAY_NAME); in getCallerInfo() 231 if (columnIndex != -1) { in getCallerInfo() 232 info.name = cursor.getString(columnIndex); in getCallerInfo() 236 columnIndex = cursor.getColumnIndex(PhoneLookup.NUMBER); in getCallerInfo() 237 if (columnIndex != -1) { in getCallerInfo() 238 info.phoneNumber = cursor.getString(columnIndex); in getCallerInfo() 242 columnIndex = cursor.getColumnIndex(PhoneLookup.NORMALIZED_NUMBER); in getCallerInfo() 243 if (columnIndex != -1) { in getCallerInfo() 244 info.normalizedNumber = cursor.getString(columnIndex); in getCallerInfo() [all …]
|
/frameworks/base/test-mock/src/android/test/mock/ |
D | MockCursor.java | 59 public String getColumnName(int columnIndex) { in getColumnName() argument 74 public boolean isNull(int columnIndex) { in isNull() argument 79 public int getInt(int columnIndex) { in getInt() argument 84 public long getLong(int columnIndex) { in getLong() argument 89 public short getShort(int columnIndex) { in getShort() argument 94 public float getFloat(int columnIndex) { in getFloat() argument 99 public double getDouble(int columnIndex) { in getDouble() argument 104 public byte[] getBlob(int columnIndex) { in getBlob() argument 109 public String getString(int columnIndex) { in getString() argument 179 public void copyStringToBuffer(int columnIndex, CharArrayBuffer buffer) { in copyStringToBuffer() argument [all …]
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteRawStatement.java | 564 public int getColumnType(int columnIndex) { in getColumnType() argument 567 return nativeColumnType(mStatement, columnIndex); in getColumnType() 586 public String getColumnName(int columnIndex) { in getColumnName() argument 589 return nativeColumnName(mStatement, columnIndex); in getColumnName() 611 public int getColumnLength(int columnIndex) { in getColumnLength() argument 614 return nativeColumnBytes(mStatement, columnIndex); in getColumnLength() 637 public byte[] getColumnBlob(int columnIndex) { in getColumnBlob() argument 640 return nativeColumnBlob(mStatement, columnIndex); in getColumnBlob() 669 public int readColumnBlob(int columnIndex, @NonNull byte[] buffer, int offset, in readColumnBlob() argument 675 return nativeColumnBuffer(mStatement, columnIndex, buffer, offset, length, srcOffset); in readColumnBlob() [all …]
|
/frameworks/base/core/java/android/os/ |
D | BatteryConsumer.java | 630 void putInt(int columnIndex, int value) { in putInt() argument 634 mCursorWindow.putLong(value, mCursorRow, columnIndex); in putInt() 637 int getInt(int columnIndex) { in getInt() argument 641 return mCursorWindow.getInt(mCursorRow, columnIndex); in getInt() 644 void putDouble(int columnIndex, double value) { in putDouble() argument 648 mCursorWindow.putDouble(value, mCursorRow, columnIndex); in putDouble() 651 double getDouble(int columnIndex) { in getDouble() argument 655 return mCursorWindow.getDouble(mCursorRow, columnIndex); in getDouble() 658 void putLong(int columnIndex, long value) { in putLong() argument 662 mCursorWindow.putLong(value, mCursorRow, columnIndex); in putLong() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | TableLayout.java | 155 int columnIndex = Integer.parseInt(columnIdentifier); in parseColumns() local 157 if (columnIndex >= 0) { in parseColumns() 160 columns.put(columnIndex, true); in parseColumns() 288 public void setColumnCollapsed(int columnIndex, boolean isCollapsed) { in setColumnCollapsed() argument 290 mCollapsedColumns.put(columnIndex, isCollapsed); in setColumnCollapsed() 296 ((TableRow) view).setColumnCollapsed(columnIndex, isCollapsed); in setColumnCollapsed() 309 public boolean isColumnCollapsed(int columnIndex) { in isColumnCollapsed() argument 310 return mCollapsedColumns.get(columnIndex); in isColumnCollapsed() 325 public void setColumnStretchable(int columnIndex, boolean isStretchable) { in setColumnStretchable() argument 326 mStretchableColumns.put(columnIndex, isStretchable); in setColumnStretchable() [all …]
|
D | TableRow.java | 101 void setColumnCollapsed(int columnIndex, boolean collapsed) { in setColumnCollapsed() argument 102 final View child = getVirtualChildAt(columnIndex); in setColumnCollapsed()
|
D | SimpleCursorTreeAdapter.java | 324 boolean setViewValue(View view, Cursor cursor, int columnIndex); in setViewValue() argument
|
D | SimpleCursorAdapter.java | 401 boolean setViewValue(View view, Cursor cursor, int columnIndex); in setViewValue() argument
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
D | ExportTestProvider.java | 163 public int getInt(int columnIndex) { 164 TestCase.assertEquals(0, columnIndex); 171 public long getLong(int columnIndex) { 172 return getInt(columnIndex); 176 public String getString(int columnIndex) { 177 return String.valueOf(getInt(columnIndex));
|
/frameworks/base/telephony/common/com/google/android/mms/pdu/ |
D | PduPersister.java | 315 Cursor c, int columnIndex, in setEncodedStringValueToHeaders() argument 317 String s = c.getString(columnIndex); in setEncodedStringValueToHeaders() 328 Cursor c, int columnIndex, in setTextStringToHeaders() argument 330 String s = c.getString(columnIndex); in setTextStringToHeaders() 337 Cursor c, int columnIndex, in setOctetToHeaders() argument 339 if (!c.isNull(columnIndex)) { in setOctetToHeaders() 340 int b = c.getInt(columnIndex); in setOctetToHeaders() 346 Cursor c, int columnIndex, in setLongToHeaders() argument 348 if (!c.isNull(columnIndex)) { in setLongToHeaders() 349 long l = c.getLong(columnIndex); in setLongToHeaders() [all …]
|
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/ |
D | DownloadManagerBaseTest.java | 442 int columnIndex = cursor.getColumnIndex(DownloadManager.COLUMN_STATUS); in waitForDownloadToStart() local 443 int value = cursor.getInt(columnIndex); in waitForDownloadToStart() 454 columnIndex = cursor.getColumnIndex(DownloadManager.COLUMN_STATUS); in waitForDownloadToStart() 455 value = cursor.getInt(columnIndex); in waitForDownloadToStart()
|
D | DownloadManagerTestApp.java | 192 int columnIndex = cursor.getColumnIndex(DownloadManager.COLUMN_STATUS); in verifyFileDownloadSucceeded() local 193 int status = cursor.getInt(columnIndex); in verifyFileDownloadSucceeded()
|
/frameworks/base/core/java/android/app/ |
D | DownloadManager.java | 1709 public int getInt(int columnIndex) { in getInt() argument 1710 return (int) getLong(columnIndex); in getInt() 1714 public long getLong(int columnIndex) { in getLong() argument 1715 if (getColumnName(columnIndex).equals(COLUMN_REASON)) { in getLong() 1717 } else if (getColumnName(columnIndex).equals(COLUMN_STATUS)) { in getLong() 1720 return super.getLong(columnIndex); in getLong() 1725 public String getString(int columnIndex) { in getString() argument 1726 final String columnName = getColumnName(columnIndex); in getString() 1737 return super.getString(columnIndex); in getString()
|
/frameworks/base/cmds/content/src/com/android/commands/content/ |
D | Content.java | 682 final int columnIndex = cursor.getColumnIndex(columnName); in onExecute() local 683 final int type = cursor.getType(columnIndex); in onExecute() 686 columnValue = String.valueOf(cursor.getFloat(columnIndex)); in onExecute() 689 columnValue = String.valueOf(cursor.getLong(columnIndex)); in onExecute() 692 columnValue = cursor.getString(columnIndex); in onExecute()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | DownloadManagerBaseTest.java | 807 int columnIndex = cursor.getColumnIndex(DownloadManager.COLUMN_STATUS); in waitForDownloadToStart() local 808 int value = cursor.getInt(columnIndex); in waitForDownloadToStart() 819 columnIndex = cursor.getColumnIndex(DownloadManager.COLUMN_STATUS); in waitForDownloadToStart() 820 value = cursor.getInt(columnIndex); in waitForDownloadToStart()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityNodeInfo.java | 6481 int columnIndex, int columnSpan, boolean heading) { in obtain() argument 6482 return new CollectionItemInfo(rowIndex, rowSpan, columnIndex, columnSpan, heading, in obtain() 6503 int columnIndex, int columnSpan, boolean heading, boolean selected) { in obtain() argument 6504 return new CollectionItemInfo(rowIndex, rowSpan, columnIndex, columnSpan, heading, in obtain() 6530 int rowSpan, @Nullable String columnTitle, int columnIndex, int columnSpan, in obtain() argument 6532 return new CollectionItemInfo(rowTitle, rowIndex, rowSpan, columnTitle, columnIndex, in obtain() 6558 public CollectionItemInfo(int rowIndex, int rowSpan, int columnIndex, int columnSpan, in CollectionItemInfo() argument 6560 this(rowIndex, rowSpan, columnIndex, columnSpan, heading, false); in CollectionItemInfo() 6573 public CollectionItemInfo(int rowIndex, int rowSpan, int columnIndex, int columnSpan, in CollectionItemInfo() argument 6575 this(null, rowIndex, rowSpan, null, columnIndex, columnSpan, in CollectionItemInfo() [all …]
|
/frameworks/base/packages/SoundPicker/src/com/android/soundpicker/ |
D | RingtonePickerActivity.java | 711 public String getString(int columnIndex) { in getString() argument 712 final String defaultName = mCursor.getString(columnIndex); in getString() 713 if ((columnIndex != mTitleIndex) || (mNamePrefix == null)) { in getString()
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
D | ConnectionUtil.java | 421 int columnIndex = c.getColumnIndex(DownloadManager.COLUMN_STATUS); in downloadSuccessful() local 422 if (DownloadManager.STATUS_SUCCESSFUL == c.getInt(columnIndex)) { in downloadSuccessful()
|