/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | CameraDeviceState.java | 78 void onCaptureResult(CameraMetadataNative result, RequestHolder holder); argument 151 * Set the result for a capture. 156 * be called with the given result, otherwise this will result in the device transitioning to 160 * @param request The {@link RequestHolder} request that created this result. 161 * @param result The {@link CameraMetadataNative} result to set. 162 * @param captureError Report a recoverable error for a single buffer or result using a valid 168 final CameraMetadataNative result, 171 Log.e(TAG, "Cannot receive result whil 167 setCaptureResult(final RequestHolder request, final CameraMetadataNative result, final int captureError) argument [all...] |
/frameworks/base/core/java/android/hardware/hdmi/ |
H A D | HdmiTvClient.java | 62 * Callback interface used to get the result of {@link #deviceSelect}. 68 * @param result the result value of {@link #deviceSelect} 70 void onComplete(int result); argument 77 * @param callback callback to get the result with 94 public void onComplete(int result) { 95 callback.onComplete(result); 104 * @param callback callback to get the result with 229 public void onOneTouchRecordResult(int recorderAddress, int result) { 230 callback.onOneTouchRecordResult(recorderAddress, result); [all...] |
/frameworks/base/core/java/android/net/ |
H A D | DnsPinger.java | 104 Integer result; field in class:DnsPinger.ActivePing 196 curPing.result = 209 curPing.result = SOCKET_EXCEPTION; 215 if (curPing.result != null) { 216 sendResponse(curPing.internalId, curPing.packetId, curPing.result);
|
/frameworks/base/core/java/android/service/carrier/ |
H A D | CarrierMessagingService.java | 95 * @param callback result callback. Call with {@code true} to keep an inbound SMS message and 113 * @param callback result callback. Call with a {@link SendSmsResult}. 132 * @param callback result callback. Call with a {@link SendSmsResult}. 150 * @param callback result callback. Call with a {@link SendMultipartSmsResult}. 170 * @param callback result callback. Call with a {@link SendMmsResult}. 187 * @param callback result callback. Call with a status code which is one of 209 * The result of sending an MMS. 216 * Constructs a SendMmsResult with the MMS send result, and the SendConf PDU. 222 * was sent. sendConfPdu is ignored if the {@code result} is not 251 * The result o 340 onReceiveResult(@onNull T result) argument [all...] |
/frameworks/base/core/java/android/util/ |
H A D | PathParser.java | 176 ExtractFloatResult result = new ExtractFloatResult(); 183 extract(s, startPosition, result); 184 endPosition = result.mEndPosition; 191 if (result.mEndWithNegOrDot) { 208 * @param result the result of the extraction, including the position of the 211 private static void extract(String s, int start, ExtractFloatResult result) { argument 215 result.mEndWithNegOrDot = false; 231 result.mEndWithNegOrDot = true; 240 result [all...] |
/frameworks/base/core/java/android/view/ |
H A D | DragEvent.java | 212 * The View object can call {@link #getResult()} to see the result of the operation. 256 Object localState, boolean result) { 263 mDragResult = result; 272 ClipDescription description, ClipData data, boolean result) { 277 ev.init(action, x, y, description, data, localState, result); 288 ev.init(action, x, y, description, data, localState, result); 376 * Returns an indication of the result of the drag and drop operation. 443 + " data=" + mClipData + " local=" + mLocalState + " result=" + mDragResult 255 init(int action, float x, float y, ClipDescription description, ClipData data, Object localState, boolean result) argument 271 obtain(int action, float x, float y, Object localState, ClipDescription description, ClipData data, boolean result) argument
|
/frameworks/base/core/jni/ |
H A D | BindTest.cpp | 186 void *result; local 192 result = executeMethod (strObj, lookupVirtualMethod(strObj,mb_Java_Lang_Object_Equals), 199 ret = (*(uintptr_t *)result != 0)
|
H A D | android_hardware_UsbDeviceConnection.cpp | 183 jint result = usb_device_control_transfer(device, requestType, request, local 190 return result; 208 jint result = usb_device_bulk_transfer(device, endpoint, bufferBytes + start, length, timeout); local 214 return result; 244 jstring result = env->NewStringUTF(serial); 246 return result;
|
H A D | android_hardware_location_ActivityRecognitionHardware.cpp | 56 jint result = java_vm->AttachCurrentThread(env, &args); local 57 if (result != JNI_OK) { 58 ALOGE("Attach to callback thread failed: %d", result); 61 return result; 68 jint result = java_vm->DetachCurrentThread(); local 69 if (result != JNI_OK) { 70 ALOGE("Detach of callback thread failed: %d", result); 73 return result; 95 int result = attach_thread(&env); local 96 if (result ! [all...] |
H A D | android_media_JetPlayer.cpp | 85 EAS_RESULT result = lpJet->init(); local 87 if (result==EAS_SUCCESS) { 93 ALOGE("android_media_JetPlayer_setup(): initialization failed with EAS error code %d", (int)result); 149 EAS_RESULT result = lpJet->loadFromFile(pathStr); local 152 if (result==EAS_SUCCESS) { 157 (int)result); 180 EAS_RESULT result = lpJet->loadFromFD(jniGetFDFromFileDescriptor(env, fileDescriptor), local 183 if (result==EAS_SUCCESS) { 188 (int)result); 228 EAS_RESULT result local 252 EAS_RESULT result = lpJet->pause(); local 282 EAS_RESULT result local 309 EAS_RESULT result=EAS_FAILURE; local 355 EAS_RESULT result; local 380 EAS_RESULT result=EAS_FAILURE; local 426 EAS_RESULT result; local 452 EAS_RESULT result; local 477 EAS_RESULT result = lpJet->clearQueue(); local [all...] |
H A D | android_net_NetUtils.cpp | 84 int result; local 91 result = ::ifc_reset_connections(nameStr, mask); 93 return (jint)result; 99 int result; local 118 result = ::dhcp_do_request_renew(nameStr, ipaddr, gateway, &prefixLength, 121 result = ::dhcp_do_request(nameStr, ipaddr, gateway, &prefixLength, 124 if (result != 0) { 129 if (result == 0) { 134 result = env->CallBooleanMethod(dhcpResults, dhcpResultsFieldIds.setIpAddress, 138 if (result 200 int result; local 210 int result; local [all...] |
H A D | android_view_DisplayEventReceiver.cpp | 84 status_t result = mReceiver.initCheck(); local 85 if (result) { 86 ALOGW("Failed to initialize display event receiver, status=%d", result); 87 return result;
|
H A D | android_view_InputChannel.cpp | 129 status_t result = InputChannel::openInputChannelPair(name, serverChannel, clientChannel); local 131 if (result) { 133 message.appendFormat("Could not open input channel pair. status=%d", result);
|
H A D | android_view_KeyCharacterMap.cpp | 126 bool result = map->getMap()->getFallbackAction(keyCode, metaState, &fallbackAction); local 127 if (result) { 133 return result; 151 char16_t result = map->getMap()->getMatch(keyCode, chars, size_t(numChars), metaState); local 154 return result; 178 jobjectArray result = NULL; local 180 result = env->NewObjectArray(jsize(events.size()), gKeyEventClassInfo.clazz, NULL); 181 if (result) { 185 env->SetObjectArrayElement(result, jsize(i), keyEventObj); 192 return result; [all...] |
H A D | android_view_VelocityTracker.cpp | 198 bool result = state->getEstimator(id, &estimator); local 211 return result;
|
H A D | com_android_internal_net_NetworkStatsFactory.cpp | 288 jclass result = reinterpret_cast<jclass>(env->NewGlobalRef(localClass.get())); local 289 if (result == NULL) { 293 return result;
|
/frameworks/base/core/jni/android/graphics/ |
H A D | PathMeasure.cpp | 116 bool result = pair->fMeasure.getMatrix(dist, matrix, (SkPathMeasure::MatrixFlags)flags); local 117 return result ? JNI_TRUE : JNI_FALSE; 124 bool result = pair->fMeasure.getSegment(startF, stopF, dst, startWithMoveTo); local 125 return result ? JNI_TRUE : JNI_FALSE; 130 bool result = pair->fMeasure.isClosed(); local 131 return result ? JNI_TRUE : JNI_FALSE; 136 bool result = pair->fMeasure.nextContour(); local 137 return result ? JNI_TRUE : JNI_FALSE; 159 int result = AndroidRuntime::registerNativeMethods(env, "android/graphics/PathMeasure", methods, local 161 return result; [all...] |
H A D | SurfaceTexture.cpp | 147 int result = vm->AttachCurrentThread(&env, (void*) &args); local 148 if (result != JNI_OK) { 149 ALOGE("thread attach failed: %#x", result); 159 int result = vm->DetachCurrentThread(); local 160 if (result != JNI_OK) { 161 ALOGE("thread detach failed: %#x", result);
|
H A D | YuvToJpegEncoder.cpp | 229 jboolean result = JNI_FALSE; local 233 result = JNI_TRUE; 239 return result;
|
/frameworks/base/core/jni/android/graphics/pdf/ |
H A D | PdfDocument.cpp | 167 int result = android::AndroidRuntime::registerNativeMethods( local 170 return result;
|
/frameworks/base/libs/androidfw/ |
H A D | CursorWindow.cpp | 48 status_t result; local 51 result = -errno; 53 result = ashmem_set_prot_region(ashmemFd, PROT_READ | PROT_WRITE); 54 if (result >= 0) { 57 result = -errno; 59 result = ashmem_set_prot_region(ashmemFd, PROT_READ); 60 if (result >= 0) { 63 result = window->clear(); 64 if (!result) { 82 return result; 88 status_t result; local [all...] |
H A D | ZipUtils.cpp | 57 bool result = false; local 142 result = true; 148 return result;
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | RenderThread.cpp | 260 int result = mLooper->pollOnce(timeoutMillis); local 261 LOG_ALWAYS_FATAL_IF(result == Looper::POLL_ERROR, 290 // of bad timing and slow drawing can result in dropping a stale vsync
|
/frameworks/base/media/java/android/service/media/ |
H A D | MediaBrowserService.java | 96 * Each of the methods that takes one of these to send the result must call 115 * Send the result back to the caller. 117 public void sendResult(T result) { argument 122 onResultSent(result); 146 * Called when the result is sent, after assertions about not being called twice 149 void onResultSent(T result) { argument 308 * Implementations must call result.{@link Result#sendResult result.sendResult} with the list 310 * on another thread, result.{@link Result#detach result 318 onLoadChildren(@onNull String parentId, @NonNull Result<List<MediaBrowser.MediaItem>> result) argument [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaCrypto.cpp | 241 bool result = JCrypto::IsCryptoSchemeSupported((const uint8_t *)uuid); local 246 return result ? JNI_TRUE : JNI_FALSE; 269 bool result = crypto->requiresSecureDecoderComponent(mime); local 274 return result ? JNI_TRUE : JNI_FALSE;
|