/frameworks/native/libs/gui/bufferqueue/1.0/ |
D | H2BGraphicBufferProducer.cpp | 59 native_handle_t* nh = native_handle_create(1, 0); in native_handle_create_from_fd() local 60 if (nh == nullptr) { in native_handle_create_from_fd() 63 nh->data[0] = fd; in native_handle_create_from_fd() 64 return nh; in native_handle_create_from_fd() 78 inline int native_handle_read_fd(native_handle_t const* nh, int index = 0) { in native_handle_read_fd() argument 79 return ((nh == nullptr) || (nh->numFds == 0) || in native_handle_read_fd() 80 (nh->numFds <= index) || (index < 0)) ? in native_handle_read_fd() 81 -1 : nh->data[index]; in native_handle_read_fd() 228 inline status_t unflattenFence(hidl_handle* fence, native_handle_t** nh, in unflattenFence() argument 246 *nh = native_handle_create_from_fd(*fds); in unflattenFence() [all …]
|
/frameworks/av/media/libstagefright/omx/1.0/ |
D | WGraphicBufferProducer.cpp | 73 native_handle_t* nh = nullptr; in dequeueBuffer() local 74 if ((fence == nullptr) || !wrapAs(&tFence, &nh, *fence)) { in dequeueBuffer() 91 native_handle_delete(nh); in dequeueBuffer() 99 native_handle_delete(nh); in dequeueBuffer() 129 native_handle_t* nh = nullptr; in detachNextBuffer() local 130 if ((outFence != nullptr) && !wrapAs(&tFence, &nh, *outFence)) { in detachNextBuffer() 138 native_handle_delete(nh); in detachNextBuffer() 188 for (auto& nh : nhA) { in queueBuffer() local 189 native_handle_delete(nh); in queueBuffer() 235 for (auto& nh : nhA) { in connect() local [all …]
|
D | Conversion.h | 123 native_handle_t* nh = native_handle_create(1, 0); in native_handle_create_from_fd() local 124 if (nh == nullptr) { in native_handle_create_from_fd() 127 nh->data[0] = fd; in native_handle_create_from_fd() 128 return nh; in native_handle_create_from_fd() 142 inline int native_handle_read_fd(native_handle_t const* nh, int index = 0) { 143 return ((nh == nullptr) || (nh->numFds == 0) || 144 (nh->numFds <= index) || (index < 0)) ? 145 -1 : nh->data[index]; 254 inline hidl_handle inHidlHandle(native_handle_t const* nh) { in inHidlHandle() argument 255 return hidl_handle(nh); in inHidlHandle() [all …]
|
D | WOmxNode.cpp | 238 native_handle_t* nh; in dispatchMessage() local 239 if (!wrapAs(&tMsg, &nh, lMsg)) { in dispatchMessage() 243 native_handle_close(nh); in dispatchMessage() 244 native_handle_delete(nh); in dispatchMessage()
|
/frameworks/av/include/media/omx/1.0/ |
D | Conversion.h | 117 native_handle_t* nh = native_handle_create(1, 0); in native_handle_create_from_fd() local 118 if (nh == nullptr) { in native_handle_create_from_fd() 121 nh->data[0] = fd; in native_handle_create_from_fd() 122 return nh; in native_handle_create_from_fd() 136 inline int native_handle_read_fd(native_handle_t const* nh, int index = 0) { 137 return ((nh == nullptr) || (nh->numFds == 0) || 138 (nh->numFds <= index) || (index < 0)) ? 139 -1 : nh->data[index]; 261 inline hidl_handle inHidlHandle(native_handle_t const* nh) { in inHidlHandle() argument 262 return hidl_handle(nh); in inHidlHandle() [all …]
|
/frameworks/av/services/camera/libcameraservice/device1/ |
D | CameraHardwareInterface.cpp | 619 native_handle_t* nh = md->pHandle; in releaseRecordingFrame() local 620 hidl_handle frame = nh; in releaseRecordingFrame() 622 native_handle_close(nh); in releaseRecordingFrame() 623 native_handle_delete(nh); in releaseRecordingFrame() 649 native_handle_t* nh = md->pHandle; in releaseRecordingFrameBatch() local 651 msgs.push_back({nh, heapId, bufferIndex}); in releaseRecordingFrameBatch() 665 native_handle_t* nh = const_cast<native_handle_t*>(msg.frameData.getNativeHandle()); in releaseRecordingFrameBatch() local 666 native_handle_close(nh); in releaseRecordingFrameBatch() 667 native_handle_delete(nh); in releaseRecordingFrameBatch()
|
/frameworks/av/media/libmedia/omx/1.0/ |
D | WOmxNode.cpp | 235 native_handle_t* nh; in dispatchMessage() local 236 if (!wrapAs(&tMsg, &nh, lMsg)) { in dispatchMessage() 240 native_handle_close(nh); in dispatchMessage() 241 native_handle_delete(nh); in dispatchMessage()
|
/frameworks/native/libs/binder/include/binder/ |
D | SafeInterface.h | 95 const Parcel& parcel, NH* nh) { in read() argument 96 *nh = NativeHandle::create(parcel.readNativeHandle(), true); in read() 101 Parcel* parcel, const NH& nh) { in write() argument 103 [&]() { return parcel->writeNativeHandle(nh->handle()); }); in write()
|
/frameworks/base/core/java/android/text/ |
D | Layout.java | 1971 float nh = Float.MAX_VALUE; 1988 if (where < nh && where > h) 1989 nh = where; 1992 if (nh != Float.MAX_VALUE) 1993 return nh;
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutService.java | 1419 final int nh = oh * maxSize / longerDimension; in shrinkBitmap() local 1422 ow, oh, nw, nh)); in shrinkBitmap() 1425 final Bitmap scaledBitmap = Bitmap.createBitmap(nw, nh, Bitmap.Config.ARGB_8888); in shrinkBitmap() 1428 final RectF dst = new RectF(0, 0, nw, nh); in shrinkBitmap()
|
/frameworks/base/media/tests/contents/media_api/music/ |
D | test_amr_ietf.amr | 87 …��~E�<�vm%a�����U��,X�I�ˋ�� Z�2�<������멸��-N7q:�h��Nc�S�}P<Drm�L2��/�nh����p�~ ����D�<�pdE��…
|