diff options
author | evitayan <evitayan@google.com> | 2018-03-22 17:53:08 -0700 |
---|---|---|
committer | evitayan <evitayan@google.com> | 2018-10-04 11:44:00 -0700 |
commit | e4259d3e5353475673f361828aca949a60f7e1d5 (patch) | |
tree | 04e6e41a0ce06873e8ab788933dfb633fbb92dca /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 0a7d3e342494e4b534647c8b296861a041da85b1 (diff) |
Check to ensure UDP-encap is used only for IPv4
This commit checks if UDP-encapsulation is used
for unsupported address family and throws
IllegalArgumentException when it happens.
Bug: 74213459
Test: Tests added in testCreateTransportModeTransformWithEncap
and testCreateTunnelModeTransformWithEncap.
Command: runtest frameworks-net
Verified on taimen.
Change-Id: I10c01f2bad6aca23430849ea9ef6c1eb157ae131
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions