Home
last modified time | relevance | path

Searched refs:columnIndex (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/core/java/android/database/
DAbstractWindowedCursor.java45 public byte[] getBlob(int columnIndex) { in getBlob() argument
47 return mWindow.getBlob(mPos, columnIndex); in getBlob()
51 public String getString(int columnIndex) { in getString() argument
53 return mWindow.getString(mPos, columnIndex); in getString()
57 public void copyStringToBuffer(int columnIndex, CharArrayBuffer buffer) { in copyStringToBuffer() argument
59 mWindow.copyStringToBuffer(mPos, columnIndex, buffer); in copyStringToBuffer()
63 public short getShort(int columnIndex) { in getShort() argument
65 return mWindow.getShort(mPos, columnIndex); in getShort()
69 public int getInt(int columnIndex) { in getInt() argument
71 return mWindow.getInt(mPos, columnIndex); in getInt()
[all …]
DRedactingCursor.java82 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 …]
DTranslatingCursor.java147 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 …]
DCursorWrapper.java95 public String getColumnName(int columnIndex) { in getColumnName() argument
96 return mCursor.getColumnName(columnIndex); in getColumnName()
105 public double getDouble(int columnIndex) { in getDouble() argument
106 return mCursor.getDouble(columnIndex); in getDouble()
120 public float getFloat(int columnIndex) { in getFloat() argument
121 return mCursor.getFloat(columnIndex); in getFloat()
125 public int getInt(int columnIndex) { in getInt() argument
126 return mCursor.getInt(columnIndex); in getInt()
130 public long getLong(int columnIndex) { in getLong() argument
131 return mCursor.getLong(columnIndex); in getLong()
[all …]
DCursor.java205 String getColumnName(int columnIndex); in getColumnName() argument
231 byte[] getBlob(int columnIndex); in getBlob() argument
243 String getString(int columnIndex); in getString() argument
253 void copyStringToBuffer(int columnIndex, CharArrayBuffer buffer); in copyStringToBuffer() argument
266 short getShort(int columnIndex); in getShort() argument
279 int getInt(int columnIndex); in getInt() argument
292 long getLong(int columnIndex); in getLong() argument
305 float getFloat(int columnIndex); in getFloat() argument
318 double getDouble(int columnIndex); in getDouble() argument
339 int getType(int columnIndex); in getType() argument
[all …]
DAbstractCursor.java201 public void copyStringToBuffer(int columnIndex, CharArrayBuffer buffer) { in copyStringToBuffer() argument
203 String result = getString(columnIndex); in copyStringToBuffer()
358 public String getColumnName(int columnIndex) { in getColumnName() argument
359 return getColumnNames()[columnIndex]; in getColumnName()
492 protected boolean isFieldUpdated(int columnIndex) { in isFieldUpdated() argument
500 protected Object getUpdatedField(int columnIndex) { in getUpdatedField() argument
DMatrixCursor.java246 public final RowBuilder add(int columnIndex, Object value) { in add() argument
247 data[(row * columnCount) + columnIndex] = value; in add()
/frameworks/base/telecomm/java/android/telecom/
DCallerInfo.java226 int columnIndex; in getCallerInfo() local
229 columnIndex = cursor.getColumnIndex(PhoneLookup.DISPLAY_NAME); in getCallerInfo()
230 if (columnIndex != -1) { in getCallerInfo()
231 info.name = cursor.getString(columnIndex); in getCallerInfo()
235 columnIndex = cursor.getColumnIndex(PhoneLookup.NUMBER); in getCallerInfo()
236 if (columnIndex != -1) { in getCallerInfo()
237 info.phoneNumber = cursor.getString(columnIndex); in getCallerInfo()
241 columnIndex = cursor.getColumnIndex(PhoneLookup.NORMALIZED_NUMBER); in getCallerInfo()
242 if (columnIndex != -1) { in getCallerInfo()
243 info.normalizedNumber = cursor.getString(columnIndex); in getCallerInfo()
[all …]
/frameworks/base/test-mock/src/android/test/mock/
DMockCursor.java59 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/widget/
DTableLayout.java155 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 …]
DTableRow.java101 void setColumnCollapsed(int columnIndex, boolean collapsed) { in setColumnCollapsed() argument
102 final View child = getVirtualChildAt(columnIndex); in setColumnCollapsed()
DSimpleCursorAdapter.java401 boolean setViewValue(View view, Cursor cursor, int columnIndex); in setViewValue() argument
DSimpleCursorTreeAdapter.java324 boolean setViewValue(View view, Cursor cursor, int columnIndex); in setViewValue() argument
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DExportTestProvider.java163 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/
DPduPersister.java315 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/
DDownloadManagerBaseTest.java442 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()
DDownloadManagerTestApp.java192 int columnIndex = cursor.getColumnIndex(DownloadManager.COLUMN_STATUS); in verifyFileDownloadSucceeded() local
193 int status = cursor.getInt(columnIndex); in verifyFileDownloadSucceeded()
/frameworks/base/core/java/android/app/
DDownloadManager.java1703 public int getInt(int columnIndex) { in getInt() argument
1704 return (int) getLong(columnIndex); in getInt()
1708 public long getLong(int columnIndex) { in getLong() argument
1709 if (getColumnName(columnIndex).equals(COLUMN_REASON)) { in getLong()
1711 } else if (getColumnName(columnIndex).equals(COLUMN_STATUS)) { in getLong()
1714 return super.getLong(columnIndex); in getLong()
1719 public String getString(int columnIndex) { in getString() argument
1720 final String columnName = getColumnName(columnIndex); in getString()
1731 return super.getString(columnIndex); in getString()
/frameworks/base/cmds/content/src/com/android/commands/content/
DContent.java675 final int columnIndex = cursor.getColumnIndex(columnName); in onExecute() local
676 final int type = cursor.getType(columnIndex); in onExecute()
679 columnValue = String.valueOf(cursor.getFloat(columnIndex)); in onExecute()
682 columnValue = String.valueOf(cursor.getLong(columnIndex)); in onExecute()
685 columnValue = cursor.getString(columnIndex); in onExecute()
/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerBaseTest.java806 int columnIndex = cursor.getColumnIndex(DownloadManager.COLUMN_STATUS); in waitForDownloadToStart() local
807 int value = cursor.getInt(columnIndex); in waitForDownloadToStart()
818 columnIndex = cursor.getColumnIndex(DownloadManager.COLUMN_STATUS); in waitForDownloadToStart()
819 value = cursor.getInt(columnIndex); in waitForDownloadToStart()
/frameworks/base/packages/SoundPicker/src/com/android/soundpicker/
DRingtonePickerActivity.java690 public String getString(int columnIndex) { in getString() argument
691 final String defaultName = mCursor.getString(columnIndex); in getString()
692 if ((columnIndex != mTitleIndex) || (mNamePrefix == null)) { in getString()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DConnectionUtil.java418 int columnIndex = c.getColumnIndex(DownloadManager.COLUMN_STATUS); in downloadSuccessful() local
419 if (DownloadManager.STATUS_SUCCESSFUL == c.getInt(columnIndex)) { in downloadSuccessful()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierKeyDownloadManager.java346 int columnIndex = cursor.getColumnIndex(DownloadManager.COLUMN_STATUS); in onDownloadComplete() local
347 if (DownloadManager.STATUS_SUCCESSFUL == cursor.getInt(columnIndex)) { in onDownloadComplete()
DSubscriptionController.java601 int columnIndex = cursor.getColumnIndex(column); in getOptionalStringFromCursor() local
602 return (columnIndex == -1) ? defaultVal : cursor.getString(columnIndex); in getOptionalStringFromCursor()
2010 int columnIndex = cursor.getColumnIndex(propKey); in copyDataFromCursorToContentValue() local
2011 if (columnIndex == -1) { in copyDataFromCursorToContentValue()
2025 values.put(propKey, cursor.getInt(columnIndex)); in copyDataFromCursorToContentValue()
2029 values.put(propKey, cursor.getString(columnIndex)); in copyDataFromCursorToContentValue()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...