Home
last modified time | relevance | path

Searched refs:IsValid (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/native/libs/vr/libbufferhubqueue/
Dbuffer_hub_queue_parcelable.cpp10 bool BufferHubQueueParcelable<Magic>::IsValid() const { in IsValid() function in android::dvr::BufferHubQueueParcelable
11 return !!channel_parcelable_ && channel_parcelable_->IsValid(); in IsValid()
16 if (!IsValid()) { in TakeChannelHandle()
32 if (!IsValid()) { in writeToParcel()
48 if (IsValid()) { in readFromParcel()
/frameworks/native/libs/vr/libpdx_uds/
Dchannel_parcelable.cpp23 bool ChannelParcelable::IsValid() const { in IsValid() function in android::pdx::uds::ChannelParcelable
28 if (!IsValid()) { in TakeChannelHandle()
41 if (!IsValid()) { in writeToParcel()
84 if (IsValid()) { in readFromParcel()
112 if (!IsValid()) { in readFromParcel()
Dremote_method_tests.cpp651 ASSERT_TRUE(fd.IsValid()); in TEST_F()
661 ASSERT_TRUE(fd.IsValid()) << "Error code: " << fd.Get(); in TEST_F()
671 EXPECT_TRUE(fd.IsValid()); in TEST_F()
735 EXPECT_TRUE(result.fd.IsValid()); in TEST_F()
743 EXPECT_TRUE(files[0].IsValid()); in TEST_F()
744 EXPECT_TRUE(files[1].IsValid()); in TEST_F()
745 EXPECT_TRUE(files[2].IsValid()); in TEST_F()
Dclient_channel_factory.cpp61 bool connected = socket_.IsValid(); in Connect()
Dservice_endpoint.cpp149 CHECK(fd.IsValid())
155 CHECK(fd.IsValid()) << "Endpoint::Endpoint: Failed to create socket: "
179 CHECK(cancel_event_fd_.IsValid()) in Init()
183 CHECK(epoll_fd_.IsValid()) in Init()
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
Dnative_handle_wrapper.h42 bool IsValid() const { return ints_.size() != 0 || fds_.size() != 0; } in IsValid() function
46 if (!IsValid()) { in DuplicateHandle()
53 if (!fd.IsValid()) { in DuplicateHandle()
64 if (!IsValid()) { in TakeHandle()
Dion_buffer.h27 bool IsValid() const { return buffer_ && buffer_->initCheck() == OK; } in IsValid() function
/frameworks/native/libs/vr/libpdx/private/pdx/
Dfile_handle.h81 if (IsValid() && Mode == FileHandleMode::Local) in Close()
106 bool IsValid() const { return fd_ >= 0; } in IsValid() function
107 explicit operator bool() const { return IsValid(); }
Dchannel_parcelable.h20 virtual bool IsValid() const = 0;
/frameworks/native/services/vr/performanced/
Ddirectory_reader.h31 bool IsValid() const { return directory_ != nullptr; } in IsValid() function
32 explicit operator bool() const { return IsValid(); }
Dtask.h26 bool IsValid() const { return task_fd_.get() >= 0; } in IsValid() function
27 explicit operator bool() const { return IsValid(); }
Dtask.cpp56 if (IsValid()) { in Task()
/frameworks/av/media/codec2/vndk/internal/
DC2HandleIonInternal.h31 static bool IsValid(const C2Handle * const o);
34 static bool isValid(const C2Handle * const o) { return IsValid(o); } in isValid()
/frameworks/native/libs/vr/libbufferhubqueue/include/private/dvr/
Depoll_file_descriptor.h23 bool IsValid() const { return fd_.get() >= 0; } in IsValid() function
26 if (IsValid()) { in Create()
Dbuffer_hub_queue_parcelable.h45 bool IsValid() const;
/frameworks/native/libs/vr/libbufferhub/
Dbuffer_hub-test.cpp115 ASSERT_TRUE(epoll_fd.IsValid()); in TEST_F()
265 EXPECT_FALSE(invalid_fence.IsValid()); in TEST_F()
266 EXPECT_FALSE(invalid_fence.IsValid()); in TEST_F()
276 EXPECT_FALSE(invalid_fence.IsValid()); in TEST_F()
281 EXPECT_FALSE(invalid_fence.IsValid()); in TEST_F()
287 EXPECT_FALSE(invalid_fence.IsValid()); in TEST_F()
290 EXPECT_FALSE(invalid_fence.IsValid()); in TEST_F()
300 EXPECT_FALSE(invalid_fence.IsValid()); in TEST_F()
305 EXPECT_FALSE(invalid_fence.IsValid()); in TEST_F()
311 EXPECT_FALSE(invalid_fence.IsValid()); in TEST_F()
[all …]
Dbuffer_hub_base.cpp161 if (pending_fence_fd_.IsValid()) { in UpdateSharedFence()
170 if (new_fence.IsValid()) { in UpdateSharedFence()
/frameworks/native/libs/vr/libbufferhubqueue/tests/
Dbuffer_hub_queue-test.cpp319 EXPECT_TRUE(fence.IsValid()); in TEST_F()
949 EXPECT_TRUE(output_parcelable.IsValid()); in TEST_F()
958 EXPECT_TRUE(output_parcelable.IsValid()); in TEST_F()
973 EXPECT_FALSE(input_parcelable.IsValid()); in TEST_F()
977 EXPECT_TRUE(input_parcelable.IsValid()); in TEST_F()
981 EXPECT_FALSE(input_parcelable.IsValid()); in TEST_F()
1019 EXPECT_TRUE(output_parcelable.IsValid()); in TEST_F()
1036 EXPECT_FALSE(wrongly_typed_parcelable.IsValid()); in TEST_F()
1043 EXPECT_FALSE(input_parcelable.IsValid()); in TEST_F()
1047 EXPECT_TRUE(input_parcelable.IsValid()); in TEST_F()
[all …]
Dbuffer_hub_queue_producer-test.cpp561 EXPECT_TRUE(fake_channel_parcelable->IsValid()); in TEST_F()
564 EXPECT_TRUE(fake_producer_parcelable.IsValid()); in TEST_F()
569 EXPECT_FALSE(producer_parcelable.IsValid()); in TEST_F()
571 EXPECT_TRUE(producer_parcelable.IsValid()); in TEST_F()
/frameworks/native/libs/vr/libpdx_uds/private/uds/
Dchannel_parcelable.h18 bool IsValid() const override;
/frameworks/av/media/codec2/vndk/
DC2DmaBufAllocator.cpp60 static bool IsValid(const C2Handle* const o);
93 bool C2HandleBuf::IsValid(const C2Handle* const o) { in IsValid() function in android::C2HandleBuf
418 if (!C2HandleBuf::IsValid(handle)) { in priorLinearAllocation()
437 return C2HandleBuf::IsValid(o); in CheckHandle()
DC2AllocatorIon.cpp81 bool C2HandleIon::IsValid(const C2Handle * const o) { in IsValid() function in android::C2HandleIon
608 if (!C2HandleIon::IsValid(handle)) { in priorLinearAllocation()
626 return C2HandleIon::IsValid(o); in CheckHandle()
/frameworks/native/libs/gui/
DBufferHubConsumer.cpp31 if (!parcelable.IsValid()) { in Create()
DBufferHubProducer.cpp36 if (!parcelable.IsValid()) { in Create()
756 if (!out_parcelable || out_parcelable->IsValid()) return BAD_VALUE; in TakeAsParcelable()
848 if (!pending_producer_parcelable_.IsValid()) { in exportToParcel()
/frameworks/rs/tests/lldb/tests/harness/
Dtest_base_remote.py168 self.assert_true(self._ci.IsValid())

12