Searched refs:queryResult (Results 1 – 5 of 5) sorted by relevance
89 private List<String> queryResult; field in DbTestUtils.FakeCursor92 FakeCursor(List<String> queryResult) { in FakeCursor() argument93 this.queryResult = queryResult; in FakeCursor()98 return queryResult.size(); in getCount()109 if (queryResult.size() > 0 && mCurrentPosition < queryResult.size()) { in moveToNext()124 return queryResult.get(columnIndex); in getString()134 private ArrayList<String> queryResult = null; field in DbTestUtils.FakeContentProvider155 this.queryResult = result; in setQueryResult()161 ArrayList<String> result = (queryResult == null) ? in query()162 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
86 final Cursor row = queryResult( in test_createShortcutFromRow_hasCorrectResult()349 private Cursor queryResult(Object... values) {350 return queryResult(DynamicShortcuts.PROJECTION, values);362 private Cursor queryResult(String[] columns, Object... values) {
2889 Cursor queryResult = resolver.query(uri, null, whereClause, null, null); in moveMmsToFolder() local2891 if (queryResult != null) { in moveMmsToFolder()2892 if (queryResult.getCount() > 0) { in moveMmsToFolder()2893 queryResult.moveToFirst(); in moveMmsToFolder()2906 if (queryResult != null) { in moveMmsToFolder()2907 queryResult.close(); in moveMmsToFolder()
1237 const std::vector<std::string> queryResult; in TEST_F() member1276 EXPECT_THAT(ToStrings(result), testing::UnorderedElementsAreArray(config.queryResult)); in TEST_F()