Home
last modified time | relevance | path

Searched refs:callbackResult (Results 1 – 11 of 11) 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
115 callbackResult = mBlockAdapter->processVariableBlock( in processCallbackCommon()
119 callbackResult = callDataCallbackFrames((uint8_t *)audioBuffer->raw, in processCallbackCommon()
122 if (callbackResult == AAUDIO_CALLBACK_RESULT_CONTINUE) { in processCallbackCommon()
125 if (callbackResult == AAUDIO_CALLBACK_RESULT_STOP) { in processCallbackCommon()
129 __func__, callbackResult); in processCallbackCommon()
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/
DImsConfigImplTest.java125 Pair<Integer, Integer> callbackResult = mConfigChanges.poll(); in testIntCaching() local
126 assertNotNull(callbackResult); in testIntCaching()
127 assertEquals(TEST_KEY, callbackResult.first.intValue()); in testIntCaching()
128 assertEquals(TEST_INT_VALUE, callbackResult.second.intValue()); in testIntCaching()
154 Pair<Integer, String> callbackResult = mConfigChanges.poll(); in testStringCaching() local
155 assertNotNull(callbackResult); in testStringCaching()
156 assertEquals(TEST_KEY, callbackResult.first.intValue()); in testStringCaching()
157 assertEquals(TEST_STRING_VALUE, callbackResult.second); in testStringCaching()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowProcessControllerTests.java279 final int[] callbackResult = { 0 }; in testComputeOomAdjFromActivities() local
288 callbackResult[0] |= visible; in testComputeOomAdjFromActivities()
293 callbackResult[0] |= paused; in testComputeOomAdjFromActivities()
298 callbackResult[0] |= stopping; in testComputeOomAdjFromActivities()
303 callbackResult[0] |= other; in testComputeOomAdjFromActivities()
310 assertEquals(visible, callbackResult[0]); in testComputeOomAdjFromActivities()
312 callbackResult[0] = 0; in testComputeOomAdjFromActivities()
316 assertEquals(paused, callbackResult[0]); in testComputeOomAdjFromActivities()
318 callbackResult[0] = 0; in testComputeOomAdjFromActivities()
321 assertEquals(stopping, callbackResult[0]); in testComputeOomAdjFromActivities()
[all …]
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternalPlay.cpp283 aaudio_data_callback_result_t callbackResult = AAUDIO_CALLBACK_RESULT_CONTINUE; in callbackLoop() local
290 callbackResult = maybeCallDataCallback(mCallbackBuffer.get(), mCallbackFrames); in callbackLoop()
292 if (callbackResult == AAUDIO_CALLBACK_RESULT_CONTINUE) { in callbackLoop()
303 } else if (callbackResult == AAUDIO_CALLBACK_RESULT_STOP) { in callbackLoop()
DAudioStreamInternalCapture.cpp230 aaudio_data_callback_result_t callbackResult = AAUDIO_CALLBACK_RESULT_CONTINUE; in callbackLoop() local
252 callbackResult = maybeCallDataCallback(mCallbackBuffer.get(), mCallbackFrames); in callbackLoop()
254 if (callbackResult == AAUDIO_CALLBACK_RESULT_STOP) { in callbackLoop()
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiCecLocalDeviceTest.java126 private int callbackResult; field in HdmiCecLocalDeviceTest
232 callbackResult = -1; in handleGivePhysicalAddress_success()
235 (int finalResult) -> callbackResult = finalResult); in handleGivePhysicalAddress_success()
240 assertEquals(0, callbackResult); in handleGivePhysicalAddress_success()
250 callbackResult = -1; in handleGiveDeviceVendorId_success()
252 (int finalResult) -> callbackResult = finalResult); in handleGiveDeviceVendorId_success()
254 assertEquals(0, callbackResult); in handleGiveDeviceVendorId_success()
/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.java103 final boolean callbackResult = mCallback.get().prePerformDrag(window, dragToken, in performDrag()
108 if (!callbackResult) { in performDrag()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java2315 Bundle callbackResult = new Bundle();
2316 callbackResult.putString(Settings.EXTRA_MONITOR_CALLBACK_TYPE,
2318 callbackResult.putString(Settings.EXTRA_CALLING_PACKAGE, callingPackage);
2319 callbackResult.putString(Settings.EXTRA_NAMESPACE, namespace);
2320 mConfigMonitorCallback.sendResult(callbackResult);
2335 Bundle callbackResult = new Bundle();
2336 callbackResult.putString(Settings.EXTRA_MONITOR_CALLBACK_TYPE,
2338 callbackResult.putString(Settings.EXTRA_NAMESPACE, namespace);
2339 mConfigMonitorCallback.sendResult(callbackResult);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DInboundSmsHandler.java1892 private boolean isSkipNotifyFlagSet(int callbackResult) { in isSkipNotifyFlagSet() argument
1893 return (callbackResult in isSkipNotifyFlagSet()