Home
last modified time | relevance | path

Searched refs:availableColumns (Results 1 – 3 of 3) sorted by relevance

/packages/services/Telephony/src/com/android/phone/
DServiceStateProvider.java421 final String[] availableColumns; in query() local
426 availableColumns = PUBLIC_COLUMNS; in query()
429 availableColumns = ALL_COLUMNS; in query()
499 Object[] data = availableColumns == ALL_COLUMNS ? new Object[]{ in query()
537 return buildSingleRowResult(projection, availableColumns, data); in query()
541 private static Cursor buildSingleRowResult(String[] projection, String[] availableColumns, in buildSingleRowResult() argument
544 projection = availableColumns; in buildSingleRowResult()
551 for (int j = 0; j < availableColumns.length; j++) { in buildSingleRowResult()
552 if (availableColumns[j].equals(columnName)) { in buildSingleRowResult()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java10312 static Cursor buildSingleRowResult(String[] projection, String[] availableColumns, in buildSingleRowResult() argument
10314 Preconditions.checkArgument(availableColumns.length == data.length); in buildSingleRowResult()
10316 projection = availableColumns; in buildSingleRowResult()
10326 for (int j = 0; j < availableColumns.length; j++) { in buildSingleRowResult()
10327 if (availableColumns[j].equals(columnName)) { in buildSingleRowResult()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java8659 private void checkBuildSingleRowResult(String[] projection, String[] availableColumns, in checkBuildSingleRowResult() argument
8661 final Cursor c = ContactsProvider2.buildSingleRowResult(projection, availableColumns, data); in checkBuildSingleRowResult()