Searched refs:queryResult (Results 1 – 5 of 5) sorted by relevance
85 private List<String> queryResult; field in DbTestUtils.FakeCursor88 FakeCursor(List<String> queryResult) { in FakeCursor() argument89 this.queryResult = queryResult; in FakeCursor()94 return queryResult.size(); in getCount()105 if (queryResult.size() > 0 && mCurrentPosition < queryResult.size()) { in moveToNext()120 return queryResult.get(columnIndex); in getString()130 private ArrayList<String> queryResult = null; field in DbTestUtils.FakeContentProvider151 this.queryResult = result; in setQueryResult()157 ArrayList<String> result = (queryResult == null) ? in query()158 new ArrayList<String>() : queryResult; in query()
62 final DeviceLocalAccountLocator sut = createWithQueryResult(queryResult( in test_getDeviceLocalAccounts_returnsEmptyListWhenNoRawContactsHaveDeviceType()70 final DeviceLocalAccountLocator sut = createWithQueryResult(queryResult( in test_getDeviceLocalAccounts_returnsListWithItemForNullAccount()83 final DeviceLocalAccountLocator sut = createLocator(queryResult( in test_getDeviceLocalAccounts_containsItemForEachDeviceAccount()118 .withQueryResult(ContactsContract.Settings.CONTENT_URI, queryResult( in test_getDeviceLocalAccounts_includesAccountsFromSettings()131 .withQueryResult(ContactsContract.Groups.CONTENT_URI, queryResult( in test_getDeviceLocalAccounts_includesAccountsFromGroups()174 private Cursor queryResult(String... nameTypePairs) { in queryResult() method in Cp2DeviceLocalAccountLocatorTests
85 final Cursor row = queryResult( in test_createShortcutFromRow_hasCorrectResult()348 private Cursor queryResult(Object... values) {349 return queryResult(DynamicShortcuts.PROJECTION, values);361 private Cursor queryResult(String[] columns, Object... values) {
427 for (Map<String, Object> queryResult : queryResults) { in query()431 rowBuilder.add(queryResult.get(key)); in query()
2707 Cursor queryResult = resolver.query(uri, null, whereClause, null, null); in moveMmsToFolder() local2709 if (queryResult != null) { in moveMmsToFolder()2710 if (queryResult.getCount() > 0) { in moveMmsToFolder()2711 queryResult.moveToFirst(); in moveMmsToFolder()2722 if (queryResult != null) queryResult.close(); in moveMmsToFolder()