/frameworks/base/media/libmedia/ |
H A D | mediarecorder.cpp | 43 status_t ret = mMediaRecorder->setCamera(camera); local 44 if (OK != ret) { 45 LOGV("setCamera failed: %d", ret); 47 return ret; 49 return ret; 68 status_t ret = mMediaRecorder->setPreviewSurface(surface->getISurface()); local 69 if (OK != ret) { 70 LOGV("setPreviewSurface failed: %d", ret); 72 return ret; 74 return ret; 89 status_t ret = mMediaRecorder->init(); local 120 status_t ret = init(); local 130 status_t ret = mMediaRecorder->setVideoSource(vs); local 149 status_t ret = init(); local 163 status_t ret = mMediaRecorder->setAudioSource(as); local 189 status_t ret = mMediaRecorder->setOutputFormat(of); local 219 status_t ret = mMediaRecorder->setVideoEncoder(ve); local 249 status_t ret = mMediaRecorder->setAudioEncoder(ae); local 275 status_t ret = mMediaRecorder->setOutputFile(path); local 301 status_t ret = mMediaRecorder->setOutputFile(fd, offset, length); local 327 status_t ret = mMediaRecorder->setVideoSize(width, height); local 352 status_t ret = mMediaRecorder->setVideoFrameRate(frames_per_second); local 377 status_t ret = mMediaRecorder->setParameters(params); local 417 status_t ret = mMediaRecorder->prepare(); local 439 status_t ret = mMediaRecorder->getMaxAmplitude(max); local 460 status_t ret = mMediaRecorder->start(); local 482 status_t ret = mMediaRecorder->stop(); local 507 status_t ret = UNKNOWN_ERROR; local 541 status_t ret = mMediaRecorder->close(); local 555 status_t ret = mMediaRecorder->reset(); local [all...] |
/frameworks/base/core/java/android/os/ |
H A D | AsyncResult.java | 38 AsyncResult ret; 40 ret = new AsyncResult (m.obj, r, ex); 42 m.obj = ret; 44 return ret; 51 AsyncResult ret; 53 ret = new AsyncResult (m.obj, null, null); 55 m.obj = ret; 57 return ret;
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | DriverCall.java | 57 DriverCall ret = new DriverCall(); 64 ret.index = p.nextInt(); 65 ret.isMT = p.nextBoolean(); 66 ret.state = stateFromCLCC(p.nextInt()); 68 ret.isVoice = (0 == p.nextInt()); 69 ret.isMpty = p.nextBoolean(); 72 ret.numberPresentation = Connection.PRESENTATION_ALLOWED; 77 ret.number = PhoneNumberUtils.extractNetworkPortionAlt(p.nextString()); 79 if (ret.number.length() == 0) { 80 ret [all...] |
H A D | SmsResponse.java | 42 String ret = "{ messageRef = " + messageRef 46 return ret;
|
H A D | IccUtils.java | 43 StringBuilder ret = new StringBuilder(length*2); 51 ret.append((char)('0' + v)); 55 ret.append((char)('0' + v)); 58 return ret.toString(); 78 int ret = 0; 82 ret = (b >> 4) & 0xf; 86 ret += (b & 0xf) * 10; 89 return ret; 100 int ret = 0; 104 ret [all...] |
H A D | GsmAlphabet.java | 113 int ret; 115 ret = sCharsToGsmTables[0].get(c, -1); 117 if (ret == -1) { 118 ret = sCharsToShiftTables[0].get(c, -1); 120 if (ret == -1) { 131 return ret; 143 int ret; 145 ret = sCharsToShiftTables[0].get(c, -1); 147 if (ret == -1) { 151 return ret; [all...] |
H A D | RIL.java | 178 onError(int error, Object ret) { argument 188 AsyncResult.forMessage(mResult, ret, ex); 2156 Object ret = null; 2164 | sed -re 's/\{([^,]+),[^,]+,([^}]+).+/case \1: ret = \2(p); break;/' 2166 case RIL_REQUEST_GET_SIM_STATUS: ret = responseIccCardStatus(p); break; 2167 case RIL_REQUEST_ENTER_SIM_PIN: ret = responseInts(p); break; 2168 case RIL_REQUEST_ENTER_SIM_PUK: ret = responseInts(p); break; 2169 case RIL_REQUEST_ENTER_SIM_PIN2: ret = responseInts(p); break; 2170 case RIL_REQUEST_ENTER_SIM_PUK2: ret = responseInts(p); break; 2171 case RIL_REQUEST_CHANGE_SIM_PIN: ret 2306 retToString(int req, Object ret) argument 3389 unsljLogRet(int response, Object ret) argument 3393 unsljLogvRet(int response, Object ret) argument [all...] |
/frameworks/base/media/libstagefright/codecs/aacenc/src/ |
H A D | memalign.c | 37 int ret; local 45 ret = pMemop->Alloc(CodecID, &MemInfo); 46 if(ret != 0) 60 ret = pMemop->Alloc(CodecID, &MemInfo); 61 if(ret != 0)
|
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/ |
H A D | mem_align.c | 37 int ret; local 45 ret = pMemop->Alloc(CodecID, &MemInfo); 46 if(ret != 0) 60 ret = pMemop->Alloc(CodecID, &MemInfo); 61 if(ret != 0)
|
/frameworks/base/media/libeffects/factory/ |
H A D | EffectsFactory.c | 58 int ret = init(); local 59 if (ret < 0) { 60 return ret; 71 ret = (*fx->subItfe)->process(fx->subItfe, inBuffer, outBuffer); 73 return ret; 83 int ret = init(); local 84 if (ret < 0) { 85 return ret; 96 ret = (*fx->subItfe)->command(fx->subItfe, cmdCode, cmdSize, pCmdData, replySize, pReplyData); 98 return ret; 112 int ret = init(); local 130 int ret = init(); local 177 int ret = init(); local 201 int ret; local 259 int ret = init(); local 304 int ret = init(); local 319 int ret = init(); local 389 int ret; local 507 int ret; local 598 int ret = 0; local [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | CacheManager.java | 276 boolean ret = mDataBase.endCacheTransaction(); 281 return ret; 417 CacheResult ret = parseHeaders(statusCode, headers, mimeType); 418 if (ret == null) { 423 setupFiles(databaseKey, ret); 425 ret.outStream = new FileOutputStream(ret.outFile); 431 ret.outStream = new FileOutputStream(ret.outFile); 442 ret 666 appendAsHex(int i, StringBuffer ret) argument [all...] |
/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/ |
H A D | accessorychat.c | 36 int ret = 0; local 38 while (sDevice && ret >= 0) { 41 ret = usb_device_bulk_transfer(sDevice, endpoint, buffer, sizeof(buffer), 1000); 42 if (ret < 0 && errno == ETIMEDOUT) 43 ret = 0; 44 if (ret > 0) { 45 fwrite(buffer, 1, ret, stdout); 56 int ret = 0; local 58 while (ret >= 0) { 63 ret 78 int ret = usb_device_control_transfer(device, USB_DIR_OUT | USB_TYPE_VENDOR, local 89 int ret; local [all...] |
/frameworks/base/core/jni/ |
H A D | android_net_LocalSocketImpl.cpp | 55 int ret; local 57 ret = socket(PF_LOCAL, stream ? SOCK_STREAM : SOCK_DGRAM, 0); 59 if (ret < 0) { 64 return jniCreateFileDescriptor(env,ret); 74 int ret; local 86 ret = socket_local_client_connect( 94 if (ret < 0) { 110 int ret; local 127 ret = socket_local_server_bind(fd, nameUtf8, namespaceId); 131 if (ret < 141 int ret; local 170 int ret; local 207 int ret; local 261 int ret, value; local 309 int ret; local 388 int ret = ioctl(fd, FIONREAD, &avail); local 520 ssize_t ret; local 578 ssize_t ret; local 693 int ret; local [all...] |
H A D | ActivityManager.cpp | 40 status_t ret = am->transact(OPEN_CONTENT_URI_TRANSACTION, data, &reply); local 41 if (ret == NO_ERROR) {
|
/frameworks/base/libs/rs/ |
H A D | rsThreadIO.cpp | 41 bool ret = false; local 45 ret = true; 63 return ret;
|
H A D | rs.spec | 41 ret const char * 63 ret RsElement 71 ret RsElement 84 ret RsType 89 ret RsAllocation 95 ret RsAllocation 103 ret RsAllocation 113 ret RsAllocation 123 ret RsAllocation 172 ret RsAdapter1 [all...] |
H A D | spec.h | 30 VarType ret; member in struct:__anon258
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothInputStream.java | 60 int ret = mSocket.read(b, 0, 1); 61 if (ret == 1) {
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
H A D | EriManager.java | 287 EriDisplayInformation ret; 294 ret = new EriDisplayInformation( 298 return ret; 305 ret = new EriDisplayInformation( 312 ret = new EriDisplayInformation( 319 ret = new EriDisplayInformation( 328 ret = new EriDisplayInformation( 335 ret = new EriDisplayInformation( 342 ret = new EriDisplayInformation( 349 ret [all...] |
/frameworks/base/telephony/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 = isMT; 93 ret.state = DriverCall.stateFromCLCC(state.value()); 98 ret.isMpty = isMpty; 99 ret.number = number; 100 ret.TOA = TOA; 101 ret.isVoice = true; 102 ret [all...] |
H A D | SimulatedCommands.java | 735 int[] ret = new int[1]; 737 ret[0] = nextCallFailCause; 738 resultSuccess(result, ret); 765 int ret[] = new int[2]; 767 ret[0] = 23; 768 ret[1] = 0; 770 resultSuccess(result, ret); 791 int ret[] = new int [4]; 793 ret[0] = 4; 794 ret[ 1339 resultSuccess(Message result, Object ret) argument [all...] |
/frameworks/base/media/libstagefright/codecs/amrwbenc/SampleCode/ |
H A D | AMRWB_E_SAMPLE.c | 80 int ret = 0;
local 112 ret = -1;
118 ret = -1;
155 ret = voGetAMRWBEncAPI(&AudioAPI);
156 if(ret)
158 ret = -1;
165 ret = AudioAPI.Init(&hCodec, VO_AUDIO_CodingAMRWB, &useData);
167 if(ret)
169 ret = -1;
177 ret [all...] |
/frameworks/base/core/java/android/net/http/ |
H A D | IdleCache.java | 69 boolean ret = false; 85 ret = true; 94 return ret; 98 Connection ret = null; 105 ret = entry.mConnection; 114 return ret;
|
/frameworks/base/core/java/android/text/ |
H A D | Styled.java | 60 float ret = 0; 112 ret = workPaint.measureText(tmp, tmpstart, tmpend); 117 canvas.drawRect(x - ret, top, x, bottom, workPaint); 119 canvas.drawRect(x, top, x + ret, bottom, workPaint); 127 ret = workPaint.measureText(tmp, tmpstart, tmpend); 132 x - ret, y + workPaint.baselineShift, workPaint); 136 ret = workPaint.measureText(tmp, tmpstart, tmpend); 146 ret = workPaint.measureText(tmp, tmpstart, tmpend); 151 ret = replacement.getSize(workPaint, text, start, end, fmi); 156 x - ret, to [all...] |
/frameworks/base/libs/utils/ |
H A D | SystemClock.cpp | 58 int ret = 0; 80 ret = -1; 87 ret = -1; 91 return ret;
|