Searched refs:ret (Results 126 - 150 of 632) sorted by relevance

1234567891011>>

/frameworks/base/services/core/jni/
H A Dcom_android_server_locksettings_SyntheticPasswordManager.cpp58 jbyteArray ret = env->NewByteArray(outLen); local
62 jbyte* retPtr = (jbyte*)env->GetByteArrayElements(ret, NULL);
69 env->ReleaseByteArrayElements(ret, retPtr, 0);
72 return ret;
H A Dcom_android_server_hdmi_HdmiCecController.cpp187 Return<void> ret = mHdmiCec->setCallback(mHdmiCecCallback); local
188 if (!ret.isOk()) {
194 Return<void> ret = mHdmiCec->setCallback(nullptr); local
195 if (!ret.isOk()) {
202 Return<SendMessageResult> ret = mHdmiCec->sendMessage(message); local
203 if (!ret.isOk()) {
207 return static_cast<int>((SendMessageResult) ret);
211 Return<Result> ret = mHdmiCec->addLogicalAddress(address); local
212 if (!ret.isOk()) {
216 return static_cast<int>((Result) ret);
220 Return<void> ret = mHdmiCec->clearLogicalAddress(); local
229 Return<void> ret = mHdmiCec->getPhysicalAddress([&result, &addr](Result res, uint16_t paddr) { local
241 Return<int32_t> ret = mHdmiCec->getCecVersion(); local
249 Return<uint32_t> ret = mHdmiCec->getVendorId(); local
267 Return<void> ret = mHdmiCec->getPortInfo([&ports](hidl_vec<HdmiPortInfo> list) { local
289 Return<void> ret = mHdmiCec->setOption(key, enabled); local
296 Return<void> ret = mHdmiCec->setLanguage(language); local
304 Return<void> ret = mHdmiCec->enableAudioReturnChannel(port, enabled); local
312 Return<bool> ret = mHdmiCec->isConnected(port); local
[all...]
H A Dcom_android_server_power_PowerManagerService.cpp119 bool processPowerHalReturn(const Return<void> &ret, const char* functionName) { argument
120 if (!ret.isOk()) {
127 return ret.isOk();
132 Return<void> ret; local
134 ret = powerHalV1_1->powerHintAsync(hintId, data);
135 processPowerHalReturn(ret, "powerHintAsync");
139 ret = powerHalV1_0->powerHint(hintId, data);
140 processPowerHalReturn(ret, "powerHint");
198 Return<void> ret = powerHalV1_0->setInteractive(enable); local
199 processPowerHalReturn(ret, "setInteractiv
230 Return<void> ret = powerHalV1_0->setFeature((Feature)featureId, static_cast<bool>(data)); local
[all...]
/frameworks/base/telephony/java/android/telephony/
H A DVoLteServiceState.java60 VoLteServiceState ret;
61 ret = new VoLteServiceState();
62 ret.setFromNotifierBundle(m);
63 return ret;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DATResponseParser.java62 int ret = 0;
74 ret *= 10;
75 ret += c - '0';
78 return ret;
H A DRadioConfigResponse.java48 ArrayList<IccSlotStatus> ret = RadioConfig.convertHalSlotStatus(slotStatus);
51 RadioResponse.sendMessageResponse(rr.mResult, ret);
53 + mRadioConfig.requestToString(rr.mRequest) + " " + ret.toString());
55 rr.onError(responseInfo.error, ret);
/frameworks/rs/
H A DrsFifo.h39 void virtual writeWaitReturn(void *ret, size_t retSize) = 0;
H A Dspec.h31 VarType ret; member in struct:__anon2069
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/
H A DRSTestView.java84 boolean ret = false;
88 ret = true;
92 ret = true;
95 return ret;
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/
H A DRSTestView.java84 boolean ret = false;
88 ret = true;
92 ret = true;
95 return ret;
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/
H A DRSTestView.java84 boolean ret = false;
88 ret = true;
92 ret = true;
95 return ret;
/frameworks/rs/tests/lldb/cpp/BranchingFunCalls/
H A Dscalars.rs67 int ret = (int) f;
68 return in * ret;
/frameworks/rs/tests/lldb/java/BranchingFunCalls/src/rs/
H A Dscalars.rs67 int ret = (int) f;
68 return in * ret;
/frameworks/rs/tests/lldb/jni/BranchingFunCalls/jnibranchingfuncalls/
H A Dscalars.rs67 int ret = (int) f;
68 return in * ret;
/frameworks/av/include/media/
H A DDataSource.h64 int ret = snprintf(uriString, bufferSize, "%s", getUri().c_str()); variable
65 return ret >= 0 && static_cast<size_t>(ret) < bufferSize;
/frameworks/av/media/img_utils/src/
H A DFileInput.cpp75 status_t ret = OK; local
78 ret = BAD_VALUE;
81 return ret;
H A DFileOutput.cpp69 status_t ret = OK; local
72 ret = BAD_VALUE;
75 return ret;
/frameworks/av/media/libmediaextractor/include/media/
H A DDataSource.h64 int ret = snprintf(uriString, bufferSize, "%s", getUri().c_str()); variable
65 return ret >= 0 && static_cast<size_t>(ret) < bufferSize;
/frameworks/base/core/jni/
H A Dandroid_hardware_SerialPort.cpp178 int ret = read(fd, buf, length); local
179 if (ret > 0) {
181 env->SetByteArrayRegion(buffer, 0, ret, buf);
185 if (ret < 0)
187 return ret;
201 int ret = read(fd, buf, length); local
202 if (ret < 0)
204 return ret;
218 jint ret = write(fd, buf, length); local
220 if (ret <
234 int ret = write(fd, buf, length); local
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DExifData.java256 ArrayList<ExifTag> ret = new ArrayList<ExifTag>();
262 ret.add(t);
267 if (ret.size() == 0) {
270 return ret;
286 ArrayList<ExifTag> ret = new ArrayList<ExifTag>(tags.length);
288 ret.add(t);
290 if (ret.size() == 0) {
293 return ret;
301 ArrayList<ExifTag> ret = new ArrayList<ExifTag>();
306 ret
[all...]
/frameworks/compile/mclinker/lib/Support/Windows/
H A DFileSystem.inc90 ssize_t ret;
98 if (-1 == (ret = ::read(pFD, pBuf, pCount))) {
108 return ret;
112 ssize_t ret;
120 if (-1 == (ret = ::write(pFD, pBuf, pCount))) {
130 return ret;
/frameworks/native/libs/dumputils/
H A Ddump_utils.cpp83 Return<void> ret = manager->debugDump([&](auto& hals) { local
97 if (!ret.isOk()) {
98 ALOGE("Could not get list of HAL PIDs: %s\n", ret.description().c_str());
/frameworks/native/services/surfaceflinger/tests/vsync/
H A Dvsync.cpp63 int32_t ret = loop->pollOnce(-1); local
64 switch (ret) {
78 printf("ugh? poll returned %d\n", ret);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DSimTlv.java78 byte[] ret = new byte[mCurDataLength];
79 System.arraycopy(mRecord, mCurDataOffset, ret, 0, mCurDataLength);
80 return ret;
/frameworks/rs/rsov/compiler/spirit/
H A Dfile_utils.h42 std::vector<T> ret(length / sizeof(T));
44 ifs.read((char *)ret.data(), length);
48 return ret;

Completed in 259 milliseconds

1234567891011>>