Searched refs:IsValid (Results 1 - 25 of 31) sorted by relevance

12

/frameworks/native/libs/vr/libbufferhubqueue/
H A Dbuffer_hub_queue_parcelable.cpp10 bool BufferHubQueueParcelable<Magic>::IsValid() const { function in class:android::dvr::BufferHubQueueParcelable
11 return !!channel_parcelable_ && channel_parcelable_->IsValid();
16 if (!IsValid()) {
32 if (!IsValid()) {
48 if (IsValid()) {
/frameworks/native/libs/vr/libpdx/private/pdx/
H A Dchannel_parcelable.h20 virtual bool IsValid() const = 0;
H A Dfile_handle.h81 if (IsValid() && Mode == FileHandleMode::Local)
106 bool IsValid() const { return fd_ >= 0; } function in class:android::pdx::FileHandle
107 explicit operator bool() const { return IsValid(); }
/frameworks/native/services/vr/bufferhubd/
H A Ddetached_buffer_channel.h20 return buffer->IsValid() ? std::move(buffer) : nullptr;
24 bool IsValid() const { function in class:android::dvr::DetachedBufferChannel
25 return buffer_.IsValid() && metadata_buffer_.IsValid();
/frameworks/native/libs/vr/libpdx_uds/
H A Dchannel_parcelable.cpp23 bool ChannelParcelable::IsValid() const { function in class:android::pdx::uds::ChannelParcelable
28 if (!IsValid()) {
41 if (!IsValid()) {
84 if (IsValid()) {
112 if (!IsValid()) {
H A Dremote_method_tests.cpp651 ASSERT_TRUE(fd.IsValid());
661 ASSERT_TRUE(fd.IsValid()) << "Error code: " << fd.Get();
671 EXPECT_TRUE(fd.IsValid());
680 EXPECT_FALSE(fd.IsValid());
735 EXPECT_TRUE(result.fd.IsValid());
743 EXPECT_TRUE(files[0].IsValid());
744 EXPECT_TRUE(files[1].IsValid());
745 EXPECT_TRUE(files[2].IsValid());
H A Dclient_channel_factory.cpp61 bool connected = socket_.IsValid();
/frameworks/native/libs/vr/libbufferhubqueue/include/private/dvr/
H A Depoll_file_descriptor.h23 bool IsValid() const { return fd_.get() >= 0; } function in class:android::dvr::EpollFileDescriptor
26 if (IsValid()) {
H A Dbuffer_hub_queue_parcelable.h45 bool IsValid() const;
/frameworks/native/services/vr/performanced/
H A Ddirectory_reader.h30 bool IsValid() const { return directory_ != nullptr; } function in class:android::dvr::DirectoryReader
31 explicit operator bool() const { return IsValid(); }
H A Dtask.h26 bool IsValid() const { return task_fd_.get() >= 0; } function in class:android::dvr::Task
27 explicit operator bool() const { return IsValid(); }
H A Dtask.cpp56 if (IsValid()) {
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
H A Ddetached_buffer.h36 bool IsConnected() const { return client_.IsValid(); }
40 bool IsValid() const { return buffer_.IsValid(); } function in class:android::dvr::DetachedBuffer
H A Dion_buffer.h27 bool IsValid() const { return buffer_ && buffer_->initCheck() == NO_ERROR; } function in class:android::dvr::IonBuffer
H A Dbuffer_hub_client.h24 bool IsValid() const;
/frameworks/native/libs/vr/libpdx_uds/private/uds/
H A Dchannel_parcelable.h18 bool IsValid() const override;
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
H A DAutoCompleteTextViewBindingAdapter.java37 final IsValid isValid) {
75 public interface IsValid { interface in class:AutoCompleteTextViewBindingAdapter
/frameworks/native/libs/vr/libbufferhub/
H A Dbuffer_hub-test.cpp121 ASSERT_TRUE(epoll_fd.IsValid());
280 EXPECT_FALSE(invalid_fence.IsValid());
283 EXPECT_FALSE(invalid_fence.IsValid());
294 EXPECT_FALSE(invalid_fence.IsValid());
299 EXPECT_FALSE(invalid_fence.IsValid());
305 EXPECT_FALSE(invalid_fence.IsValid());
308 EXPECT_FALSE(invalid_fence.IsValid());
319 EXPECT_FALSE(invalid_fence.IsValid());
324 EXPECT_FALSE(invalid_fence.IsValid());
330 EXPECT_FALSE(invalid_fence.IsValid());
[all...]
H A Ddetached_buffer.cpp108 if (!client_.IsValid() || !buffer_.buffer()) {
H A Dbuffer_hub_client.cpp30 bool BufferHubClient::IsValid() const { function in class:android::dvr::BufferHubClient
174 if (pending_fence_fd_.IsValid()) {
183 if (new_fence.IsValid()) {
/frameworks/native/libs/vr/libbufferhubqueue/tests/
H A Dbuffer_hub_queue-test.cpp176 EXPECT_TRUE(fence.IsValid());
746 EXPECT_TRUE(output_parcelable.IsValid());
755 EXPECT_TRUE(output_parcelable.IsValid());
770 EXPECT_FALSE(input_parcelable.IsValid());
774 EXPECT_TRUE(input_parcelable.IsValid());
778 EXPECT_FALSE(input_parcelable.IsValid());
816 EXPECT_TRUE(output_parcelable.IsValid());
833 EXPECT_FALSE(wrongly_typed_parcelable.IsValid());
840 EXPECT_FALSE(input_parcelable.IsValid());
844 EXPECT_TRUE(input_parcelable.IsValid());
[all...]
H A Dbuffer_hub_queue_producer-test.cpp565 EXPECT_TRUE(dummy_channel_parcelable->IsValid());
568 EXPECT_TRUE(dummy_producer_parcelable.IsValid());
573 EXPECT_FALSE(producer_parcelable.IsValid());
575 EXPECT_TRUE(producer_parcelable.IsValid());
/frameworks/native/libs/gui/
H A DBufferHubConsumer.cpp31 if (!parcelable.IsValid()) {
H A DBufferHubProducer.cpp36 if (!parcelable.IsValid()) {
607 if (!out_parcelable || out_parcelable->IsValid()) return BAD_VALUE;
697 if (!pending_producer_parcelable_.IsValid()) {
/frameworks/rs/tests/lldb/tests/harness/
H A Dtest_base_remote.py168 self.assert_true(self._ci.IsValid())

Completed in 180 milliseconds

12