Home
last modified time | relevance | path

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

/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
Dbufferhub_rpc.h165 explicit operator bool() const { return fence_.IsValid(); }
/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/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/libpdx_uds/private/uds/
Dchannel_parcelable.h18 bool IsValid() const override;
/frameworks/av/media/codec2/vndk/
DC2DmaBufAllocator.cpp61 static bool IsValid(const C2Handle* const o);
94 bool C2HandleBuf::IsValid(const C2Handle* const o) { in IsValid() function in android::C2HandleBuf
422 if (!C2HandleBuf::IsValid(handle)) { in priorLinearAllocation()
441 return C2HandleBuf::IsValid(o); in CheckHandle()
DC2AllocatorIon.cpp82 bool C2HandleIon::IsValid(const C2Handle * const o) { in IsValid() function in android::C2HandleIon
613 if (!C2HandleIon::IsValid(handle)) { in priorLinearAllocation()
631 return C2HandleIon::IsValid(o); in CheckHandle()
DC2AllocatorGralloc.cpp140 static bool IsValid(const C2Handle *const o) { in IsValid() function in android::__anon0ebae6a40311::C2HandleGralloc
202 if (handle == nullptr || !IsValid(handle)) { in MigrateNativeHandle()
291 static bool IsValid(const C2Handle *const o) { in IsValid() function in android::__anon0ebae6a40311::C2HandleAhwb
1307 return C2HandleGralloc::IsValid(o); in CheckHandle()
1614 return C2HandleAhwb::IsValid(o); in CheckHandle()
/frameworks/libs/binary_translation/backend/testing/include/x86_64/
Dmem_operand.h77 bool IsValid() const { return addr_mode_ != kAddrModeInvalid; } in IsValid() function
/frameworks/native/services/vr/bufferhubd/
Dproducer_channel.cpp38 if (!buffer_.IsValid()) { in ProducerChannel()
43 if (!metadata_buffer_.IsValid()) { in ProducerChannel()
/frameworks/base/services/core/jni/
Dcom_android_server_tv_TvUinputBridge.cpp157 bool IsValid() const { return mFd != kInvalidFileDescriptor; } in IsValid() function in android::UInputDescriptor
189 if (IsValid()) { in Open()
/frameworks/native/libs/vr/libpdx/
Dservice.cpp219 if (!handle->IsValid()) in GetFileHandle()