OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:jsonObj
(Results
1 - 20
of
20
) sorted by null
/development/samples/SampleSyncAdapter/tests/src/com/example/android/samplesync/client/
UserTest.java
41
JSONObject
jsonObj
= new JSONObject();
42
jsonObj
.put("u", "mjoshi");
43
jsonObj
.put("f", "Megha");
44
jsonObj
.put("l", "Joshi");
45
jsonObj
.put("i", 1);
46
User user = User.valueOf(
jsonObj
);
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/xml/
XmlMessageBuilder.java
209
JSONObject
jsonObj
= body.getJSONObject(
211
String serviceName =
jsonObj
.getString(
214
if (
jsonObj
.has(PAIRING_REQUEST_FIELD_CLIENT_NAME)) {
215
clientName =
jsonObj
.getString(PAIRING_REQUEST_FIELD_CLIENT_NAME);
233
JSONObject
jsonObj
= body.getJSONObject(
236
if (
jsonObj
.has(PAIRING_REQUEST_ACK_FIELD_SERVER_NAME)) {
237
serverName =
jsonObj
.getString(PAIRING_REQUEST_ACK_FIELD_SERVER_NAME);
472
JSONObject
jsonObj
= new JSONObject();
474
jsonObj
.put(MESSAGE_CONTAINER_NAME_PAIRING_REQUEST, pairingReq);
482
return XML.toString(
jsonObj
);
[
all
...]
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/json/
JsonMessageBuilder.java
422
JSONObject
jsonObj
= new JSONObject();
423
jsonObj
.put(PAIRING_REQUEST_FIELD_SERVICE_NAME, message.getServiceName());
425
jsonObj
.put(PAIRING_REQUEST_FIELD_CLIENT_NAME, message.getClientName());
427
return
jsonObj
;
436
JSONObject
jsonObj
= new JSONObject();
438
jsonObj
.put(PAIRING_REQUEST_ACK_FIELD_SERVER_NAME,
441
return
jsonObj
;
450
JSONObject
jsonObj
= new JSONObject();
456
jsonObj
.put(OPTIONS_FIELD_INPUT_ENCODINGS, inEncsArray);
462
jsonObj
.put(OPTIONS_FIELD_OUTPUT_ENCODINGS, outEncsArray)
[
all
...]
/external/autotest/frontend/client/src/autotest/afe/
HostListView.java
129
for (JSONObject
jsonObj
: selectedSet) {
130
ids.set(ids.size(),
jsonObj
.get("id"));
JobListView.java
107
for(JSONObject
jsonObj
: selectedSet) {
108
ids.set(ids.size(),
jsonObj
.get("id"));
RecurringView.java
247
for(JSONObject
jsonObj
: selectedSet) {
248
ids.set(ids.size(),
jsonObj
.get("id"));
/cts/apps/CameraITS/pymodules/its/
device.py
705
jsonObj
,buf = self.__read_response_from_socket()
706
if
jsonObj
['tag'] in ['jpegImage', 'rawImage', \
709
fmt =
jsonObj
['tag'][:-5]
712
elif
jsonObj
['tag'] == 'yuvImage':
716
elif
jsonObj
['tag'] == 'captureResults':
717
mds.append(
jsonObj
['objValue']['captureResult'])
718
outputs =
jsonObj
['objValue']['outputs']
[
all
...]
/developers/build/prebuilts/gradle/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/model/
MusicProvider.java
224
JSONObject
jsonObj
= fetchJSONFromUrl(CATALOG_URL);
225
if (
jsonObj
== null) {
228
JSONArray tracks =
jsonObj
.getJSONArray(JSON_MUSIC);
/developers/samples/android/media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/model/
MusicProvider.java
224
JSONObject
jsonObj
= fetchJSONFromUrl(CATALOG_URL);
225
if (
jsonObj
== null) {
228
JSONArray tracks =
jsonObj
.getJSONArray(JSON_MUSIC);
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/model/
MusicProvider.java
224
JSONObject
jsonObj
= fetchJSONFromUrl(CATALOG_URL);
225
if (
jsonObj
== null) {
228
JSONArray tracks =
jsonObj
.getJSONArray(JSON_MUSIC);
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/model/
MusicProvider.java
226
JSONObject
jsonObj
= fetchJSONFromUrl(CATALOG_URL);
227
if (
jsonObj
== null) {
230
JSONArray tracks =
jsonObj
.getJSONArray(JSON_MUSIC);
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/
VideoProvider.java
105
JSONObject
jsonObj
= new VideoProvider().parseUrl(url);
106
JSONArray categories =
jsonObj
.getJSONArray(TAG_GOOGLE_VIDEOS);
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/data/
VideoProvider.java
75
JSONObject
jsonObj
= new VideoProvider().parseUrl(url);
76
JSONArray categories =
jsonObj
.getJSONArray(TAG_GOOGLE_VIDEOS);
/frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/browser/
MusicProvider.java
89
JSONObject
jsonObj
= parseUrl(MUSIC_URL);
92
JSONArray videos =
jsonObj
.getJSONArray(MUSIC);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
ItsUtils.java
47
public static ByteBuffer jsonToByteBuffer(JSONObject
jsonObj
) {
48
return ByteBuffer.wrap(
jsonObj
.toString().getBytes(Charset.defaultCharset()));
ItsService.java
356
JSONObject
jsonObj
= new JSONObject();
366
jsonObj
.put("cameraProperties", ItsSerializer.serialize(
369
jsonObj
.put("captureRequest", ItsSerializer.serialize(
372
jsonObj
.put("captureResult", ItsSerializer.serialize(
375
jsonObj
.put("outputs", (JSONArray)obj);
383
mSocketRunnableObj.sendResponse(tag, null,
jsonObj
, null);
601
JSONObject
jsonObj
= new JSONObject();
602
jsonObj
.put("tag", tag);
604
jsonObj
.put("strValue", str);
607
jsonObj
.put("objValue", obj)
[
all
...]
ItsSerializer.java
471
JSONObject
jsonObj
= new JSONObject();
503
// value to the
jsonObj
when it is detected.
508
jsonObj
.put(entry.key, entry.value);
522
return
jsonObj
;
[
all
...]
/cts/tests/camera/src/android/hardware/camera2/cts/helpers/
CameraMetadataGetter.java
630
JSONObject
jsonObj
= new JSONObject();
668
// value to the
jsonObj
when it is detected.
674
jsonObj
.put(entry.key, entry.value);
688
return
jsonObj
;
/prebuilts/misc/common/android-support-test/espresso/
espresso-web-2.2.2-release-no-dep.jar
espresso-web-2.2.2-release.jar
Completed in 669 milliseconds