Searched refs:ret (Results 151 - 175 of 632) sorted by relevance

1234567891011>>

/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/
H A DFragmentTestUtil.java79 final boolean[] ret = new boolean[1];
83 ret[0] = fm.executePendingTransactions();
86 return ret[0];
91 final boolean[] ret = new boolean[1];
95 ret[0] = rule.getActivity().getSupportFragmentManager().popBackStackImmediate();
98 return ret[0];
104 final boolean[] ret = new boolean[1];
108 ret[0] = rule.getActivity().getSupportFragmentManager().popBackStackImmediate(id,
112 return ret[0];
118 final boolean[] ret
[all...]
/frameworks/native/libs/binder/tests/
H A DbinderDriverInterfaceTest.cpp34 int ret; local
41 ret = ioctl(m_binderFd, BINDER_SET_MAX_THREADS, &max_threads);
42 EXPECT_EQ(0, ret);
56 int ret; local
63 ret = ioctl(m_binderFd, BINDER_WRITE_READ, &bwr);
64 EXPECT_EQ(0, ret);
65 if (ret < 0) {
82 int ret; local
84 ret = ioctl(m_binderFd, cmd, arg);
85 if (ret !
91 int ret; local
110 int ret; local
134 int ret; local
[all...]
/frameworks/av/media/mtp/
H A DMtpDevice.cpp136 int ret = usb_device_control_transfer(device,
140 printf("usb_device_control_transfer returned %d errno: %d\n", ret, errno);
141 if (ret > 0) {
143 ret = usb_device_control_transfer(device,
146 printf("OS descriptor got %d\n", ret);
195 int ret = usb_device_claim_interface(device, interface->bInterfaceNumber); local
196 if (ret && errno == EBUSY) {
199 ret = usb_device_claim_interface(device, interface->bInterfaceNumber);
201 if (ret) {
339 MtpResponseCode ret
456 MtpResponseCode ret = readResponse(); local
506 MtpResponseCode ret = readResponse(); local
533 const MtpResponseCode ret = readResponse(); local
545 MtpResponseCode ret = readResponse(); local
621 const MtpResponseCode ret = readResponse(); local
854 int ret = mRequest.write(mRequestOut); local
863 int ret = mData.write(mRequestOut, mPacketDivisionMode); local
870 int ret = mData.read(mRequestIn1); local
896 int ret = mResponse.read(mRequestIn1); local
[all...]
/frameworks/base/media/java/android/mtp/
H A DMtpStorageManager.java483 int ret = mNextObjectId;
486 return ret;
526 Stream<MtpObject> ret = Stream.of(children).flatMap(Collection::stream);
529 ret = ret.filter(o -> o.getFormat() == format);
534 streamList.add(ret);
539 ret = Stream.of(streamList).filter(Objects::nonNull).flatMap(Collection::stream)
542 return ret;
619 boolean ret = removed.isRoot()
621 if (!ret
[all...]
/frameworks/native/libs/vr/libpdx_default_transport/
H A Dpdx_benchmarks.cpp543 auto ret = local_service->ReceiveAndDispatch();
544 if (!ret) {
545 if (ret.error() != ESHUTDOWN) {
548 << ret.GetErrorMessage() << std::endl;
658 const int ret = client->Nop();
659 if (ret < 0) {
660 std::cerr << "Failed to send nop: " << strerror(-ret)
662 return ret;
670 const int ret = client->Read(receive_buffer.data(),
672 if (ret <
[all...]
/frameworks/rs/script_api/
H A Drs_graphics.spec188 ret: void
197 ret: bool
206 ret: void
215 ret: void
232 ret: void
241 ret: void
254 ret: void
269 ret: void
279 ret: void
291 ret
[all...]
/frameworks/rs/
H A Drs.spec10 ret RsMessageToClientType
17 ret RsMessageToClientType
47 ret RsType
53 ret RsType
62 ret RsAllocation
71 ret RsAllocation
80 ret RsAllocation
98 ret RsNativeWindow
111 ret RsAllocation
151 ret RsElemen
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_fingerprint_FingerprintService.cpp78 status_t ret = service->addAuthToken(auth_token, auth_token_length); local
79 if (ret != ResponseCode::NO_ERROR) {
80 ALOGE("Falure sending auth token to KeyStore: %d", ret);
141 int ret = gContext.device->enroll(gContext.device, local
144 return reinterpret_cast<jint>(ret);
148 uint64_t ret = gContext.device->pre_enroll(gContext.device); local
149 // ALOG(LOG_VERBOSE, LOG_TAG, "nativePreEnroll(), result = %llx", ret);
150 return reinterpret_cast<jlong>((int64_t)ret);
155 int ret = gContext.device->cancel(gContext.device); local
156 return reinterpret_cast<jint>(ret);
161 int ret = gContext.device->authenticate(gContext.device, sessionId, groupId); local
167 int ret = gContext.device->cancel(gContext.device); local
176 int ret = gContext.device->remove(gContext.device, finger); local
[all...]
/frameworks/av/media/libaudiohal/2.0/
H A DDeviceHalHidl.cpp139 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 DStreamHalHidl.cpp57 Return<void> ret = mStream->getAudioProperties( local
97 Return<void> ret = mStream->getAudioProperties(
103 return processReturn("getAudioProperties", ret);
121 Return<void> ret = mStream->getParameters( local
129 return processReturn("getParameters", ret, retval);
153 Return<void> ret = mStream->debugDump(hidlHandle); local
156 return processReturn("dump", ret);
172 Return<void> ret = mStream->createMmapBuffer( local
189 return processReturn("createMmapBuffer", ret, retval);
194 Return<void> ret local
387 status_t ret = mEfGroup->wait(static_cast<uint32_t>(MessageQueueFlagBits::NOT_FULL), &efState); local
415 Return<void> ret = mStream->prepareForWriting( local
464 Return<void> ret = mStream->getRenderPosition( local
477 Return<void> ret = mStream->getNextWriteTimestamp( local
545 Return<void> ret = mStream->getPresentationPosition( variable
[all...]
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DRequestQueue.java90 RequestQueueEntry ret = new RequestQueueEntry(next, mCurrentFrameNumber, queueEmptied);
92 return ret;
103 long ret = INVALID_FRAME;
106 ret = (mCurrentRepeatingFrameNumber == INVALID_FRAME) ? INVALID_FRAME :
113 return ret;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiKeyStore.java85 boolean ret = true;
98 ret = mKeyStore.importKey(privKeyName, privKeyData, Process.WIFI_UID,
101 if (!ret) {
102 return ret;
105 ret = putCertsInKeyStore(userCertName, clientCertificateChain);
106 if (!ret) {
109 return ret;
127 ret = putCertInKeyStore(Credentials.CA_CERTIFICATE + alias, caCertificates[i]);
128 if (!ret) {
138 return ret;
[all...]
/frameworks/base/core/java/android/net/
H A DPacProxySelector.java97 List<Proxy> ret = Lists.newArrayList();
101 ret.add(java.net.Proxy.NO_PROXY);
105 ret.add(proxy);
110 ret.add(proxy);
114 if (ret.size() == 0) {
115 ret.add(java.net.Proxy.NO_PROXY);
117 return ret;
/frameworks/base/tests/SerialChat/src/com/android/serialchat/
H A DSerialChat.java126 int ret = 0;
128 while (ret >= 0) {
132 ret = mSerialPort.read(mInputBuffer);
133 Log.d(TAG, "read returned " + ret);
134 mInputBuffer.get(buffer, 0, ret);
140 if (ret > 0) {
142 String text = new String(buffer, 0, ret);
/frameworks/native/libs/vr/libbufferhub/
H A Dbuffer_hub_client.cpp89 if (const int ret = buffer_desc.ImportBuffer(&ion_buffer))
90 return ret;
94 if (const int ret = buffer_desc.ImportMetadata(&metadata_buffer)) {
95 ALOGE("Failed to import metadata buffer, error=%d", ret);
96 return ret;
112 if (const int ret =
117 return ret;
175 const int ret = epoll_ctl(shared_fence.Get(), EPOLL_CTL_DEL, local
177 ALOGW_IF(ret,
228 int ret local
247 const int ret = ImportBuffer(); local
436 const int ret = ImportBuffer(); local
464 const int ret = ImportBuffer(); local
475 const int ret = ImportBuffer(); local
[all...]
/frameworks/native/libs/vr/libbufferhubqueue/
H A Dbuffer_hub_queue_client.cpp60 int ret = epoll_fd_.Create(); local
61 if (ret < 0) {
63 strerror(-ret));
70 ret = epoll_fd_.Control(EPOLL_CTL_ADD, event_fd(), &event);
71 if (ret < 0) {
73 strerror(-ret));
160 const int ret = epoll_fd_.Wait(events.data(), events.size(), local
163 if (ret == 0) {
171 if (ret < 0 && ret !
303 const int ret = local
322 const int ret = local
559 const int ret = buffer->GainAsync(out_meta, release_fence); local
626 int ret; local
711 const int ret = buffer->AcquireAsync(out_meta, acquire_fence); local
[all...]
/frameworks/rs/rsov/compiler/spirit/
H A Dtransformer_test.cpp34 auto ret = new IAddInst(mul->mResultType, mul->mOperand1, mul->mOperand2); variable
35 ret->setId(mul->getId());
36 return ret;
51 auto ret = new IAddInst(DoubleTy, mul, ConstDouble2); variable
53 IdResult id = ret->getId();
54 ret->setId(mul->getId());
57 return ret;
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
H A DVolume.java40 String ret = "Volume[" + mDimx + "," + mDimy + "," + mDimz + "]";
41 ret += "(" + mVoxelDim[0] + ", " + mVoxelDim[1] + ", " + mVoxelDim[2] + ")";
43 return ret;
102 int[] ret = new int[split.length];
103 for (int i = 0; i < ret.length; i++) {
104 ret[i] = Integer.decode(split[i].trim());
106 return ret;
/frameworks/av/media/libaudiohal/4.0/
H A DStreamHalHidl.cpp65 Return<void> ret = mStream->getAudioProperties( local
105 Return<void> ret = mStream->getAudioProperties(
111 return processReturn("getAudioProperties", ret);
130 Return<void> ret = utils::getParameters( local
140 return processReturn("getParameters", ret, retval);
164 Return<void> ret = mStream->debug(hidlHandle, {} /* options */); local
167 return processReturn("dump", ret);
183 Return<void> ret = mStream->createMmapBuffer( local
200 return processReturn("createMmapBuffer", ret, retval);
205 Return<void> ret local
398 status_t ret = mEfGroup->wait(static_cast<uint32_t>(MessageQueueFlagBits::NOT_FULL), &efState); local
426 Return<void> ret = mStream->prepareForWriting( local
475 Return<void> ret = mStream->getRenderPosition( local
488 Return<void> ret = mStream->getNextWriteTimestamp( local
556 Return<void> ret = mStream->getPresentationPosition( variable
682 status_t ret = mEfGroup->wait(static_cast<uint32_t>(MessageQueueFlagBits::NOT_EMPTY), &efState); local
710 Return<void> ret = mStream->prepareForReading( local
773 Return<void> ret = mStream->getCapturePosition( variable
[all...]
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/synthetic/
H A DTestInterface.java303 float ret = nMemTestBandwidth(b, sizeK[i] * 1024);
304 rtot += ret;
305 results[i * subSteps + j] = ret;
355 float ret = nMemTestLatency(b, sizeK[i] * 1024);
356 rtot += ret;
357 results[i * subSteps + j] = ret;
359 if (ret > 400.f) ret = 400.f;
360 if (ret < 0.f) ret
[all...]
/frameworks/base/services/core/java/com/android/server/pm/
H A DShortcutUser.java203 final ShortcutPackage ret = mPackages.get(packageName);
204 if (ret != null) {
205 ret.attemptToRestoreIfNeededAndSave();
207 return ret;
212 ShortcutPackage ret = getPackageShortcutsIfExists(packageName);
213 if (ret == null) {
214 ret = new ShortcutPackage(this, mUserId, packageName);
215 mPackages.put(packageName, ret);
217 return ret;
224 ShortcutLauncher ret
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
H A DSmsMessage.java348 SubmitPdu ret = new SubmitPdu();
364 statusReportRequested, ret);
368 if (bo == null) return ret;
432 ret.encodedMessage = bo.toByteArray();
433 return ret;
458 byte[] ret = new byte[userData.length+1];
459 ret[0] = (byte) (userData.length & 0xff );
460 System.arraycopy(userData, 0, ret, 1, userData.length);
461 return ret;
529 SubmitPdu ret
570 getSubmitPduHead( String scAddress, String destinationAddress, byte mtiByte, boolean statusReportRequested, SubmitPdu ret) argument
[all...]
/frameworks/av/media/img_utils/src/
H A DTiffWriter.cpp61 status_t ret = OK; local
93 BAIL_ON_FAIL(writeFileHeader(endOut), ret); local
98 BAIL_ON_FAIL(ifd->writeData(offset, &endOut), ret);
113 if ((ret = sources[i]->writeToStream(endOut, sizeToWrite)) != OK) {
114 ALOGE("%s: Could not write to stream, received %d.", __FUNCTION__, ret);
115 return ret;
117 ZERO_TILL_WORD(&endOut, sizeToWrite, ret);
129 return ret;
133 status_t ret = OK; local
140 BAIL_ON_FAIL(writeFileHeader(endOut), ret); local
359 status_t ret = OK; local
[all...]
/frameworks/native/libs/vr/libdvr/tests/
H A Ddvr_display_manager-test.cpp121 const int ret = dvrSurfaceCreate( local
123 if (ret < 0)
124 return ErrorStatus(-ret);
134 const int ret = dvrSurfaceCreateWriteBufferQueue( local
137 if (ret < 0)
138 return ErrorStatus(-ret);
157 const int ret = dvrDisplayManagerGetReadBufferQueue( local
159 if (ret < 0)
160 return ErrorStatus(-ret);
166 const int ret local
188 const int ret = dvrDisplayManagerTranslateEpollEventMask( local
200 const int ret = local
210 const int ret = dvrSurfaceStateGetUpdateFlags(surface_state_.get(), local
220 const int ret = dvrSurfaceStateGetSurfaceId(surface_state_.get(), local
230 const int ret = dvrSurfaceStateGetProcessId(surface_state_.get(), local
241 const int ret = dvrSurfaceStateGetAttributeCount(surface_state_.get(), local
259 const int ret = dvrSurfaceStateGetQueueCount(surface_state_.get(), local
308 int ret; variable
[all...]
/frameworks/compile/slang/
H A Dslang_rs_special_kernel_param.cpp75 std::string ret; local
83 ret += ", ";
84 ret += "'";
85 ret += specialParameterTable[i].name;
86 ret += "'";
88 return ret;

Completed in 365 milliseconds

1234567891011>>