/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/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/av/media/ndk/ |
H A D | NdkMediaCodec.cpp | 231 status_t ret = mData->mCodec->start(); local 232 if (ret != OK) { 233 return translate_error(ret); 243 media_status_t ret = translate_error(mData->mCodec->stop()); local 250 return ret; 261 status_t ret = mData->mCodec->dequeueInputBuffer(&idx, timeoutUs); local 263 if (ret == OK) { 266 return translate_error(ret); 310 status_t ret = mData->mCodec->queueInputBuffer(idx, offset, size, time, flags, &errorMsg); local 311 return translate_error(ret); 322 status_t ret = mData->mCodec->dequeueOutputBuffer(&idx, &offset, &size, &presentationTimeUs, local 451 AMediaCodecCryptoInfo *ret = (AMediaCodecCryptoInfo*) malloc(cryptosize); local [all...] |
/frameworks/base/core/java/android/net/ |
H A D | PacProxySelector.java | 97 List<Proxy> ret = Lists.newArrayList(); 101 ret.add(java.net.Proxy.NO_PROXY); 105 ret.add(proxy); 110 ret.add(proxy); 114 if (ret.size() == 0) { 115 ret.add(java.net.Proxy.NO_PROXY); 117 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/av/media/mtp/ |
H A D | MtpDataPacket.cpp | 422 int ret = ::read(fd, mBuffer, MTP_BUFFER_SIZE); 423 if (ret < MTP_CONTAINER_HEADER_SIZE) 425 mPacketSize = ret; 427 return ret; 433 int ret = ::write(fd, mBuffer, mPacketSize); 434 return (ret < 0 ? ret : 0); 443 int ret = ::write(fd, mBuffer, length); 444 return (ret < 0 ? ret [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | ShortcutUser.java | 203 final ShortcutPackage ret = mPackages.get(packageName); 204 if (ret != null) { 205 ret.attemptToRestoreIfNeededAndSave(); 207 return ret; 212 ShortcutPackage ret = getPackageShortcutsIfExists(packageName); 213 if (ret == null) { 214 ret = new ShortcutPackage(this, mUserId, packageName); 215 mPackages.put(packageName, ret); 217 return ret; 224 ShortcutLauncher ret [all...] |
/frameworks/av/media/img_utils/src/ |
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/services/core/jni/ |
H A D | com_android_server_AlarmManagerService.cpp | 248 int ret; local 259 ret = impl->setTime(&tv); 261 if(ret < 0) { 263 ret = -1; 265 return ret; 294 AlarmImpl *ret = new AlarmImplAlarmDriver(fd); local 295 return reinterpret_cast<jlong>(ret); 312 bool ret = false; local 320 ret = hctosys; 323 return ret; 383 AlarmImpl *ret = new AlarmImplTimerFd(fds, epollfd, wall_clock_rtc()); local 416 jlong ret = init_alarm_driver(); local [all...] |
H A D | com_android_server_ConsumerIrService.cpp | 55 int ret; local 64 ret = dev->transmit(dev, carrierFrequency, cPattern.get(), patternLength); 66 return reinterpret_cast<jint>(ret);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | SmsMessage.java | 274 SubmitPdu ret = new SubmitPdu(); 279 statusReportRequested, ret); 339 ret.encodedMessage = bo.toByteArray(); 340 return ret; 365 byte[] ret = new byte[userData.length+1]; 366 ret[0] = (byte) (userData.length & 0xff ); 367 System.arraycopy(userData, 0, ret, 1, userData.length); 368 return ret; 418 SubmitPdu ret = new SubmitPdu(); 422 statusReportRequested, ret); 456 getSubmitPduHead( String scAddress, String destinationAddress, byte mtiByte, boolean statusReportRequested, SubmitPdu ret) argument [all...] |
/frameworks/compile/slang/ |
H A D | slang_rs_special_kernel_param.cpp | 75 std::string ret; local 83 ret += ", "; 84 ret += "'"; 85 ret += specialParameterTable[i].name; 86 ret += "'"; 88 return ret;
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/loaders/ |
H A D | VolumeLoader.java | 53 String [] ret = map.keySet().toArray(new String[map.size()]); 54 Arrays.sort(ret); 55 return ret; 108 Properties[]ret = new Properties[f.length]; 111 ret[i] = prop; 119 return ret;
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | DeviceDescriptor.cpp | 91 ssize_t ret = indexOf(item); local 93 if (ret < 0) { 94 ret = SortedVector::add(item); 95 if (ret >= 0) { 100 ret = -1; 102 return ret; 107 ssize_t ret = indexOf(item); local 109 if (ret < 0) { 112 ret = SortedVector::removeAt(ret); [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/ |
H A D | TestSystemImpl.java | 99 PackageInfo ret = mPackages.get(info.packageName); 100 if (ret == null) throw new NameNotFoundException(info.packageName); 101 return ret;
|
/frameworks/base/tools/preload2/src/com/android/preload/actions/ |
H A D | ScanPackageAction.java | 57 ClientWrapper ret = Main.getUI().showChoiceDialog("Choose a package to scan", 60 if (ret != null) { 61 work(ret.client);
|
/frameworks/native/services/sensorservice/tests/ |
H A D | sensorservicetest.cpp | 89 int32_t ret = loop->pollOnce(-1); local 90 switch (ret) { 104 printf("ugh? poll returned %d\n", ret);
|
/frameworks/rs/api/ |
H A D | rs_io.spec | 28 ret: void 43 ret: void 57 ret: bool 72 ret: bool 80 ret: void 96 ret: void
|
H A D | rs_object_info.spec | 69 ret: uint32_t, "Returns 1 if more than one face is present, 0 otherwise." 81 ret: uint32_t, "Returns 1 if more than one LOD is present, 0 otherwise." 93 ret: uint32_t, "X dimension of the Allocation." 104 ret: uint32_t, "Y dimension of the Allocation." 116 ret: uint32_t, "Z dimension of the Allocation." 128 ret: rs_element, "Element describing Allocation layout." 139 ret: void 152 ret: bool 168 ret: uint32_t 178 ret [all...] |
/frameworks/av/camera/ndk/impl/ |
H A D | ACameraMetadata.h | 82 status_t ret = OK; local 84 ret = mData.erase(tag); 88 ret = mData.update(tag, reinterpret_cast<const INTERNAL_T*>(data), count); 91 if (ret == OK) {
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MetadataRetrieverClient.cpp | 130 status_t ret = p->setDataSource(httpService, url, headers); 131 if (ret == NO_ERROR) mRetriever = p; 132 return ret; 141 int ret = fstat(fd, &sb); local 142 if (ret != 0) { 143 ALOGE("fstat(%d) failed: %d, %s", fd, ret, strerror(errno)); 189 status_t ret = p->setDataSource(dataSource); 190 if (ret == NO_ERROR) mRetriever = p; 191 return ret;
|
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/ |
H A D | DefaultContainerService.java | 157 PackageInfoLite ret = new PackageInfoLite(); 160 ret.recommendedInstallLocation = PackageHelper.RECOMMEND_FAILED_INVALID_APK; 161 return ret; 174 ret.recommendedInstallLocation = PackageHelper.RECOMMEND_FAILED_INVALID_URI; 176 ret.recommendedInstallLocation = PackageHelper.RECOMMEND_FAILED_INVALID_APK; 179 return ret; 182 ret.packageName = pkg.packageName; 183 ret.splitNames = pkg.splitNames; 184 ret.versionCode = pkg.versionCode; 185 ret [all...] |
/frameworks/base/packages/services/PacProcessor/jni/ |
H A D | com_android_pacprocessor_PacNative.cpp | 110 String16 ret; local 122 if (proxyResolver->GetProxyForURL(url16, host16, &ret) != OK) { 123 String8 ret8(ret); 128 jstring jret = string16ToJstring(env, ret);
|