/frameworks/av/media/libaaudio/src/legacy/ |
D | AudioStreamLegacy.cpp | 63 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/ |
D | ImsConfigImplTest.java | 125 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/ |
D | WindowProcessControllerTests.java | 279 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/ |
D | AudioStreamInternalPlay.cpp | 283 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()
|
D | AudioStreamInternalCapture.cpp | 230 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/ |
D | HdmiCecLocalDeviceTest.java | 126 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/ |
D | test_return_stop.cpp | 183 int callbackResult = EXIT_SUCCESS; in main() local 274 callbackResult = (engine.callbackCountAfterStop == 0) ? EXIT_SUCCESS in main() 276 if (callbackResult) { in main()
|
D | test_callback_race.cpp | 45 aaudio_data_callback_result_t callbackResult) { in checkCloseJoins() argument 51 mCallbackResult = callbackResult; in checkCloseJoins()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DragDropController.java | 103 final boolean callbackResult = mCallback.get().prePerformDrag(window, dragToken, in performDrag() 108 if (!callbackResult) { in performDrag()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProvider.java | 2315 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/ |
D | InboundSmsHandler.java | 1892 private boolean isSkipNotifyFlagSet(int callbackResult) { in isSkipNotifyFlagSet() argument 1893 return (callbackResult in isSkipNotifyFlagSet()
|