/frameworks/native/libs/gui/bufferqueue/1.0/ |
D | H2BGraphicBufferProducer.cpp | 61 native_handle_t* nh = native_handle_create(1, 0); in native_handle_create_from_fd() local 62 if (nh == nullptr) { in native_handle_create_from_fd() 65 nh->data[0] = fd; in native_handle_create_from_fd() 66 return nh; in native_handle_create_from_fd() 80 inline int native_handle_read_fd(native_handle_t const* nh, int index = 0) { in native_handle_read_fd() argument 81 return ((nh == nullptr) || (nh->numFds == 0) || in native_handle_read_fd() 82 (nh->numFds <= index) || (index < 0)) ? in native_handle_read_fd() 83 -1 : nh->data[index]; in native_handle_read_fd() 230 inline status_t unflattenFence(hidl_handle* fence, native_handle_t** nh, in unflattenFence() argument 248 *nh = native_handle_create_from_fd(*fds); in unflattenFence() [all …]
|
/frameworks/av/media/libstagefright/bqhelper/ |
D | Conversion.cpp | 43 native_handle_t* nh = native_handle_create(1, 0); in native_handle_create_from_fd() local 44 if (nh == nullptr) { in native_handle_create_from_fd() 47 nh->data[0] = fd; in native_handle_create_from_fd() 48 return nh; in native_handle_create_from_fd() 62 int native_handle_read_fd(native_handle_t const* nh, int index) { in native_handle_read_fd() argument 63 return ((nh == nullptr) || (nh->numFds == 0) || in native_handle_read_fd() 64 (nh->numFds <= index) || (index < 0)) ? in native_handle_read_fd() 65 -1 : nh->data[index]; in native_handle_read_fd() 132 hidl_handle inHidlHandle(native_handle_t const* nh) { in inHidlHandle() argument 133 return hidl_handle(nh); in inHidlHandle() [all …]
|
/frameworks/av/media/libstagefright/bqhelper/include/media/stagefright/bqhelper/ |
D | Conversion.h | 99 int native_handle_read_fd(native_handle_t const* nh, int index = 0); 158 hidl_handle inHidlHandle(native_handle_t const* nh); 330 status_t unflattenFence(hidl_handle* fence, native_handle_t** nh, 357 bool wrapAs(hidl_handle* t, native_handle_t** nh, Fence const& l); 423 HGraphicBufferProducer::FenceTimeSnapshot* t, native_handle_t** nh, 462 std::vector<native_handle_t*>* nh, 521 std::vector<std::vector<native_handle_t*> >* nh, 555 std::vector<std::vector<native_handle_t*> >* nh, 653 native_handle_t** nh, 673 HGraphicBufferProducer::QueueBufferInput* t, native_handle_t** nh, [all …]
|
D | WGraphicBufferProducer.h | 102 native_handle_t* nh = nullptr; in dequeueBuffer() local 103 if ((fence == nullptr) || !::android::conversion::wrapAs(&tFence, &nh, *fence)) { in dequeueBuffer() 120 native_handle_delete(nh); in dequeueBuffer() 128 native_handle_delete(nh); in dequeueBuffer() 157 native_handle_t* nh = nullptr; in detachNextBuffer() local 158 if ((outFence != nullptr) && !::android::conversion::wrapAs(&tFence, &nh, *outFence)) { in detachNextBuffer() 166 native_handle_delete(nh); in detachNextBuffer() 214 for (auto& nh : nhA) { in queueBuffer() 215 native_handle_delete(nh); in queueBuffer() 260 for (auto& nh : nhA) { in connect() [all …]
|
/frameworks/av/media/libmedia/include/media/omx/1.0/ |
D | Conversion.h | 118 native_handle_t* nh = native_handle_create(1, 0); in native_handle_create_from_fd() local 119 if (nh == nullptr) { in native_handle_create_from_fd() 122 nh->data[0] = fd; in native_handle_create_from_fd() 123 return nh; in native_handle_create_from_fd() 137 inline int native_handle_read_fd(native_handle_t const* nh, int index = 0) { 138 return ((nh == nullptr) || (nh->numFds == 0) || 139 (nh->numFds <= index) || (index < 0)) ? 140 -1 : nh->data[index]; 303 inline hidl_handle inHidlHandle(native_handle_t const* nh) { in inHidlHandle() argument 304 return hidl_handle(nh); in inHidlHandle() [all …]
|
/frameworks/base/services/core/jni/ |
D | com_android_server_connectivity_tethering_OffloadHardwareInterface.cpp | 79 native_handle_t *nh = native_handle_create(kNumFds, kNumInts); in handleFromFileDescriptor() local 80 nh->data[0] = fd.release(); in handleFromFileDescriptor() 83 h.setTo(nh, kTakeOwnership); in handleFromFileDescriptor()
|
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/ |
D | Conversion.h | 244 inline bool wrapAs(Message* t, native_handle_t** nh, omx_message const& l) { in wrapAs() argument 245 *nh = native_handle_create_from_fd(l.fenceFd); in wrapAs() 246 if (!*nh) { in wrapAs() 249 t->fence = *nh; in wrapAs() 280 native_handle_delete(*nh); in wrapAs() 373 inline bool wrapAs(hidl_handle* t, native_handle_t** nh, in wrapAs() argument 375 *nh = native_handle_create_from_fd(l.get()); in wrapAs() 376 if (!*nh) { in wrapAs() 379 *t = *nh; in wrapAs()
|
/frameworks/av/services/camera/libcameraservice/device1/ |
D | CameraHardwareInterface.cpp | 583 native_handle_t* nh = md->pHandle; in releaseRecordingFrame() local 584 hidl_handle frame = nh; in releaseRecordingFrame() 586 native_handle_close(nh); in releaseRecordingFrame() 587 native_handle_delete(nh); in releaseRecordingFrame() 610 native_handle_t* nh = md->pHandle; in releaseRecordingFrameBatch() local 612 msgs.push_back({nh, heapId, bufferIndex}); in releaseRecordingFrameBatch() 623 native_handle_t* nh = const_cast<native_handle_t*>(msg.frameData.getNativeHandle()); in releaseRecordingFrameBatch() local 624 native_handle_close(nh); in releaseRecordingFrameBatch() 625 native_handle_delete(nh); in releaseRecordingFrameBatch()
|
/frameworks/av/media/libmedia/omx/1.0/ |
D | WOmxNode.cpp | 236 native_handle_t* nh; in dispatchMessage() local 237 if (!wrapAs(&tMsg, &nh, lMsg)) { in dispatchMessage() 241 native_handle_close(nh); in dispatchMessage() 242 native_handle_delete(nh); in dispatchMessage()
|
/frameworks/av/media/libstagefright/omx/1.0/ |
D | WOmxNode.cpp | 239 native_handle_t* nh; in dispatchMessage() local 240 if (!wrapAs(&tMsg, &nh, lMsg)) { in dispatchMessage() 244 native_handle_close(nh); in dispatchMessage() 245 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 | 2198 float nh = Float.MAX_VALUE; 2215 if (where < nh && where > h) 2216 nh = where; 2219 if (nh != Float.MAX_VALUE) 2220 return nh;
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutService.java | 1466 final int nh = oh * maxSize / longerDimension; in shrinkBitmap() local 1469 ow, oh, nw, nh)); in shrinkBitmap() 1472 final Bitmap scaledBitmap = Bitmap.createBitmap(nw, nh, Bitmap.Config.ARGB_8888); in shrinkBitmap() 1475 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��…
|