| /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
| ItsUtils.java | 35 import org.json.JSONObject; 47 public static ByteBuffer jsonToByteBuffer(JSONObject jsonObj) { 84 public static JSONArray getOutputSpecs(JSONObject jsonObjTop)
|
| /external/robolectric/v1/lib/main/ |
| json-20080701.jar | |
| /external/robolectric/v3/runtime/ |
| json-20080701.jar | |
| /frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
| WifiConfigurationHelper.java | 30 import org.json.JSONObject; 175 JSONObject jsonConfig = jsonConfigs.getJSONObject(i); 186 * Parse a {@link JSONObject} and return the wifi configuration. 190 private static WifiConfiguration getWifiConfiguration(JSONObject jsonConfig)
|
| /frameworks/base/services/core/java/com/android/server/pm/ |
| ShortcutLauncher.java | 29 import org.json.JSONObject; 294 public JSONObject dumpCheckin(boolean clear) throws JSONException { 295 final JSONObject result = super.dumpCheckin(clear);
|
| ShortcutUser.java | 37 import org.json.JSONObject; 515 public JSONObject dumpCheckin(boolean clear) throws JSONException { 516 final JSONObject result = new JSONObject();
|
| /packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
| PhoneNumberPickerFragment.java | 37 import org.json.JSONObject; 386 JSONObject json = new JSONObject(lookupKey);
|
| /packages/apps/Email/tests/src/com/android/emailcommon/provider/ |
| HostAuthTests.java | 25 import org.json.JSONObject; 224 final JSONObject json = new JSONObject();
|
| /packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/ |
| SendersFormattingTests.java | 31 import org.json.JSONObject; 279 final JSONObject json = new JSONObject(map);
|
| /prebuilts/tools/common/m2/repository/org/json/json/20080701/ |
| json-20080701.jar | |
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
| AttentionManagementVerifierActivity.java | 39 import org.json.JSONObject; 237 JSONObject payload = new JSONObject(payloadData); 328 JSONObject payload = new JSONObject(payloadData); 418 JSONObject payload = new JSONObject(payloadData); 638 JSONObject payload = new JSONObject(payloadData); [all...] |
| NotificationListenerVerifierActivity.java | 30 import org.json.JSONObject; 203 JSONObject payload = new JSONObject(payloadData);
|
| /packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
| MailAppProvider.java | 50 import org.json.JSONObject; 539 public AccountCacheEntry(JSONObject o) throws JSONException { 543 + "Account object could not be created from the JSONObject: " 548 + "Settings could not be created from the JSONObject: " + o); 558 public JSONObject toJSONObject() { 560 return new JSONObject()
|
| Attachment.java | 46 import org.json.JSONObject; 216 public Attachment(JSONObject srcJson) { 353 public JSONObject toJSON() throws JSONException { 354 final JSONObject result = new JSONObject(); 377 final JSONObject jsonObject = toJSON(); 379 jsonObject.put("partId", partId); 383 jsonObject.put(AttachmentColumns.PROVIDER_DATA, new JSONObject(providerData)) [all...] |
| Account.java | 43 import org.json.JSONObject; 263 JSONObject json = new JSONObject(); 315 public Account buildFrom(JSONObject json) throws JSONException { 360 final JSONObject json = new JSONObject(serializedAccount); 375 * @param json {@link JSONObject} representing a valid account. 378 protected Account(JSONObject json) throws JSONException { [all...] |
| /external/autotest/frontend/client/src/autotest/tko/ |
| ContentSelect.java | 15 import com.google.gwt.json.client.JSONObject; 96 public void addToCondition(JSONObject condition) {
|
| /device/google/contexthub/sensorhal/ |
| hubconnection.cpp | 26 #include "JSONObject.h" 255 static sp<JSONObject> readSettings(File *file) { 259 sp<JSONObject> root; 271 root = (JSONObject *)in.get(); 276 root = new JSONObject; 283 const sp<JSONObject> &settings, const char *key, int32_t *out, 302 const sp<JSONObject> &settings, const char *key, float out[3]) { 319 static void loadSensorSettings(sp<JSONObject>* settings, 320 sp<JSONObject>* saved_settings) { 330 *settings = new JSONObject; [all...] |
| /packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
| ContactInfoCache.java | 53 import org.json.JSONObject; 133 final JSONObject contactRows = new JSONObject().put(Phone.CONTENT_ITEM_TYPE, 134 new JSONObject() 137 final String jsonString = new JSONObject()
|
| /packages/apps/Dialer/src/com/android/dialer/calllog/ |
| ContactInfoHelper.java | 47 import org.json.JSONObject; 130 final JSONObject contactRows = new JSONObject().put(Phone.CONTENT_ITEM_TYPE, 131 new JSONObject().put(Phone.NUMBER, number).put(Phone.TYPE, Phone.TYPE_CUSTOM)); 133 final String jsonString = new JSONObject().put(Contacts.DISPLAY_NAME, number)
|
| /cts/tests/tests/media/src/android/media/cts/ |
| ClearKeySystemTest.java | 50 import org.json.JSONObject; 131 JSONObject license = new JSONObject(jsonLicenseRequest);
|
| /packages/apps/Launcher3/src/com/android/launcher3/ |
| InstallShortcutReceiver.java | 39 import org.json.JSONObject; 373 JSONObject object = (JSONObject) new JSONTokener(encoded).nextValue();
|
| /packages/apps/Settings/tests/app/src/com/android/settings/vpn2/ |
| VpnTests.java | 44 import org.json.JSONObject; 252 JSONObject json_data = new JSONObject(response); 260 Log.e(TAG, "exception while creating JSONObject: " + e.toString());
|
| /developers/build/prebuilts/gradle/Quiz/Application/src/main/java/com/example/android/wearable/quiz/ |
| MainActivity.java | 68 import org.json.JSONObject; 227 public static Question fromJson(JSONObject questionObject, int questionIndex) 264 JSONObject jsonObject = JsonUtils.loadJsonFile(this, QUIZ_JSON_FILE); 265 JSONArray jsonArray = jsonObject.getJSONArray(JsonUtils.JSON_FIELD_QUESTIONS); 267 JSONObject questionObject = jsonArray.getJSONObject(i);
|
| /developers/samples/android/wearable/wear/Quiz/Application/src/main/java/com/example/android/wearable/quiz/ |
| MainActivity.java | 68 import org.json.JSONObject; 227 public static Question fromJson(JSONObject questionObject, int questionIndex) 264 JSONObject jsonObject = JsonUtils.loadJsonFile(this, QUIZ_JSON_FILE); 265 JSONArray jsonArray = jsonObject.getJSONArray(JsonUtils.JSON_FIELD_QUESTIONS); 267 JSONObject questionObject = jsonArray.getJSONObject(i);
|
| /development/samples/browseable/Quiz/Application/src/com.example.android.wearable.quiz/ |
| MainActivity.java | 68 import org.json.JSONObject; 227 public static Question fromJson(JSONObject questionObject, int questionIndex) 264 JSONObject jsonObject = JsonUtils.loadJsonFile(this, QUIZ_JSON_FILE); 265 JSONArray jsonArray = jsonObject.getJSONArray(JsonUtils.JSON_FIELD_QUESTIONS); 267 JSONObject questionObject = jsonArray.getJSONObject(i);
|