Home
last modified time | relevance | path

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

/frameworks/native/libs/binder/
DRpcSocketAddress.h41 explicit UnixSocketAddress(const char* path) : mAddr({.sun_family = AF_UNIX}) { in UnixSocketAddress()
43 LOG_ALWAYS_FATAL_IF(pathLen > sizeof(mAddr.sun_path), "Socket path is too long: %u %s",
45 memcpy(mAddr.sun_path, path, pathLen);
49 return String8::format("path '%.*s'", static_cast<int>(sizeof(mAddr.sun_path)), in toString()
50 mAddr.sun_path) in toString()
53 const sockaddr* addr() const override { return reinterpret_cast<const sockaddr*>(&mAddr); } in addr()
54 size_t addrSize() const override { return sizeof(mAddr); } in addrSize()
57 sockaddr_un mAddr;
63 : mAddr({ in VsockSocketAddress()
70 return String8::format("cid %u port %u", mAddr.svm_cid, mAddr.svm_port).c_str(); in toString()
[all …]
/frameworks/base/core/java/android/net/
DInterfaceConfiguration.java32 private LinkAddress mAddr; field in InterfaceConfiguration
49 builder.append(" mAddr=").append(String.valueOf(mAddr)); in toString()
103 return mAddr; in getLinkAddress()
108 mAddr = addr; in setLinkAddress()
129 for (byte b : mAddr.getAddress().getAddress()) { in isActive()
151 if (mAddr != null) { in writeToParcel()
153 dest.writeParcelable(mAddr, flags); in writeToParcel()
170 info.mAddr = in.readParcelable(null);
/frameworks/av/media/libaudioprocessing/tests/
Dtest_utils.h104 : mAddr(addr),
112 : mAddr(NULL), mNumFrames(0), mFrameSize(0),
144 buffer->raw = (char *)mAddr + mFrameSize * mNextFrame;
182 void* mAddr; // base address
252 free(mAddr);
253 mAddr = NULL;
260 createChirp<T>(mAddr, mNumFrames, mChannels, mSampleRate, minfreq, maxfreq);
268 createSine<T>(mAddr, mNumFrames, mChannels, mSampleRate, freq);
283 (void) sf_readf_float(sf, (float *) mAddr, mNumFrames);
285 (void) sf_readf_short(sf, (short *) mAddr, mNumFrames);
[all …]
Dtest-resampler.cpp263 const void* mAddr; // base address in main() member in main::Provider
272 : mAddr(addr), in main()
299 buffer->raw = (char *)mAddr + mFrameSize * mNextFrame; in main()
/frameworks/av/media/libaudioprocessing/tests/fuzzer/
Dlibaudioprocessing_fuzz_utils.h26 const void* mAddr; // base address variable
33 : mAddr(addr), in Provider()
44 buffer->raw = (char*)mAddr + mFrameSize * mNextFrame; in getNextBuffer()
/frameworks/av/media/codec2/tests/vndk/
DC2BufferTest.cpp238 mAddr(nullptr), in C2BufferTest()
264 &mAddr); in mapLinear()
266 mAddr = nullptr; in mapLinear()
269 ASSERT_NE(nullptr, mAddr); in mapLinear()
271 *addr = (uint8_t *)mAddr; in mapLinear()
276 ASSERT_NE(nullptr, mAddr); in unmapLinear()
280 ASSERT_EQ(C2_OK, mLinearAllocation->unmap(mAddr, mSize, nullptr)); in unmapLinear()
282 mAddr = nullptr; in unmapLinear()
342 void *mAddr; member in android::C2BufferTest
/frameworks/av/media/codec2/sfplugin/tests/
DCCodecBuffers_test.cpp474 std::vector<uint8_t *> mAddr; member in android::TestGraphicAllocation
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt32879 Landroid/net/InterfaceConfiguration;->mAddr:Landroid/net/LinkAddress;