Home
last modified time | relevance | path

Searched refs:queryResult (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Calendar/tests/src/com/android/calendar/
DDbTestUtils.java89 private List<String> queryResult; field in DbTestUtils.FakeCursor
92 FakeCursor(List<String> queryResult) { in FakeCursor() argument
93 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.FakeContentProvider
155 this.queryResult = result; in setQueryResult()
161 ArrayList<String> result = (queryResult == null) ? in query()
162 new ArrayList<String>() : queryResult; in query()
/packages/apps/Settings/src/com/android/settings/sim/smartForwarding/
DEnableSmartForwardingTask.java350 QueryCallWaitingCommand queryResult; field in EnableSmartForwardingTask.UpdateCallWaitingCommand
355 this.queryResult = queryCallWaitingCommand; in UpdateCallWaitingCommand()
378 if (queryResult.getResult() != TelephonyManager.CALL_WAITING_STATUS_ENABLED) { in onRestore()
388 QueryCallForwardingCommand queryResult; field in EnableSmartForwardingTask.UpdateCallForwardingCommand
395 this.queryResult = queryCallForwardingCommand; in UpdateCallForwardingCommand()
421 .setCallForwarding(queryResult.getResult(), null, null); in onRestore()
/packages/apps/Contacts/tests/src/com/android/contacts/
DDynamicShortcutsTests.java86 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) {
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapContentObserver.java2894 Cursor queryResult = resolver.query(uri, null, whereClause, null, null); in moveMmsToFolder() local
2896 if (queryResult != null) { in moveMmsToFolder()
2897 if (queryResult.getCount() > 0) { in moveMmsToFolder()
2898 queryResult.moveToFirst(); in moveMmsToFolder()
2911 if (queryResult != null) { in moveMmsToFolder()
2912 queryResult.close(); in moveMmsToFolder()
/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp1378 const std::vector<std::string> queryResult; in TEST_F() member
1427 EXPECT_THAT(ToStrings(result), testing::UnorderedElementsAreArray(config.queryResult)); in TEST_F()