Searched refs:ret (Results 176 - 200 of 632) sorted by relevance

1234567891011>>

/frameworks/native/libs/vr/libpdx/
H A Dservice_dispatcher.cpp111 int ret = ThreadEnter(); local
112 if (ret < 0)
113 return ret;
143 int ret = ThreadEnter(); local
144 if (ret < 0)
145 return ret;
/frameworks/native/services/displayservice/
H A DDisplayEventReceiver.cpp105 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/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
H A DFindRegion.java70 Allocation ret = Allocation.createTyped(rs, builderF32_2.create());
71 ret.copyFrom(p);
72 return ret;
82 Allocation ret = Allocation.createSized(mRs, Element.I32_2(mRs), 1);
84 findRegion.invoke_findRegion(border_coords, aImage, image.getWidth(), image.getHeight(), ret);
87 ret.copyTo(mina);
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/loaders/
H A DVolumeLoader.java53 String [] ret = map.keySet().toArray(new String[map.size()]);
54 Arrays.sort(ret);
55 return ret;
108 Properties[]ret = new Properties[f.length];
111 ret[i] = prop;
119 return ret;
/frameworks/av/media/libmedia/
H A DIMediaExtractor.cpp54 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...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDrm.cpp244 CryptoInfo *ret = (CryptoInfo*) malloc(cryptosize); local
245 if (ret == NULL) {
249 ret->numSubSamples = numSubSamples;
250 memcpy(ret->key, key, kBlockSize);
251 memcpy(ret->iv, iv, kBlockSize);
252 ret->mode = mode;
253 ret->pattern.mEncryptBlocks = 0;
254 ret->pattern.mSkipBlocks = 0;
255 ret->subSamples = (CryptoPlugin::SubSample*)(ret
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DDeviceDescriptor.cpp95 ssize_t ret = indexOf(item); local
97 if (ret < 0) {
98 ret = SortedVector::add(item);
99 if (ret >= 0) {
104 ret = -1;
106 return ret;
111 ssize_t ret = indexOf(item); local
113 if (ret < 0) {
116 ret = SortedVector::removeAt(ret);
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_AlarmManagerService.cpp204 int ret; local
215 ret = impl->setTime(&tv);
217 if(ret < 0) {
219 ret = -1;
221 return ret;
255 bool ret = false; local
263 ret = hctosys;
266 return ret;
351 AlarmImpl *ret = new AlarmImpl(fds, epollfd, wall_clock_rtc()); local
361 delete ret;
[all...]
/frameworks/base/tools/preload2/src/com/android/preload/
H A DDeviceUtils.java133 String ret =
136 return !ret.contains("No such file or directory");
199 String ret =
201 if (ret.trim().equals("1")) {
204 System.out.println("Still not booted: " + ret);
256 String ret = builder.toString();
258 while (ret.endsWith("\r") || ret.endsWith("\n")) {
259 ret = ret
[all...]
/frameworks/base/tools/preload2/src/com/android/preload/actions/
H A DScanPackageAction.java57 ClientWrapper ret = Main.getUI().showChoiceDialog("Choose a package to scan",
60 if (ret != null) {
61 work(ret.client);
/frameworks/native/libs/vr/libdisplay/
H A Dshared_buffer_helpers.cpp86 const auto ret = buffer_->Lock(usage, 0, 0, width, height, &address_); local
88 if (ret < 0 || !address_) {
89 ALOGE("Pose failed to map ring buffer: ret:%d, addr:%p", ret, address_);
/frameworks/native/services/sensorservice/tests/
H A Dsensorservicetest.cpp89 int32_t ret = loop->pollOnce(-1); local
90 switch (ret) {
104 printf("ugh? poll returned %d\n", ret);
/frameworks/native/services/thermalservice/
H A Dthermalserviced.cpp91 Return<void> ret = gThermalHal->registerThermalCallback( local
93 if (!ret.isOk())
95 ret.description().c_str());
/frameworks/native/services/vr/hardware_composer/
H A Dvr_composer.cpp71 binder::Status ret = callback_->onNewFrame(parcelable_frame, &fence); local
72 if (!ret.isOk())
73 ALOGE("Failed to send new frame: %s", ret.toString8().string());
/frameworks/rs/script_api/
H A Drs_io.spec28 ret: void
43 ret: void
57 ret: bool
72 ret: bool
80 ret: void
96 ret: void
H A Drs_object_info.spec69 ret: uint32_t, "Returns 1 if more than one face is present, 0 otherwise."
81 ret: uint32_t, "Returns 1 if more than one LOD is present, 0 otherwise."
93 ret: uint32_t, "X dimension of the Allocation."
104 ret: uint32_t, "Y dimension of the Allocation."
116 ret: uint32_t, "Z dimension of the Allocation."
128 ret: rs_element, "Element describing Allocation layout."
139 ret: void
152 ret: bool
168 ret: uint32_t
178 ret
[all...]
/frameworks/rs/tests/lldb/tests/testcases/
H A Dtest_call_api_funs.py52 ret, expr = RS_funs.build_expr(line)
55 self.try_command(expr, [], [RS_funs.TYPE_MAP[ret]])
59 self.try_command(expr, '(%s)' % ret)
/frameworks/av/camera/ndk/impl/
H A DACameraManager.cpp131 binder::Status ret = mCameraService->getCameraVendorTagDescriptor(/*out*/desc.get()); local
133 if (ret.isOk()) {
165 } else if (ret.serviceSpecificErrorCode() ==
172 __FUNCTION__, ret.toString8().string());
441 camera_status_t ret = getCameraCharacteristics(cameraId, &rawChars); local
443 if (ret != ACAMERA_OK) {
445 __FUNCTION__, cameraId, ret);
473 ret = ACAMERA_ERROR_CAMERA_DISCONNECTED;
476 ret = ACAMERA_ERROR_CAMERA_IN_USE;
479 ret
[all...]
H A DACameraMetadata.h82 status_t ret = OK; local
84 ret = mData.erase(tag);
88 ret = mData.update(tag, reinterpret_cast<const INTERNAL_T*>(data), count);
91 if (ret == OK) {
/frameworks/av/media/mtp/
H A DPosixAsyncIO.h39 ssize_t ret; member in struct:aiocb
/frameworks/av/media/ndk/
H A DNdkMediaMuxer.cpp83 ssize_t ret = muxer->mImpl->addTrack(msg); local
84 return (ret >= 0) ? ret : translate_error(ret);
/frameworks/base/packages/services/PacProcessor/jni/
H A Dcom_android_pacprocessor_PacNative.cpp110 String16 ret; local
122 if (proxyResolver->GetProxyForURL(url16, host16, &ret) != OK) {
123 String8 ret8(ret);
128 jstring jret = string16ToJstring(env, ret);
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
H A DASensorEventQueue.cpp47 Return<Result> ret = mQueueImpl->enableSensor( local
52 if (!ret.isOk()) {
75 Return<Result> ret = mQueueImpl->disableSensor( local
78 return ret.isOk() ? OK : BAD_VALUE;
/frameworks/native/libs/math/include/math/
H A Dmat3.h256 TMat33 ret(TMat33::NO_INIT);
257 ret[0] = normalize(m[0]);
258 ret[2] = normalize(cross(ret[0], m[1]));
259 ret[1] = normalize(cross(ret[2], ret[0]));
260 return ret;
411 TMat33<T> ret(TMat33<T>::NO_INIT);
412 ret[
[all...]
/frameworks/rs/
H A DrsFifoSocket.h38 void writeWaitReturn(void *ret, size_t retSize);

Completed in 465 milliseconds

1234567891011>>