/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 | 56 DriverCall ret = new DriverCall(); 63 ret.index = p.nextInt(); 64 ret.isMT = p.nextBoolean(); 65 ret.state = stateFromCLCC(p.nextInt()); 67 ret.isVoice = (0 == p.nextInt()); 68 ret.isMpty = p.nextBoolean(); 71 ret.numberPresentation = Connection.PRESENTATION_ALLOWED; 76 ret.number = PhoneNumberUtils.extractNetworkPortionAlt(p.nextString()); 78 if (ret.number.length() == 0) { 79 ret [all...] |
H A D | SmsResponse.java | 42 String ret = "{ messageRef = " + messageRef 46 return ret;
|
H A D | GsmAlphabet.java | 78 int ret; 80 ret = charToGsm.get(c, -1); 82 if (ret == -1) { 83 ret = charToGsmExtended.get(c, -1); 85 if (ret == -1) { 96 return ret; 111 int ret; 113 ret = charToGsmExtended.get(c, -1); 115 if (ret == -1) { 119 return ret; [all...] |
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 | RIL.java | 178 onError(int error, Object ret) { argument 188 AsyncResult.forMessage(mResult, ret, ex); 2083 Object ret = null; 2091 | sed -re 's/\{([^,]+),[^,]+,([^}]+).+/case \1: ret = \2(p); break;/' 2093 case RIL_REQUEST_GET_SIM_STATUS: ret = responseIccCardStatus(p); break; 2094 case RIL_REQUEST_ENTER_SIM_PIN: ret = responseInts(p); break; 2095 case RIL_REQUEST_ENTER_SIM_PUK: ret = responseInts(p); break; 2096 case RIL_REQUEST_ENTER_SIM_PIN2: ret = responseInts(p); break; 2097 case RIL_REQUEST_ENTER_SIM_PUK2: ret = responseInts(p); break; 2098 case RIL_REQUEST_CHANGE_SIM_PIN: ret 2233 retToString(int req, Object ret) argument 3301 unsljLogRet(int response, Object ret) argument 3305 unsljLogvRet(int response, Object ret) argument [all...] |
H A D | ATResponseParser.java | 62 int ret = 0; 74 ret *= 10; 75 ret += c - '0'; 78 return ret;
|
H A D | IccSmsInterfaceManager.java | 176 ArrayList<SmsRawData> ret; 178 ret = new ArrayList<SmsRawData>(count); 183 ret.add(null); 185 ret.add(new SmsRawData(messages.get(i))); 189 return ret;
|
/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/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:__anon214
|
/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 | 717 int[] ret = new int[1]; 719 ret[0] = nextCallFailCause; 720 resultSuccess(result, ret); 747 int ret[] = new int[2]; 749 ret[0] = 23; 750 ret[1] = 0; 752 resultSuccess(result, ret); 773 int ret[] = new int [4]; 775 ret[0] = 4; 776 ret[ 1321 resultSuccess(Message result, Object ret) argument [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;
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
H A D | SimTlv.java | 78 byte[] ret = new byte[curDataLength]; 79 System.arraycopy(record, curDataOffset, ret, 0, curDataLength); 80 return ret;
|
H A D | SmsMessage.java | 253 SubmitPdu ret = new SubmitPdu(); 258 statusReportRequested, ret); 318 ret.encodedMessage = bo.toByteArray(); 319 return ret; 344 byte[] ret = new byte[userData.length+1]; 345 ret[0] = (byte) (userData.length & 0xff ); 346 System.arraycopy(userData, 0, ret, 1, userData.length); 347 return ret; 397 SubmitPdu ret = new SubmitPdu(); 401 statusReportRequested, ret); 435 getSubmitPduHead( String scAddress, String destinationAddress, byte mtiByte, boolean statusReportRequested, SubmitPdu ret) argument [all...] |
/frameworks/base/tests/CoreTests/android/core/ |
H A D | PipedStreamTest.java | 39 int ret = n1 + n2; 41 n1 = ret; 42 return ret; 151 int ret; 156 ret = in.read(readBytes, nread, readBytes.length - nread); 158 if (ret == -1) { 161 nread += ret; 235 int ret; 240 ret = in.read(readBytes, nread, readBytes.length - nread); 242 if (ret [all...] |