Searched defs:result (Results 1 - 25 of 258) sorted by last modified time

1234567891011

/frameworks/base/voip/java/android/net/sip/
H A DSipAudioCall.java838 * @param result the result message to send when done
840 public void sendDtmf(int code, Message result) { argument
848 if (result != null) result.sendToTarget();
/frameworks/base/graphics/jni/
H A Dandroid_renderscript_RenderScript.cpp1494 jint result = -1; local
1508 result = JNI_VERSION_1_4;
1511 return result;
/frameworks/base/include/private/surfaceflinger/
H A DSharedBufferStack.h188 ssize_t result = update(); local
190 return result;
/frameworks/base/libs/binder/
H A DIPCThreadState.cpp77 // This will result in a missing symbol failure if the IF_LOG_COMMANDS()
420 status_t result; local
446 result = talkWithDriver();
447 if (result >= NO_ERROR) {
457 result = executeCommand(cmd);
471 if(result == TIMED_OUT && !isMain) {
474 } while (result != -ECONNREFUSED && result != -EBADF);
477 (void*)pthread_self(), getpid(), (void*)result);
588 status_t result local
684 const int32_t result = mIn.readInt32(); local
879 status_t result = NO_ERROR; local
[all...]
H A DMemoryDealer.cpp412 String8 result; local
413 dump_l(result, what);
414 LOGD("%s", result.string());
417 void SimpleBestFitAllocator::dump(String8& result, argument
421 dump_l(result, what);
424 void SimpleBestFitAllocator::dump_l(String8& result, argument
436 result.append(buffer);
450 result.append(buffer);
460 result.append(buffer);
H A DParcel.cpp826 T result; local
827 if (readAligned(&result) != NO_ERROR) {
828 result = 0;
831 return result;
H A DProcessState.cpp135 status_t result = ipc->transact(0 /*magic*/, 0, data, &reply, 0); local
136 if (result == NO_ERROR) {
175 status_t result = ioctl(mDriverFD, BINDER_SET_CONTEXT_MGR, &dummy); local
177 status_t result = INVALID_OPERATION; local
179 if (result == 0) {
181 } else if (result == -1) {
210 sp<IBinder> result; local
225 result = b;
230 result.force_set(b);
235 return result;
240 wp<IBinder> result; local
334 status_t result = ioctl(fd, BINDER_VERSION, &vers); local
336 status_t result = -1; local
[all...]
/frameworks/base/libs/camera/
H A DCameraParameters.cpp415 String8 result; local
417 result.append(buffer);
423 result.append(buffer);
425 write(fd, result.string(), result.size());
H A DICameraService.cpp87 status_t result = getCameraInfo(data.readInt32(), &cameraInfo); local
90 reply->writeInt32(result);
/frameworks/base/libs/gui/
H A DISensorEventConnection.cpp94 status_t result = enableDisable(handle, enabled); local
95 reply->writeInt32(result);
102 status_t result = setEventRate(handle, ns); local
103 reply->writeInt32(result);
H A DSensorEventQueue.cpp103 int32_t result; local
105 result = looper->pollOnce(-1);
106 if (result == ALOOPER_EVENT_ERROR) {
108 result = -EPIPE; // unknown error, so we make up one
111 } while (result != fd);
113 return (result == fd) ? status_t(NO_ERROR) : result;
H A DSensorManager.cpp81 sp<SensorEventQueue> result = new SensorEventQueue( local
83 return result;
/frameworks/base/libs/surfaceflinger_client/
H A DISurface.cpp113 status_t result = reply.readInt32(); local
114 return result;
H A DSharedBufferStack.cpp197 String8 result; local
204 result.append(buffer);
205 result.append("\n");
206 return result;
H A DSurfaceComposerClient.cpp302 sp<SurfaceControl> result; local
308 result = new SurfaceControl(this, surface, data, w, h, format, flags);
311 return result;
/frameworks/base/libs/ui/
H A DInputDispatcher.cpp2387 LOGD("injectInputEvent - Timed out waiting for injection result "
2423 LOGD("injectInputEvent - Finished with result %d. "
2440 LOGD("Setting input event injection result to %d. "
2446 // Log the outcome since the injector did not wait for the injection result.
2980 uint32_t result = 0; local
2982 result += 1;
2984 return result;
H A DInputManager.cpp44 status_t result = mDispatcherThread->run("InputDispatcher", PRIORITY_URGENT_DISPLAY); local
45 if (result) {
46 LOGE("Could not start InputDispatcher thread due to error %d.", result);
47 return result;
50 result = mReaderThread->run("InputReader", PRIORITY_URGENT_DISPLAY);
51 if (result) {
52 LOGE("Could not start InputReader thread due to error %d.", result);
55 return result;
62 status_t result = mReaderThread->requestExitAndWait(); local
63 if (result) {
[all...]
H A DInputReader.cpp536 int32_t result = AKEY_STATE_UNKNOWN; local
542 result = (device->*getStateFunc)(sourceMask, code);
550 result = (device->*getStateFunc)(sourceMask, code);
551 if (result >= AKEY_STATE_DOWN) {
552 return result;
557 return result;
571 bool result = false; local
577 result = device->markSupportedKeyCodes(sourceMask,
586 result |= device->markSupportedKeyCodes(sourceMask,
591 return result;
735 int32_t result = AKEY_STATE_UNKNOWN; local
751 bool result = false; local
763 int32_t result = 0; local
[all...]
H A DInputTransport.cpp52 int result = fcntl(mReceivePipeFd, F_SETFL, O_NONBLOCK); local
53 LOG_ALWAYS_FATAL_IF(result != 0, "channel '%s' ~ Could not make receive pipe "
56 result = fcntl(mSendPipeFd, F_SETFL, O_NONBLOCK);
57 LOG_ALWAYS_FATAL_IF(result != 0, "channel '%s' ~ Could not make send pipe "
74 status_t result; local
78 result = -errno;
82 result = ashmem_set_prot_region(serverAshmemFd, PROT_READ | PROT_WRITE);
83 if (result < 0) {
85 name.string(), result, serverAshmemFd);
92 result
209 int result = ashmem_get_size_region(ashmemFd); local
239 int result; local
291 int result = ashmem_pin_region(ashmemFd, 0, 0); local
336 status_t result = publishInputEvent(AINPUT_EVENT_TYPE_KEY, deviceId, source); local
384 status_t result = publishInputEvent(AINPUT_EVENT_TYPE_MOTION, deviceId, source); local
451 int result; local
507 status_t result = mChannel->receiveSignal(& signal); local
538 int result = ashmem_get_size_region(ashmemFd); local
567 int result = ashmem_pin_region(ashmemFd, 0, 0); local
645 status_t result = mChannel->receiveSignal(& signal); local
[all...]
H A DOverlay.cpp171 sp<OverlayRef> result; local
181 result = new OverlayRef();
182 result->mOverlayHandle = handle;
183 result->mOverlayChannel = overlay;
184 result->mWidth = w;
185 result->mHeight = h;
186 result->mFormat = f;
187 result->mWidthStride = ws;
188 result->mHeightStride = hs;
190 return result;
[all...]
/frameworks/base/libs/ui/tests/
H A DInputChannel_test.cpp61 status_t result = InputChannel::openInputChannelPair(String8("channel name"), local
64 ASSERT_EQ(OK, result)
115 status_t result = InputChannel::openInputChannelPair(String8("channel name"), local
118 ASSERT_EQ(OK, result)
129 status_t result = InputChannel::openInputChannelPair(String8("channel name"), local
132 ASSERT_EQ(OK, result)
145 status_t result = InputChannel::openInputChannelPair(String8("channel name"), local
148 ASSERT_EQ(OK, result)
H A DInputPublisherAndConsumer_test.cpp26 status_t result = InputChannel::openInputChannelPair(String8("channel name"), local
H A DInputReader_test.cpp569 bool result = false; local
576 result = true;
581 return result;
763 bool result = false; local
768 result = true;
772 return result;
923 status_t result = mReader->getInputDeviceInfo(1, &info); local
925 ASSERT_EQ(OK, result);
935 status_t result = mReader->getInputDeviceInfo(-1, &info); local
937 ASSERT_EQ(NAME_NOT_FOUND, result);
944 status_t result = mReader->getInputDeviceInfo(1, &info); local
[all...]
/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/
H A Dusbhost.c228 struct usb_device* result = usb_device_new(dev_name, fd); local
229 if (result)
230 result->writeable = writeable;
231 return result;
313 char* result = (char *)calloc(1, strlen(USB_FS_ID_FORMAT)); local
314 snprintf(result, strlen(USB_FS_ID_FORMAT) - 1, USB_FS_ID_FORMAT, bus, dev);
315 return result;
340 int i, result; local
347 result = usb_device_control_transfer(device,
350 if (result >
[all...]
/frameworks/base/libs/utils/
H A DAsset.cpp121 status_t result; local
143 result = pAsset->openChunk(fileName, fd, 0, length);
144 if (result != NO_ERROR) {
164 status_t result; local
202 result = pAsset->openChunk(fd, offset, method, uncompressedLen,
204 if (result != NO_ERROR) {
222 status_t result;
225 result = pAsset->openChunk(NULL, fd, offset, length);
226 if (result != NO_ERROR)
241 status_t result;
261 status_t result; local
279 status_t result; local
[all...]

Completed in 181 milliseconds

1234567891011