OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:JSONObject
(Results
151 - 175
of
267
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
BluetoothMapMessage.java
21
import org.json.
JSONObject
;
176
JSONObject
json = new
JSONObject
();
/packages/apps/Email/tests/src/com/android/emailcommon/provider/
AccountTest.java
23
import org.json.
JSONObject
;
29
final
JSONObject
json = new
JSONObject
();
/external/autotest/frontend/client/src/autotest/common/table/
DynamicTable.java
10
import com.google.gwt.json.client.
JSONObject
;
214
protected void addFilterParams(
JSONObject
params) {
236
JSONObject
params = new
JSONObject
();
273
public void handlePage(List<
JSONObject
> data) {
354
public void onError(
JSONObject
errorObject) {
/libcore/json/src/test/java/org/json/
JSONStringerTest.java
34
stringer.value(
JSONObject
.NULL);
227
assertEquals("\"" + escaped + "\"",
JSONObject
.quote(original));
241
JSONObject
object = new
JSONObject
();
327
JSONObject
object = new
JSONObject
();
JSONArrayTest.java
141
array.put(0,
JSONObject
.NULL);
146
assertEquals(
JSONObject
.NULL, array.get(0));
162
assertEquals(
JSONObject
.NULL, array.opt(0));
184
assertEquals(
JSONObject
.NULL, array.get(1));
310
array.put(new
JSONObject
(Collections.singletonMap("x", 6)));
333
JSONObject
object = values.toJSONObject(keys);
352
JSONObject
object = values.toJSONObject(keys);
364
JSONObject
object = values.toJSONObject(keys);
375
JSONObject
object = values.toJSONObject(keys);
382
keys.put(
JSONObject
.NULL)
[
all
...]
/external/autotest/frontend/client/src/autotest/afe/
HostTableDecorator.java
14
import com.google.gwt.json.client.
JSONObject
;
68
JSONObject
user = users.get(i).isObject();
UserPreferencesView.java
14
import com.google.gwt.json.client.
JSONObject
;
34
private
JSONObject
user;
126
JSONObject
values = new
JSONObject
();
/external/autotest/frontend/client/src/autotest/tko/
MetricsPlotFrontend.java
13
import com.google.gwt.json.client.
JSONObject
;
195
protected void addAdditionalEmbeddingParams(
JSONObject
params) {
223
private
JSONObject
buildQueries() {
225
JSONObject
queries = new
JSONObject
();
320
protected
JSONObject
buildParams() {
321
JSONObject
queries = buildQueries();
331
JSONObject
jsonParams = Utils.mapToJsonObject(params);
ParameterizedField.java
6
import com.google.gwt.json.client.
JSONObject
;
90
public void addQueryParameters(
JSONObject
parameters) {
CommonPanel.java
10
import com.google.gwt.json.client.
JSONObject
;
156
public
JSONObject
getConditionArgs() {
164
JSONObject
conditionArgs = new
JSONObject
();
173
private void addIfNonempty(
JSONObject
conditionArgs, String key, String value) {
TableView.java
27
import com.google.gwt.json.client.
JSONObject
;
313
JSONObject
condition = commonPanel.getConditionArgs();
329
public void onRowClicked(int rowIndex,
JSONObject
row, boolean isRightClick) {
383
private TestSet getTestSet(
JSONObject
row) {
400
private TestSet getTestSet(Collection<
JSONObject
> selectedObjects) {
402
for (
JSONObject
row : selectedObjects) {
539
public Widget createWidget(int row, int cell,
JSONObject
rowObject) {
569
JSONObject
extraParams = new
JSONObject
();
ExistingGraphsFrontend.java
16
import com.google.gwt.json.client.
JSONObject
;
44
private
JSONObject
hostsAndTests = null;
102
rpcProxy.rpcCall("get_hosts_and_tests", new
JSONObject
(), new JsonRpcCallback() {
176
protected void addAdditionalEmbeddingParams(
JSONObject
params) {
279
JSONObject
hostObject = value.isObject();
291
JSONObject
benchmarkKey =
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
CommonIntentsFacade.java
34
import org.json.
JSONObject
;
81
@RpcParameter(name = "extras", description = "a Map of extras to add to the Intent") @RpcOptional
JSONObject
extras)
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/service/
MessageHandler.java
17
import org.json.
JSONObject
;
99
JSONObject
json;
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
WebAsset.java
19
import org.json.
JSONObject
;
120
protected static WebAsset create(
JSONObject
asset)
/development/samples/Vault/src/com/example/android/vault/
VaultProvider.java
44
import org.json.
JSONObject
;
237
final
JSONObject
meta = doc.readMetadata();
271
final
JSONObject
meta = parentDoc.readMetadata();
313
final
JSONObject
parentMeta = parentDoc.readMetadata();
338
final
JSONObject
meta = new
JSONObject
();
359
final
JSONObject
meta = doc.readMetadata();
397
final
JSONObject
meta = doc.readMetadata();
424
final
JSONObject
meta = parentDoc.readMetadata();
479
final
JSONObject
meta = doc.readMetadata()
[
all
...]
EncryptedDocument.java
26
import org.json.
JSONObject
;
135
public
JSONObject
readMetadata() throws IOException, GeneralSecurityException {
149
final
JSONObject
meta = new
JSONObject
(rawMeta);
210
public void writeMetadataAndContent(
JSONObject
meta, ParcelFileDescriptor contentIn)
/cts/common/device-side/util/tests/src/com/android/compatibility/common/util/
DeviceReportTest.java
29
import org.json.
JSONObject
;
136
JSONObject
jsonObject
= new
JSONObject
(metrics);
138
jsonObject
.getJSONObject(STREAM_NAME_1).getDouble(TEST_MESSAGE_1) == TEST_VALUE_1);
140
jsonObject
.getJSONObject(STREAM_NAME_2).getDouble(TEST_MESSAGE_2) == TEST_VALUE_2);
148
jsonObject
= new
JSONObject
(metrics);
150
jsonObject
.getJSONObject(STREAM_NAME_3).getDouble(TEST_MESSAGE_3) == TEST_VALUE_3);
152
jsonObject
.getJSONObject(STREAM_NAME_4).getDouble(TEST_MESSAGE_4) == TEST_VALUE_4)
[
all
...]
/developers/build/prebuilts/gradle/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/model/
MusicProvider.java
26
import org.json.
JSONObject
;
224
JSONObject
jsonObj = fetchJSONFromUrl(CATALOG_URL);
250
private MediaMetadata buildFromJSON(
JSONObject
json, String basePath) throws JSONException {
296
* @return result
JSONObject
containing the parsed representation.
298
private
JSONObject
fetchJSONFromUrl(String urlString) {
311
return new
JSONObject
(sb.toString());
/developers/samples/android/media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/model/
MusicProvider.java
26
import org.json.
JSONObject
;
224
JSONObject
jsonObj = fetchJSONFromUrl(CATALOG_URL);
250
private MediaMetadata buildFromJSON(
JSONObject
json, String basePath) throws JSONException {
296
* @return result
JSONObject
containing the parsed representation.
298
private
JSONObject
fetchJSONFromUrl(String urlString) {
311
return new
JSONObject
(sb.toString());
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/model/
MusicProvider.java
26
import org.json.
JSONObject
;
224
JSONObject
jsonObj = fetchJSONFromUrl(CATALOG_URL);
250
private MediaMetadata buildFromJSON(
JSONObject
json, String basePath) throws JSONException {
296
* @return result
JSONObject
containing the parsed representation.
298
private
JSONObject
fetchJSONFromUrl(String urlString) {
311
return new
JSONObject
(sb.toString());
/external/sl4a/Utils/src/com/googlecode/android_scripting/
SimpleServer.java
22
import org.json.
JSONObject
;
298
JSONObject
request = new
JSONObject
(data);
302
JSONObject
result = new
JSONObject
();
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
AutomaticActivity.java
29
import org.json.
JSONObject
;
139
JSONObject
mOutputJson = null;
140
JSONObject
mInputJson = null;
164
mInputJson = new
JSONObject
(content.toString());
174
mOutputJson = new
JSONObject
();
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/model/
MusicProvider.java
25
import org.json.
JSONObject
;
226
JSONObject
jsonObj = fetchJSONFromUrl(CATALOG_URL);
252
private MediaMetadataCompat buildFromJSON(
JSONObject
json, String basePath) throws JSONException {
298
* @return result
JSONObject
containing the parsed representation.
300
private
JSONObject
fetchJSONFromUrl(String urlString) {
313
return new
JSONObject
(sb.toString());
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
MockListener.java
30
import org.json.
JSONObject
;
71
private ArrayMap<String,
JSONObject
> mNotifications = new ArrayMap<>();
119
for (
JSONObject
payload: mNotifications.values()) {
203
JSONObject
note = mNotifications.get(key);
221
JSONObject
notification = new
JSONObject
();
Completed in 1052 milliseconds
1
2
3
4
5
6
7
8
9
10
11