Searched refs:optBoolean (Results 1 – 6 of 6) sorted by relevance
436 public boolean optBoolean(int index) { in optBoolean() method in JSONArray437 return optBoolean(index, false); in optBoolean()450 public boolean optBoolean(int index, boolean defaultValue) { in optBoolean() method in JSONArray
136 if (o.optBoolean("secure")) { in toString()
794 public boolean optBoolean(String key) { in optBoolean() method in JSONObject795 return optBoolean(key, false); in optBoolean()808 public boolean optBoolean(String key, boolean defaultValue) { in optBoolean() method in JSONObject
243 System.out.println(" oops: " + j.optBoolean("oops")); in main()
41 return mConfig.optBoolean(UrlRequestContextConfig.ENABLE_LEGACY_MODE); in legacyMode()
313 if (!json.has(type) || !json.optBoolean(type, true)) { in getAVConstraints()318 if (json.optBoolean(type, false)) { in getAVConstraints()