/frameworks/av/media/libaudiohal/impl/ |
D | EffectsFactoryHalHidl.cpp | 65 Result retval = Result::NOT_INITIALIZED; in queryAllDescriptors() local 69 retval = r; in queryAllDescriptors() 70 if (retval == Result::OK) { in queryAllDescriptors() 74 if (ret.isOk() && retval == Result::OK) { in queryAllDescriptors() 78 return {std::move(ret), retval, std::move(descriptors)}; in queryAllDescriptors() 91 auto [ret, retval, descriptors] = mCache->queryAllDescriptors(mEffectsFactory.get()); in queryNumberEffects() 92 if (ret.isOk() && retval == Result::OK) { in queryNumberEffects() 107 auto [ret, retval, descriptors] = mCache->queryAllDescriptors(mEffectsFactory.get()); in getDescriptor() 108 if (ret.isOk() && retval == Result::OK) { in getDescriptor() 125 Result retval = Result::NOT_INITIALIZED; in getDescriptor() local [all …]
|
D | StreamHalHidl.cpp | 99 Result retval; in getAudioProperties() local 103 retval = r; in getAudioProperties() 104 if (retval == Result::OK) { in getAudioProperties() 108 if (status_t status = processReturn("getAudioProperties", ret, retval); status == NO_ERROR) { in getAudioProperties() 133 Result retval; in getParameters() local 139 retval = r; in getParameters() 140 if (retval == Result::OK) { in getParameters() 144 return processReturn("getParameters", ret, retval); in getParameters() 207 Result retval; in createMmapBuffer() local 211 retval = r; in createMmapBuffer() [all …]
|
D | DeviceHalHidl.cpp | 149 Result retval; in getMasterVolume() local 152 retval = r; in getMasterVolume() 153 if (retval == Result::OK) { in getMasterVolume() 157 return processReturn("getMasterVolume", ret, retval); in getMasterVolume() 176 Result retval; in getMicMute() local 179 retval = r; in getMicMute() 180 if (retval == Result::OK) { in getMicMute() 184 return processReturn("getMicMute", ret, retval); in getMicMute() 196 Result retval; in getMasterMute() local 199 retval = r; in getMasterMute() [all …]
|
D | EffectHalHidl.cpp | 123 Result retval; in prepareForProcessing() local 126 retval = r; in prepareForProcessing() 127 if (retval == Result::OK) { in prepareForProcessing() 134 if (!ret.isOk() || retval != Result::OK) { in prepareForProcessing() 135 return ret.isOk() ? analyzeResult(retval) : FAILED_TRANSACTION; in prepareForProcessing() 174 Result retval = Result::NOT_INITIALIZED; in processImpl() local 175 mStatusMQ->read(&retval); in processImpl() 176 if (retval == Result::OK || retval == Result::INVALID_STATE) { in processImpl() 180 return analyzeResult(retval); in processImpl() 238 Result retval = Result::NOT_INITIALIZED; in getDescriptor() local [all …]
|
D | EffectBufferHalHidl.cpp | 72 status_t retval = NO_MEMORY; in init() local 78 retval = OK; in init() 81 if (result.isOk() && retval == OK) { in init() 90 retval = NO_MEMORY; in init() 95 return result.isOk() ? retval : FAILED_TRANSACTION; in init()
|
D | ConversionHelperHidl.h | 38 const ::android::hardware::Return<R>& ret, T *retval) { in processReturn() argument 41 *retval = static_cast<T>(static_cast<R>(ret)); in processReturn() 65 const char* funcName, const ::android::hardware::Return<T>& ret, HalResult retval) { in processReturn() argument 69 return ret.isOk() ? mResultConverter(retval) : FAILED_TRANSACTION; in processReturn()
|
D | DevicesFactoryHalHidl.cpp | 119 Result retval = Result::NOT_INITIALIZED; in openDevice() local 132 retval = r; in openDevice() 133 if (retval == Result::OK) { in openDevice() 146 retval = r; in openDevice() 147 if (retval == Result::OK) { in openDevice() 153 switch (retval) { in openDevice()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/ |
D | SoundTriggerHw2Compat.java | 187 AtomicInteger retval = new AtomicInteger(-1); in getPropertiesInternal() local 193 retval.set(r); in getPropertiesInternal() 200 handleHalStatus(retval.get(), "getProperties_2_3"); in getPropertiesInternal() 218 AtomicInteger retval = new AtomicInteger(-1); in loadSoundModel() local 224 retval.set(r); in loadSoundModel() 227 handleHalStatus(retval.get(), "loadSoundModel_2_1"); in loadSoundModel() 254 AtomicInteger retval = new AtomicInteger(-1); in loadPhraseSoundModel() local 260 retval.set(r); in loadPhraseSoundModel() 263 handleHalStatus(retval.get(), "loadPhraseSoundModel_2_1"); in loadPhraseSoundModel() 290 int retval = as2_0().unloadSoundModel(modelHandle); in unloadSoundModel() local [all …]
|
/frameworks/base/services/usb/java/com/android/server/usb/hal/port/ |
D | UsbPortAidl.java | 663 android.hardware.usb.PortStatus[] currentPortStatus, int retval) { in notifyPortStatusChange() argument 668 if (retval != Status.SUCCESS) { in notifyPortStatusChange() 708 public void notifyRoleSwitchStatus(String portName, PortRole role, int retval, in notifyRoleSwitchStatus() argument 710 if (retval == Status.SUCCESS) { in notifyRoleSwitchStatus() 716 + retval in notifyRoleSwitchStatus() 722 public void notifyQueryPortStatus(String portName, int retval, long operationID) { in notifyQueryPortStatus() argument 723 if (retval == Status.SUCCESS) { in notifyQueryPortStatus() 728 + operationID + " failed. err:" + retval); in notifyQueryPortStatus() 733 public void notifyEnableUsbDataStatus(String portName, boolean enable, int retval, in notifyEnableUsbDataStatus() argument 735 if (retval == Status.SUCCESS) { in notifyEnableUsbDataStatus() [all …]
|
D | UsbPortHidl.java | 404 ArrayList<android.hardware.usb.V1_0.PortStatus> currentPortStatus, int retval) { in notifyPortStatusChange() argument 409 if (retval != Status.SUCCESS) { in notifyPortStatusChange() 440 int retval) { in notifyPortStatusChange_1_1() argument 445 if (retval != Status.SUCCESS) { in notifyPortStatusChange_1_1() 476 ArrayList<PortStatus> currentPortStatus, int retval) { in notifyPortStatusChange_1_2() argument 481 if (retval != Status.SUCCESS) { in notifyPortStatusChange_1_2() 517 public void notifyRoleSwitchStatus(String portName, PortRole role, int retval) { in notifyRoleSwitchStatus() argument 518 if (retval == Status.SUCCESS) { in notifyRoleSwitchStatus()
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | foreach_multi.rscript | 62 struct RetStruct retval; 64 retval.i0 = in0 + in1; 65 retval.i1 = in0 + in1; 66 retval.i2 = in0 + in1; 67 retval.i3 = in0 + in1; 68 retval.i4 = in0 + in1; 69 retval.i5 = in0 + in1; 70 retval.i6 = in0 + in1; 71 retval.i7 = in0 + in1; 73 return retval;
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | foreach_multi.rscript | 60 struct RetStruct retval; 62 retval.i0 = in0 + in1; 63 retval.i1 = in0 + in1; 64 retval.i2 = in0 + in1; 65 retval.i3 = in0 + in1; 66 retval.i4 = in0 + in1; 67 retval.i5 = in0 + in1; 68 retval.i6 = in0 + in1; 69 retval.i7 = in0 + in1; 71 return retval;
|
/frameworks/base/core/java/com/android/internal/security/ |
D | VerityUtils.java | 100 int retval = statxForFsverityNative(filePath); in hasFsverity() local 101 if (retval < 0) { in hasFsverity() 102 Slog.e(TAG, "Failed to check whether fs-verity is enabled, errno " + -retval + ": " in hasFsverity() 106 return (retval == 1); in hasFsverity() 204 int retval = measureFsverityNative(filePath, result); in getFsverityDigest() local 205 if (retval < 0) { in getFsverityDigest() 206 if (retval != -OsConstants.ENODATA) { in getFsverityDigest() 207 Slog.e(TAG, "Failed to measure fs-verity, errno " + -retval + ": " + filePath); in getFsverityDigest()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_UsbAlsaJackDetector.cpp | 122 int retval; in android_server_UsbAlsaJackDetector_jackDetect() local 124 retval = mixer_wait_event(m, -1); in android_server_UsbAlsaJackDetector_jackDetect() 125 } while (retval == -EINTR); in android_server_UsbAlsaJackDetector_jackDetect() 126 if (retval < 0) { in android_server_UsbAlsaJackDetector_jackDetect()
|
/frameworks/base/tests/FsVerityTest/block_device_writer/ |
D | block_device_writer.cpp | 148 ssize_t retval = in read_block_from_device() local 150 if (retval != block_size) { in read_block_from_device() 152 retval, strerror(errno)); in read_block_from_device() 167 ssize_t retval = TEMP_FAILURE_RETRY( in write_block_to_device() local 169 if (retval != block_size) { in write_block_to_device() 171 retval, strerror(errno)); in write_block_to_device()
|
/frameworks/native/libs/ui/tests/ |
D | GraphicBufferOverBinder_test.cpp | 73 int stat, retval; in runBinderServer() local 74 retval = wait(&stat); in runBinderServer() 75 if (retval == -1 && errno == ECHILD) { in runBinderServer()
|
/frameworks/base/native/android/ |
D | sensor.cpp | 45 #define RETURN_IF_MANAGER_IS_NULL(retval) do {\ argument 48 return retval; \ 51 #define RETURN_IF_SENSOR_IS_NULL(retval) do {\ argument 54 return retval; \ 57 #define RETURN_IF_QUEUE_IS_NULL(retval) do {\ argument 60 return retval; \
|
/frameworks/base/core/java/android/service/textservice/ |
D | SpellCheckerService.java | 141 final SuggestionsInfo[] retval = new SuggestionsInfo[length]; in onGetSuggestionsMultiple() local 143 retval[i] = onGetSuggestions(textInfos[i], suggestionsLimit); in onGetSuggestionsMultiple() 144 retval[i].setCookieAndSequence( in onGetSuggestionsMultiple() 147 return retval; in onGetSuggestionsMultiple() 187 final SentenceSuggestionsInfo[] retval = new SentenceSuggestionsInfo[infosSize]; in onGetSentenceSuggestionsMultiple() local 198 retval[i] = SentenceLevelAdapter.reconstructSuggestions( in onGetSentenceSuggestionsMultiple() 202 return retval; in onGetSentenceSuggestionsMultiple()
|
/frameworks/base/libs/hwui/renderthread/ |
D | RenderTask.h | 84 void* retval = mMethod(mData); in run() local 86 *mReturnPtr = retval; in run()
|
/frameworks/base/core/java/android/app/ |
D | Vr2dDisplayProperties.java | 184 String retval = "{"; in toReadableFlags() local 186 retval += "enabled"; in toReadableFlags() 188 return retval + "}"; in toReadableFlags()
|
/frameworks/base/core/java/android/view/textservice/ |
D | TextServicesManager.java | 293 final SpellCheckerInfo[] retval = mService.getEnabledSpellCheckers(mUserId); in getEnabledSpellCheckers() local 295 Log.d(TAG, "getEnabledSpellCheckers: " + (retval != null ? retval.length : "null")); in getEnabledSpellCheckers() 297 return retval; in getEnabledSpellCheckers()
|
/frameworks/libs/native_bridge_support/android_api/libc/proxy/ |
D | pthread_translation.cc | 85 auto [guest_thread, retval] = in DoCustomTrampoline_pthread_join() 90 ret = pthread_join(guest_thread, retval); in DoCustomTrampoline_pthread_join()
|
/frameworks/libs/binary_translation/guest_os_primitives/include/berberis/guest_os_primitives/ |
D | guest_setjmp.h | 27 void RestoreRegsFromJumpBuf(ThreadState* state, void* buf, int retval);
|
/frameworks/libs/binary_translation/guest_os_primitives/riscv64/ |
D | guest_setjmp.cc | 108 void RestoreRegsFromJumpBuf(ThreadState* state, void* guest_jmp_buf, int retval) { in RestoreRegsFromJumpBuf() argument 147 SetXReg<A0>(cpu, retval); in RestoreRegsFromJumpBuf()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | DeviceStateMonitor.java | 706 boolean retval = pm.isPowerSaveMode(); in isPowerSaveModeOn() 707 log("isPowerSaveModeOn=" + retval, true); in isPowerSaveModeOn() 708 return retval; in isPowerSaveModeOn() 720 boolean retval = bm.isCharging(); in isDeviceCharging() 721 log("isDeviceCharging=" + retval, true); in isDeviceCharging() 722 return retval; in isDeviceCharging()
|