Searched refs:ikeOption (Results 1 – 1 of 1) sorted by relevance
201 private static void validateIkeOptionOrThrow(@IkeOption int ikeOption) { in validateIkeOptionOrThrow() argument202 if (ikeOption < MIN_IKE_OPTION || ikeOption > MAX_IKE_OPTION) { in validateIkeOptionOrThrow()203 throw new IllegalArgumentException("Invalid IKE Option: " + ikeOption); in validateIkeOptionOrThrow()207 private static long getOptionBitValue(int ikeOption) { in getOptionBitValue() argument208 return 1 << ikeOption; in getOptionBitValue()294 public boolean hasIkeOption(@IkeOption int ikeOption) { in hasIkeOption() argument295 validateIkeOptionOrThrow(ikeOption); in hasIkeOption()296 return (mIkeOptions & getOptionBitValue(ikeOption)) != 0; in hasIkeOption()903 public Builder addIkeOption(@IkeOption int ikeOption) { in addIkeOption() argument904 validateIkeOptionOrThrow(ikeOption); in addIkeOption()[all …]