/frameworks/av/media/img_utils/src/ |
H A D | FileOutput.cpp | 69 status_t ret = OK; local 72 ret = BAD_VALUE; 75 return ret;
|
H A D | TiffWriter.cpp | 61 status_t ret = OK; local 93 BAIL_ON_FAIL(writeFileHeader(endOut), ret); local 98 BAIL_ON_FAIL(ifd->writeData(offset, &endOut), ret); 113 if ((ret = sources[i]->writeToStream(endOut, sizeToWrite)) != OK) { 114 ALOGE("%s: Could not write to stream, received %d.", __FUNCTION__, ret); 115 return ret; 117 ZERO_TILL_WORD(&endOut, sizeToWrite, ret); 129 return ret; 133 status_t ret = OK; local 140 BAIL_ON_FAIL(writeFileHeader(endOut), ret); local 359 status_t ret = OK; local [all...] |
/frameworks/base/core/jni/ |
H A D | android_hardware_SerialPort.cpp | 178 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 D | ExifData.java | 256 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 D | FileSystem.inc | 90 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/services/surfaceflinger/tests/vsync/ |
H A D | vsync.cpp | 63 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 D | SimTlv.java | 78 byte[] ret = new byte[mCurDataLength]; 79 System.arraycopy(mRecord, mCurDataOffset, ret, 0, mCurDataLength); 80 return ret;
|
/frameworks/rs/api/ |
H A D | rs_io.spec | 28 ret: void 39 ret: void 49 ret: bool 64 ret: bool 72 ret: void 88 ret: void
|
H A D | rs_graphics.spec | 188 ret: void 197 ret: bool 206 ret: void 215 ret: void 232 ret: void 241 ret: void 254 ret: void 269 ret: void 279 ret: void 291 ret [all...] |
H A D | rs_convert.spec | 30 ret: #3#1 52 ret: #3#1 62 ret: #3#1 72 ret: #3#1 78 ret: uchar4 99 ret: uchar4 109 ret: uchar4 116 ret: uchar4 126 ret: float4 138 ret [all...] |
/frameworks/rs/ |
H A D | rsSignal.cpp | 74 bool ret = false; local 97 ret = true; 111 return ret;
|
H A D | rs.spec | 10 ret RsMessageToClientType 17 ret RsMessageToClientType 47 ret RsType 53 ret RsType 62 ret RsAllocation 71 ret RsAllocation 80 ret RsAllocation 86 ret RsNativeWindow 99 ret RsAllocation 139 ret RsElemen [all...] |
/frameworks/base/services/core/jni/ |
H A D | com_android_server_fingerprint_FingerprintService.cpp | 78 status_t ret = service->addAuthToken(auth_token, auth_token_length); local 79 if (ret != ResponseCode::NO_ERROR) { 80 ALOGE("Falure sending auth token to KeyStore: %d", ret); 141 int ret = gContext.device->enroll(gContext.device, local 144 return reinterpret_cast<jint>(ret); 148 uint64_t ret = gContext.device->pre_enroll(gContext.device); local 149 // ALOG(LOG_VERBOSE, LOG_TAG, "nativePreEnroll(), result = %llx", ret); 150 return reinterpret_cast<jlong>((int64_t)ret); 155 int ret = gContext.device->cancel(gContext.device); local 156 return reinterpret_cast<jint>(ret); 161 int ret = gContext.device->authenticate(gContext.device, sessionId, groupId); local 167 int ret = gContext.device->cancel(gContext.device); local 176 int ret = gContext.device->remove(gContext.device, finger); local [all...] |
H A D | com_android_server_AlarmManagerService.cpp | 246 int ret; local 257 ret = impl->setTime(&tv); 259 if(ret < 0) { 261 ret = -1; 263 return ret; 292 AlarmImpl *ret = new AlarmImplAlarmDriver(fd); local 293 return reinterpret_cast<jlong>(ret); 310 bool ret = false; local 318 ret = hctosys; 321 return ret; 381 AlarmImpl *ret = new AlarmImplTimerFd(fds, epollfd, wall_clock_rtc()); local 414 jlong ret = init_alarm_driver(); local [all...] |
/frameworks/av/media/mtp/ |
H A D | MtpDataPacket.cpp | 424 int ret = ::read(fd, mBuffer, MTP_BUFFER_SIZE); 425 if (ret < MTP_CONTAINER_HEADER_SIZE) 427 mPacketSize = ret; 429 return ret; 435 int ret = ::write(fd, mBuffer, mPacketSize); 436 return (ret < 0 ? ret : 0); 445 int ret = ::write(fd, mBuffer, length); 446 return (ret < 0 ? ret [all...] |
H A D | MtpDevice.cpp | 111 int ret = usb_device_control_transfer(device, 115 printf("usb_device_control_transfer returned %d errno: %d\n", ret, errno); 116 if (ret > 0) { 118 ret = usb_device_control_transfer(device, 121 printf("OS descriptor got %d\n", ret); 298 MtpResponseCode ret = readResponse(); 299 if (ret == MTP_RESPONSE_SESSION_ALREADY_OPEN) 301 else if (ret != MTP_RESPONSE_OK) 322 MtpResponseCode ret = readResponse(); 323 if (ret 415 MtpResponseCode ret = readResponse(); local 464 MtpResponseCode ret = readResponse(); local 497 MtpResponseCode ret = readResponse(); local 507 MtpResponseCode ret = readResponse(); local 792 int ret = mRequest.write(mRequestOut); local 801 int ret = mData.write(mRequestOut); local 808 int ret = mData.read(mRequestIn1); local 840 int ret = mResponse.read(mRequestIn1); local [all...] |
/frameworks/native/services/batteryservice/ |
H A D | IBatteryPropertiesRegistrar.cpp | 53 int32_t ret = reply.readExceptionCode(); local 54 if (ret != 0) { 55 return ret; 57 ret = reply.readInt32(); 61 return ret;
|
/frameworks/wilhelm/src/objects/ |
H A D | CEngine.c | 151 predestroy_t ret; local 157 ret = predestroy_error; 160 ret = predestroy_ok; 164 ret = predestroy_again; 168 return ret;
|
/frameworks/av/media/libnbaio/ |
H A D | AudioBufferProviderSource.cpp | 124 ssize_t ret = via(user, readTgt, count, readPTS); local 125 if (CC_UNLIKELY(ret <= 0)) { 129 return ret; 131 ALOG_ASSERT((size_t) ret <= count); 132 mFramesRead += ret; 133 accumulator += ret; 134 if (CC_LIKELY((mConsumed += ret) < mBuffer.frameCount)) {
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | EvaluationTestBench.c | 46 H264SwDecRet ret; local 100 ret = H264SwDecInit(&decInst, 0); 101 if (ret != H264SWDEC_OK) 128 ret = H264SwDecDecode(decInst, &decInput, &decOutput); 130 switch(ret) 136 ret = H264SwDecGetInfo(decInst, &decInfo); 137 if (ret != H264SWDEC_OK)
|
/frameworks/base/core/java/android/emoji/ |
H A D | EmojiFactory.java | 104 Bitmap ret = nativeGetBitmapFromAndroidPua(mNativeEmojiFactory, pua); 108 if (ret != null) { 109 mCache.put(pua, new WeakReference<Bitmap>(ret)); 111 return ret; 115 Bitmap ret = nativeGetBitmapFromAndroidPua(mNativeEmojiFactory, pua); 116 mCache.put(pua, new WeakReference<Bitmap>(ret)); 117 return ret;
|
/frameworks/base/core/java/android/net/ |
H A D | PacProxySelector.java | 88 List<Proxy> ret = Lists.newArrayList(); 92 ret.add(java.net.Proxy.NO_PROXY); 96 ret.add(proxy); 101 ret.add(proxy); 105 if (ret.size() == 0) { 106 ret.add(java.net.Proxy.NO_PROXY); 108 return ret;
|
/frameworks/base/tests/SerialChat/src/com/android/serialchat/ |
H A D | SerialChat.java | 126 int ret = 0; 128 while (ret >= 0) { 132 ret = mSerialPort.read(mInputBuffer); 133 Log.d(TAG, "read returned " + ret); 134 mInputBuffer.get(buffer, 0, ret); 140 if (ret > 0) { 142 String text = new String(buffer, 0, ret);
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
H A D | Volume.java | 40 String ret = "Volume[" + mDimx + "," + mDimy + "," + mDimz + "]";
41 ret += "(" + mVoxelDim[0] + ", " + mVoxelDim[1] + ", " + mVoxelDim[2] + ")";
43 return ret;
102 int[] ret = new int[split.length];
103 for (int i = 0; i < ret.length; i++) {
104 ret[i] = Integer.decode(split[i].trim());
106 return ret;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
H A D | SimulatedCommands.java | 765 int[] ret = new int[1]; 767 ret[0] = mNextCallFailCause; 768 resultSuccess(result, ret); 801 int ret[] = new int[2]; 803 ret[0] = 23; 804 ret[1] = 0; 806 resultSuccess(result, ret); 830 int ret[] = new int [4]; 832 ret[0] = 4; 833 ret[ 1476 resultSuccess(Message result, Object ret) argument [all...] |