/frameworks/av/media/audioserver/ |
H A D | main_audioserver.cpp | 72 int ret = waitid(P_PID, childPid, &info, WEXITED | WSTOPPED | WCONTINUED); local 73 if (ret == EINTR) { 76 if (ret < 0) {
|
/frameworks/av/media/libaudioclient/tests/ |
H A D | test_create_audiorecord.cpp | 40 int ret = 0; local 81 ret = 1; 119 return ret;
|
H A D | test_create_audiotrack.cpp | 39 int ret = 0; local 85 ret = 1; 143 return ret;
|
/frameworks/base/core/java/android/text/ |
H A D | AlteredCharSequence.java | 118 char[] ret = new char[len]; 119 getChars(0, len, ret, 0); 120 return String.valueOf(ret);
|
/frameworks/base/core/java/android/util/ |
H A D | KeyValueListParser.java | 169 int[] ret = new int[parts.length]; 171 ret[i] = Integer.parseInt(parts[i]); 173 return ret;
|
/frameworks/base/core/jni/ |
H A D | android_os_Parcel.cpp | 152 jboolean ret = JNI_TRUE; local 154 ret = (jboolean)parcel->pushAllowFds(allowFds); 156 return ret; 325 jbyteArray ret = NULL; local 333 ret = env->NewByteArray(len); 335 if (ret != NULL) { 336 jbyte* a2 = (jbyte*)env->GetPrimitiveArrayCritical(ret, 0); 340 env->ReleasePrimitiveArrayCritical(ret, a2, 0); 346 return ret; 352 jboolean ret local 373 jbyteArray ret = NULL; local 593 jbyteArray ret = env->NewByteArray(parcel->dataSize()); local 666 jboolean ret = JNI_FALSE; local [all...] |
/frameworks/base/libs/common_time/ |
H A D | common_clock.cpp | 92 int64_t ret; local 93 duration_trans_.doForwardTransform(localDur, &ret); 94 return ret;
|
/frameworks/base/tests/RenderThreadTest/src/com/example/renderthread/ |
H A D | MainActivity.java | 28 Map<String,Object> ret = new HashMap<String,Object>(); 29 ret.put(KEY_NAME, name); 30 return ret;
|
/frameworks/base/tests/utils/SleepUtils/SleepHelper/src/com/android/testing/sleephelper/ |
H A D | SetAlarm.java | 104 Bundle ret = new Bundle(); 105 ret.putString("error", msg); 106 finish(Activity.RESULT_CANCELED, ret);
|
/frameworks/native/cmds/dumpstate/ |
H A D | DumpstateService.cpp | 43 status_t ret = BinderService<DumpstateService>::publish(); local 44 if (ret != android::OK) { 45 return ret;
|
/frameworks/native/services/surfaceflinger/ |
H A D | MessageQueue.cpp | 107 int32_t ret = mLooper->pollOnce(-1); local 108 switch (ret) { 120 ALOGE("Looper::pollOnce() returned unknown status %d", ret);
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
H A D | fp16.rs | 34 half2 ret = {r, r + gIncr}; 35 return ret; 40 half3 ret = {r, r + gIncr, r + gIncr * 2}; 41 return ret; 46 half4 ret = {r, r + gIncr, r + gIncr * 2, r + gIncr * 3}; 47 return ret;
|
/frameworks/av/media/libmediaplayer2/ |
H A D | mediaplayer2.cpp | 711 status_t ret = mPlayer->getBufferingSettings(buffering); local 712 if (ret == NO_ERROR) { 715 ALOGE("getBufferingSettings returned %d", ret); 717 return ret; 772 status_t ret = NO_ERROR; local 778 ret = NO_ERROR; 791 ret = mPlayer->start(); 792 if (ret != NO_ERROR) { 801 ret = INVALID_OPERATION; 806 return ret; 815 status_t ret = mPlayer->stop(); local 833 status_t ret = mPlayer->pause(); local 906 status_t ret = mPlayer->getPlaybackSettings(rate); local 930 status_t ret = mPlayer->getSyncSettings(sync, videoFps); local 972 status_t ret = mPlayer->getCurrentPosition(msec); local 992 status_t ret = mPlayer->getDuration(&durationMs); local 1072 status_t ret = mPlayer->reset(); local [all...] |
/frameworks/av/services/camera/libcameraservice/ |
H A D | CameraService.cpp | 443 Status ret = Status::ok(); local 447 ret = STATUS_ERROR_FMT(ERROR_INVALID_OPERATION, 452 return ret; 484 Status ret{}; 494 return ret; 732 Status ret = Status::ok(); local 734 if (!(ret = connectHelper<ICameraClient,Client>( 741 ALOGE("%s: Error initializing shim metadata: %s", __FUNCTION__, ret.toString8().string()); 743 return ret; 752 Status ret local 1000 status_t ret = NO_ERROR; local 1197 Status ret = Status::ok(); local 1227 Status ret = Status::ok(); local 1253 Status ret = Status::ok(); local 1278 binder::Status ret = binder::Status::ok(); local 1660 Status ret = Status::ok(); local 1743 bool ret = false; local [all...] |
/frameworks/base/services/core/java/com/android/server/stats/ |
H A D | StatsCompanionService.java | 255 int[] ret = new int[list.size()]; 256 for (int i = 0; i < ret.length; i++) { 257 ret[i] = list.get(i); 259 return ret; 263 long[] ret = new long[list.size()]; 264 for (int i = 0; i < ret.length; i++) { 265 ret[i] = list.get(i); 267 return ret; 524 int tag, List<StatsLogEventWrapper> ret, NetworkStats stats, boolean withFGBG) { 539 ret 523 addNetworkStats( int tag, List<StatsLogEventWrapper> ret, NetworkStats stats, boolean withFGBG) argument [all...] |
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | ComposerHal.cpp | 99 T unwrapRet(Return<T>& ret, const U& default_val) argument 101 return (ret.isOk()) ? static_cast<T>(ret) : 105 Error unwrapRet(Return<Error>& ret) argument 107 return unwrapRet(ret, kDefaultError); 226 auto ret = mClient->registerCallback(callback); local 227 if (!ret.isOk()) { 246 auto ret = mClient->getMaxVirtualDisplayCount(); local 247 return unwrapRet(ret, 0); 287 auto ret local 316 auto ret = mClient->destroyLayer(display, layer); local 515 auto ret = mClient->setActiveConfig(display, config); local 588 auto ret = mClient->setVsyncEnabled(display, enabled); local 595 auto ret = mClient->setClientTargetSlotCount(display, bufferSlotCount); local 804 auto ret = mClient->setInputCommandQueue(*mWriter.getMQDescriptor()); local 818 hardware::Return<void> ret; local [all...] |
/frameworks/rs/script_api/ |
H A D | rs_for_each.spec | 97 ret: void 136 ret: void 146 ret: void 158 ret: void 169 ret: void 181 ret: void 192 ret: void 220 ret: void 234 ret: uint32_t 260 ret [all...] |
/frameworks/base/cmds/statsd/src/external/ |
H A D | ResourceThermalManagerPuller.cpp | 110 Return<void> ret = gThermalHal->getTemperatures( local 133 if (!ret.isOk()) { 135 ret.description().c_str()); 136 if (ret.isDeadObject()) {
|
/frameworks/base/core/java/android/os/ |
H A D | BatteryManager.java | 292 long ret; 302 ret = prop.getLong(); 304 ret = Long.MIN_VALUE; 309 return ret;
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | LocalProvider.java | 128 Cursor ret = qb.query(db, projectionIn, selection, selectionArgs, 131 if (ret == null) { 134 ret.setNotificationUri(getContext().getContentResolver(), url); 137 return ret;
|
/frameworks/base/core/tests/systemproperties/src/android/os/ |
H A D | SystemPropertiesTest.java | 35 long ret = SystemProperties.getLong(PERSIST_KEY, -1); 36 assertEquals(i, ret); 44 long ret = SystemProperties.getLong(KEY, -1); 45 assertEquals(i, ret);
|
/frameworks/native/cmds/lshal/ |
H A D | Timeout.h | 85 typename std::result_of<Function(I *, Args...)>::type ret{Status::ok()}; 88 bool success = timeout(wait, [&ret, &boundFunc] { 89 ret = std::move(boundFunc()); 94 return ret;
|
/frameworks/native/services/sensorservice/ |
H A D | SensorDevice.h | 169 static Return<T> checkReturn(Return<T> &&ret) { argument 170 if (!ret.isOk()) { 171 handleHidlDeath(ret.description()); 173 return std::move(ret);
|
/frameworks/native/services/vr/bufferhubd/ |
H A D | detached_buffer_channel.cpp | 42 if (int ret = buffer_.Alloc(width, height, layer_count, format, usage)) { 46 strerror(-ret)); 53 if (int ret = metadata_buffer_.Alloc(size, 61 strerror(-ret));
|
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/ |
H A D | EncodedStringValue.java | 214 EncodedStringValue[] ret = new EncodedStringValue[temp.length]; 215 for (int i = 0; i < ret.length; ++i) { 217 ret[i] = new EncodedStringValue(mCharacterSet, 224 return ret;
|