Home
last modified time | relevance | path

Searched refs:mAddr (Results 1 – 2 of 2) sorted by relevance

/hardware/qcom/sm8150/gps/utils/
DLocIpc.cpp136 struct sockaddr_un mAddr; member in loc_util::LocIpcLocalSender
139 return mSock->send(data, length, 0, (struct sockaddr*)&mAddr, sizeof(mAddr)); in send()
144 mAddr({.sun_family = AF_UNIX, {}}) { in LocIpcLocalSender()
146 snprintf(mAddr.sun_path, sizeof(mAddr.sun_path), "%s", name);
154 socklen_t size = sizeof(mAddr); in recv()
155 return mSock->recv(mDataCb, 0, (struct sockaddr*)&mAddr, &size); in recv()
161 if ((unlink(mAddr.sun_path) < 0) && (errno != ENOENT)) { in LocIpcLocalRecver()
166 if (mSock->isValid() && ::bind(mSock->mSid, (struct sockaddr*)&mAddr, sizeof(mAddr)) < 0) { in LocIpcLocalRecver()
171 inline virtual ~LocIpcLocalRecver() { unlink(mAddr.sun_path); } in ~LocIpcLocalRecver()
172 inline virtual const char* getName() const override { return mAddr.sun_path; }; in getName()
[all …]
/hardware/google/av/codec2/tests/vndk/
DC2BufferTest.cpp238 mAddr(nullptr), in C2BufferTest()
263 &mAddr); in mapLinear()
265 mAddr = nullptr; in mapLinear()
268 ASSERT_NE(nullptr, mAddr); in mapLinear()
270 *addr = (uint8_t *)mAddr; in mapLinear()
275 ASSERT_NE(nullptr, mAddr); in unmapLinear()
279 ASSERT_EQ(C2_OK, mLinearAllocation->unmap(mAddr, mSize, nullptr)); in unmapLinear()
281 mAddr = nullptr; in unmapLinear()
336 void *mAddr; member in android::C2BufferTest