Home
last modified time | relevance | path

Searched refs:json (Results 1 – 25 of 53) sorted by relevance

123

/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
DBluetoothMapMessage.java20 import org.json.JSONException;
21 import org.json.JSONObject;
176 JSONObject json = new JSONObject(); in toString() local
179 json.put("handle", mHandle); in toString()
180 json.put("subject", mSubject); in toString()
181 json.put("datetime", mDateTime); in toString()
182 json.put("sender_name", mSenderName); in toString()
183 json.put("sender_addressing", mSenderAddressing); in toString()
184 json.put("replyto_addressing", mReplytoAddressing); in toString()
185 json.put("recipient_name", mRecipientName); in toString()
[all …]
DBluetoothMapBmessage.java21 import org.json.JSONException;
22 import org.json.JSONObject;
156 JSONObject json = new JSONObject(); in toString() local
159 json.put("status", mBmsgStatus); in toString()
160 json.put("type", mBmsgType); in toString()
161 json.put("folder", mBmsgFolder); in toString()
162 json.put("charset", mBbodyCharset); in toString()
163 json.put("message", mMessage); in toString()
168 return json.toString(); in toString()
DBluetoothMapEventReport.java20 import org.json.JSONException;
21 import org.json.JSONObject;
169 JSONObject json = new JSONObject(); in toString() local
172 json.put("type", mType); in toString()
173 json.put("handle", mHandle); in toString()
174 json.put("folder", mFolder); in toString()
175 json.put("old_folder", mOldFolder); in toString()
176 json.put("msg_type", mMsgType); in toString()
181 return json.toString(); in toString()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DHalMockUtils.java24 import org.json.JSONArray;
25 import org.json.JSONException;
26 import org.json.JSONObject;
118 JSONObject json = new JSONObject(); in convertBundleToJson() local
137 json.put(key, child); in convertBundleToJson()
140 if (DBG) Log.d(TAG, "convertBundleToJson: returning JSONObject=" + json); in convertBundleToJson()
141 return json; in convertBundleToJson()
/frameworks/volley/src/test/java/com/android/volley/toolbox/
DJsonRequestCharsetTest.java24 import org.json.JSONArray;
25 import org.json.JSONObject;
111 JSONObject json = new JSONObject().put(TEXT_NAME, TEXT_VALUE).put(COPY_NAME, COPY_VALUE); in jsonObjectString() local
112 return json.toString(); in jsonObjectString()
116 JSONArray json = new JSONArray().put(TEXT_INDEX, TEXT_VALUE).put(COPY_INDEX, COPY_VALUE); in jsonArrayString() local
117 return json.toString(); in jsonArrayString()
DJsonRequestTest.java20 import org.json.JSONArray;
21 import org.json.JSONObject;
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
DJsonParser.java22 import org.json.JSONArray;
23 import org.json.JSONException;
24 import org.json.JSONObject;
DStatementParser.java21 import org.json.JSONArray;
22 import org.json.JSONException;
23 import org.json.JSONObject;
DAssetMatcherFactory.java19 import org.json.JSONException;
20 import org.json.JSONObject;
DAndroidAppAsset.java19 import org.json.JSONArray;
20 import org.json.JSONException;
21 import org.json.JSONObject;
DAbstractAssetMatcher.java19 import org.json.JSONException;
DAbstractAsset.java21 import org.json.JSONException;
DAssetFactory.java19 import org.json.JSONObject;
DWebAsset.java19 import org.json.JSONObject;
/frameworks/native/services/surfaceflinger/
DGpuService.cpp138 std::string json = VkJsonAllPropertiesToJson(props); in vkjsonPrint() local
139 fwrite(json.data(), 1, json.size(), out); in vkjsonPrint()
/frameworks/volley/src/main/java/com/android/volley/toolbox/
DJsonArrayRequest.java25 import org.json.JSONArray;
26 import org.json.JSONException;
DJsonObjectRequest.java25 import org.json.JSONException;
26 import org.json.JSONObject;
/frameworks/base/docs/html/training/app-links/
Dindex.jd146 the app’s intent filters against the Digital Asset Links files ({@code assetlinks.json}) hosted
190 filters would fail verification if an {@code assetlinks.json} file were not found at both
191 {@code https://www.domain1.com/.well-known/assetlinks.json} and
192 {@code https://www.domain2.com/.well-known/assetlinks.json}:
225 hosts, you must host a separate {@code assetlink.json} file on each subdomain. For example, an
227 owner published valid {@code assetlinks.json} files at both
228 {@code https://www.example.com/.well-known/assetlinks.json} and
229 {@code https://mobile.example.com/.well-known/assetlinks.json}:
252 file, with the name {@code assetlinks.json}, at the following well-known location on the domain:
256 https://<em>domain</em>[:<em>optional_port</em>]/.well-known/assetlinks.json
[all …]
/frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/browser/
DMusicProvider.java26 import org.json.JSONArray;
27 import org.json.JSONException;
28 import org.json.JSONObject;
DMusicProviderTask.java22 import org.json.JSONException;
/frameworks/base/docs/html/training/volley/
Drequest-custom.jd62 String json = new String(response.data,
64 return Response.success(gson.fromJson(json, clazz),
146 String json = new String(
150 gson.fromJson(json, clazz),
Drequest.jd14 <li><a href="#request-json">Request JSON</a></li>
234 <h2 id="request-json">Request JSON</h2>
240 {@link org.json.JSONArray}
243 {@link org.json.JSONObject}
245 {@link org.json.JSONObject}
257 String url = "http://my-json-feed";
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DWifiConfigurationHelper.java28 import org.json.JSONArray;
29 import org.json.JSONException;
30 import org.json.JSONObject;
/frameworks/base/core/java/com/android/server/backup/
DAccountSyncSettingsBackupHelper.java31 import org.json.JSONArray;
32 import org.json.JSONException;
33 import org.json.JSONObject;
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DAutomaticActivity.java28 import org.json.JSONException;
29 import org.json.JSONObject;

123