/packages/apps/Dialer/java/com/android/incallui/ |
D | CallerInfo.java | 197 int columnIndex; in getCallerInfo() local 200 columnIndex = cursor.getColumnIndex(PhoneLookup.NUMBER); in getCallerInfo() 201 if (columnIndex != -1) { in getCallerInfo() 207 PhoneNumberHelper.updateCursorToMatchContactLookupUri(cursor, columnIndex, contactRef); in getCallerInfo() 209 info.phoneNumber = cursor.getString(columnIndex); in getCallerInfo() 216 columnIndex = cursor.getColumnIndex(PhoneLookup.DISPLAY_NAME); in getCallerInfo() 217 if (columnIndex != -1) { in getCallerInfo() 218 info.name = normalize(cursor.getString(columnIndex)); in getCallerInfo() 222 columnIndex = cursor.getColumnIndex(PhoneLookup.NORMALIZED_NUMBER); in getCallerInfo() 223 if (columnIndex != -1) { in getCallerInfo() [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/ |
D | ExpectedKeyboardBuilder.java | 68 private static ExpectedKey[] replaceKeyAt(final ExpectedKey[] keys, final int columnIndex, in replaceKeyAt() argument 72 keys[columnIndex] = replacingKeys[0]; in replaceKeyAt() 78 System.arraycopy(keys, columnIndex + 1, newKeys, columnIndex + replacingKeys.length, in replaceKeyAt() 79 keys.length - 1 - columnIndex); in replaceKeyAt() 81 System.arraycopy(replacingKeys, 0, newKeys, columnIndex, replacingKeys.length); in replaceKeyAt() 92 for (int columnIndex = 0; columnIndex < keys.length; /* nothing */) { in replaceKeyOf() 93 final ExpectedKey currentKey = keys[columnIndex]; in replaceKeyOf() 95 columnIndex++; in replaceKeyOf() 99 keys = replaceKeyAt(keys, columnIndex, replacingKeys); in replaceKeyOf() 100 columnIndex += replacingKeys.length; in replaceKeyOf() [all …]
|
D | AbstractKeyboardBuilder.java | 120 final int columnIndex = column - 1; in setElementAt() local 121 if (columnIndex < 0) { in setElementAt() 125 if (columnIndex >= elements.length + 1) { in setElementAt() 130 System.arraycopy(newElements, columnIndex, newElements, columnIndex + 1, in setElementAt() 131 elements.length - columnIndex); in setElementAt() 133 newElements[columnIndex] = element; in setElementAt() 138 final E[] newElements = (columnIndex < elements.length) ? elements in setElementAt() 139 : Arrays.copyOf(elements, columnIndex + 1); in setElementAt() 140 newElements[columnIndex] = element; in setElementAt()
|
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/ |
D | ContactFilterCursor.java | 413 public String getColumnName(int columnIndex) { in getColumnName() argument 414 return cursor.getColumnName(columnIndex); in getColumnName() 428 public byte[] getBlob(int columnIndex) { in getBlob() argument 429 return cursor.getBlob(columnIndex); in getBlob() 433 public String getString(int columnIndex) { in getString() argument 434 return cursor.getString(columnIndex); in getString() 438 public void copyStringToBuffer(int columnIndex, CharArrayBuffer buffer) { in copyStringToBuffer() argument 439 cursor.copyStringToBuffer(columnIndex, buffer); in copyStringToBuffer() 443 public short getShort(int columnIndex) { in getShort() argument 444 return cursor.getShort(columnIndex); in getShort() [all …]
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryHistEntry.java | 216 final int columnIndex = cursor.getColumnIndex(key); in getInteger() local 217 if (columnIndex >= 0) { in getInteger() 218 return cursor.getInt(columnIndex); in getInteger() 233 final int columnIndex = cursor.getColumnIndex(key); in getLong() local 234 if (columnIndex >= 0) { in getLong() 235 return cursor.getLong(columnIndex); in getLong() 250 final int columnIndex = cursor.getColumnIndex(key); in getDouble() local 251 if (columnIndex >= 0) { in getDouble() 252 return cursor.getDouble(columnIndex); in getDouble() 267 final int columnIndex = cursor.getColumnIndex(key); in getString() local [all …]
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/ |
D | FakeCursor.java | 132 public String getString(final int columnIndex) { in getString() argument 133 final int dataIdx = mProjection.get(columnIndex); in getString() 139 public int getInt(final int columnIndex) { in getInt() argument 140 final int dataIdx = mProjection.get(columnIndex); in getInt() 145 public long getLong(final int columnIndex) { in getLong() argument 146 final int dataIdx = mProjection.get(columnIndex); in getLong()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | DataStatus.java | 153 final int columnIndex = cursor.getColumnIndex(columnName); in getInt() local 154 return cursor.isNull(columnIndex) ? missingValue : cursor.getInt(columnIndex); in getInt() 158 final int columnIndex = cursor.getColumnIndex(columnName); in getLong() local 159 return cursor.isNull(columnIndex) ? missingValue : cursor.getLong(columnIndex); in getLong()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | EntrySchema.java | 106 int columnIndex = column.projectionIndex; in cursorToObject() local 110 field.set(object, cursor.isNull(columnIndex) in cursorToObject() 112 : cursor.getString(columnIndex)); in cursorToObject() 115 field.setBoolean(object, cursor.getShort(columnIndex) == 1); in cursorToObject() 118 field.setShort(object, cursor.getShort(columnIndex)); in cursorToObject() 121 field.setInt(object, cursor.getInt(columnIndex)); in cursorToObject() 124 field.setLong(object, cursor.getLong(columnIndex)); in cursorToObject() 127 field.setFloat(object, cursor.getFloat(columnIndex)); in cursorToObject() 130 field.setDouble(object, cursor.getDouble(columnIndex)); in cursorToObject() 133 field.set(object, cursor.isNull(columnIndex) in cursorToObject() [all …]
|
/packages/modules/NetworkStack/src/com/android/server/connectivity/ipmemorystore/ |
D | IpMemoryStoreDatabase.java | 750 final int columnIndex = cursor.getColumnIndex(columnName); in getString() local 751 return (columnIndex >= 0) ? cursor.getString(columnIndex) : null; in getString() 754 final int columnIndex = cursor.getColumnIndex(columnName); in getBlob() local 755 return (columnIndex >= 0) ? cursor.getBlob(columnIndex) : null; in getBlob() 759 final int columnIndex = cursor.getColumnIndex(columnName); in getInt() local 760 return (columnIndex >= 0) ? cursor.getInt(columnIndex) : defaultValue; in getInt() 764 final int columnIndex = cursor.getColumnIndex(columnName); in getLong() local 765 return (columnIndex >= 0) ? cursor.getLong(columnIndex) : defaultValue; in getLong()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/enterprise/ |
D | EnterpriseContactsCursorWrapper.java | 79 public String getString(int columnIndex) { in getString() argument 80 final String result = super.getString(columnIndex); in getString() 81 final String columnName = super.getColumnName(columnIndex); in getString() 100 String ringtoneUri = super.getString(columnIndex); in getString() 110 final String lookupKey = super.getString(columnIndex); in getString()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversationsettings/ |
D | PeopleOptionsItemView.java | 68 public void bind(final Cursor cursor, final int columnIndex, ParticipantData otherParticipant, in bind() argument 70 Assert.isTrue(columnIndex < PeopleOptionsItemData.SETTINGS_COUNT && columnIndex >= 0); in bind() 71 mData.bind(cursor, otherParticipant, columnIndex); in bind()
|
/packages/apps/TV/src/com/android/tv/dialog/ |
D | RecentlyWatchedDialogFragment.java | 72 public boolean setViewValue(View view, Cursor cursor, int columnIndex) { in onCreateDialog() 73 String name = cursor.getColumnName(columnIndex); in onCreateDialog() 75 long channelId = cursor.getLong(columnIndex); in onCreateDialog() 94 long time = cursor.getLong(columnIndex); in onCreateDialog()
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
D | PduPersister.java | 319 final Cursor c, final int columnIndex, in setEncodedStringValueToHeaders() argument 321 final String s = c.getString(columnIndex); in setEncodedStringValueToHeaders() 332 final Cursor c, final int columnIndex, in setTextStringToHeaders() argument 334 final String s = c.getString(columnIndex); in setTextStringToHeaders() 341 final Cursor c, final int columnIndex, in setOctetToHeaders() argument 343 if (!c.isNull(columnIndex)) { in setOctetToHeaders() 344 final int b = c.getInt(columnIndex); in setOctetToHeaders() 350 final Cursor c, final int columnIndex, in setLongToHeaders() argument 352 if (!c.isNull(columnIndex)) { in setLongToHeaders() 353 final long l = c.getLong(columnIndex); in setLongToHeaders() [all …]
|
/packages/apps/TV/tests/unit/src/com/android/tv/data/ |
D | ChannelDataManagerTest.java | 592 public String getColumnName(int columnIndex) { in getColumnName() argument 593 return mColumns[columnIndex]; in getColumnName() 607 public long getLong(int columnIndex) { in getLong() argument 608 String columnName = getColumnName(columnIndex); in getLong() 621 public String getString(int columnIndex) { in getString() argument 622 String columnName = getColumnName(columnIndex); in getString() 642 public int getInt(int columnIndex) { in getInt() argument 643 String columnName = getColumnName(columnIndex); in getInt()
|
/packages/apps/Dialer/java/com/android/dialer/searchfragment/directories/ |
D | DirectoryContactsCursor.java | 130 int columnIndex = getColumnIndex(COLUMN_DIRECTORY_ID); in getDirectoryId() local 131 if (columnIndex == -1) { in getDirectoryId() 135 int id = getInt(columnIndex); in getDirectoryId()
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
D | GroupMetaData.java | 84 private static boolean getBoolean(Cursor cursor, int columnIndex) { in getBoolean() argument 85 return cursor.isNull(columnIndex) ? false : cursor.getInt(columnIndex) != 0; in getBoolean()
|
/packages/apps/Camera2/src/com/android/camera/data/ |
D | DataUtils.java | 38 int columnIndex = cursor.getColumnIndexOrThrow(MediaStore.Images.Media.DATA); in getPathFromURI() local 42 return cursor.getString(columnIndex); in getPathFromURI()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | DownloadPackageTask.java | 171 int columnIndex = c.getColumnIndex(DownloadManager.COLUMN_STATUS); in createDownloadReceiver() local 172 if (DownloadManager.STATUS_SUCCESSFUL == c.getInt(columnIndex)) { in createDownloadReceiver() 177 } else if (DownloadManager.STATUS_FAILED == c.getInt(columnIndex)) { in createDownloadReceiver()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/ |
D | VoicemailStatusQueryHelper.java | 84 private boolean isFieldEqualTo(PhoneAccountHandle phoneAccount, int columnIndex, int value) { in isFieldEqualTo() argument 103 return cursor.getInt(columnIndex) == value; in isFieldEqualTo()
|
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
D | TelephonyBackupAgentTest.java | 1106 public String getColumnName(int columnIndex) { in getColumnName() argument 1107 return projection[columnIndex]; in getColumnName() 1111 public String getString(int columnIndex) { in getString() argument 1112 return rows.get(nextRow).getAsString(projection[columnIndex]); in getString() 1116 public int getInt(int columnIndex) { in getInt() argument 1117 return rows.get(nextRow).getAsInteger(projection[columnIndex]); in getInt() 1121 public long getLong(int columnIndex) { in getLong() argument 1122 return rows.get(nextRow).getAsLong(projection[columnIndex]); in getLong()
|
/packages/apps/Dialer/java/com/android/dialer/oem/ |
D | CequintCallerIdManager.java | 254 private static String getString(Cursor cursor, int columnIndex) { in getString() argument 255 if (!cursor.isNull(columnIndex)) { in getString() 256 String string = cursor.getString(columnIndex); in getString()
|
/packages/apps/Car/Settings/src/com/android/car/settings/sound/ |
D | RingtonePickerPreferenceController.java | 340 public String getString(int columnIndex) { in getString() argument 341 final String defaultName = mCursor.getString(columnIndex); in getString() 342 if ((columnIndex != mTitleIndex) || (mNamePrefix == null)) { in getString()
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
D | DbTestUtils.java | 123 public String getString(int columnIndex) { in getString() argument 124 return queryResult.get(columnIndex); in getString()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/ |
D | UserDictionaryList.java | 68 final int columnIndex = cursor.getColumnIndex(UserDictionary.Words.LOCALE); in getUserDictionaryLocalesSet() local 70 final String locale = cursor.getString(columnIndex); in getUserDictionaryLocalesSet()
|
/packages/services/Telephony/src/com/android/phone/ |
D | ADNList.java | 173 public boolean setViewValue(View view, Cursor cursor, int columnIndex) { in newAdapter() 175 if (columnIndex == NUMBER_COLUMN) { in newAdapter()
|