Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/src/android/net/dhcp6/
DDhcp6Packet.java264 final short optionType = buffer.getShort(); in decode() local
266 switch (optionType) { in decode()
470 final short optionType = packet.getShort(); in decode() local
474 switch(optionType) { in decode()
524 "Invalid length " + optionLen + " for option " + optionType in decode()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpPacket.java978 private static boolean shouldSkipOption(byte optionType, byte[] optionsToSkip) { in shouldSkipOption() argument
980 if (option == optionType) return true; in shouldSkipOption()
1188 final byte optionType = packet.get(); // cannot underflow because position < limit in decodeFullPacket()
1190 if (optionType == DHCP_OPTION_END) { in decodeFullPacket()
1192 } else if (optionType == DHCP_OPTION_PAD) { in decodeFullPacket()
1198 if (shouldSkipOption(optionType, optionsToSkip)) { in decodeFullPacket()
1203 switch(optionType) { in decodeFullPacket()
1328 DhcpErrorEvent.DHCP_INVALID_OPTION_LENGTH, optionType); in decodeFullPacket()
1331 optionLen, optionType, expectedLen); in decodeFullPacket()
1336 DhcpErrorEvent.BUFFER_UNDERFLOW, optionType); in decodeFullPacket()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/
DMediaQualityAnalyzer.cpp274 const int32_t optionType, const int32_t seq, const int32_t value) in collectOptionalInfo() argument
276 if (optionType == kTimeToLive) in collectOptionalInfo()
280 else if (optionType == kRoundTripDelay) in collectOptionalInfo()
290 else if (optionType == kReportPacketLossGap) in collectOptionalInfo()
319 else if (optionType == kAudioPlayingStatus) in collectOptionalInfo()
/packages/modules/NetworkStack/src/android/net/apf/
DLegacyApfFilter.java766 private void addLifetimeSection(int length, int optionType, long lifetime) { in addLifetimeSection() argument
769 optionType, lifetime)); in addLifetimeSection()
778 private long add4ByteLifetimeOption(int optionType, int optionLength) { in add4ByteLifetimeOption() argument
781 addLifetimeSection(ICMP6_4_BYTE_LIFETIME_LEN, optionType, lifetime); in add4ByteLifetimeOption()
818 private boolean shouldIgnoreLifetime(int optionType, long lifetime) { in shouldIgnoreLifetime() argument
819 return optionType == ICMP6_RDNSS_OPTION_TYPE in shouldIgnoreLifetime()
871 final int optionType = getUint8(mPacket, position); in Ra() local
874 switch (optionType) { in Ra()
900 lifetime = add4ByteLifetimeOption(optionType, optionLength); in Ra()
906 lifetime = add4ByteLifetimeOption(optionType, optionLength); in Ra()
[all …]
DApfFilter.java979 final int optionType = getUint8(mPacket, position); in Ra() local
983 "Invalid option length opt=%d len=%d", optionType, optionLength)); in Ra()
987 switch (optionType) { in Ra()
/packages/apps/TV/src/com/android/tv/
DTvOptionsManager.java126 void onOptionChanged(@OptionType int optionType, String newString); in onOptionChanged() argument
/packages/apps/TV/src/com/android/tv/menu/
DMenuUpdater.java62 public void onOptionChanged(@OptionType int optionType, String newString) {
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/audio/
DMediaQualityAnalyzer.h174 void collectOptionalInfo(const int32_t optionType, const int32_t seq, const int32_t value);