Home
last modified time | relevance | path

Searched refs:Get (Results 1 – 25 of 81) sorted by relevance

1234

/frameworks/native/libs/vr/libpdx_uds/
Dchannel_event_set.cpp59 eventfd_write(pollin_event_fd_.Get(), 1); in ModifyEvents()
61 eventfd_read(pollin_event_fd_.Get(), &value); in ModifyEvents()
64 eventfd_write(pollhup_event_fd_.Get(), 1); in ModifyEvents()
66 eventfd_read(pollhup_event_fd_.Get(), &value); in ModifyEvents()
82 if (epoll_ctl(epoll_fd.Get(), EPOLL_CTL_ADD, data_fd.Get(), &event) < 0) { in ChannelEventReceiver()
91 if (epoll_ctl(epoll_fd.Get(), EPOLL_CTL_ADD, pollin_event_fd.Get(), &event) < in ChannelEventReceiver()
101 if (epoll_ctl(epoll_fd.Get(), EPOLL_CTL_ADD, pollhup_event_fd.Get(), &event) < in ChannelEventReceiver()
117 std::array<pollfd, 3> pfds = {{{pollin_event_fd_.Get(), POLLIN, 0}, in PollPendingEvents()
118 {pollhup_event_fd_.Get(), POLLIN, 0}, in PollPendingEvents()
119 {data_fd_.Get(), POLLHUP | POLLRDHUP, 0}}}; in PollPendingEvents()
[all …]
Dchannel_parcelable.cpp33 return ChannelManager::Get().CreateHandle(std::move(data_fd_), in TakeChannelHandle()
52 res = parcel->writeFileDescriptor(data_fd_.Get()); in writeToParcel()
59 res = parcel->writeFileDescriptor(pollin_event_fd_.Get()); in writeToParcel()
68 res = parcel->writeFileDescriptor(pollhup_event_fd_.Get()); in writeToParcel()
116 data_fd_.Get(), pollin_event_fd_.Get(), pollhup_event_fd_.Get()); in readFromParcel()
Dchannel_manager.cpp9 ChannelManager& ChannelManager::Get() { in Get() function in android::pdx::uds::ChannelManager
29 const int32_t handle = data_fd.Get(); in CreateHandle()
39 data_fd.Get(), pollin_event_fd.Get(), pollhup_event_fd.Get()); in CreateHandle()
Dservice_endpoint.cpp51 *handle = ChannelManager::Get().CreateHandle( in GetLocalChannelHandle()
63 return handle.Get(); in PushFileHandle()
73 ChannelManager::Get().GetChannelData(handle.value())) { in PushChannelHandle()
152 fcntl(fd.Get(), F_SETFD, FD_CLOEXEC);
165 bind(fd.Get(), reinterpret_cast<sockaddr*>(&local), sizeof(local));
175 CHECK_EQ(listen(socket_fd.Get(), kMaxBackLogForSocketListen), 0) in Init()
189 socket_event.data.fd = socket_fd.Get(); in Init()
190 int ret = epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_ADD, socket_fd.Get(), in Init()
199 cancel_event.data.fd = cancel_event_fd_.Get(); in Init()
201 int ret = epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_ADD, cancel_event_fd_.Get(), in Init()
[all …]
Dipc_helper.cpp60 RETRY_EINTR(sender->Send(socket_fd.Get(), ptr, size, MSG_NOSIGNAL)); in SendAll()
77 RETRY_EINTR(sender->SendMessage(socket_fd.Get(), msg, MSG_NOSIGNAL)); in SendMsgAll()
115 socket_fd.Get(), msg, MSG_WAITALL | MSG_CMSG_CLOEXEC)); in RecvMsgAll()
151 socket_fd.Get(), ptr, size, MSG_WAITALL | MSG_CMSG_CLOEXEC)); in RecvAll()
244 file_handles_.push_back(handle.Get()); in PushFileHandle()
247 return handle.Get(); in PushFileHandle()
255 file_handles_.push_back(handle.Get()); in PushFileHandle()
258 return handle.Get(); in PushFileHandle()
263 return handle.Get(); in PushFileHandle()
424 int ret = fcntl(fd.Get(), F_GETFL); in WaitForEndpoint()
[all …]
Dclient_channel_factory.cpp98 socket_.Get(), reinterpret_cast<sockaddr*>(&remote), sizeof(remote))); in Connect()
162 pollin_event_fd.Get(), pollhup_event_fd.Get()); in Connect()
166 return ClientChannel::Create(ChannelManager::Get().CreateHandle( in Connect()
Dclient_channel.cpp36 *handle = ChannelManager::Get().CreateHandle( in GetLocalChannelHandle()
48 return handle.Get(); in PushFileHandle()
58 ChannelManager::Get().GetChannelData(handle.value())) { in PushChannelHandle()
142 channel_data_ = ChannelManager::Get().GetChannelData(channel_handle_.value());
302 ChannelManager::Get().GetChannelData(channel_handle_.value())) { in TakeChannelParcelable()
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
Dring_buffer.h33 Get(size_) = val; in Append()
40 Get(size_) = std::move(val); in Append()
52 T& Get(size_t i) { return buffer_[(start_ + i) % buffer_.size()]; } in Get() function
54 const T& Get(size_t i) const { in Get() function
58 const T& Back() const { return Get(size_ - 1); } in Back()
60 T& Back() { return Get(size_ - 1); } in Back()
62 const T& Front() const { return Get(0); } in Front()
64 T& Front() { return Get(0); } in Front()
68 Get(size_ - 1) = T(); in PopBack()
75 Get(0) = T(); in PopFront()
/frameworks/native/libs/vr/libpdx/
Dservice_dispatcher.cpp44 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_ADD, event_fd_.Get(), &event) < 0) { in ServiceDispatcher()
78 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_ADD, service->endpoint()->epoll_fd(), in AddService()
96 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_DEL, service->endpoint()->epoll_fd(), in RemoveService()
117 int count = epoll_wait(epoll_fd_.Get(), events, kMaxEventsPerLoop, timeout); in ReceiveAndDispatch()
150 int count = epoll_wait(epoll_fd_.Get(), events, kMaxEventsPerLoop, -1); in EnterDispatchLoop()
180 eventfd_write(event_fd_.Get(), 1); // Signal threads to quit. in SetCanceled()
185 eventfd_read(event_fd_.Get(), &value); // Unsignal. in SetCanceled()
/frameworks/rs/script_api/
Drs_graphics.spec627 summary: Get the surface height
629 Get the height of the current rendering surface.
638 summary: Get the surface width
640 Get the width of the current rendering surface.
654 summary: Get the bounding box for a text string
800 summary: Get the projection matrix for a fixed function vertex program
802 Get the projection matrix for a currently bound fixed function
856 summary: Get program raster cull mode
858 Get program raster cull mode
868 summary: Get program raster point sprite state
[all …]
Drs_object_info.spec316 Get the Sampler's anisotropy.
340 Get the Sampler's minification value.
364 Get the sampler's wrap T value.
/frameworks/native/libs/vr/libbufferhub/
Dbuffer_hub_base.cpp158 if (pending_fence_fd_.Get() != new_fence.Get()) { in UpdateSharedFence()
162 const int ret = epoll_ctl(shared_fence.Get(), EPOLL_CTL_DEL, in UpdateSharedFence()
163 pending_fence_fd_.Get(), nullptr); in UpdateSharedFence()
176 if (epoll_ctl(shared_fence.Get(), EPOLL_CTL_ADD, pending_fence_fd_.Get(), in UpdateSharedFence()
Dbuffer_hub-test.cpp126 ASSERT_EQ(0, epoll_ctl(epoll_fd.Get(), EPOLL_CTL_ADD, event_source.event_fd, in TEST_F()
136 ASSERT_EQ(0, epoll_ctl(epoll_fd.Get(), EPOLL_CTL_ADD, event_source.event_fd, in TEST_F()
141 ASSERT_EQ(0, epoll_wait(epoll_fd.Get(), events.data(), events.size(), 0)); in TEST_F()
146 ASSERT_EQ(1, epoll_wait(epoll_fd.Get(), events.data(), events.size(), in TEST_F()
155 EXPECT_EQ(0, epoll_wait(epoll_fd.Get(), events.data(), events.size(), in TEST_F()
157 EXPECT_EQ(0, epoll_wait(epoll_fd.Get(), events.data(), events.size(), in TEST_F()
159 EXPECT_EQ(0, epoll_wait(epoll_fd.Get(), events.data(), events.size(), in TEST_F()
161 EXPECT_EQ(0, epoll_wait(epoll_fd.Get(), events.data(), events.size(), in TEST_F()
170 EXPECT_EQ(0, epoll_wait(epoll_fd.Get(), events.data(), events.size(), in TEST_F()
668 EXPECT_NE(f1.Get(), f2.Get()); in TEST_F()
[all …]
/frameworks/native/opengl/tools/glgen/stubs/gles11/
Dcommon.cpp69 static void* Get(JNIEnv* _env, jbyteArray array, jboolean* is_copy) { in Get() function in ByteArrayGetter
75 static void* Get(JNIEnv* _env, jbooleanArray array, jboolean* is_copy) { in Get() function in BooleanArrayGetter
81 static void* Get(JNIEnv* _env, jcharArray array, jboolean* is_copy) { in Get() function in CharArrayGetter
87 static void* Get(JNIEnv* _env, jshortArray array, jboolean* is_copy) { in Get() function in ShortArrayGetter
93 static void* Get(JNIEnv* _env, jintArray array, jboolean* is_copy) { in Get() function in IntArrayGetter
99 static void* Get(JNIEnv* _env, jlongArray array, jboolean* is_copy) { in Get() function in LongArrayGetter
105 static void* Get(JNIEnv* _env, jfloatArray array, jboolean* is_copy) { in Get() function in FloatArrayGetter
111 static void* Get(JNIEnv* _env, jdoubleArray array, jboolean* is_copy) { in Get() function in DoubleArrayGetter
119 return ARRAYGETTER::Get(_env, array, is_copy); in getArrayPointer()
/frameworks/native/libs/vr/libbroadcastring/
Dbroadcast_ring_test.cc147 EXPECT_FALSE(ring.Get(&sequence, &record)); in TYPED_TEST()
156 EXPECT_TRUE(ring.Get(&sequence, &record)); in TYPED_TEST()
163 EXPECT_FALSE(ring.Get(&sequence, &record)); in TYPED_TEST()
183 EXPECT_TRUE(ring.Get(&sequence, &record)); in TYPED_TEST()
191 EXPECT_FALSE(ring.Get(&sequence, &record)); in TYPED_TEST()
219 EXPECT_TRUE(ring.Get(&sequence, &record)); in TYPED_TEST()
242 EXPECT_TRUE(ring.Get(&sequence, &record)); in TYPED_TEST()
258 EXPECT_FALSE(ring.Get(&sequence, &record)); in TYPED_TEST()
274 EXPECT_TRUE(ring.Get(&sequence, &record)); in TYPED_TEST()
313 EXPECT_TRUE(imported_ring.Get(&sequence, &imported_record)); in TYPED_TEST()
[all …]
/frameworks/native/libs/vr/libpdx/private/pdx/
Dutility.h156 return handle.Get();
160 return handle.Get();
164 return handle.Get();
286 file_handles_.push_back(handle.Get());
289 return handle.Get();
296 file_handles_.push_back(handle.Get());
299 return handle.Get();
304 return handle.Get();
Dfile_handle.h101 return FileHandle<FileHandleMode::Borrowed>(Get()); in Borrow()
105 int Get() const { return fd_; } in Get() function
/frameworks/compile/libbcc/
DREADME.rst102 * **bccGetFuncAddr** - Get the entry address of the function
111 * **bccGetExportVarCount** - Get the count of exported variables
113 * **bccGetExportVarList** - Get the addresses of exported variables
115 * **bccGetExportFuncCount** - Get the count of exported functions
117 * **bccGetExportFuncList** - Get the addresses of exported functions
119 * **bccGetPragmaCount** - Get the count of pragmas
121 * **bccGetPragmaList** - Get the pragmas
126 * **bccGetFuncCount** - Get the count of functions (including non-exported)
128 * **bccGetFuncInfoList** - Get the function information (name, base, size)
/frameworks/base/core/jni/
Dandroid_opengl_GLES10Ext.cpp94 static void* Get(JNIEnv* _env, jbyteArray array, jboolean* is_copy) { in Get() function in ByteArrayGetter
100 static void* Get(JNIEnv* _env, jbooleanArray array, jboolean* is_copy) { in Get() function in BooleanArrayGetter
106 static void* Get(JNIEnv* _env, jcharArray array, jboolean* is_copy) { in Get() function in CharArrayGetter
112 static void* Get(JNIEnv* _env, jshortArray array, jboolean* is_copy) { in Get() function in ShortArrayGetter
118 static void* Get(JNIEnv* _env, jintArray array, jboolean* is_copy) { in Get() function in IntArrayGetter
124 static void* Get(JNIEnv* _env, jlongArray array, jboolean* is_copy) { in Get() function in LongArrayGetter
130 static void* Get(JNIEnv* _env, jfloatArray array, jboolean* is_copy) { in Get() function in FloatArrayGetter
136 static void* Get(JNIEnv* _env, jdoubleArray array, jboolean* is_copy) { in Get() function in DoubleArrayGetter
144 return ARRAYGETTER::Get(_env, array, is_copy); in getArrayPointer()
/frameworks/base/libs/hwui/tests/unit/
DGraphicsStatsServiceTests.cpp101 EXPECT_EQ(expectedCount, loadedProto.histogram().Get(i).frame_count()); in TEST()
102 EXPECT_EQ(expectedBucket, loadedProto.histogram().Get(i).render_millis()); in TEST()
159 EXPECT_EQ(expectedCount, loadedProto.histogram().Get(i).frame_count()); in TEST()
160 EXPECT_EQ(expectedBucket, loadedProto.histogram().Get(i).render_millis()); in TEST()
/frameworks/native/services/vr/bufferhubd/
Dproducer_channel.cpp121 if (epoll_ctl(release_fence_fd_.Get(), EPOLL_CTL_ADD, dummy_fence_fd_.Get(), in InitializeBuffer()
401 int ret = epoll_ctl(release_fence_fd_.Get(), EPOLL_CTL_MOD, in OnProducerPost()
402 dummy_fence_fd_.Get(), &event); in OnProducerPost()
409 if (eventfd_read(dummy_fence_fd_.Get(), &dummy_fence_count) < 0) { in OnProducerPost()
638 if (epoll_ctl(release_fence_fd_.Get(), EPOLL_CTL_MOD, in RemoveConsumer()
639 dummy_fence_fd_.Get(), &event) < 0) { in RemoveConsumer()
648 eventfd_write(dummy_fence_fd_.Get(), 1); in RemoveConsumer()
/frameworks/rs/script_api/include/
Drs_graphics.rsh954 * rsgGetHeight: Get the surface height
958 * Get the height of the current rendering surface.
972 * rsgGetWidth: Get the surface width
976 * Get the width of the current rendering surface.
990 * rsgMeasureText: Get the bounding box for a text string
1200 …* rsgProgramVertexGetProjectionMatrix: Get the projection matrix for a fixed function vertex progr…
1204 * Get the projection matrix for a currently bound fixed function
1292 * rsgProgramRasterGetCullMode: Get program raster cull mode
1296 * Get program raster cull mode
1313 * rsgProgramRasterIsPointSpriteEnabled: Get program raster point sprite state
[all …]
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp535 EXPECT_EQ(progress, ds.progress_->Get()) << "invalid progress"; in GetProgressMessage()
1070 EXPECT_EQ(0, progress.Get()); in TEST_F()
1075 EXPECT_EQ(1, progress.Get()); in TEST_F()
1082 EXPECT_EQ(1, progress.Get()); in TEST_F()
1090 EXPECT_EQ(0, progress.Get()); in TEST_F()
1096 EXPECT_EQ(10, progress.Get()); in TEST_F()
1102 EXPECT_EQ(11, progress.Get()); in TEST_F()
1109 EXPECT_EQ(0, progress.Get()); in TEST_F()
1115 EXPECT_EQ(10, progress.Get()); in TEST_F()
1121 EXPECT_EQ(15, progress.Get()); in TEST_F()
[all …]
/frameworks/native/cmds/idlcli/
Dmain.cpp22 return IdlCli::Get().main(Args{argc, argv}); in main()
/frameworks/base/libs/hwui/jni/
Dscoped_nullable_primitive_array.h29 env->Get ## NAME ## ArrayRegion(array, start, len, out); \
33 return env->Get ## NAME ## ArrayElements(array, nullptr); \

1234