Home
last modified time | relevance | path

Searched refs:lenient (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/util/
DJsonWriter.java141 private boolean lenient; field in JsonWriter
185 public void setLenient(boolean lenient) { in setLenient() argument
186 this.lenient = lenient; in setLenient()
193 return lenient; in isLenient()
338 if (!lenient && (Double.isNaN(value) || Double.isInfinite(value))) { in value()
370 if (!lenient && in value()
498 if (!lenient && !root) { in beforeValue()
DJsonReader.java189 private boolean lenient = false; field in JsonReader
263 public void setLenient(boolean lenient) { in setLenient() argument
264 this.lenient = lenient; in setLenient()
271 return lenient; in isLenient()
337 if (!lenient && token != JsonToken.BEGIN_ARRAY && token != JsonToken.BEGIN_OBJECT) { in peek()
355 if (lenient) { in peek()
839 if (!lenient) { in checkLenient()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointManagerTest.java47 import static org.mockito.Mockito.lenient;
285 lenient().when(provider.getConfig()).thenReturn(config); in createMockProvider()
443 lenient().when(networkDetail.isInterworking()).thenReturn(true); in generateScanDetail()
446 lenient().when(networkDetail.isInterworking()).thenReturn(false); in generateScanDetail()
449 lenient().when(scanDetail.getScanResult()).thenReturn(scanResult); in generateScanDetail()
450 lenient().when(scanDetail.getNetworkDetail()).thenReturn(networkDetail); in generateScanDetail()
986 lenient().when(providerHome.getWifiConfig()).thenReturn(homeWifiConfiguration); in getAllMatchingFqdnsForScanResults()
987 lenient().when(providerRoaming.getWifiConfig()).thenReturn(roamingWifiConfiguration); in getAllMatchingFqdnsForScanResults()
988 lenient().when(providerNone.getWifiConfig()).thenReturn(new WifiConfiguration()); in getAllMatchingFqdnsForScanResults()
1027 lenient().when(provider1.getWifiConfig()).thenReturn(wifiConfiguration1); in getWifiConfigsForPasspointProfiles()
[all …]
DPasspointProvisionerTest.java30 import static org.mockito.Mockito.lenient;
284 lenient().when(PpsMoParser.parseMoText(isNull())).thenReturn(mPasspointConfiguration); in setUp()
287 lenient().when(UpdateResponseMessage.serializeToSoapEnvelope(any(String.class), in setUp()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DUtils.java231 public static int fromHex(char ch, boolean lenient) throws NumberFormatException { in fromHex() argument
238 } else if (lenient) { in fromHex()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigManagerTest.java229 .mockStatic(WifiConfigStore.class, withSettings().lenient()) in setUp()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...