/frameworks/native/libs/binder/ |
H A D | Value.cpp | 285 bool ret = getString(&val); local 286 if (ret) { 289 return ret; 295 bool ret = getString(&val); local 296 if (ret) { 299 return ret;
|
/frameworks/native/libs/gui/tests/ |
H A D | BufferItemConsumer_test.cpp | 79 status_t ret = mProducer->dequeueBuffer(&slot, &outFence, kWidth, kHeight, 0, 0, local 81 ASSERT_GE(ret, 0); 84 if (ret & IGraphicBufferProducer::BUFFER_NEEDS_REALLOCATION) { 85 ret = mProducer->requestBuffer(slot, &mBuffers[slot]); 86 ASSERT_EQ(NO_ERROR, ret); 97 status_t ret = mProducer->queueBuffer(slot, bufferInput, &bufferOutput); local 98 ASSERT_EQ(NO_ERROR, ret); 104 status_t ret = mBIC->acquireBuffer(&buffer, 0, false); local 105 ASSERT_EQ(NO_ERROR, ret); 116 status_t ret local 141 status_t ret = mBIC->detachBuffer(slot); local 164 status_t ret = mProducer->detachBuffer(slot); local [all...] |
/frameworks/native/libs/vr/libbufferhub/ |
H A D | ion_buffer.cpp | 149 const int ret = local 151 if (ret < 0) { 153 strerror(-ret)); 158 return ret; 185 const int ret = local 188 if (ret < 0) { 190 strerror(-ret)); 195 return ret;
|
/frameworks/native/libs/vr/libdisplay/ |
H A D | display_client.cpp | 204 const int ret = native_buffer_handle.Import(ion_buffer.get()); local 205 if (ret < 0) { 209 key, strerror(-ret)); 210 return ErrorStatus(-ret); 239 const int ret = native_buffer_handle.Import(ion_buffer.get()); local 240 if (ret < 0) { 244 key, strerror(-ret)); 245 return ErrorStatus(-ret);
|
/frameworks/native/libs/vr/libpdx/private/pdx/ |
H A D | client.h | 231 Status<T> ret; local 232 SendTransaction(opcode, &ret, send_vector, send_count, receive_vector, 234 return ret; 274 void SendTransaction(int opcode, Status<void>* ret, const iovec* send_vector, 277 void SendTransaction(int opcode, Status<int>* ret, const iovec* send_vector, 280 void SendTransaction(int opcode, Status<LocalHandle>* ret, 283 void SendTransaction(int opcode, Status<LocalChannelHandle>* ret,
|
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
H A D | remote_method.h | 151 auto ret = message.WriteAll(payload.Data(), payload.Size()); local 152 auto status = message.Reply(ret);
|
/frameworks/native/services/displayservice/ |
H A D | DisplayEventReceiver.cpp | 105 auto ret = mCallback->onVsync(timestamp, event.vsync.count); local 106 if (!ret.isOk()) { 108 << " because of " << ret.description(); 113 auto ret = mCallback->onHotplug(timestamp, event.hotplug.connected); local 114 if (!ret.isOk()) { 116 << " because of " << ret.description();
|
/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);
|
H A D | SensorDirectConnection.cpp | 129 int ret = dev.configureDirectChannel(handle, getHalChannelHandle(), &config); local 132 if (ret == NO_ERROR) { 134 } else if (ret > 0) { 135 ret = UNKNOWN_ERROR; 138 if (ret > 0) { 143 return ret; 188 bool ret = false; local 198 ret = (fd1 == fd2); 203 ret = false; 208 ret [all...] |
/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/opt/net/wifi/libwifi_hal/ |
H A D | wifi_hal_common.cpp | 55 int ret; local 64 ret = syscall(__NR_finit_module, fd, args, 0); 67 if (ret < 0) { 68 PLOG(ERROR) << "finit_module return: " << ret; 71 return ret; 75 int ret = -1; local 79 ret = delete_module(modname, O_NONBLOCK | O_EXCL); 80 if (ret < 0 && errno == EAGAIN) 86 if (ret != 0) 88 return ret; 95 int ret = 0; local 215 int ret = 0; local [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | RILRequest.java | 204 void onError(int error, Object ret) { argument 212 + " error: " + ex + " ret=" + RIL.retToString(mRequest, ret)); 216 AsyncResult.forMessage(mResult, ret, ex);
|
/frameworks/rs/driver/runtime/arch/ |
H A D | generic.c | 705 float4 ret; local 706 ret.x = (m->m[0] * in.x) + (m->m[4] * in.y) + (m->m[8] * in.z) + (m->m[12] * in.w); 707 ret.y = (m->m[1] * in.x) + (m->m[5] * in.y) + (m->m[9] * in.z) + (m->m[13] * in.w); 708 ret.z = (m->m[2] * in.x) + (m->m[6] * in.y) + (m->m[10] * in.z) + (m->m[14] * in.w); 709 ret.w = (m->m[3] * in.x) + (m->m[7] * in.y) + (m->m[11] * in.z) + (m->m[15] * in.w); 710 return ret; 715 float4 ret; local 716 ret.x = (m->m[0] * in.x) + (m->m[4] * in.y) + (m->m[8] * in.z) + m->m[12]; 717 ret.y = (m->m[1] * in.x) + (m->m[5] * in.y) + (m->m[9] * in.z) + m->m[13]; 718 ret 725 float4 ret; local 735 float3 ret; local 744 float3 ret; local [all...] |
/frameworks/rs/driver/runtime/ |
H A D | rs_matrix.c | 204 float2 ret; local 205 ret.x = (m->m[0] * in.x) + (m->m[2] * in.y); 206 ret.y = (m->m[1] * in.x) + (m->m[3] * in.y); 207 return ret; 240 rsMatrixLoadMultiply(rs_matrix4x4 *ret, const rs_matrix4x4 *lhs, const rs_matrix4x4 *rhs) { argument 261 rsMatrixLoad(ret, &result); 270 rsMatrixLoadMultiply(rs_matrix3x3 *ret, const rs_matrix3x3 *lhs, const rs_matrix3x3 *rhs) { argument 288 rsMatrixLoad(ret, &result); 297 rsMatrixLoadMultiply(rs_matrix2x2 *ret, const rs_matrix2x2 *lhs, const rs_matrix2x2 *rhs) { argument 312 rsMatrixLoad(ret, [all...] |
/frameworks/rs/ |
H A D | rsThreadIO.cpp | 56 //ALOGE("coreHeader ret "); 103 bool ret = false; local 141 ret = true; 171 return ret;
|
H A D | rsg_generator.c | 120 printVarTypeAndName(f, &api->ret); 169 int ret = 0; local 171 if (api->sync || api->ret.typeName[0]) { 188 ret = 1; 191 return ret; 221 if (api->ret.typeName[0]) { 255 if (api->ret.typeName[0]) { 270 if (!api->ret.typeName[0]) { 320 if (api->ret.typeName[0] || api->sync) { 329 } else if (api->ret [all...] |
/frameworks/av/camera/ |
H A D | CameraBase.cpp | 148 binder::Status ret; local 151 ret = (cs.get()->*fnConnectService)(cl, cameraId, clientPackageName, clientUid, 154 if (ret.isOk() && c->mCamera != nullptr) { 159 (cs == nullptr) ? "Service not available" : ret.toString8().string());
|
/frameworks/av/media/common_time/ |
H A D | ICommonTimeConfig.cpp | 404 String16 ret; local 405 status_t status = getInterfaceBinding(ret); 408 reply->writeString16(ret);
|
/frameworks/av/media/libaudiohal/2.0/ |
H A D | DeviceHalHidl.cpp | 139 Return<void> ret = mPrimaryDevice->getMasterVolume( local 146 return processReturn("getMasterVolume", ret, retval); 163 Return<void> ret = mDevice->getMicMute( local 170 return processReturn("getMicMute", ret, retval); 181 Return<void> ret = mDevice->getMasterMute( local 188 return processReturn("getMasterMute", ret, retval); 206 Return<void> ret = mDevice->getParameters( local 214 return processReturn("getParameters", ret, retval); 223 Return<void> ret = mDevice->getInputBufferSize( local 231 return processReturn("getInputBufferSize", ret, retva 248 Return<void> ret = mDevice->openOutputStream( local 278 Return<void> ret = mDevice->openInputStream( local 310 Return<void> ret = mDevice->createAudioPatch( local 331 Return<void> ret = mDevice->getAudioPort( local 359 Return<void> ret = mDevice->debugDump(hidlHandle); local [all...] |
H A D | EffectHalHidl.cpp | 159 Return<void> ret = mEffect->prepareForProcessing( local 169 if (!ret.isOk() || retval != Result::OK) { 170 return ret.isOk() ? analyzeResult(retval) : FAILED_TRANSACTION; 204 status_t ret = mEfGroup->wait( local 215 if (ret == -EAGAIN || ret == -EINTR) { 219 return ret; 223 Return<Result> ret = mEffect->setProcessBuffers( local 226 if (ret.isOk() && ret 252 Return<void> ret = mEffect->command(cmdCode, hidlData, *replySize, local 268 Return<void> ret = mEffect->getDescriptor( local 290 Return<void> ret; local 327 Return<Result> ret = cmdCode == EFFECT_CMD_SET_CONFIG ? local [all...] |
/frameworks/av/media/libaudiohal/4.0/ |
H A D | DeviceHalHidl.cpp | 145 Return<void> ret = mPrimaryDevice->getMasterVolume( local 152 return processReturn("getMasterVolume", ret, retval); 169 Return<void> ret = mDevice->getMicMute( local 176 return processReturn("getMicMute", ret, retval); 187 Return<void> ret = mDevice->getMasterMute( local 194 return processReturn("getMasterMute", ret, retval); 214 Return<void> ret = utils::getParameters(mDevice, local 223 return processReturn("getParameters", ret, retval); 232 Return<void> ret = mDevice->getInputBufferSize( local 240 return processReturn("getInputBufferSize", ret, retva 257 Return<void> ret = mDevice->openOutputStream( local 291 Return<void> ret = mDevice->openInputStream( local 323 Return<void> ret = mDevice->createAudioPatch( local 344 Return<void> ret = mDevice->getAudioPort( local 365 Return<void> ret = mDevice->getMicrophones( local 383 Return<void> ret = mDevice->debug(hidlHandle, {} /* options */); local [all...] |
H A D | EffectHalHidl.cpp | 162 Return<void> ret = mEffect->prepareForProcessing( local 172 if (!ret.isOk() || retval != Result::OK) { 173 return ret.isOk() ? analyzeResult(retval) : FAILED_TRANSACTION; 207 status_t ret = mEfGroup->wait( local 218 if (ret == -EAGAIN || ret == -EINTR) { 222 return ret; 226 Return<Result> ret = mEffect->setProcessBuffers( local 229 if (ret.isOk() && ret 255 Return<void> ret = mEffect->command(cmdCode, hidlData, *replySize, local 271 Return<void> ret = mEffect->getDescriptor( local 293 Return<void> ret; local 330 Return<Result> ret = cmdCode == EFFECT_CMD_SET_CONFIG ? local [all...] |
/frameworks/av/media/libaudioprocessing/ |
H A D | BufferProviders.cpp | 307 int ret = effectsFactory->queryNumberEffects(&numEffects); local 308 if (ret != 0) { 309 ALOGE("AudioMixer() error %d querying number of effects", ret);
|
/frameworks/av/media/libeffects/loudness/ |
H A D | EffectLoudnessEnhancer.cpp | 200 int ret; local 216 ret = LE_init(pContext); 217 if (ret < 0) { 220 return ret;
|
/frameworks/av/media/libmedia/ |
H A D | IMediaExtractor.cpp | 54 status_t ret = remote()->transact(COUNTTRACKS, data, &reply); local 56 if (ret == NO_ERROR) { 66 status_t ret = remote()->transact(GETTRACK, data, &reply); local 67 if (ret == NO_ERROR) { 80 status_t ret = remote()->transact(GETTRACKMETADATA, data, &reply); local 81 if (ret == NO_ERROR) { 91 status_t ret = remote()->transact(GETMETADATA, data, &reply); local 92 if (ret == NO_ERROR) { 101 status_t ret = remote()->transact(GETMETRICS, data, reply); local 102 if (ret 191 status_t ret = getMetrics(reply); local [all...] |