| /external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
| AndroidFacade.java | 72 import org.json.JSONObject; 208 public static void putExtrasFromJsonObject(JSONObject extras, 235 // Nested JSONObject 236 if (data instanceof JSONObject) { 239 putNestedJSONObject((JSONObject) data, nestedBundle); 245 Log.e("Empty array not supported in JSONObject, skipping"); 294 private static void putNestedJSONObject(JSONObject jsonObject, Bundle bundle) 296 JSONArray names = jsonObject.names(); 299 Object data = jsonObject.get(name) [all...] |
| /cts/tests/tests/assist/common/src/android/assist/common/ |
| Utils.java | 23 import org.json.JSONObject; 108 STRUCTURED_JSON = new JSONObject()
|
| /developers/build/prebuilts/gradle/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/ |
| RecipeActivity.java | 35 import org.json.JSONObject; 87 JSONObject jsonObject = AssetUtils.loadJSONAsset(this, mRecipeName); 88 if (jsonObject != null) { 89 mRecipe = Recipe.fromJson(this, jsonObject);
|
| /developers/samples/android/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/ |
| RecipeActivity.java | 35 import org.json.JSONObject; 87 JSONObject jsonObject = AssetUtils.loadJSONAsset(this, mRecipeName); 88 if (jsonObject != null) { 89 mRecipe = Recipe.fromJson(this, jsonObject);
|
| /development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/ |
| RecipeActivity.java | 35 import org.json.JSONObject; 87 JSONObject jsonObject = AssetUtils.loadJSONAsset(this, mRecipeName); 88 if (jsonObject != null) { 89 mRecipe = Recipe.fromJson(this, jsonObject);
|
| /external/autotest/frontend/client/src/autotest/common/table/ |
| TableDecorator.java | 10 import com.google.gwt.json.client.JSONObject; 121 public void onRowClicked(int rowIndex, JSONObject row, boolean isRightClick) {}
|
| /external/autotest/frontend/client/src/autotest/common/ui/ |
| DetailView.java | 12 import com.google.gwt.json.client.JSONObject; 60 protected void showField(JSONObject object, String field, String elementId) {
|
| /frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
| AndroidAppAsset.java | 21 import org.json.JSONObject; 111 * @param asset a JSONObject that has "namespace", "package_name", and 115 public static AndroidAppAsset create(JSONObject asset)
|
| /frameworks/base/services/core/java/com/android/server/notification/ |
| RankingHelper.java | 32 import org.json.JSONObject; 427 public JSONObject dumpJson(NotificationManagerService.DumpFilter filter) { 428 JSONObject ranking = new JSONObject(); 439 JSONObject record = new JSONObject(); 482 JSONObject banJson = new JSONObject();
|
| NotificationUsageStats.java | 40 import org.json.JSONObject; 291 public synchronized JSONObject dumpJson(DumpFilter filter) { 292 JSONObject dump = new JSONObject(); 646 public JSONObject dumpJson() throws JSONException { 648 JSONObject dump = new JSONObject(); 687 private void maybePut(JSONObject dump, String name, int value) throws JSONException { 693 private void maybePut(JSONObject dump, String name, float value) throws JSONException { 740 public void maybePut(JSONObject dump, ImportanceHistogram prev [all...] |
| /libcore/benchmarks/src/benchmarks/regression/ |
| ParseBenchmark.java | 30 import org.json.JSONObject; 181 new JSONObject(data);
|
| /prebuilts/misc/common/json/ |
| json-prebuilt.jar | |
| /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/ |
| NetworkUtilities.java | 36 import org.json.JSONObject; 163 // Convert our list of User objects into a list of JSONObject 164 List<JSONObject> jsonContacts = new ArrayList<JSONObject>();
|
| /external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/ |
| WifiManagerFacade.java | 40 import org.json.JSONObject; 274 private WifiConfiguration genWifiConfig(JSONObject j) throws JSONException { 324 private WifiConfiguration genWifiEnterpriseConfig(JSONObject j) throws JSONException, 415 JSONObject j = new JSONObject(infoStr); 483 public Integer wifiAddNetwork(@RpcParameter(name = "wifiConfig") JSONObject wifiConfig) 519 public Boolean wifiConnect(@RpcParameter(name = "config") JSONObject config) 553 public void wifiEnterpriseConnect(@RpcParameter(name = "config") JSONObject config) 750 public void wifiPriorityConnect(@RpcParameter(name = "config") JSONObject config) 772 private WifiConfiguration createSoftApWifiConfiguration(JSONObject configJson [all...] |
| WifiScannerFacade.java | 28 import org.json.JSONObject; 335 private ScanSettings parseScanSettings(JSONObject j) throws JSONException { 372 JSONObject bi = (JSONObject) jBssids.get(i); 394 @RpcParameter(name = "scanSettings") JSONObject scanSettings) 444 @RpcParameter(name = "scanSettings") JSONObject scanSettings)
|
| /external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
| CameraEnumerationAndroid.java | 36 import org.json.JSONObject; 162 JSONObject json_format = new JSONObject();
|
| /libcore/json/src/test/java/org/json/ |
| SelfUseTest.java | 42 private final JSONObject object = new JSONObject() { 43 @Override public JSONObject put(String name, Object value) throws JSONException {
|
| /packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
| Account.java | 39 import org.json.JSONObject; 757 final JSONObject json = toJson(); 764 protected JSONObject toJson() { 766 final JSONObject json = new JSONObject(); 771 final JSONObject recvJson = mHostAuthRecv.toJson(); 774 final JSONObject sendJson = mHostAuthSend.toJson(); 791 final JSONObject json = new JSONObject(jsonString); 799 protected static Account fromJson(final JSONObject json) [all...] |
| HostAuth.java | 33 import org.json.JSONObject; 256 protected JSONObject toJson() { 258 final JSONObject json = new JSONObject(); 277 protected static HostAuth fromJson(final JSONObject json) { 288 final JSONObject credJson = json.optJSONObject(JSON_TAG_CREDENTIAL);
|
| /packages/apps/Email/provider_src/com/android/email/mail/internet/ |
| OAuthAuthenticator.java | 24 import org.json.JSONObject; 167 final JSONObject jsonResult = new JSONObject(builder.toString());
|
| /packages/services/Car/bluetooth/bt-map-client-lib/src/com/google/android/auto/mapservice/ |
| BluetoothMapMessagesListing.java | 31 import org.json.JSONObject; 149 JSONObject json = new JSONObject();
|
| /external/sl4a/Common/src/com/googlecode/android_scripting/interpreter/html/ |
| HtmlActivityTask.java | 61 import org.json.JSONObject; 223 JSONObject request = new JSONObject(data); 261 final JSONObject json = new JSONObject();
|
| /packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
| Settings.java | 38 import org.json.JSONObject; 203 private Settings(JSONObject json) { 238 final JSONObject json = toJSON(); 249 * Return a JSONObject for these settings. 251 public synchronized JSONObject toJSON() { 252 final JSONObject json = new JSONObject(); 320 * Create a new instance of an Settings object using a JSONObject instance created previously 327 public static Settings newInstance(JSONObject json) {
|
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
| ItsService.java | 64 import org.json.JSONObject; 356 JSONObject jsonObj = new JSONObject(); 566 JSONObject cmdObj = new JSONObject(cmd); 598 public void sendResponse(String tag, String str, JSONObject obj, ByteBuffer bbuf) 601 JSONObject jsonObj = new JSONObject(); 635 public void sendResponse(String tag, JSONObject obj) 653 JSONObject obj = new JSONObject() [all...] |
| /packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/ |
| ContactLoaderTest.java | 49 import org.json.JSONObject; 287 JSONObject itemJson = new JSONObject(); 288 itemJson.put("email", new JSONObject().put("data1", "test@google.com")); 289 JSONObject json = new JSONObject();
|