/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | memalign.c | 42 int ret; local 50 ret = pMemop->Alloc(CodecID, &MemInfo); 51 if(ret != 0) 65 ret = pMemop->Alloc(CodecID, &MemInfo); 66 if(ret != 0)
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | mem_align.c | 42 int ret; local 50 ret = pMemop->Alloc(CodecID, &MemInfo); 51 if(ret != 0) 65 ret = pMemop->Alloc(CodecID, &MemInfo); 66 if(ret != 0)
|
/frameworks/base/core/java/android/os/ |
H A D | BatteryManager.java | 174 long ret; 189 ret = prop.getLong(); 191 ret = Long.MIN_VALUE; 193 ret = Long.MIN_VALUE; 196 return ret;
|
/frameworks/base/libs/usb/tests/accessorytest/ |
H A D | usb.c | 46 int ret = 0; local 48 while (current_device && ret >= 0) { 51 ret = usb_device_bulk_transfer(current_device, read_ep, buffer, sizeof(buffer), 1000); 52 if (ret < 0 && errno == ETIMEDOUT) 53 ret = 0; 54 if (ret > 0) { 55 fwrite(buffer, 1, ret, stdout); 65 int ret = 0; local 67 while (ret >= 0) { 72 ret 88 int ret; local [all...] |
H A D | hid.c | 52 int id, ret, offset; local 87 ret = usb_device_control_transfer(device, USB_DIR_OUT | USB_TYPE_VENDOR, 89 fprintf(stderr, "ACCESSORY_REGISTER_HID returned %d\n", ret); 100 ret = usb_device_control_transfer(device, USB_DIR_OUT | USB_TYPE_VENDOR, 102 fprintf(stderr, "ACCESSORY_SET_HID_REPORT_DESC returned %d errno %d\n", ret, errno); 109 ret = read(fd, buffer, sizeof(buffer)); 110 if (ret < 0) { 115 ret = usb_device_control_transfer(device, USB_DIR_OUT | USB_TYPE_VENDOR, 116 ACCESSORY_SEND_HID_EVENT, id, 0, buffer, ret, 1000); 117 if (ret < [all...] |
/frameworks/rs/api/ |
H A D | rs_core_math.spec | 23 ret: #3#1 35 ret: #3#1 47 ret: #3#1 59 ret: #3#1 69 ret: #2#1 80 ret: #2#1 91 ret: #2#1 102 ret: #2#1 113 ret: #2#1 124 ret [all...] |
/frameworks/base/core/jni/ |
H A D | android_text_StaticLayout.cpp | 65 jintArray ret; local 88 ret = recycle; 90 ret = env->NewIntArray(breaks.size()); 93 if (ret != NULL) { 94 env->SetIntArrayRegion(ret, 0, breaks.size(), &breaks.front()); 97 return ret;
|
H A D | android_os_SELinux.cpp | 106 int ret = getpeercon(fd, &tmp); local 110 if (ret != -1) { 142 int ret = setfscreatecon(const_cast<char *>(context_c_str)); local 144 ALOGV("setFSCreateCon(%s) => %d", context_c_str, ret); 146 return (ret == 0) ? true : false; 175 int ret = setfilecon(path.c_str(), tmp); local 177 ALOGV("setFileCon(%s, %s) => %d", path.c_str(), context.c_str(), ret); 178 return (ret == 0) ? true : false; 202 int ret = getfilecon(path.c_str(), &tmp); local 206 if (ret ! 228 int ret = getcon(&tmp); local 255 int ret = getpidcon(static_cast<pid_t>(pid), &tmp); local 316 int ret = security_get_boolean_active(name.c_str()); local 341 int ret = security_set_boolean(name.c_str(), value ? 1 : 0); local 418 int ret = selinux_android_restorecon(pathname.c_str(), flags); local [all...] |
H A D | android_hardware_UsbDeviceConnection.cpp | 96 jbyteArray ret = env->NewByteArray(length); 97 if (ret) { 98 jbyte* bytes = (jbyte*)env->GetPrimitiveArrayCritical(ret, 0); 101 env->ReleasePrimitiveArrayCritical(ret, bytes, 0); 104 return ret; 117 int ret = usb_device_claim_interface(device, interfaceID); local 118 if (ret && force && errno == EBUSY) { 121 ret = usb_device_claim_interface(device, interfaceID); 123 return (ret == 0) ? JNI_TRUE : JNI_FALSE; 134 int ret local 151 int ret = usb_device_set_interface(device, interfaceID, alternateSetting); local 163 int ret = usb_device_set_configuration(device, configurationID); local [all...] |
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothInputStream.java | 60 int ret = mSocket.read(b, 0, 1); 61 if (ret == 1) {
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
H A D | ImsConfig.java | 195 int ret = 0; 197 ret = miConfig.getMasterValue(item); 202 if (DBG) Rlog.d(TAG, "getMasterValue(): item = " + item + ", ret =" + ret); 204 return ret; 218 String ret = "Unknown"; 220 ret = miConfig.getMasterStringValue(item); 225 if (DBG) Rlog.d(TAG, "getMasterStringValue(): item = " + item + ", ret =" + ret); 227 return ret; [all...] |
/frameworks/av/media/ndk/ |
H A D | NdkMediaFormat.cpp | 78 String8 ret; local 82 ret.append(", "); 86 ret.append(name); 87 ret.append(": "); 93 ret.appendFormat("int32(%" PRId32 ")", val); 100 ret.appendFormat("int64(%" PRId64 ")", val); 107 ret.appendFormat("size_t(%zu)", val); 114 ret.appendFormat("float(%f)", val); 121 ret.appendFormat("double(%f)", val); 128 ret 192 mData->mStringCache.add(String8(name), ret); local [all...] |
H A D | NdkMediaCodec.cpp | 148 status_t ret = mData->mLooper->start( local 218 status_t ret = mData->mCodec->start(); local 219 if (ret != OK) { 220 return translate_error(ret); 230 media_status_t ret = translate_error(mData->mCodec->stop()); local 237 return ret; 248 status_t ret = mData->mCodec->dequeueInputBuffer(&idx, timeoutUs); local 250 if (ret == OK) { 253 return translate_error(ret); 297 status_t ret local 309 status_t ret = mData->mCodec->dequeueOutputBuffer(&idx, &offset, &size, &presentationTimeUs, local 416 AMediaCodecCryptoInfo *ret = (AMediaCodecCryptoInfo*) malloc(cryptosize); local [all...] |
/frameworks/av/media/libeffects/factory/ |
H A D | EffectsFactory.c | 79 int ret = init(); local 80 if (ret < 0) { 81 return ret; 92 ret = (*fx->subItfe)->process(fx->subItfe, inBuffer, outBuffer); 94 return ret; 104 int ret = init(); local 105 if (ret < 0) { 106 return ret; 117 ret = (*fx->subItfe)->command(fx->subItfe, cmdCode, cmdSize, pCmdData, replySize, pReplyData); 119 return ret; 125 int ret = init(); local 145 int ret = init(); local 188 int ret = init(); local 206 int ret = init(); local 253 int ret = init(); local 277 int ret; local 346 int ret = init(); local 414 int ret = init(); local 750 int ret = 0; local 846 int ret = 0; local [all...] |
/frameworks/base/core/tests/systemproperties/src/android/os/ |
H A D | SystemPropertiesTest.java | 32 long ret = SystemProperties.getLong(PERSIST_KEY, -1); 33 assertEquals(i, ret); 41 long ret = SystemProperties.getLong(KEY, -1); 42 assertEquals(i, ret);
|
/frameworks/base/libs/common_time/ |
H A D | common_time_server_packets.cpp | 105 ssize_t ret, tmp; local 107 ret = serializeHeader(data, length); 108 if (ret < 0) 109 return ret; 111 data += ret; 112 length -= ret; 140 return ret + tmp; 147 ssize_t ret; local 155 ret = p.who_is_master_request.deserializePacket(data, length); 159 ret [all...] |
/frameworks/base/packages/DefaultContainerService/jni/ |
H A D | com_android_defcontainer_MeasurementUtils.cpp | 33 jlong ret = 0L; local 37 return ret; 44 ret = calculate_dir_size(dirfd); 50 return ret;
|
/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/ |
H A D | RsListView.java | 61 boolean ret = false; 65 ret = true; 68 ret = true; 71 return ret;
|
/frameworks/ex/framesequence/samples/RastermillSamples/src/com/android/rastermill/samples/ |
H A D | SamplesList.java | 36 Map<String,Object> ret = new HashMap<String,Object>(); 37 ret.put(KEY_NAME, name); 38 ret.put(KEY_CLASS, activity); 39 return ret;
|
/frameworks/rs/ |
H A D | rsg.spec | 12 ret RsProgramStore 19 ret RsProgramRaster 46 ret RsProgramFragment 54 ret RsProgramVertex 61 ret RsFont 69 ret RsFont 76 ret RsMesh 85 ret RsPath
|
/frameworks/av/media/libnbaio/ |
H A D | AudioStreamOutSink.cpp | 59 ssize_t ret = mStream->write(mStream, buffer, count * mFrameSize); local 60 if (ret > 0) { 61 ret /= mFrameSize; 62 mFramesWritten += ret; 66 return ret;
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | GsmAlphabet.java | 165 int ret; 167 ret = sCharsToGsmTables[0].get(c, -1); 169 if (ret == -1) { 170 ret = sCharsToShiftTables[0].get(c, -1); 172 if (ret == -1) { 183 return ret; 195 int ret; 197 ret = sCharsToShiftTables[0].get(c, -1); 199 if (ret == -1) { 203 return ret; [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | EriManager.java | 283 EriDisplayInformation ret; 290 ret = new EriDisplayInformation( 294 return ret; 301 ret = new EriDisplayInformation( 308 ret = new EriDisplayInformation( 315 ret = new EriDisplayInformation( 324 ret = new EriDisplayInformation( 331 ret = new EriDisplayInformation( 338 ret = new EriDisplayInformation( 345 ret [all...] |
/frameworks/av/media/libcpustats/ |
H A D | ThreadCpuUsage.cpp | 77 bool ret; local 237 uint32_t ret; local 239 ret = atoi(kHz); 241 ret = 0; 243 if (ret != mCurrentkHz[cpuNum]) { 244 if (ret > 0) { 245 ALOGV("CPU %d frequency %u kHz", cpuNum, ret); 249 mCurrentkHz[cpuNum] = ret; 251 return ret;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
H A D | SimulatedGsmCallState.java | 85 DriverCall ret; 87 ret = new DriverCall(); 89 ret.index = index; 90 ret.isMT = mIsMT; 93 ret.state = DriverCall.stateFromCLCC(mState.value()); 98 ret.isMpty = mIsMpty; 99 ret.number = mNumber; 100 ret.TOA = mTOA; 101 ret.isVoice = true; 102 ret [all...] |