OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getJSONObject
(Results
1 - 25
of
108
) sorted by null
1
2
3
4
5
/tools/loganalysis/tests/src/com/android/loganalysis/item/
WakelockItemTest.java
50
assertTrue(wakelockInfo.
getJSONObject
(0).has(WakelockInfoItem.NAME));
51
assertTrue(wakelockInfo.
getJSONObject
(0).has(WakelockInfoItem.PROCESS_UID));
52
assertTrue(wakelockInfo.
getJSONObject
(0).has(WakelockInfoItem.HELD_TIME));
53
assertTrue(wakelockInfo.
getJSONObject
(0).has(WakelockInfoItem.LOCKED_COUNT));
54
assertTrue(wakelockInfo.
getJSONObject
(0).has(WakelockInfoItem.CATEGORY));
56
assertTrue(wakelockInfo.
getJSONObject
(1).has(WakelockInfoItem.NAME));
57
assertFalse(wakelockInfo.
getJSONObject
(1).has(WakelockInfoItem.PROCESS_UID));
58
assertTrue(wakelockInfo.
getJSONObject
(1).has(WakelockInfoItem.HELD_TIME));
59
assertTrue(wakelockInfo.
getJSONObject
(1).has(WakelockInfoItem.LOCKED_COUNT));
60
assertTrue(wakelockInfo.
getJSONObject
(1).has(WakelockInfoItem.CATEGORY))
[
all
...]
LocationDumpsItemTest.java
48
assertTrue(locationClients.
getJSONObject
(0).has(LocationInfoItem.PACKAGE));
49
assertTrue(locationClients.
getJSONObject
(0).has(LocationInfoItem.EFFECTIVE_INTERVAL));
50
assertTrue(locationClients.
getJSONObject
(0).has(LocationInfoItem.MIN_INTERVAL));
51
assertTrue(locationClients.
getJSONObject
(0).has(LocationInfoItem.MAX_INTERVAL));
52
assertTrue(locationClients.
getJSONObject
(0).has(LocationInfoItem.REQUEST_PRIORITY));
53
assertTrue(locationClients.
getJSONObject
(0).has(LocationInfoItem.LOCATION_DURATION));
55
assertTrue(locationClients.
getJSONObject
(1).has(LocationInfoItem.PACKAGE));
56
assertTrue(locationClients.
getJSONObject
(1).has(LocationInfoItem.EFFECTIVE_INTERVAL));
57
assertTrue(locationClients.
getJSONObject
(1).has(LocationInfoItem.MIN_INTERVAL));
58
assertTrue(locationClients.
getJSONObject
(1).has(LocationInfoItem.MAX_INTERVAL))
[
all
...]
BatteryDischargeItemTest.java
49
assertTrue(dischargeInfo.
getJSONObject
(0).has(BatteryDischargeInfoItem.BATTERY_LEVEL));
50
assertTrue(dischargeInfo.
getJSONObject
(0).has(
52
assertTrue(dischargeInfo.
getJSONObject
(0).has(
DumpsysPackageStatsItemTest.java
40
JSONObject appVersionsJson = output.
getJSONObject
(DumpsysPackageStatsItem.APP_VERSIONS);
44
appVersionsJson.
getJSONObject
("com.google.android.calculator");
48
appVersionsJson.
getJSONObject
("com.google.android.googlequicksearchbox");
InterruptItemTest.java
48
assertTrue(interruptsInfo.
getJSONObject
(0).has(InterruptInfoItem.NAME));
49
assertTrue(interruptsInfo.
getJSONObject
(0).has(InterruptInfoItem.CATEGORY));
50
assertTrue(interruptsInfo.
getJSONObject
(0).has(InterruptInfoItem.INTERRUPT_COUNT));
BatteryUsageItemTest.java
47
assertTrue(usage.
getJSONObject
(0).has(BatteryUsageInfoItem.NAME));
48
assertTrue(usage.
getJSONObject
(0).has(BatteryUsageInfoItem.USAGE));
50
assertTrue(usage.
getJSONObject
(1).has(BatteryUsageInfoItem.NAME));
51
assertTrue(usage.
getJSONObject
(1).has(BatteryUsageInfoItem.USAGE));
MemInfoItemTest.java
45
JSONObject lines = output.
getJSONObject
(MemInfoItem.LINES);
SystemPropsItemTest.java
45
JSONObject lines = output.
getJSONObject
(SystemPropsItem.LINES);
ProcrankItemTest.java
51
JSONObject line = lines.
getJSONObject
(0);
/cts/tests/tests/graphics/src/android/graphics/cts/
VulkanFeaturesTest.java
185
mBestDevice.
getJSONObject
("samplerYcbcrConversionFeatures")
210
Log.d(TAG, device.
getJSONObject
("properties").getString("deviceName") +
226
JSONObject features = device.
getJSONObject
("features");
259
boolean variablePointers = device.
getJSONObject
("VK_KHR_variable_pointers")
260
.
getJSONObject
("variablePointerFeaturesKHR")
262
JSONObject limits = device.
getJSONObject
("properties").
getJSONObject
("limits");
265
Log.d(TAG, device.
getJSONObject
("properties").getString("deviceName") +
275
return device.
getJSONObject
("properties").getInt("apiVersion");
314
JSONObject ext = extensions.
getJSONObject
(i)
[
all
...]
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/xml/
XmlMessageBuilder.java
139
payload = outerMessage.
getJSONObject
(OUTER_FIELD_PAYLOAD);
209
JSONObject jsonObj = body.
getJSONObject
(
233
JSONObject jsonObj = body.
getJSONObject
(
256
jsonOptions = body.
getJSONObject
(MESSAGE_CONTAINER_NAME_OPTIONS);
258
JSONObject inEnc = jsonOptions.
getJSONObject
(
260
JSONObject outEnc = jsonOptions.
getJSONObject
(
269
JSONObject enc = inEnc.
getJSONObject
(ENCODING_SUBFIELD_ENCODING);
275
JSONObject enc = inEncodings.
getJSONObject
(i);
285
JSONObject enc = outEnc.
getJSONObject
(ENCODING_SUBFIELD_ENCODING);
291
JSONObject enc = outEncodings.
getJSONObject
(i)
[
all
...]
/development/samples/Wiktionary/src/com/example/android/wiktionary/
SimpleWikiHelper.java
149
JSONObject query = response.
getJSONObject
("query");
150
JSONObject pages = query.
getJSONObject
("pages");
151
JSONObject page = pages.
getJSONObject
((String) pages.keys().next());
153
JSONObject revision = revisions.
getJSONObject
(0);
ExtendedWikiHelper.java
209
JSONObject query = response.
getJSONObject
("query");
211
JSONObject word = random.
getJSONObject
(0);
/development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/
SimpleWikiHelper.java
156
JSONObject query = response.
getJSONObject
("query");
157
JSONObject pages = query.
getJSONObject
("pages");
158
JSONObject page = pages.
getJSONObject
((String) pages.keys().next());
160
JSONObject revision = revisions.
getJSONObject
(0);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
MetadataEntryParser.java
156
final JSONObject uniqueContactJSON = root.
getJSONObject
(UNIQUE_CONTACT_ID);
160
final JSONObject contactPrefs = root.
getJSONObject
(CONTACT_PREFS);
173
final JSONObject aggregationData = aggregationDatas.
getJSONObject
(i);
180
final JSONObject rawContact1 = contacts.
getJSONObject
(0);
182
final JSONObject rawContact2 = contacts.
getJSONObject
(1);
201
final JSONObject fieldData = fieldDatas.
getJSONObject
(i);
206
final JSONObject fieldDataPrefs = fieldData.
getJSONObject
(FIELD_DATA_PREFS);
214
final JSONObject usageStat = usageStats.
getJSONObject
(j);
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/
VulkanDeviceInfo.java
360
JSONObject deviceGroup = deviceGroups.
getJSONObject
(deviceGroupIdx);
376
JSONObject device = devices.
getJSONObject
(deviceIdx);
379
JSONObject properties = device.
getJSONObject
(KEY_PROPERTIES);
390
JSONObject limits = properties.
getJSONObject
(KEY_LIMITS);
[
all
...]
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/
WifiJsonParser.java
114
JSONObject jIe = jIes.
getJSONObject
(i);
127
JSONObject jRinfo = jRinfos.
getJSONObject
(i);
152
scanResults.add(getScanResult(j.
getJSONObject
(i)));
/cts/hostsidetests/seccomp/app/src/android/seccomp/cts/app/
SeccompDeviceTest.java
64
JSONObject map = mAllowedSyscallMap.
getJSONObject
(getCurrentArch());
74
JSONObject map = mBlockedSyscallMap.
getJSONObject
(getCurrentArch());
/cts/common/device-side/util/tests/src/com/android/compatibility/common/util/
DeviceReportTest.java
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);
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);
/test/suite_harness/common/util/src/com/android/compatibility/common/util/
BusinessLogicFactory.java
100
JSONObject jsonRulesList = jsonRulesLists.
getJSONObject
(i);
136
JSONObject ruleJSONObject = rulesJSONArray.
getJSONObject
(j);
160
JSONObject ruleConditionJSONObject = ruleConditionsJSONArray.
getJSONObject
(i);
191
JSONObject ruleActionJSONObject = ruleActionsJSONArray.
getJSONObject
(i);
/developers/build/prebuilts/gradle/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/
Recipe.java
75
+ ingredients.
getJSONObject
(i).getString(Constants.RECIPE_FIELD_TEXT) + "\n";
80
JSONObject step = steps.
getJSONObject
(i);
/developers/samples/android/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/
Recipe.java
75
+ ingredients.
getJSONObject
(i).getString(Constants.RECIPE_FIELD_TEXT) + "\n";
80
JSONObject step = steps.
getJSONObject
(i);
/development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/
Recipe.java
75
+ ingredients.
getJSONObject
(i).getString(Constants.RECIPE_FIELD_TEXT) + "\n";
80
JSONObject step = steps.
getJSONObject
(i);
/packages/services/Car/service/src/com/android/car/storagemonitoring/
WearEstimateRecord.java
53
mOldWearEstimate = new WearEstimate(json.
getJSONObject
("oldWearEstimate"));
54
mNewWearEstimate = new WearEstimate(json.
getJSONObject
("newWearEstimate"));
/test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/
DynamicConfigHandler.java
72
configObject = rootObj.
getJSONObject
("dynamicConfigEntries");
80
JSONArray jsonValues = configObject.
getJSONObject
(key).getJSONArray("configValues");
Completed in 792 milliseconds
1
2
3
4
5