Searched refs:callbackResult (Results 1 – 11 of 11) sorted by relevance
51 aaudio_data_callback_result_t callbackResult = maybeCallDataCallback(finalAudioData, numFrames); in callDataCallbackFrames() local53 if (callbackResult == AAUDIO_CALLBACK_RESULT_CONTINUE in callDataCallbackFrames()58 return callbackResult; in callDataCallbackFrames()81 aaudio_data_callback_result_t callbackResult; in onMoreData() local108 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 …]
129 Pair<Integer, Integer> callbackResult = mConfigChanges.poll(); in testIntCaching() local130 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() local159 assertNotNull(callbackResult); in testStringCaching()160 assertEquals(TEST_KEY, callbackResult.first.intValue()); in testStringCaching()161 assertEquals(TEST_STRING_VALUE, callbackResult.second); in testStringCaching()
345 final int[] callbackResult = { 0 }; in testComputeOomAdjFromActivities() local354 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 …]
285 aaudio_data_callback_result_t callbackResult = AAUDIO_CALLBACK_RESULT_CONTINUE; in callbackLoop() local309 callbackResult = maybeCallDataCallback(mCallbackBuffer.get(), mCallbackFrames); in callbackLoop()311 if (callbackResult == AAUDIO_CALLBACK_RESULT_STOP) { in callbackLoop()
404 aaudio_data_callback_result_t callbackResult = AAUDIO_CALLBACK_RESULT_CONTINUE; in callbackLoop() local411 callbackResult = maybeCallDataCallback(mCallbackBuffer.get(), mCallbackFrames); in callbackLoop()432 if (callbackResult == AAUDIO_CALLBACK_RESULT_STOP) { in callbackLoop()
183 int callbackResult = EXIT_SUCCESS; in main() local274 callbackResult = (engine.callbackCountAfterStop == 0) ? EXIT_SUCCESS in main()276 if (callbackResult) { in main()
45 aaudio_data_callback_result_t callbackResult) { in checkCloseJoins() argument51 mCallbackResult = callbackResult; in checkCloseJoins()
165 final boolean callbackResult = mCallback.get().prePerformDrag(window, dragToken, in performDrag()172 if (!callbackResult) { in performDrag()
2596 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);
124 private int callbackResult; field in HdmiCecLocalDeviceTest
1924 private boolean isSkipNotifyFlagSet(int callbackResult) { in isSkipNotifyFlagSet() argument1925 return (callbackResult in isSkipNotifyFlagSet()