Searched refs:resultsCallback (Results 1 – 3 of 3) sorted by relevance
285 CellInfoResultsCallback resultsCallback = new CellInfoResultsCallback(); in testPhoneStateListenerCallback() local287 mTm.requestCellInfoUpdate(mSimpleExecutor, resultsCallback); in testPhoneStateListenerCallback()288 resultsCallback.wait(MAX_CELLINFO_WAIT_MILLIS); in testPhoneStateListenerCallback()299 referenceList.containsAll(resultsCallback.cellInfo)); in testPhoneStateListenerCallback()301 resultsCallback.cellInfo = null; in testPhoneStateListenerCallback()305 mTm.requestCellInfoUpdate(mSimpleExecutor, resultsCallback); in testPhoneStateListenerCallback()306 resultsCallback.wait(MAX_CELLINFO_WAIT_MILLIS); in testPhoneStateListenerCallback()307 assertNotNull("CellInfoCallback should return valid data", resultsCallback.cellInfo); in testPhoneStateListenerCallback()308 if (referenceList.containsAll(resultsCallback.cellInfo)) { in testPhoneStateListenerCallback()326 resultsCallback.cellInfo = null; in testPhoneStateListenerCallback()[all …]
5876 CellInfoResultsCallback resultsCallback = new CellInfoResultsCallback(); in testRegisterTelephonyCallback() local5877 mTelephonyManager.requestCellInfoUpdate(mSimpleExecutor, resultsCallback); in testRegisterTelephonyCallback()
514 CellInfoResultsCallback resultsCallback = new CellInfoResultsCallback(); in getCellInfo() local515 mTelephonyManager.requestCellInfoUpdate(r -> r.run(), resultsCallback); in getCellInfo()517 resultsCallback.wait(MAX_CELLINFO_WAIT_MILLIS); in getCellInfo()521 return resultsCallback.cellInfo; in getCellInfo()