Home
last modified time | relevance | path

Searched refs:jsonObj (Results 1 – 2 of 2) sorted by relevance

/development/samples/SampleSyncAdapter/tests/src/com/example/android/samplesync/client/
DUserTest.java41 JSONObject jsonObj = new JSONObject(); in testValueOf() local
42 jsonObj.put("u", "mjoshi"); in testValueOf()
43 jsonObj.put("f", "Megha"); in testValueOf()
44 jsonObj.put("l", "Joshi"); in testValueOf()
45 jsonObj.put("i", 1); in testValueOf()
46 User user = User.valueOf(jsonObj); in testValueOf()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/model/
DMusicProvider.java224 JSONObject jsonObj = fetchJSONFromUrl(CATALOG_URL); in retrieveMedia() local
225 if (jsonObj == null) { in retrieveMedia()
228 JSONArray tracks = jsonObj.getJSONArray(JSON_MUSIC); in retrieveMedia()