Home
last modified time | relevance | path

Searched refs:callbackResult (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamLegacy.cpp63 aaudio_data_callback_result_t callbackResult = maybeCallDataCallback(finalAudioData, numFrames); in callDataCallbackFrames() local
65 if (callbackResult == AAUDIO_CALLBACK_RESULT_CONTINUE in callDataCallbackFrames()
70 return callbackResult; in callDataCallbackFrames()
80 aaudio_data_callback_result_t callbackResult; in processCallbackCommon() local
110 callbackResult = mBlockAdapter->processVariableBlock( in processCallbackCommon()
114 callbackResult = callDataCallbackFrames((uint8_t *)audioBuffer->raw, in processCallbackCommon()
117 if (callbackResult == AAUDIO_CALLBACK_RESULT_CONTINUE) { in processCallbackCommon()
120 if (callbackResult == AAUDIO_CALLBACK_RESULT_STOP) { in processCallbackCommon()
124 __func__, callbackResult); in processCallbackCommon()
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiCecLocalDeviceTest.java89 private int callbackResult; field in HdmiCecLocalDeviceTest
154 callbackResult = -1; in handleGivePhysicalAddress_success()
157 (int finalResult) -> callbackResult = finalResult); in handleGivePhysicalAddress_success()
162 assertEquals(0, callbackResult); in handleGivePhysicalAddress_success()
172 callbackResult = -1; in handleGiveDeviceVendorId_success()
174 (int finalResult) -> callbackResult = finalResult); in handleGiveDeviceVendorId_success()
176 assertEquals(0, callbackResult); in handleGiveDeviceVendorId_success()
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternalPlay.cpp266 aaudio_data_callback_result_t callbackResult = AAUDIO_CALLBACK_RESULT_CONTINUE; in callbackLoop() local
273 callbackResult = maybeCallDataCallback(mCallbackBuffer, mCallbackFrames); in callbackLoop()
275 if (callbackResult == AAUDIO_CALLBACK_RESULT_CONTINUE) { in callbackLoop()
286 } else if (callbackResult == AAUDIO_CALLBACK_RESULT_STOP) { in callbackLoop()
DAudioStreamInternalCapture.cpp235 aaudio_data_callback_result_t callbackResult = AAUDIO_CALLBACK_RESULT_CONTINUE; in callbackLoop() local
257 callbackResult = maybeCallDataCallback(mCallbackBuffer, mCallbackFrames); in callbackLoop()
259 if (callbackResult == AAUDIO_CALLBACK_RESULT_STOP) { in callbackLoop()
/frameworks/av/media/libaaudio/tests/
Dtest_return_stop.cpp183 int callbackResult = EXIT_SUCCESS; in main() local
274 callbackResult = (engine.callbackCountAfterStop == 0) ? EXIT_SUCCESS in main()
276 if (callbackResult) { in main()
/frameworks/base/services/core/java/com/android/server/wm/
DDragDropController.java99 final boolean callbackResult = mCallback.get().prePerformDrag(window, dragToken, in performDrag()
104 if (!callbackResult) { in performDrag()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DInboundSmsHandler.java1588 private boolean isSkipNotifyFlagSet(int callbackResult) { in isSkipNotifyFlagSet() argument
1589 return (callbackResult in isSkipNotifyFlagSet()