/frameworks/native/libs/gui/bufferqueue/1.0/ |
H A D | H2BGraphicBufferProducer.cpp | 61 native_handle_t* nh = native_handle_create(1, 0); local 62 if (nh == nullptr) { 65 nh->data[0] = fd; 66 return nh; 72 * \param[in] nh The source `native_handle_t*`. 73 * \param[in] index The index of the file descriptor in \p nh to read from. This 75 * \return The `index`-th file descriptor in \p nh. If \p nh does not have 80 inline int native_handle_read_fd(native_handle_t const* nh, int index = 0) { argument 81 return ((nh 230 unflattenFence(hidl_handle* fence, native_handle_t** nh, void const*& buffer, size_t& size, int const*& fds, size_t& numFds) argument 303 wrapAs(hidl_handle* t, native_handle_t** nh, Fence const& l) argument 356 native_handle_t* nh = native_handle_create_from_fd(fd); local 480 unflatten( HGraphicBufferProducer::QueueBufferInput* t, native_handle_t** nh, void const*& buffer, size_t& size, int const*& fds, size_t& numFds) argument 530 wrapAs( HGraphicBufferProducer::QueueBufferInput* t, native_handle_t** nh, BGraphicBufferProducer::QueueBufferInput const& l) argument 620 flatten(HGraphicBufferProducer::FenceTimeSnapshot const& t, native_handle_t** nh, void*& buffer, size_t& size, int*& fds, size_t& numFds) argument 719 flatten(HGraphicBufferProducer::FrameEventsDelta const& t, std::vector<native_handle_t*>* nh, void*& buffer, size_t& size, int*& fds, size_t numFds) argument 823 flatten( HGraphicBufferProducer::FrameEventHistoryDelta const& t, std::vector<std::vector<native_handle_t*> >* nh, void*& buffer, size_t& size, int*& fds, size_t& numFds) argument 1075 native_handle_t* nh; local 1099 native_handle_t* nh = nullptr; local [all...] |
/frameworks/av/media/libstagefright/bqhelper/include/media/stagefright/bqhelper/ |
H A D | Conversion.h | 91 * \param[in] nh The source `native_handle_t*`. 92 * \param[in] index The index of the file descriptor in \p nh to read from. This 94 * \return The `index`-th file descriptor in \p nh. If \p nh does not have 99 int native_handle_read_fd(native_handle_t const* nh, int index = 0); 154 * \param[in] nh The source `native_handle_t*`. 155 * \return The `hidl_handle` that points to \p nh. 158 hidl_handle inHidlHandle(native_handle_t const* nh); 319 * \param[out] nh The underlying native handle. 326 * If the return value is `NO_ERROR`, \p nh wil [all...] |
H A D | WGraphicBufferProducer.h | 102 native_handle_t* nh = nullptr; variable 103 if ((fence == nullptr) || !::android::conversion::wrapAs(&tFence, &nh, *fence)) { 120 native_handle_delete(nh); variable 128 native_handle_delete(nh); variable 157 native_handle_t* nh = nullptr; variable 158 if ((outFence != nullptr) && !::android::conversion::wrapAs(&tFence, &nh, *outFence)) { 166 native_handle_delete(nh); variable 214 for (auto& nh : nhA) { 215 native_handle_delete(nh); variable 260 for (auto& nh 261 native_handle_delete(nh); variable 328 native_handle_t* nh = nullptr; variable 341 native_handle_delete(nh); variable 361 native_handle_delete(nh); variable [all...] |
/frameworks/av/media/libstagefright/bqhelper/ |
H A D | Conversion.cpp | 43 native_handle_t* nh = native_handle_create(1, 0); local 44 if (nh == nullptr) { 47 nh->data[0] = fd; 48 return nh; 54 * \param[in] nh The source `native_handle_t*`. 55 * \param[in] index The index of the file descriptor in \p nh to read from. This 57 * \return The `index`-th file descriptor in \p nh. If \p nh does not have 62 int native_handle_read_fd(native_handle_t const* nh, int index) { argument 63 return ((nh 132 inHidlHandle(native_handle_t const* nh) argument 373 unflattenFence(hidl_handle* fence, native_handle_t** nh, void const*& buffer, size_t& size, int const*& fds, size_t& numFds) argument 446 wrapAs(hidl_handle* t, native_handle_t** nh, Fence const& l) argument 499 native_handle_t* nh = native_handle_create_from_fd(fd); local 634 unflatten( HGraphicBufferProducer::FenceTimeSnapshot* t, native_handle_t** nh, void const*& buffer, size_t& size, int const*& fds, size_t& numFds) argument 731 unflatten(HGraphicBufferProducer::FrameEventsDelta* t, std::vector<native_handle_t*>* nh, void const*& buffer, size_t& size, int const*& fds, size_t& numFds) argument 892 unflatten( HGraphicBufferProducer::FrameEventHistoryDelta* t, std::vector<std::vector<native_handle_t*> >* nh, void const*& buffer, size_t& size, int const*& fds, size_t& numFds) argument 969 wrapAs(HGraphicBufferProducer::FrameEventHistoryDelta* t, std::vector<std::vector<native_handle_t*> >* nh, ::android::FrameEventHistoryDelta const& l) argument 1252 flatten(HGraphicBufferProducer::QueueBufferInput const& t, native_handle_t** nh, void*& buffer, size_t& size, int*& fds, size_t& numFds) argument 1303 unflatten( HGraphicBufferProducer::QueueBufferInput* t, native_handle_t** nh, void const*& buffer, size_t& size, int const*& fds, size_t& numFds) argument 1354 wrapAs( HGraphicBufferProducer::QueueBufferInput* t, native_handle_t** nh, BGraphicBufferProducer::QueueBufferInput const& l) argument 1423 native_handle_t* nh; local 1463 wrapAs(HGraphicBufferProducer::QueueBufferOutput* t, std::vector<std::vector<native_handle_t*> >* nh, BGraphicBufferProducer::QueueBufferOutput const& l) argument [all...] |
/frameworks/base/services/core/jni/ |
H A D | com_android_server_connectivity_tethering_OffloadHardwareInterface.cpp | 79 native_handle_t *nh = native_handle_create(kNumFds, kNumInts); local 80 nh->data[0] = fd.release(); 83 h.setTo(nh, kTakeOwnership);
|
/frameworks/av/media/libmedia/include/media/omx/1.0/ |
H A D | Conversion.h | 118 native_handle_t* nh = native_handle_create(1, 0); local 119 if (nh == nullptr) { 122 nh->data[0] = fd; 123 return nh; 129 * \param[in] nh The source `native_handle_t*`. 130 * \param[in] index The index of the file descriptor in \p nh to read from. This 132 * \return The `index`-th file descriptor in \p nh. If \p nh does not have 137 inline int native_handle_read_fd(native_handle_t const* nh, int index = 0) { argument 138 return ((nh 303 inHidlHandle(native_handle_t const* nh) argument 323 wrapAs(Message* t, native_handle_t** nh, omx_message const& l) argument 452 wrapAs(hidl_handle* t, native_handle_t** nh, OMXFenceParcelable const& l) argument [all...] |
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/ |
H A D | Conversion.h | 232 * \param[out] nh The native_handle_t referred to by `t->fence`. 236 * Upon success, \p nh will be created to hold the file descriptor stored in 237 * `l.fenceFd`, and `t->fence` will point to \p nh. \p nh will need to be 240 * Upon failure, \p nh will not be created and will not need to be deleted. \p t 244 inline bool wrapAs(Message* t, native_handle_t** nh, omx_message const& l) { argument 245 *nh = native_handle_create_from_fd(l.fenceFd); 246 if (!*nh) { 249 t->fence = *nh; 280 native_handle_delete(*nh); 373 wrapAs(hidl_handle* t, native_handle_t** nh, OMXFenceParcelable const& l) argument [all...] |
/frameworks/av/services/camera/libcameraservice/device1/ |
H A D | CameraHardwareInterface.cpp | 583 native_handle_t* nh = md->pHandle; local 584 hidl_handle frame = nh; 586 native_handle_close(nh); 587 native_handle_delete(nh); 610 native_handle_t* nh = md->pHandle; local 612 msgs.push_back({nh, heapId, bufferIndex}); 623 native_handle_t* nh = const_cast<native_handle_t*>(msg.frameData.getNativeHandle()); local 624 native_handle_close(nh); 625 native_handle_delete(nh);
|
/frameworks/av/media/libmedia/omx/1.0/ |
H A D | WOmxNode.cpp | 236 native_handle_t* nh; local 237 if (!wrapAs(&tMsg, &nh, lMsg)) { 241 native_handle_close(nh); 242 native_handle_delete(nh);
|
/frameworks/av/media/libstagefright/omx/1.0/ |
H A D | WOmxNode.cpp | 239 native_handle_t* nh; local 240 if (!wrapAs(&tMsg, &nh, lMsg)) { 244 native_handle_close(nh); 245 native_handle_delete(nh);
|
/frameworks/native/include/binder/ |
H A D | SafeInterface.h | 95 const Parcel& parcel, NH* nh) { 96 *nh = NativeHandle::create(parcel.readNativeHandle(), true); 101 Parcel* parcel, const NH& nh) { 103 [&]() { return parcel->writeNativeHandle(nh->handle()); });
|
/frameworks/native/libs/binder/include/binder/ |
H A D | SafeInterface.h | 95 const Parcel& parcel, NH* nh) { 96 *nh = NativeHandle::create(parcel.readNativeHandle(), true); 101 Parcel* parcel, const NH& nh) { 103 [&]() { return parcel->writeNativeHandle(nh->handle()); });
|
/frameworks/base/core/java/android/text/ |
H A 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/ |
H A D | ShortcutService.java | 1466 final int nh = oh * maxSize / longerDimension; 1469 ow, oh, nw, nh)); 1472 final Bitmap scaledBitmap = Bitmap.createBitmap(nw, nh, Bitmap.Config.ARGB_8888); 1475 final RectF dst = new RectF(0, 0, nw, nh);
|
/frameworks/base/media/tests/contents/media_api/music/ |
H A D | test_amr_ietf.amr | 158 ��,���hìE������^��p<�g��`�Z����D6�ϖ�����~E�<�vm%a�����U��,X�I�ˋ�� Z�2�<�����멸��-N7q:�h��Nc�S�}P<Drm�L2��/�nh����p�~ ��?�D�<�pdE�� ��f���ml�FN�Կ��CF�<D�Z��
|