/frameworks/av/media/libaudiohal/impl/ |
D | DeviceHalHidl.cpp | 129 Result retval; in getMasterVolume() local 132 retval = r; in getMasterVolume() 133 if (retval == Result::OK) { in getMasterVolume() 137 return processReturn("getMasterVolume", ret, retval); in getMasterVolume() 153 Result retval; in getMicMute() local 156 retval = r; in getMicMute() 157 if (retval == Result::OK) { in getMicMute() 161 return processReturn("getMicMute", ret, retval); in getMicMute() 171 Result retval; in getMasterMute() local 174 retval = r; in getMasterMute() [all …]
|
D | EffectsFactoryHalHidl.cpp | 46 Result retval = Result::NOT_INITIALIZED; in queryAllDescriptors() local 49 retval = r; in queryAllDescriptors() 50 if (retval == Result::OK) { in queryAllDescriptors() 55 return retval == Result::OK ? OK : NO_INIT; in queryAllDescriptors() 89 Result retval = Result::NOT_INITIALIZED; in getDescriptor() local 92 retval = r; in getDescriptor() 93 if (retval == Result::OK) { in getDescriptor() 98 if (retval == Result::OK) return OK; in getDescriptor() 99 else if (retval == Result::INVALID_ARGUMENTS) return NAME_NOT_FOUND; in getDescriptor() 111 Result retval = Result::NOT_INITIALIZED; in createEffect() local [all …]
|
D | StreamHalHidl.cpp | 118 Result retval; in getParameters() local 124 retval = r; in getParameters() 125 if (retval == Result::OK) { in getParameters() 129 return processReturn("getParameters", ret, retval); in getParameters() 171 Result retval; in createMmapBuffer() local 175 retval = r; in createMmapBuffer() 176 if (retval == Result::OK) { in createMmapBuffer() 195 retval = Result::NOT_INITIALIZED; in createMmapBuffer() 199 return processReturn("createMmapBuffer", ret, retval); in createMmapBuffer() 203 Result retval; in getMmapPosition() local [all …]
|
D | EffectHalHidl.cpp | 158 Result retval; in prepareForProcessing() local 161 retval = r; in prepareForProcessing() 162 if (retval == Result::OK) { in prepareForProcessing() 169 if (!ret.isOk() || retval != Result::OK) { in prepareForProcessing() 170 return ret.isOk() ? analyzeResult(retval) : FAILED_TRANSACTION; in prepareForProcessing() 207 Result retval = Result::NOT_INITIALIZED; in processImpl() local 208 mStatusMQ->read(&retval); in processImpl() 209 if (retval == Result::OK || retval == Result::INVALID_STATE) { in processImpl() 213 return analyzeResult(retval); in processImpl() 267 Result retval = Result::NOT_INITIALIZED; in getDescriptor() local [all …]
|
D | EffectBufferHalHidl.cpp | 74 status_t retval = NO_MEMORY; in init() local 80 retval = OK; in init() 83 if (result.isOk() && retval == OK) { in init() 92 retval = NO_MEMORY; in init() 97 return result.isOk() ? retval : FAILED_TRANSACTION; in init()
|
D | ConversionHelperHidl.h | 44 status_t processReturn(const char* funcName, const Return<R>& ret, T *retval) { in processReturn() argument 47 *retval = static_cast<T>(static_cast<R>(ret)); in processReturn() 70 const char* funcName, const Return<T>& ret, CoreResult retval) { in processReturn() argument 74 return ret.isOk() ? analyzeResult(retval) : FAILED_TRANSACTION; in processReturn()
|
D | DevicesFactoryHalHidl.cpp | 116 Result retval = Result::NOT_INITIALIZED; in openDevice() local 121 retval = r; in openDevice() 122 if (retval == Result::OK) { in openDevice() 127 switch (retval) { in openDevice()
|
/frameworks/base/services/core/java/com/android/server/soundtrigger_middleware/ |
D | SoundTriggerHw2Compat.java | 117 AtomicInteger retval = new AtomicInteger(-1); in getProperties() local 124 retval.set(r); in getProperties() 131 handleHalStatus(retval.get(), "getProperties_2_3"); in getProperties() 143 AtomicInteger retval = new AtomicInteger(-1); in loadSoundModel() local 148 retval.set(r); in loadSoundModel() 155 handleHalStatus(retval.get(), "loadSoundModel_2_1"); in loadSoundModel() 167 AtomicInteger retval = new AtomicInteger(-1); in loadPhraseSoundModel() local 173 retval.set(r); in loadPhraseSoundModel() 180 handleHalStatus(retval.get(), "loadSoundModel_2_1"); in loadPhraseSoundModel() 190 int retval = as2_0().unloadSoundModel(modelHandle); in unloadSoundModel() local [all …]
|
/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/services/core/jni/ |
D | com_android_server_UsbAlsaJackDetector.cpp | 123 int retval; in android_server_UsbAlsaJackDetector_jackDetect() local 125 retval = mixer_wait_event(m, -1); in android_server_UsbAlsaJackDetector_jackDetect() 126 } while (retval == -EINTR); in android_server_UsbAlsaJackDetector_jackDetect() 127 if (retval < 0) { in android_server_UsbAlsaJackDetector_jackDetect()
|
/frameworks/base/tests/ApkVerityTest/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/base/services/core/java/com/android/server/ |
D | RandomBlock.java | 53 RandomBlock retval = new RandomBlock(); in fromStream() local 56 int result = in.read(retval.block, total, BLOCK_SIZE - total); in fromStream() 62 return retval; in fromStream()
|
/frameworks/base/core/java/android/view/textservice/ |
D | TextServicesManager.java | 222 final SpellCheckerInfo[] retval = mService.getEnabledSpellCheckers(mUserId); in getEnabledSpellCheckers() local 224 Log.d(TAG, "getEnabledSpellCheckers: " + (retval != null ? retval.length : "null")); in getEnabledSpellCheckers() 226 return retval; in getEnabledSpellCheckers()
|
/frameworks/native/libs/ui/tests/ |
D | GraphicBufferOverBinder_test.cpp | 76 int stat, retval; in runBinderServer() local 77 retval = wait(&stat); in runBinderServer() 78 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/opt/telephony/src/java/com/android/internal/telephony/ |
D | DeviceStateMonitor.java | 681 boolean retval = pm.isPowerSaveMode(); in isPowerSaveModeOn() 682 log("isPowerSaveModeOn=" + retval, true); in isPowerSaveModeOn() 683 return retval; in isPowerSaveModeOn() 695 boolean retval = bm.isCharging(); in isDeviceCharging() 696 log("isDeviceCharging=" + retval, true); in isDeviceCharging() 697 return retval; in isDeviceCharging() 736 boolean retval = umm.getCurrentModeType() == Configuration.UI_MODE_TYPE_CAR; in isCarModeOn() 737 log("isCarModeOn=" + retval, true); in isCarModeOn() 738 return retval; in isCarModeOn()
|
/frameworks/native/libs/gui/tests/ |
D | SurfaceParcelable_test.cpp | 97 int stat, retval; in runBinderServer() local 98 retval = wait(&stat); in runBinderServer() 99 if (retval == -1 && errno == ECHILD) { in runBinderServer()
|
/frameworks/base/libs/hwui/renderthread/ |
D | RenderTask.h | 84 void* retval = mMethod(mData); in run() local 86 *mReturnPtr = retval; in run()
|
/frameworks/base/services/core/java/com/android/server/security/ |
D | VerityUtils.java | 84 int retval = statxForFsverityNative(filePath); in hasFsverity() local 85 if (retval < 0) { in hasFsverity() 86 Slog.e(TAG, "Failed to check whether fs-verity is enabled, errno " + -retval + ": " in hasFsverity() 90 return (retval == 1); in hasFsverity()
|
/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/compile/slang/lit-tests/P_ref_count/ |
D | ref_count.rscript | 14 // CHECK: call void @_Z11rsSetObjectP10rs_elementS_(%struct.rs_element{{.*}}* nonnull %.rs.retval{{…
|
/frameworks/av/media/libstagefright/codecs/mp3dec/test/ |
D | mp3reader.cpp | 313 ssize_t retval = sourceReadAt(fp, test_pos, tmp, sizeof(tmp)); in resync() local 314 if (retval < (ssize_t)sizeof(tmp)) { in resync()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbPortManager.java | 627 ArrayList<android.hardware.usb.V1_0.PortStatus> currentPortStatus, int retval) { in notifyPortStatusChange() argument 632 if (retval != Status.SUCCESS) { in notifyPortStatusChange() 662 int retval) { in notifyPortStatusChange_1_1() argument 667 if (retval != Status.SUCCESS) { in notifyPortStatusChange_1_1() 698 ArrayList<PortStatus> currentPortStatus, int retval) { in notifyPortStatusChange_1_2() argument 703 if (retval != Status.SUCCESS) { in notifyPortStatusChange_1_2() 739 public void notifyRoleSwitchStatus(String portName, PortRole role, int retval) { in notifyRoleSwitchStatus() argument 740 if (retval == Status.SUCCESS) { in notifyRoleSwitchStatus()
|