HomeSort by relevance Sort by last modified time
    Searched refs:JSONException (Results 51 - 75 of 204) sorted by null

1 23 4 5 6 7 8 9

  /frameworks/volley/src/main/java/com/android/volley/toolbox/
JsonObjectRequest.java 25 import org.json.JSONException;
72 } catch (JSONException je) {
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/ui/
SeekBarDialogTask.java 29 import org.json.JSONException;
89 } catch (JSONException e) {
118 } catch (JSONException e) {
137 } catch (JSONException e) {
145 } catch (JSONException e) {
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
HalMockUtils.java 25 import org.json.JSONException;
84 public static Bundle convertJsonToBundle(String jsonArgs) throws JSONException {
107 throw new JSONException("Unexpected TYPE read from mock HAL -- '" + type + "'");
115 public static JSONObject convertBundleToJson(Bundle bundle) throws JSONException {
134 throw new JSONException("Unexpected type of JSON tree node (not an Integer "
  /packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
BluetoothPbapCard.java 25 import org.json.JSONException;
75 } catch (JSONException e) {
93 } catch (JSONException e) {
115 } catch (JSONException e) {
137 } catch (JSONException e) {
  /packages/apps/Settings/src/com/android/settings/
SettingsDumpService.java 30 import org.json.JSONException;
60 private JSONObject dumpMemory() throws JSONException {
74 private JSONObject dumpDataUsage() throws JSONException {
101 throws JSONException {
112 private JSONObject dumpStorage() throws JSONException {
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/nan/
WifiNanHalTest.java 39 import org.json.JSONException;
78 public void testEnableWith5g() throws JSONException {
89 public void testEnableWithout5g() throws JSONException {
109 public void testPublishUnsolicited() throws JSONException {
130 public void testPublishSolicited() throws JSONException {
151 public void testPublishCancel() throws JSONException {
165 public void testSubscribePassive() throws JSONException {
186 public void testSubscribeActive() throws JSONException {
207 public void testSubscribeCancel() throws JSONException {
221 public void testSendMessage() throws JSONException {
    [all...]
  /external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/
JsonBuilder.java 36 import org.json.JSONException;
107 public static Object build(Object data) throws JSONException {
317 // throw new JSONException("Failed to build JSON result. " +
322 throws JSONException {
330 throws JSONException {
354 throws JSONException {
369 private static JSONArray buildJSONArray(Object[] data) throws JSONException {
378 AdvertiseSettings advertiseSettings) throws JSONException {
387 android.bluetooth.le.ScanResult scanResult) throws JSONException {
440 throws JSONException {
    [all...]
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/
TelephonyEvents.java 19 import org.json.JSONException;
52 public JSONObject toJSON() throws JSONException {
101 public JSONObject toJSON() throws JSONException {
143 public JSONObject toJSON() throws JSONException {
187 public JSONObject toJSON() throws JSONException {
232 public JSONObject toJSON() throws JSONException {
294 public JSONObject toJSON() throws JSONException {
  /external/google-tv-pairing-protocol/java/src/com/google/polo/json/
HTTP.java 69 * @throws JSONException
71 public static JSONObject toJSONObject(String string) throws JSONException {
124 * @throws JSONException if the object does not contain enough
127 public static String toString(JSONObject o) throws JSONException {
146 throw new JSONException("Not enough material for an HTTP header.");
JSONML.java 46 * @throws JSONException
49 JSONArray ja) throws JSONException {
76 throw new JSONException(
239 * @throws JSONException
241 public static JSONArray toJSONArray(String string) throws JSONException {
256 * @throws JSONException
258 public static JSONArray toJSONArray(XMLTokener x) throws JSONException {
275 * @throws JSONException
277 public static JSONObject toJSONObject(XMLTokener x) throws JSONException {
291 * @throws JSONException
    [all...]
  /cts/tests/tests/assist/testapp/src/android/voiceinteraction/testapp/
ExtraAssistDataActivity.java 25 import org.json.JSONException;
  /packages/apps/UnifiedEmail/src/com/android/mail/providers/
ReplyFromAccount.java 28 import org.json.JSONException;
73 } catch (JSONException e) {
90 } catch (JSONException e) {
100 } catch (JSONException e) {
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/
WifiNanManagerFacade.java 43 import org.json.JSONException;
58 private static TlvBufferUtils.TlvConstructor getFilterData(JSONObject j) throws JSONException {
85 private static ConfigRequest getConfigRequest(JSONObject j) throws JSONException {
108 private static PublishData getPublishData(JSONObject j) throws JSONException {
137 private static PublishSettings getPublishSettings(JSONObject j) throws JSONException {
157 private static SubscribeData getSubscribeData(JSONObject j) throws JSONException {
186 private static SubscribeSettings getSubscribeSettings(JSONObject j) throws JSONException {
231 throws RemoteException, JSONException {
236 public void wifiNanDisable() throws RemoteException, JSONException {
244 throws RemoteException, JSONException {
    [all...]
  /developers/build/prebuilts/gradle/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/
AssetUtils.java 24 import org.json.JSONException;
52 } catch (JSONException e) {
  /developers/samples/android/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/
AssetUtils.java 24 import org.json.JSONException;
52 } catch (JSONException e) {
  /development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/
AssetUtils.java 24 import org.json.JSONException;
52 } catch (JSONException e) {
  /packages/apps/UnifiedEmail/src/com/android/mail/compose/
AttachmentComposeView.java 31 import org.json.JSONException;
49 } catch (JSONException e) {
  /packages/apps/UnifiedEmail/tests/src/com/android/mail/providers/
AccountTests.java 25 import org.json.JSONException;
62 public void testDeserializeNullSenderNameUsingJSON() throws JSONException {
  /frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/browser/
MusicProvider.java 27 import org.json.JSONException;
67 * @throws JSONException
69 public List<MusicTrack> getMedia() throws JSONException {
81 * @throws JSONException
83 public List<MusicTrack> retreiveMedia() throws JSONException {
206 } catch (JSONException e) {
231 } catch (JSONException e) {
256 } catch (JSONException e) {
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
MetadataEntryParserTest.java 27 import org.json.JSONException;
134 public void testErrorForNullContactId() throws JSONException {
148 public void testErrorForNullAccountType() throws JSONException {
162 public void testErrorForNullAccountName() throws JSONException {
176 public void testErrorForNullFieldDataId() throws JSONException {
198 public void testErrorForNullAggregationType() throws JSONException {
  /frameworks/base/core/java/com/android/server/backup/
AccountSyncSettingsBackupHelper.java 32 import org.json.JSONException;
118 } catch (JSONException | IOException | NoSuchAlgorithmException e) {
126 private JSONObject serializeAccountSyncSettingsToJSON() throws JSONException {
270 } catch (IOException | JSONException e) {
276 throws JSONException {
337 } catch (JSONException jse) {
395 throws JSONException {
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
ItsSerializer.java 72 private static Object serializeRational(Rational rat) throws org.json.JSONException {
80 private static Object serializeSize(Size size) throws org.json.JSONException {
88 private static Object serializeSizeF(SizeF size) throws org.json.JSONException {
96 private static Object serializeRect(Rect rect) throws org.json.JSONException {
105 private static Object serializePoint(Point point) throws org.json.JSONException {
114 throws org.json.JSONException {
134 throws org.json.JSONException {
175 throws org.json.JSONException {
187 throws org.json.JSONException {
196 throws org.json.JSONException {
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
VulkanFeaturesTest.java 26 import org.json.JSONException;
80 public void testVulkanHardwareFeatures() throws JSONException {
151 private int determineHardwareLevel(JSONObject device) throws JSONException {
184 private int determineHardwareVersion(JSONObject device) throws JSONException {
221 private JSONObject[] getVulkanDevices() throws JSONException, UnsupportedEncodingException {
  /cts/tests/camera/src/android/hardware/camera2/cts/helpers/
CameraMetadataGetter.java 248 private static Object serializeRational(Rational rat) throws org.json.JSONException {
256 private static Object serializeSize(Size size) throws org.json.JSONException {
264 private static Object serializeSizeF(SizeF size) throws org.json.JSONException {
272 private static Object serializeRect(Rect rect) throws org.json.JSONException {
281 private static Object serializePoint(Point point) throws org.json.JSONException {
290 throws org.json.JSONException {
304 throws org.json.JSONException {
332 throws org.json.JSONException {
344 throws org.json.JSONException {
353 throws org.json.JSONException {
    [all...]
  /cts/common/host-side/util/src/com/android/compatibility/common/util/
DynamicConfigHandler.java 20 import org.json.JSONException;
44 String moduleName) throws IOException, XmlPullParserException, JSONException {
53 throws JSONException {

Completed in 488 milliseconds

1 23 4 5 6 7 8 9