Searched refs:parseSpecOrNull (Results 1 – 4 of 4) sorted by relevance
117 CaptivePortalProbeSpec spec = CaptivePortalProbeSpec.parseSpecOrNull( in testParseSpecOrNull_UsesSpec()127 CaptivePortalProbeSpec spec = CaptivePortalProbeSpec.parseSpecOrNull(null); in testParseSpecOrNull_UsesFallback()130 spec = CaptivePortalProbeSpec.parseSpecOrNull(""); in testParseSpecOrNull_UsesFallback()133 spec = CaptivePortalProbeSpec.parseSpecOrNull("@@/@@ @@/@@ @@/@@"); in testParseSpecOrNull_UsesFallback()136 spec = CaptivePortalProbeSpec.parseSpecOrNull("invalid@@/@@123@@/@@456"); in testParseSpecOrNull_UsesFallback()142 CaptivePortalProbeSpec spec = CaptivePortalProbeSpec.parseSpecOrNull(""); in testParseSpecOrUseStatusCodeFallback_EmptySpec()
104 public static CaptivePortalProbeSpec parseSpecOrNull(@Nullable String spec) { in parseSpecOrNull() method in CaptivePortalProbeSpec
184 mProbeSpec = CaptivePortalProbeSpec.parseSpecOrNull(spec); in onCreate()
2114 CaptivePortalProbeSpec::parseSpecOrNull); in makeCaptivePortalFallbackProbeSpecs()