Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamLegacy.cpp64 aaudio_data_callback_result_t callbackResult = maybeCallDataCallback(finalAudioData, numFrames); in callDataCallbackFrames() local
66 if (callbackResult == AAUDIO_CALLBACK_RESULT_CONTINUE in callDataCallbackFrames()
71 return callbackResult; in callDataCallbackFrames()
81 aaudio_data_callback_result_t callbackResult; in processCallbackCommon() local
111 callbackResult = mBlockAdapter->processVariableBlock( in processCallbackCommon()
115 callbackResult = callDataCallbackFrames((uint8_t *)audioBuffer->raw, in processCallbackCommon()
118 if (callbackResult == AAUDIO_CALLBACK_RESULT_CONTINUE) { in processCallbackCommon()
121 if (callbackResult == AAUDIO_CALLBACK_RESULT_STOP) { in processCallbackCommon()
125 __func__, callbackResult); in processCallbackCommon()
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiCecLocalDeviceTest.java90 private int callbackResult; field in HdmiCecLocalDeviceTest
155 callbackResult = -1; in handleGivePhysicalAddress_success()
158 (int finalResult) -> callbackResult = finalResult); in handleGivePhysicalAddress_success()
163 assertEquals(0, callbackResult); in handleGivePhysicalAddress_success()
173 callbackResult = -1; in handleGiveDeviceVendorId_success()
175 (int finalResult) -> callbackResult = finalResult); in handleGiveDeviceVendorId_success()
177 assertEquals(0, callbackResult); in handleGiveDeviceVendorId_success()
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternalPlay.cpp268 aaudio_data_callback_result_t callbackResult = AAUDIO_CALLBACK_RESULT_CONTINUE; in callbackLoop() local
275 callbackResult = maybeCallDataCallback(mCallbackBuffer.get(), mCallbackFrames); in callbackLoop()
277 if (callbackResult == AAUDIO_CALLBACK_RESULT_CONTINUE) { in callbackLoop()
288 } else if (callbackResult == AAUDIO_CALLBACK_RESULT_STOP) { in callbackLoop()
DAudioStreamInternalCapture.cpp239 aaudio_data_callback_result_t callbackResult = AAUDIO_CALLBACK_RESULT_CONTINUE; in callbackLoop() local
261 callbackResult = maybeCallDataCallback(mCallbackBuffer.get(), mCallbackFrames); in callbackLoop()
263 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.java100 final boolean callbackResult = mCallback.get().prePerformDrag(window, dragToken, in performDrag()
105 if (!callbackResult) { in performDrag()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java2221 Bundle callbackResult = new Bundle();
2222 callbackResult.putString(Settings.EXTRA_MONITOR_CALLBACK_TYPE,
2224 callbackResult.putString(Settings.EXTRA_CALLING_PACKAGE, callingPackage);
2225 callbackResult.putString(Settings.EXTRA_NAMESPACE, namespace);
2226 mConfigMonitorCallback.sendResult(callbackResult);
2241 Bundle callbackResult = new Bundle();
2242 callbackResult.putString(Settings.EXTRA_MONITOR_CALLBACK_TYPE,
2244 callbackResult.putString(Settings.EXTRA_NAMESPACE, namespace);
2245 mConfigMonitorCallback.sendResult(callbackResult);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DInboundSmsHandler.java1676 private boolean isSkipNotifyFlagSet(int callbackResult) { in isSkipNotifyFlagSet() argument
1677 return (callbackResult in isSkipNotifyFlagSet()