Home
last modified time | relevance | path

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

/cts/tests/tests/telephony/current/src/android/telephony/cts/
DCellInfoTest.java264 CellInfoResultsCallback resultsCallback = new CellInfoResultsCallback(); in testPhoneStateListenerCallback()
266 mTm.requestCellInfoUpdate(mSimpleExecutor, resultsCallback); in testPhoneStateListenerCallback()
267 resultsCallback.wait(MAX_CELLINFO_WAIT_MILLIS); in testPhoneStateListenerCallback()
278 referenceList.containsAll(resultsCallback.cellInfo)); in testPhoneStateListenerCallback()
280 resultsCallback.cellInfo = null; in testPhoneStateListenerCallback()
284 mTm.requestCellInfoUpdate(mSimpleExecutor, resultsCallback); in testPhoneStateListenerCallback()
285 resultsCallback.wait(MAX_CELLINFO_WAIT_MILLIS); in testPhoneStateListenerCallback()
286 assertNotNull("CellInfoCallback should return valid data", resultsCallback.cellInfo); in testPhoneStateListenerCallback()
287 if (referenceList.containsAll(resultsCallback.cellInfo)) { in testPhoneStateListenerCallback()
305 resultsCallback.cellInfo = null; in testPhoneStateListenerCallback()
[all …]
DTelephonyManagerTest.java4539 CellInfoResultsCallback resultsCallback = new CellInfoResultsCallback(); in testRegisterTelephonyCallback() local
4540 mTelephonyManager.requestCellInfoUpdate(mSimpleExecutor, resultsCallback); in testRegisterTelephonyCallback()
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DNetworkScanApiTest.java434 CellInfoResultsCallback resultsCallback = new CellInfoResultsCallback(); in getCellInfo() local
435 mTelephonyManager.requestCellInfoUpdate(r -> r.run(), resultsCallback); in getCellInfo()
437 resultsCallback.wait(MAX_CELLINFO_WAIT_MILLIS); in getCellInfo()
441 return resultsCallback.cellInfo; in getCellInfo()