Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamLegacy.cpp51 aaudio_data_callback_result_t callbackResult = maybeCallDataCallback(finalAudioData, numFrames); in callDataCallbackFrames() local
53 if (callbackResult == AAUDIO_CALLBACK_RESULT_CONTINUE in callDataCallbackFrames()
58 return callbackResult; in callDataCallbackFrames()
81 aaudio_data_callback_result_t callbackResult; in onMoreData() local
108 callbackResult = mBlockAdapter->processVariableBlock( in onMoreData()
112 callbackResult = callDataCallbackFrames(buffer.data(), in onMoreData()
115 if (callbackResult == AAUDIO_CALLBACK_RESULT_CONTINUE) { in onMoreData()
118 if (callbackResult == AAUDIO_CALLBACK_RESULT_STOP) { in onMoreData()
122 __func__, callbackResult); in onMoreData()
146 aaudio_data_callback_result_t callbackResult; in onMoreData() local
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/
DImsConfigImplTest.java129 Pair<Integer, Integer> callbackResult = mConfigChanges.poll(); in testIntCaching() local
130 assertNotNull(callbackResult); in testIntCaching()
131 assertEquals(TEST_KEY, callbackResult.first.intValue()); in testIntCaching()
132 assertEquals(TEST_INT_VALUE, callbackResult.second.intValue()); in testIntCaching()
158 Pair<Integer, String> callbackResult = mConfigChanges.poll(); in testStringCaching() local
159 assertNotNull(callbackResult); in testStringCaching()
160 assertEquals(TEST_KEY, callbackResult.first.intValue()); in testStringCaching()
161 assertEquals(TEST_STRING_VALUE, callbackResult.second); in testStringCaching()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowProcessControllerTests.java345 final int[] callbackResult = { 0 }; in testComputeOomAdjFromActivities() local
354 callbackResult[0] |= visible; in testComputeOomAdjFromActivities()
359 callbackResult[0] |= paused; in testComputeOomAdjFromActivities()
364 callbackResult[0] |= stopping; in testComputeOomAdjFromActivities()
369 callbackResult[0] |= other; in testComputeOomAdjFromActivities()
376 assertEquals(visible, callbackResult[0]); in testComputeOomAdjFromActivities()
378 callbackResult[0] = 0; in testComputeOomAdjFromActivities()
382 assertEquals(paused, callbackResult[0]); in testComputeOomAdjFromActivities()
384 callbackResult[0] = 0; in testComputeOomAdjFromActivities()
387 assertEquals(stopping, callbackResult[0]); in testComputeOomAdjFromActivities()
[all …]
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternalCapture.cpp285 aaudio_data_callback_result_t callbackResult = AAUDIO_CALLBACK_RESULT_CONTINUE; in callbackLoop() local
309 callbackResult = maybeCallDataCallback(mCallbackBuffer.get(), mCallbackFrames); in callbackLoop()
311 if (callbackResult == AAUDIO_CALLBACK_RESULT_STOP) { in callbackLoop()
DAudioStreamInternalPlay.cpp404 aaudio_data_callback_result_t callbackResult = AAUDIO_CALLBACK_RESULT_CONTINUE; in callbackLoop() local
411 callbackResult = maybeCallDataCallback(mCallbackBuffer.get(), mCallbackFrames); in callbackLoop()
432 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()
Dtest_callback_race.cpp45 aaudio_data_callback_result_t callbackResult) { in checkCloseJoins() argument
51 mCallbackResult = callbackResult; in checkCloseJoins()
/frameworks/base/services/core/java/com/android/server/wm/
DDragDropController.java165 final boolean callbackResult = mCallback.get().prePerformDrag(window, dragToken, in performDrag()
172 if (!callbackResult) { in performDrag()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java2596 Bundle callbackResult = new Bundle();
2597 callbackResult.putString(Settings.EXTRA_MONITOR_CALLBACK_TYPE,
2599 callbackResult.putString(Settings.EXTRA_CALLING_PACKAGE, callingPackage);
2600 callbackResult.putString(Settings.EXTRA_NAMESPACE, namespace);
2601 mConfigMonitorCallback.sendResult(callbackResult);
2616 Bundle callbackResult = new Bundle();
2617 callbackResult.putString(Settings.EXTRA_MONITOR_CALLBACK_TYPE,
2619 callbackResult.putString(Settings.EXTRA_NAMESPACE, namespace);
2620 mConfigMonitorCallback.sendResult(callbackResult);
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiCecLocalDeviceTest.java124 private int callbackResult; field in HdmiCecLocalDeviceTest
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DInboundSmsHandler.java1924 private boolean isSkipNotifyFlagSet(int callbackResult) { in isSkipNotifyFlagSet() argument
1925 return (callbackResult in isSkipNotifyFlagSet()