Searched refs:resultsCallback (Results 1 – 3 of 3) sorted by relevance
264 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 …]
4539 CellInfoResultsCallback resultsCallback = new CellInfoResultsCallback(); in testRegisterTelephonyCallback() local4540 mTelephonyManager.requestCellInfoUpdate(mSimpleExecutor, resultsCallback); in testRegisterTelephonyCallback()
434 CellInfoResultsCallback resultsCallback = new CellInfoResultsCallback(); in getCellInfo() local435 mTelephonyManager.requestCellInfoUpdate(r -> r.run(), resultsCallback); in getCellInfo()437 resultsCallback.wait(MAX_CELLINFO_WAIT_MILLIS); in getCellInfo()441 return resultsCallback.cellInfo; in getCellInfo()