Home
last modified time | relevance | path

Searched refs:JSONArray (Results 1 – 25 of 929) sorted by relevance

12345678910>>...38

/aosp_15_r20/libcore/json/src/test/java/libcore/org/json/
H A DJSONArrayTest.java25 import org.json.JSONArray;
36 JSONArray array = new JSONArray(); in testEmptyArray()
60 assertNull(array.toJSONObject(new JSONArray())); in testEmptyArray()
64 JSONArray a = new JSONArray(); in testEqualsAndHashCode()
65 JSONArray b = new JSONArray(); in testEqualsAndHashCode()
82 JSONArray array = new JSONArray(); in testBooleans()
108 JSONArray other = new JSONArray(); in testBooleans()
117 other = new JSONArray(); in testBooleans()
132 JSONArray array = new JSONArray(); in testCoerceStringToBoolean()
144 JSONArray array = new JSONArray(); in testNulls()
[all …]
H A DJSONObjectTest.java35 import org.json.JSONArray;
53 assertNull(object.toJSONArray(new JSONArray())); in testEmptyObject()
461 JSONArray a = new JSONArray(); in testJSONObjects()
539 JSONArray names = new JSONArray(); in testToJSONArray()
544 JSONArray array = object.toJSONArray(names); in testToJSONArray()
559 JSONArray names = new JSONArray(); in testToJSONArrayMissingNames()
565 JSONArray array = object.toJSONArray(names); in testToJSONArrayMissingNames()
591 JSONArray array = new JSONArray(); in testToJSONArrayEndsUpEmpty()
602 JSONArray names = new JSONArray(); in testToJSONArrayNonString()
608 JSONArray array = object.toJSONArray(names); in testToJSONArrayNonString()
[all …]
/aosp_15_r20/external/mobly-snippet-lib/third_party/sl4a/src/main/java/com/google/android/mobly/snippet/util/
H A DAndroidUtil.java21 import org.json.JSONArray;
30 JSONArray names = extras.names(); in putExtrasFromJsonObject()
62 if (data instanceof JSONArray) { in putExtrasFromJsonObject()
64 if (((JSONArray) data).length() == 0) { in putExtrasFromJsonObject()
69 if (((JSONArray) data).get(0) instanceof Integer) { in putExtrasFromJsonObject()
70 Integer[] integerArrayData = new Integer[((JSONArray) data).length()]; in putExtrasFromJsonObject()
71 for (int j = 0; j < ((JSONArray) data).length(); ++j) { in putExtrasFromJsonObject()
72 integerArrayData[j] = ((JSONArray) data).getInt(j); in putExtrasFromJsonObject()
77 if (((JSONArray) data).get(0) instanceof Double) { in putExtrasFromJsonObject()
78 Double[] doubleArrayData = new Double[((JSONArray) data).length()]; in putExtrasFromJsonObject()
[all …]
/aosp_15_r20/packages/modules/AdServices/adservices/tests/unittest/service-core/measurement/src/com/android/adservices/service/measurement/registration/
DFetcherUtilTest.java48 import org.json.JSONArray;
237 JSONObject obj = new JSONObject().put(KEY, new JSONArray("[\"1\", \"2\"]")); in extractStringArray_stringArray_passes()
245 JSONObject obj = new JSONObject().put(KEY, new JSONArray("[\"1\", \"2\"]")); in extractStringArray_sizeTooBig_fails()
252 JSONObject obj = new JSONObject().put(KEY, new JSONArray("[\"1\", \"2345\"]")); in extractStringArray_stringTooLong_fails()
587 JSONArray filters = new JSONArray(json); in testAreValidAttributionFilters_filterSet_valid()
603 JSONArray filters = new JSONArray(json); in testAreValidAttributionFilters_removeSizeConstraints_valid()
636 JSONArray filters = new JSONArray(json); in areValidAttributionFilters_lookbackWindowAllowedAndValid_returnsTrue()
655 JSONArray filters = new JSONArray(json); in areValidAttributionFilters_validlLookbackWindowA_removeSizeConstraints_returnsTrue()
674 JSONArray filters = new JSONArray(json); in areValidAttributionFilters_lookbackWindowZeroDecimal_returnsTrue()
696 JSONArray filters = new JSONArray(json); in areValidAttributionFilters_lookbackWindowZeroDecimal_removeSizeConstraints_returnsTrue()
[all …]
/aosp_15_r20/packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/service/customaudience/
DScheduleCustomAudienceUpdateTestUtils.java58 import org.json.JSONArray;
123 public static final JSONArray CUSTOM_AUDIENCE_TO_LEAVE_JSON_ARRAY =
124 new JSONArray(List.of(LEAVE_CA_1, LEAVE_CA_2));
147 public static JSONArray getPartialCustomAudienceJsonArray() throws JSONException { in getPartialCustomAudienceJsonArray()
148 return new JSONArray(List.of(getPartialCustomAudience_1(), getPartialCustomAudience_2())); in getPartialCustomAudienceJsonArray()
179 JSONArray joinCustomAudienceArray = new JSONArray(); in createJsonResponsePayload()
202 JSONArray leaveCustomAudienceArray = new JSONArray(); in createJsonResponsePayload()
223 JSONArray joinCustomAudienceArray = new JSONArray(); in createJsonResponsePayloadWithInvalidExpirationTime()
242 JSONArray scheduleRequests, in createJsonResponsePayloadWithScheduleRequests()
249 JSONArray joinCustomAudienceArray = new JSONArray(); in createJsonResponsePayloadWithScheduleRequests()
[all …]
DAdditionalScheduleRequestsEnabledStrategyHelperTest.java70 import org.json.JSONArray;
267 JSONArray scheduleRequests = new JSONArray(List.of(scheduleRequest_1, scheduleRequest_2)); in testExtractScheduleRequestsFromResponse_Success()
281 JSONArray scheduleRequests = new JSONArray(List.of(new JSONArray(), scheduleRequest)); in testExtractScheduleRequestsFromResponse_UnableToParseOne()
294 JSONArray scheduleRequestArray = new JSONArray(List.of(new JSONArray(), new JSONArray())); in testExtractScheduleRequestsFromResponse_UnableToParseAnything_ReturnsEmptyList()
334 JSONArray partialCustomAudiences = in testExtractPartialCustomAudiencesFromRequest_UnableToParseOne()
335 new JSONArray(List.of(new JSONArray(), partialCustomAudience)); in testExtractPartialCustomAudiencesFromRequest_UnableToParseOne()
353 JSONArray partialCustomAudiences = new JSONArray(List.of(new JSONArray(), new JSONArray())); in testExtractPartialCustomAudiencesFromRequest_UnableToParseAnything_ReturnsEmptyList()
376 scheduleRequest.put(LEAVE_CUSTOM_AUDIENCE_KEY, new JSONArray()); in testExtractPartialCustomAudiencesFromRequest_NoPartialCustomAudiencesKey_ReturnsEmptyList()
402 JSONArray customAudiencesToLeave = new JSONArray(List.of("", LEAVE_CA_1)); in testExtractCustomAudiencesToLeaveFromRequest_UnableToParseOne()
421 JSONArray customAudiencesToLeave = new JSONArray(List.of("", "")); in testExtractCustomAudiencesToLeaveFromRequest_UnableToParseAnything_ReturnsEmptyList()
[all …]
/aosp_15_r20/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
H A DItsSerializer.java46 import org.json.JSONArray;
142 JSONArray cfgArray = new JSONArray(); in serializeStreamConfigurationMap()
193 JSONArray pairObj = new JSONArray(); in serializePair()
202 JSONArray rangeObj = new JSONArray(); in serializeRange()
211 JSONArray xformObj = new JSONArray(); in serializeColorSpaceTransform()
226 JSONArray curveArr = new JSONArray(); in serializeTonemapCurve()
240 JSONArray vecObj = new JSONArray(); in serializeRggbChannelVector()
253 JSONArray patObj = new JSONArray(); in serializeBlackLevelPattern()
271 JSONArray mapArr = new JSONArray(); in serializeLensShadingMap()
289 JSONArray top = new JSONArray(); in serializeIntrinsicsSamples()
[all …]
H A DIntraPreviewAction.java30 import org.json.JSONArray;
220 JSONArray mAeAwbRegionOne;
221 JSONArray mAeAwbRegionTwo;
222 JSONArray mAeAwbRegionThree;
223 JSONArray mAeAwbRegionFour;
230 JSONArray aeAwbRegionOne, in PreviewDynamicMeteringAction()
231 JSONArray aeAwbRegionTwo, in PreviewDynamicMeteringAction()
232 JSONArray aeAwbRegionThree, in PreviewDynamicMeteringAction()
233 JSONArray aeAwbRegionFour, in PreviewDynamicMeteringAction()
261 JSONArray[] aeAwbRegionRoutine = { in execute()
[all …]
/aosp_15_r20/packages/modules/AdServices/adservices/tests/unittest/service-core/measurement/src/com/android/adservices/service/measurement/aggregation/
DAggregatableAttributionTriggerTest.java33 import org.json.JSONArray;
136 "conversion_subdomain", new JSONArray(Arrays.asList("electronics.megastore"))); in createExampleWithValueConfigs()
137 filterMap.put("product", new JSONArray(Arrays.asList("1234", "2345"))); in createExampleWithValueConfigs()
138 JSONArray filterSet = new JSONArray(); in createExampleWithValueConfigs()
218 filterMap1.put("2", new JSONArray(Arrays.asList("1234", "234"))); in testGetNamedBudgets()
219 JSONArray filterSet1 = new JSONArray(); in testGetNamedBudgets()
228 filterMap2.put("2", new JSONArray(Arrays.asList("5678", "678"))); in testGetNamedBudgets()
229 JSONArray filterSet2 = new JSONArray(); in testGetNamedBudgets()
659 filterMap1.put("1", new JSONArray(Arrays.asList("1234", "234"))); in testExtractNamedBudget_bothNamedBudgetsHaveMatchingFilters()
660 JSONArray filterSet1 = new JSONArray(); in testExtractNamedBudget_bothNamedBudgetsHaveMatchingFilters()
[all …]
DAggregateDebugReportingTest.java26 import org.json.JSONArray;
90 JSONArray types = new JSONArray(Arrays.asList("source-noised", "source-unknown-error")); in buildFromJson_success()
92 obj.put("debug_data", new JSONArray(Arrays.asList(dataObj))); in buildFromJson_success()
122 JSONArray types = new JSONArray(Arrays.asList("source-noised")); in buildFromJson_nullKeyPiece()
124 obj.put("debug_data", new JSONArray(Arrays.asList(dataObj))); in buildFromJson_nullKeyPiece()
152 JSONArray types = new JSONArray(Arrays.asList("source-noised")); in buildFromJson_nullBudget()
154 obj.put("debug_data", new JSONArray(Arrays.asList(dataObj))); in buildFromJson_nullBudget()
182 JSONArray types = new JSONArray(Arrays.asList("source-noised")); in buildFromJson_nullAggregationCoordinatorOrigin()
184 obj.put("debug_data", new JSONArray(Arrays.asList(dataObj))); in buildFromJson_nullAggregationCoordinatorOrigin()
228 JSONArray types = new JSONArray(Arrays.asList("source-noised")); in buildFromJson_nullDebugDataKeyPiece()
[all …]
/aosp_15_r20/libcore/json/src/main/java/org/json/
H A DJSONArray.java50 public class JSONArray { class
58 public JSONArray() { in JSONArray() method in JSONArray
71 public JSONArray(Collection copyFrom) { in JSONArray() method in JSONArray
89 public JSONArray(JSONTokener readFrom) throws JSONException { in JSONArray() method in JSONArray
95 if (object instanceof JSONArray) { in JSONArray()
96 values = ((JSONArray) object).values; in JSONArray()
109 public JSONArray(String json) throws JSONException { in JSONArray() method in JSONArray
116 public JSONArray(Object array) throws JSONException { in JSONArray() method in JSONArray
139 public JSONArray put(boolean value) { in put()
151 public JSONArray put(double value) throws JSONException { in put()
[all …]
H A DJSONObject.java315 if (current instanceof JSONArray) { in accumulate()
316 JSONArray array = (JSONArray) current; in accumulate()
319 JSONArray array = new JSONArray(); in accumulate()
339 final JSONArray array; in append()
340 if (current instanceof JSONArray) { in append()
341 array = (JSONArray) current; in append()
343 JSONArray newArray = new JSONArray(); in append()
592 @NonNull public JSONArray getJSONArray(@NonNull String name) throws JSONException { in getJSONArray()
594 if (object instanceof JSONArray) { in getJSONArray()
595 return (JSONArray) object; in getJSONArray()
[all …]
/aosp_15_r20/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
H A DCameraMetadataGetter.java53 import org.json.JSONArray;
307 JSONArray cfgArray = new JSONArray(); in serializeStreamConfigurationMap()
345 JSONArray pairObj = new JSONArray(); in serializePair()
354 JSONArray rangeObj = new JSONArray(); in serializeRange()
363 JSONArray xformObj = new JSONArray(); in serializeColorSpaceTransform()
379 JSONArray curveArr = new JSONArray(); in serializeTonemapCurve()
393 JSONArray vecObj = new JSONArray(); in serializeRggbChannelVector()
406 JSONArray patObj = new JSONArray(); in serializeBlackLevelPattern()
423 JSONArray mapObj = new JSONArray(); in serializeLensShadingMap()
540 return new MetadataEntry(keyName, new JSONArray(keyValue)); in serializeArrayEntry()
[all …]
/aosp_15_r20/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
H A DAndroidFacade.java62 import org.json.JSONArray;
215 JSONArray names = extras.names(); in putExtrasFromJsonObject()
247 if (data instanceof JSONArray) { in putExtrasFromJsonObject()
249 if (((JSONArray) data).length() == 0) { in putExtrasFromJsonObject()
254 if (((JSONArray) data).get(0) instanceof Integer) { in putExtrasFromJsonObject()
255 Integer[] integerArrayData = new Integer[((JSONArray) data).length()]; in putExtrasFromJsonObject()
256 for (int j = 0; j < ((JSONArray) data).length(); ++j) { in putExtrasFromJsonObject()
257 integerArrayData[j] = ((JSONArray) data).getInt(j); in putExtrasFromJsonObject()
262 if (((JSONArray) data).get(0) instanceof Double) { in putExtrasFromJsonObject()
263 Double[] doubleArrayData = new Double[((JSONArray) data).length()]; in putExtrasFromJsonObject()
[all …]
/aosp_15_r20/packages/modules/AdServices/adservices/tests/unittest/service-core/measurement/src/com/android/adservices/service/measurement/attribution/
DXnaSourceCreatorTest.java39 import org.json.JSONArray;
76 JSONArray filters = in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources()
77 new JSONArray( in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources()
101 new JSONArray( in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources()
126 new JSONArray( in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources()
152 new JSONArray(Arrays.asList("key2", "key3")).toString()) in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources()
176 new JSONArray(Arrays.asList("key2", "key3")).toString()) in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources()
193 new JSONArray(Collections.singletonList("key1")).toString()) in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources()
215 new JSONArray(Collections.singletonList("key1")).toString()) in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources()
313 JSONArray filters = in generateDerivedSources_sharedDebugKeyDisabled_doesntAddDebugKeyToDerivedSource()
[all …]
/aosp_15_r20/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DAfcServerResponseTest.java21 import org.json.JSONArray;
70 public JSONArray buildAvailableFrequencyInfoArray() { in buildAvailableFrequencyInfoArray()
72 JSONArray availableFrequencyInfo = new JSONArray(); in buildAvailableFrequencyInfoArray()
105 private JSONArray buildAvailableChannelInfoArray() { in buildAvailableChannelInfoArray()
114 JSONArray availableChannelInfo = new JSONArray(); in buildAvailableChannelInfoArray()
120 JSONArray channelCfisJSON1 = new JSONArray(); in buildAvailableChannelInfoArray()
121 JSONArray maxEirpsJSON1 = new JSONArray(); in buildAvailableChannelInfoArray()
122 JSONArray channelCfisJSON2 = new JSONArray(); in buildAvailableChannelInfoArray()
123 JSONArray maxEirpsJSON2 = new JSONArray(); in buildAvailableChannelInfoArray()
154 availableSpectrumInquiryResponse.put("availableFrequencyInfo", new JSONArray()); in buildSuccessfulSpectrumInquiryResponseWithEmptyFrequencyInfo()
[all …]
/aosp_15_r20/cts/libs/input/src/com/android/cts/input/
H A DInputJsonParser.java30 import org.json.JSONArray;
94 private JSONArray getJsonArrayFromResource(int resourceId) { in getJsonArrayFromResource()
97 return new JSONArray(data); in getJsonArrayFromResource()
209 private List<Long> getLongList(JSONArray array) { in getLongList()
221 private List<Integer> getIntList(JSONArray array) { in getIntList()
268 JSONArray json = getJsonArrayFromResource(resourceId); in getHidTestData()
276 JSONArray reports = testcaseEntry.getJSONArray("reports"); in getHidTestData()
284 JSONArray events = testcaseEntry.getJSONArray("events"); in getHidTestData()
301 JSONArray json = getJsonArrayFromResource(resourceId); in getHidVibratorTestData()
310 JSONArray durationsArray = testcaseEntry.getJSONArray("durations"); in getHidVibratorTestData()
[all …]
/aosp_15_r20/packages/modules/AdServices/adservices/tests/unittest/service-core/measurement/src/com/android/adservices/service/measurement/
DTriggerTest.java42 import org.json.JSONArray;
106 JSONArray aggregateTriggerDatas = new JSONArray(); in testEqualsPass()
236 JSONArray aggregateTriggerDataList1 = new JSONArray(); in testEqualsFail()
241 JSONArray aggregateTriggerDataList2 = new JSONArray(); in testEqualsFail()
273 JSONArray attributionConfigList1 = new JSONArray(); in testEqualsFail()
291 JSONArray attributionConfigList2 = new JSONArray(); in testEqualsFail()
554 JSONArray triggerDatas = new JSONArray(); in testParseAggregateTrigger()
557 jsonObject1.put("source_keys", new JSONArray(Arrays.asList("campaignCounts"))); in testParseAggregateTrigger()
563 jsonObject2.put("source_keys", new JSONArray(Arrays.asList("geoValue", "noMatch"))); in testParseAggregateTrigger()
572 JSONArray aggregateDedupKeys = new JSONArray(); in testParseAggregateTrigger()
[all …]
/aosp_15_r20/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/
DAsyncTriggerFetcher.java58 import org.json.JSONArray;
430 String eventTriggerData = new JSONArray().toString(); in parseValidateTrigger()
484 && !(maybeValidAggregatableValues instanceof JSONArray); in parseValidateTrigger()
486 (maybeValidAggregatableValues instanceof JSONArray) in parseValidateTrigger()
506 (JSONArray) maybeValidAggregatableValues, in parseValidateTrigger()
537 JSONArray filters = Filter.maybeWrapFilters(json, FilterContract.FILTERS); in parseValidateTrigger()
552 JSONArray notFilters = Filter.maybeWrapFilters(json, FilterContract.NOT_FILTERS); in parseValidateTrigger()
722 if (!(namedBudgetsObj instanceof JSONArray)) { in parseValidateTrigger()
732 JSONArray namedBudgetsArray = (JSONArray) namedBudgetsObj; in parseValidateTrigger()
777 private Optional<String> parseNamedBudgets(JSONArray namedBudgetsArray) throws JSONException { in parseNamedBudgets()
[all …]
/aosp_15_r20/frameworks/base/services/core/java/com/android/server/rollback/
H A DRollbackStore.java40 import org.json.JSONArray;
112 private static @NonNull List<Integer> toIntList(@NonNull JSONArray jsonArray) in toIntList()
125 private static @NonNull JSONArray fromIntList(@NonNull List<Integer> list) { in fromIntList()
126 JSONArray jsonArray = new JSONArray(); in fromIntList()
134 private static @NonNull JSONArray convertToJsonArray(@NonNull List<RestoreInfo> list) in convertToJsonArray()
136 JSONArray jsonArray = new JSONArray(); in convertToJsonArray()
149 @NonNull JSONArray array) throws JSONException { in convertToRestoreInfoArray()
163 private static @NonNull JSONArray extensionVersionsToJson( in extensionVersionsToJson()
165 JSONArray array = new JSONArray(); in extensionVersionsToJson()
175 private static @NonNull SparseIntArray extensionVersionsFromJson(JSONArray json) in extensionVersionsFromJson()
[all …]
/aosp_15_r20/packages/modules/Wifi/service/java/com/android/server/wifi/
DHalDeviceManagerUtil.java23 import org.json.JSONArray;
63 JSONArray availableModesJson = new JSONArray(); in staticChipInfoToJson()
74 JSONArray modesJson = jsonObject.getJSONArray(KEY_AVAILABLE_MODES); in jsonToStaticChipInfo()
88 JSONArray availableCombinationsJson = new JSONArray(); in chipModeToJson()
98 JSONArray availableCombinationsJson = in jsonToChipMode()
112 JSONArray limitsJson = new JSONArray(); in chipConcurrencyCombinationToJson()
123 JSONArray limitsJson = jsonObject.getJSONArray(KEY_CONCURRENCY_LIMITS); in jsonToChipConcurrencyCombination()
138 jsonObject.put(KEY_TYPES, new JSONArray(limit.types)); in chipConcurrencyCombinationLimitToJson()
145 JSONArray limitsJson = jsonObject.getJSONArray(KEY_TYPES); in jsonToChipConcurrencyCombinationLimit()
/aosp_15_r20/packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/service/signals/updateprocessors/
DAppendTest.java45 import org.json.JSONArray;
82 JSONArray valuesJson = new JSONArray(); in testAppendSingle()
103 JSONArray valuesJson = new JSONArray(); in testAppendMultipleValues()
127 JSONArray valuesJson1 = new JSONArray(); in testAppendMultipleKeys()
131 JSONArray valuesJson2 = new JSONArray(); in testAppendMultipleKeys()
160 JSONArray valuesJson = new JSONArray(); in testOverwriteExisting()
187 JSONArray valuesJson = new JSONArray(); in testOverwriteMultipleExisting()
218 JSONArray valuesJson = new JSONArray(); in testAddToExisting()
245 JSONArray valuesJson = new JSONArray(); in testBadMaxValueThrowsException()
/aosp_15_r20/tools/tradefederation/core/javatests/com/android/tradefed/util/
DSl4aBluetoothUtilTest.java48 import org.json.JSONArray;
150 .thenReturn(new JSONArray("[{address: address_1}, {address: address_2}]")); in testGetBondedDevices()
163 .thenReturn(new JSONArray("[{address: address_2}]")); in testPair_alreadyPaired()
178 .thenReturn(new JSONArray("[]")) in testPair_success()
179 .thenReturn(new JSONArray("[]")) in testPair_success()
180 .thenReturn(new JSONArray("[]")) in testPair_success()
181 .thenReturn(new JSONArray("[{address: address_2}]")); in testPair_success()
196 .thenReturn(new JSONArray("[]")); in testPair_timeout()
205 .thenReturn(new JSONArray("[{address: address_1}, {address: address_2}]")) in testUnpair_success()
206 .thenReturn(new JSONArray("[]")); in testUnpair_success()
[all …]
/aosp_15_r20/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/entitlement/response/
DGetImsiPseudonymResponseTest.java32 import org.json.JSONArray;
62 JSONArray bodyArray = (new JSONArray()).put(body1).put(body2); in responseBodyCorrectWithRefreshInterval()
85 JSONArray bodyArray = (new JSONArray()).put(body1).put(body2); in responseBodyCorrectWithoutRefreshInterval()
117 JSONArray bodyArray = (new JSONArray()).put(body1).put(body2); in responseBodyInvalidRequest()
138 JSONArray bodyArray = (new JSONArray()).put(body1).put(body2); in responseBodyAuthFailed()
152 JSONArray bodyArray = (new JSONArray()).put(body2); in responseBodyWrongMessageId()
166 JSONArray bodyArray = (new JSONArray()).put(body2); in responseBodyServerError()
/aosp_15_r20/external/autotest/frontend/client/src/autotest/tko/
H A DTestGroupDataSource.java7 import com.google.gwt.json.client.JSONArray;
26 private JSONArray groupByFields;
27 private JSONArray headerGroups;
28 private JSONArray headerGroupValues;
74 groupByFields = new JSONArray(); in setGroupColumns()
82 groupByFields = new JSONArray(); in setHeaderGroups()
83 headerGroups = new JSONArray(); in setHeaderGroups()
97 JSONArray headerList = headerGroupValues.get(groupIndex).isArray(); in getHeaderGroupValues()
99 for (JSONArray header : new JSONArrayList<JSONArray>(headerList)) { in getHeaderGroupValues()

12345678910>>...38