Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DMacAddress.java75 private static final long LOCALLY_ASSIGNED_MASK = MacAddress.fromString("2:0:0:0:0:0").mAddr;
76 private static final long MULTICAST_MASK = MacAddress.fromString("1:0:0:0:0:0").mAddr;
77 private static final long OUI_MASK = MacAddress.fromString("ff:ff:ff:0:0:0").mAddr;
78 private static final long NIC_MASK = MacAddress.fromString("0:0:0:ff:ff:ff").mAddr;
86 private final long mAddr; field in MacAddress
89 mAddr = (VALID_LONG_MASK & addr); in MacAddress()
112 return (mAddr & MULTICAST_MASK) != 0; in isMulticastAddress()
119 return (mAddr & LOCALLY_ASSIGNED_MASK) != 0; in isLocallyAssigned()
126 return byteAddrFromLongAddr(mAddr); in toByteArray()
131 return stringAddrFromLongAddr(mAddr); in toString()
[all …]
DInterfaceConfiguration.java33 private LinkAddress mAddr; field in InterfaceConfiguration
43 builder.append(" mAddr=").append(String.valueOf(mAddr)); in toString()
92 return mAddr; in getLinkAddress()
96 mAddr = addr; in setLinkAddress()
117 for (byte b : mAddr.getAddress().getAddress()) { in isActive()
139 if (mAddr != null) { in writeToParcel()
141 dest.writeParcelable(mAddr, flags); in writeToParcel()
157 info.mAddr = in.readParcelable(null);
/frameworks/av/media/libaudioprocessing/tests/
Dtest_utils.h103 : mAddr(addr),
111 : mAddr(NULL), mNumFrames(0), mFrameSize(0),
143 buffer->raw = (char *)mAddr + mFrameSize * mNextFrame;
181 void* mAddr; // base address
251 free(mAddr);
252 mAddr = NULL;
259 createChirp<T>(mAddr, mNumFrames, mChannels, mSampleRate, minfreq, maxfreq);
267 createSine<T>(mAddr, mNumFrames, mChannels, mSampleRate, freq);
282 (void) sf_readf_float(sf, (float *) mAddr, mNumFrames);
284 (void) sf_readf_short(sf, (short *) mAddr, mNumFrames);
[all …]
Dtest-resampler.cpp261 const void* mAddr; // base address in main() member in main::Provider
270 : mAddr(addr), in main()
297 buffer->raw = (char *)mAddr + mFrameSize * mNextFrame; in main()