/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | EnterpriseContactsCursorWrapperTest.java | 185 int column = 0; in testWrappedResults() local 186 assertEquals(1000000001L, rewritten.getLong(column++)); // We offset ID for corp contacts. in testWrappedResults() 187 assertEquals(1000000001L, rewritten.getLong(column++)); // We offset ID for corp contacts. in testWrappedResults() 188 assertEquals(null, rewritten.getString(column++)); in testWrappedResults() 189 assertEquals(null, rewritten.getString(column++)); in testWrappedResults() 190 assertEquals(null, rewritten.getString(column++)); in testWrappedResults() 191 assertEquals(null, rewritten.getString(column++)); in testWrappedResults() 192 assertEquals(null, rewritten.getString(column++)); in testWrappedResults() 193 assertEquals(null, rewritten.getString(column++)); in testWrappedResults() 194 assertEquals(null, rewritten.getString(column++)); in testWrappedResults() [all …]
|
D | BaseDatabaseHelperUpgradeTest.java | 82 TableColumn column = new TableColumn(); in TableStructure() local 83 column.cid = cursor.getInt(cidIndex); in TableStructure() 84 column.name = cursor.getString(nameIndex); in TableStructure() 85 column.type = cursor.getString(typeIndex); in TableStructure() 86 column.notnull = cursor.getInt(notNullIndex) != 0; in TableStructure() 87 column.dflt_value = cursor.getString(dfltValueIndex); in TableStructure() 88 column.pk = cursor.getInt(pkIndex); in TableStructure() 90 addColumn(column); in TableStructure() 99 private void addColumn(TableColumn column) { in addColumn() argument 100 mColumns.put(column.name, column); in addColumn() [all …]
|
D | BaseContactsProvider2Test.java | 873 protected void storeValue(Uri contentUri, long id, String column, String value) { in storeValue() argument 874 storeValue(ContentUris.withAppendedId(contentUri, id), column, value); in storeValue() local 877 protected void storeValue(Uri contentUri, String column, String value) { in storeValue() argument 879 values.put(column, value); in storeValue() 884 protected void storeValue(Uri contentUri, long id, String column, long value) { in storeValue() argument 885 storeValue(ContentUris.withAppendedId(contentUri, id), column, value); in storeValue() local 888 protected void storeValue(Uri contentUri, String column, long value) { in storeValue() argument 890 values.put(column, value); in storeValue() 895 protected void assertStoredValue(Uri contentUri, long id, String column, Object expectedValue) { in assertStoredValue() argument 896 assertStoredValue(ContentUris.withAppendedId(contentUri, id), column, expectedValue); in assertStoredValue() local [all …]
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
D | MockSuggestionProviderCursor.java | 41 public Object get(int column) { in get() argument 42 return mRows.get(getPosition()).get(column); in get() 56 public double getDouble(int column) { in getDouble() argument 57 return mRows.get(getPosition()).getDouble(column); in getDouble() 61 public float getFloat(int column) { in getFloat() argument 62 return mRows.get(getPosition()).getFloat(column); in getFloat() 66 public int getInt(int column) { in getInt() argument 67 return mRows.get(getPosition()).getInt(column); in getInt() 71 public long getLong(int column) { in getLong() argument 72 return mRows.get(getPosition()).getLong(column); in getLong() [all …]
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | EntrySchema.java | 62 ColumnInfo column = columns[i]; in EntrySchema() local 63 projection[i] = column.name; in EntrySchema() 64 if (column.fullText) { in EntrySchema() 86 for (ColumnInfo column : mColumnInfo) { in getColumnIndex() 87 if (column.name.equals(columnName)) { in getColumnIndex() 88 return column.projectionIndex; in getColumnIndex() 105 for (ColumnInfo column : mColumnInfo) { in cursorToObject() 106 int columnIndex = column.projectionIndex; in cursorToObject() 107 Field field = column.field; in cursorToObject() 108 switch (column.type) { in cursorToObject() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/ |
D | RootCursorWrapper.java | 104 public double getDouble(int column) { in getDouble() argument 105 return mCursor.getDouble(column); in getDouble() 109 public float getFloat(int column) { in getFloat() argument 110 return mCursor.getFloat(column); in getFloat() 114 public int getInt(int column) { in getInt() argument 115 return mCursor.getInt(column); in getInt() 119 public long getLong(int column) { in getLong() argument 120 return mCursor.getLong(column); in getLong() 124 public short getShort(int column) { in getShort() argument 125 return mCursor.getShort(column); in getShort() [all …]
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ReorderingCursorWrapper.java | 67 public double getDouble(int column) { in getDouble() argument 68 return mCursor.getDouble(column); in getDouble() 72 public float getFloat(int column) { in getFloat() argument 73 return mCursor.getFloat(column); in getFloat() 77 public int getInt(int column) { in getInt() argument 78 return mCursor.getInt(column); in getInt() 82 public long getLong(int column) { in getLong() argument 83 return mCursor.getLong(column); in getLong() 87 public short getShort(int column) { in getShort() argument 88 return mCursor.getShort(column); in getShort() [all …]
|
D | PhoneLookupWithStarPrefix.java | 84 for (int column = 0; column < cursor.getColumnCount(); column++) { in removeNonStarMatchesFromCursor() 85 b.add(cursor.getColumnName(column), cursorValue(cursor, column)); in removeNonStarMatchesFromCursor() 134 private static Object cursorValue(Cursor cursor, int column) { in cursorValue() argument 135 switch(cursor.getType(column)) { in cursorValue() 137 return cursor.getBlob(column); in cursorValue() 139 return cursor.getInt(column); in cursorValue() 141 return cursor.getFloat(column); in cursorValue() 143 return cursor.getString(column); in cursorValue() 147 Log.d(TAG, "Invalid value in cursor: " + cursor.getType(column)); in cursorValue()
|
D | GlobalSearchSupport.java | 119 private void addColumnValue(ArrayList<Object> list, String column) { in addColumnValue() argument 120 if ("_id".equals(column)) { in addColumnValue() 122 } else if (SearchManager.SUGGEST_COLUMN_TEXT_1.equals(column)) { in addColumnValue() 124 } else if (SearchManager.SUGGEST_COLUMN_TEXT_2.equals(column)) { in addColumnValue() 126 } else if (SearchManager.SUGGEST_COLUMN_ICON_1.equals(column)) { in addColumnValue() 128 } else if (SearchManager.SUGGEST_COLUMN_ICON_2.equals(column)) { in addColumnValue() 130 } else if (SearchManager.SUGGEST_COLUMN_INTENT_DATA.equals(column)) { in addColumnValue() 132 } else if (SearchManager.SUGGEST_COLUMN_INTENT_DATA_ID.equals(column)) { in addColumnValue() 134 } else if (SearchManager.SUGGEST_COLUMN_SHORTCUT_ID.equals(column)) { in addColumnValue() 136 } else if (SearchManager.SUGGEST_COLUMN_INTENT_EXTRA_DATA.equals(column)) { in addColumnValue() [all …]
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | SuggestionCursorBackedCursor.java | 109 public int getInt(int column) { in getInt() argument 110 if (column == COLUMN_INDEX_ID) { in getInt() 114 return Integer.valueOf(getString(column)); in getInt() 122 public String getString(int column) { in getString() argument 123 if (column < COLUMNS.length) { in getString() 124 switch (column) { in getString() 152 throw new CursorIndexOutOfBoundsException("Requested column " + column in getString() 156 return getExtra(column); in getString() 161 public long getLong(int column) { in getLong() argument 163 return Long.valueOf(getString(column)); in getLong() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/calllog/model/ |
D | coalesced_row.proto | 17 // Value in column CoalescedAnnotatedCallLog._ID 20 // Value in column CoalescedAnnotatedCallLog.TIMESTAMP 23 // Value in column CoalescedAnnotatedCallLog.NUMBER 26 // Value in column CoalescedAnnotatedCallLog.FORMATTED_NUMBER 29 // Value in column CoalescedAnnotatedCallLog.NUMBER_PRESENTATION 32 // Value in column CoalescedAnnotatedCallLog.IS_READ 35 // Value in column CoalescedAnnotatedCallLog.NEW 38 // Value in column CoalescedAnnotatedCallLog.GEOCODED_LOCATION 41 // Value in column CoalescedAnnotatedCallLog.PHONE_ACCOUNT_COMPONENT_NAME 44 // Value in column CoalescedAnnotatedCallLog.PHONE_ACCOUNT_ID [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | FilteringCursorWrapper.java | 101 public double getDouble(int column) { in getDouble() argument 102 return mCursor.getDouble(column); in getDouble() 106 public float getFloat(int column) { in getFloat() argument 107 return mCursor.getFloat(column); in getFloat() 111 public int getInt(int column) { in getInt() argument 112 return mCursor.getInt(column); in getInt() 116 public long getLong(int column) { in getLong() argument 117 return mCursor.getLong(column); in getLong() 121 public short getShort(int column) { in getShort() argument 122 return mCursor.getShort(column); in getShort() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/content/ |
D | ThreadSafeCursorWrapper.java | 45 public String getString(int column) { in getString() argument 48 return super.getString(column); in getString() 53 public short getShort(int column) { in getShort() argument 56 return super.getShort(column); in getShort() 61 public int getInt(int column) { in getInt() argument 64 return super.getInt(column); in getInt() 69 public long getLong(int column) { in getLong() argument 72 return super.getLong(column); in getLong() 77 public float getFloat(int column) { in getFloat() argument 80 return super.getFloat(column); in getFloat() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/voicemail/model/ |
D | voicemail_entry.proto | 15 // Value in column AnnotatedCallLog._ID 18 // Value in column AnnotatedCallLog.TIMESTAMP 21 // Value in column AnnotatedCallLog.NUMBER 24 // Value in column AnnotatedCallLog.FORMATTED_NUMBER 27 // Value in column AnnotatedCallLog.GEOCODED_LOCATION 30 // Value in column AnnotatedCallLog.DURATION 33 // Value in column AnnotatedCallLog.TRANSCRIPTION 36 // Value in column AnnotatedCallLog.VOICEMAIL_URI 39 // Value in column AnnotatedCallLog.CALL_TYPE 42 // Value in column AnnotatedCallLog.IS_READ [all …]
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | EventFieldEditorView.java | 122 final String column = editField.column; in rebuildDateView() local 123 String data = DateUtils.formatDate(getContext(), getEntry().getAsString(column), in rebuildDateView() 139 final String column = editField.column; in isEmpty() local 140 return TextUtils.isEmpty(getEntry().getAsString(column)); in isEmpty() 162 final String column = getKind().fieldList.get(0).column; in onLabelRebuilt() local 163 final String oldValue = getEntry().getAsString(column); in onLabelRebuilt() 189 onFieldChanged(column, formattedDate); in onLabelRebuilt() 198 final String column = getKind().fieldList.get(0).column; in createDatePickerDialog() local 199 final String oldValue = getEntry().getAsString(column); in createDatePickerDialog() 255 onFieldChanged(column, resultString); in createDatePickerDialog() [all …]
|
D | StructuredNameEditorView.java | 89 public void onFieldChanged(String column, String value) { in onFieldChanged() argument 90 if (!isFieldChanged(column, value)) { in onFieldChanged() 95 saveValue(column, value); in onFieldChanged() 102 public void updatePhonetic(String column, String value) { in updatePhonetic() argument 108 if (StructuredName.FAMILY_NAME.equals(column)) { in updatePhonetic() 110 } else if (StructuredName.GIVEN_NAME.equals(column)) { in updatePhonetic() 112 } else if (StructuredName.MIDDLE_NAME.equals(column)) { in updatePhonetic() 123 public String getPhonetic(String column) { in getPhonetic() argument 130 if (StructuredName.FAMILY_NAME.equals(column)) { in getPhonetic() 132 } else if (StructuredName.GIVEN_NAME.equals(column)) { in getPhonetic() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/ |
D | SortingCursorWrapper.java | 126 public double getDouble(int column) { in getDouble() argument 127 return mCursor.getDouble(column); in getDouble() 131 public float getFloat(int column) { in getFloat() argument 132 return mCursor.getFloat(column); in getFloat() 136 public int getInt(int column) { in getInt() argument 137 return mCursor.getInt(column); in getInt() 141 public long getLong(int column) { in getLong() argument 142 return mCursor.getLong(column); in getLong() 146 public short getShort(int column) { in getShort() argument 147 return mCursor.getShort(column); in getShort() [all …]
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
D | Utility.java | 512 T get(Cursor cursor, int column); 517 public Long get(Cursor cursor, int column) { 518 return cursor.getLong(column); 524 public Integer get(Cursor cursor, int column) { 525 return cursor.getInt(column); 531 public String get(Cursor cursor, int column) { 532 return cursor.getString(column); 538 public byte[] get(Cursor cursor, int column) { 539 return cursor.getBlob(column); 564 int column, T defaultValue, CursorGetter<T> getter) { [all …]
|
/packages/apps/TimeZoneData/src/main/com/android/timezone/data/ |
D | TimeZoneRulesDataProvider.java | 197 public int getType(int column) { in query() argument 198 String columnName = projectionList.get(column); in query() 211 public String getString(int column) { in query() argument 213 String columnName = projectionList.get(column); in query() 221 public short getShort(int column) { in query() argument 227 public int getInt(int column) { in query() argument 229 String columnName = projectionList.get(column); in query() 237 public long getLong(int column) { in query() argument 238 return getInt(column); in query() 242 public float getFloat(int column) { in query() argument [all …]
|
/packages/apps/Dialer/java/com/android/dialer/common/database/ |
D | Selection.java | 135 public static Column column(@NonNull String column) { in column() method in Selection 136 return new Column(column); in column() 142 @NonNull private final String column; field in Selection.Column 144 private Column(@NonNull String column) { in Column() argument 145 this.column = Assert.isNotNull(column); in Column() 151 return fromString(column + " " + Assert.isNotNull(operator) + " ?", value.toString()); in is() 160 return fromString(column + " " + Assert.isNotNull(condition)); in is() 169 column + " IN (" + TextUtils.join(",", Collections.nCopies(values.size(), "?")) + ")", in in()
|
/packages/apps/Contacts/src/com/android/contacts/database/ |
D | EmptyCursor.java | 47 public String getString(int column) { in getString() argument 52 public short getShort(int column) { in getShort() argument 57 public int getInt(int column) { in getInt() argument 62 public long getLong(int column) { in getLong() argument 67 public float getFloat(int column) { in getFloat() argument 72 public double getDouble(int column) { in getDouble() argument 77 public boolean isNull(int column) { in isNull() argument
|
/packages/apps/Dialer/java/com/android/contacts/common/database/ |
D | EmptyCursor.java | 47 public String getString(int column) { in getString() argument 52 public short getShort(int column) { in getShort() argument 57 public int getInt(int column) { in getInt() argument 62 public long getLong(int column) { in getLong() argument 67 public float getFloat(int column) { in getFloat() argument 72 public double getDouble(int column) { in getDouble() argument 77 public boolean isNull(int column) { in isNull() argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/provider/ |
D | GalleryProvider.java | 144 String column = projection[i]; in queryPicasaItem() local 145 if (PicasaColumns.USER_ACCOUNT.equals(column)) { in queryPicasaItem() 147 } else if (PicasaColumns.PICASA_ID.equals(column)) { in queryPicasaItem() 149 } else if (ImageColumns.DISPLAY_NAME.equals(column)) { in queryPicasaItem() 151 } else if (ImageColumns.SIZE.equals(column)){ in queryPicasaItem() 153 } else if (ImageColumns.MIME_TYPE.equals(column)) { in queryPicasaItem() 155 } else if (ImageColumns.DATE_TAKEN.equals(column)) { in queryPicasaItem() 157 } else if (ImageColumns.LATITUDE.equals(column)) { in queryPicasaItem() 159 } else if (ImageColumns.LONGITUDE.equals(column)) { in queryPicasaItem() 161 } else if (ImageColumns.ORIENTATION.equals(column)) { in queryPicasaItem() [all …]
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/ |
D | SimpleCharStream.java | 34 protected int column = 0; field in SimpleCharStream 157 column++; in UpdateLineColumn() 162 line += (column = 1); in UpdateLineColumn() 172 line += (column = 1); in UpdateLineColumn() 184 column--; in UpdateLineColumn() 185 column += (tabSize - (column % tabSize)); in UpdateLineColumn() 192 bufcolumn[bufpos] = column; in UpdateLineColumn() 262 column = startcolumn - 1; in SimpleCharStream() 285 column = startcolumn - 1; in ReInit() 451 column = bufcolumn[j]; in adjustBeginLineColumn()
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/contenttype/parser/ |
D | SimpleCharStream.java | 34 protected int column = 0; field in SimpleCharStream 157 column++; in UpdateLineColumn() 162 line += (column = 1); in UpdateLineColumn() 172 line += (column = 1); in UpdateLineColumn() 184 column--; in UpdateLineColumn() 185 column += (tabSize - (column % tabSize)); in UpdateLineColumn() 192 bufcolumn[bufpos] = column; in UpdateLineColumn() 262 column = startcolumn - 1; in SimpleCharStream() 285 column = startcolumn - 1; in ReInit() 451 column = bufcolumn[j]; in adjustBeginLineColumn()
|