/tools/loganalysis/tests/src/com/android/loganalysis/rule/ |
D | ProcessUsageRuleTest.java | 75 assertEquals(analysis.getString("ALARM_USAGE_ANALYSIS"), in testAlarmAnalysis() 78 assertEquals(analysis.getString("SENSOR_USAGE_ANALYSIS"), in testAlarmAnalysis() 104 assertEquals(analysis.getString("SENSOR_USAGE_ANALYSIS"), in testSensorAnalysis() 108 assertEquals(analysis.getString("ALARM_USAGE_ANALYSIS"), in testSensorAnalysis()
|
D | InterruptRuleTest.java | 69 assertEquals(analysis.getString("INTERRUPT_ANALYSIS"), in testInterruptAnalysis() 88 assertEquals(analysis.getString("INTERRUPT_ANALYSIS"), in testNoSignificantInterruptAnalysis() 98 assertEquals(analysis.getString("INTERRUPT_ANALYSIS"), in testMissingInterruptAnalysis()
|
D | LocationUsageRuleTest.java | 70 assertEquals(analysis.getString("LOCATION_USAGE_ANALYSIS"), in testLocationUsageAnalysis() 87 assertEquals(analysis.getString("LOCATION_USAGE_ANALYSIS"), in testNoSignificantLocationUsageAnalysis() 97 assertEquals(analysis.getString("LOCATION_USAGE_ANALYSIS"), in testNoLocationUsageAnalysis()
|
D | WifiStatsRuleTest.java | 65 assertEquals(analysis.getString("WIFI_STATS"), in testWifiDisconnectAnalysis() 82 assertEquals(analysis.getString("WIFI_STATS"), in testWifiScanAnalysis() 99 assertEquals(analysis.getString("WIFI_STATS"), in testWifiAssociationAnalysis()
|
D | WakelockRuleTest.java | 73 assertEquals(analysis.getString("WAKELOCK_ANALYSIS"), in testWakelockAnalysis() 95 assertEquals(analysis.getString("WAKELOCK_ANALYSIS"), in testNoSignificantWakelockAnalysis() 105 assertEquals(analysis.getString("WAKELOCK_ANALYSIS"), in testNoWakelockAnalysis()
|
/tools/tradefederation/core/util-apps/WifiUtil/src/com/android/tradefed/utils/wifi/ |
D | WifiUtil.java | 82 String val = mArguments.getString(arg); in expectString() 98 private String getString(String arg, String defaultValue) { in getString() method in WifiUtil 99 String val = mArguments.getString(arg); in getString() 245 final String url = getString("urlToCheck", DEFAULT_URL_TO_CHECK); in onStart() 252 final String psk = getString("psk", null); in onStart() 253 final String pingUrl = getString("urlToCheck", DEFAULT_URL_TO_CHECK); in onStart() 269 final String urlToCheck = getString("urlToCheck", DEFAULT_URL_TO_CHECK); in onStart()
|
D | WifiConnector.java | 370 final String ssid = prefs.getString("ssid", null); in reconnectToLastNetwork() 371 final String psk = prefs.getString("psk", null); in reconnectToLastNetwork()
|
/tools/tradefederation/core/remote/src/com/android/tradefed/command/remote/ |
D | GetLastCommandResultOp.java | 57 return new GetLastCommandResultOp(json.getString(SERIAL)); in createFromJson() 83 String statusString = json.getString(STATUS); in unpackResponseFromJson() 107 final String key = runMetricJson.getString(RUN_METRICS_KEY); in unpackResponseFromJson() 108 final String value = runMetricJson.getString(RUN_METRICS_VALUE); in unpackResponseFromJson()
|
D | AddCommandFileOp.java | 48 String cmdFile = jsonData.getString(COMMAND_FILE); in createFromJson() 52 argList.add(argArray.getString(i)); in createFromJson()
|
D | RemoteOperation.java | 66 OperationType op = OperationType.valueOf(jsonData.getString(TYPE)); in createRemoteOpFromString() 165 throw new RemoteException(jsonData.getString(ERROR)); in unpackResponseFromString()
|
D | AllocateDeviceOp.java | 43 return new AllocateDeviceOp(json.getString(SERIAL)); in createFromJson()
|
D | FreeDeviceOp.java | 44 return new FreeDeviceOp(json.getString(SERIAL)); in createFromJson()
|
D | AddCommandOp.java | 49 commandArgs[i] = jsonArgs.getString(i); in createFromJson()
|
/tools/loganalysis/tests/src/com/android/loganalysis/item/ |
D | DumpsysPackageStatsItemTest.java | 46 assertEquals("7.3 (3821978)", calcAppVersionJson.getString(AppVersionItem.VERSION_NAME)); in testToJson() 50 assertEquals("6.16.35.26.arm64", gsaAppVersionJson.getString(AppVersionItem.VERSION_NAME)); in testToJson()
|
/tools/tradefederation/core/prod-tests/src/com/android/performance/tests/ |
D | GeekbenchTest.java | 163 String overallScore = root.getString("score"); in parseResultJSON() 166 String overallScoreMulticore = root.getString("multicore_score"); in parseResultJSON() 173 String sectionName = section.getString("name"); in parseResultJSON() 174 String sectionScore = section.getString("score"); in parseResultJSON() 175 String sectionScoreMulticore = section.getString("multicore_score"); in parseResultJSON()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/ |
D | AndroidBinXmlParser.java | 322 mCurrentElementName = mStringPool.getString(nameId); in next() 324 (nsId == NO_NAMESPACE) ? "" : mStringPool.getString(nsId); in next() 350 mCurrentElementName = mStringPool.getString(nameId); in next() 352 (nsId == NO_NAMESPACE) ? "" : mStringPool.getString(nsId); in next() 436 return mStringPool.getString(mNameId); in getName() 440 return (mNsId != NO_NAMESPACE) ? mStringPool.getString(mNsId) : ""; in getNamespace() 472 return mStringPool.getString(mValueData & 0xffffffffL); in getStringValue() 643 public String getString(long index) throws XmlParserException { in getString() method in AndroidBinXmlParser.StringPool
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | TestMapping.java | 118 TestInfo test = new TestInfo(testObject.getString(KEY_NAME)); in TestMapping() 124 String name = optionObject.names().getString(k); in TestMapping() 125 String value = optionObject.getString(name); in TestMapping()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/config/ |
D | ConfigurationTest.java | 478 String name = optionClass.getString("name"); in testGetJsonCommandUsage() 497 if (OPTION_NAME.equals(field.getString("name"))) { in testGetJsonCommandUsage() 500 } else if (ALT_OPTION_NAME.equals(field.getString("name"))) { in testGetJsonCommandUsage() 506 assertEquals(OPTION_DESCRIPTION, jsonOptionField.getString("description")); in testGetJsonCommandUsage() 508 assertEquals(OPTION_DESCRIPTION, jsonAltOptionField.getString("description")); in testGetJsonCommandUsage() 512 jsonAltOptionField.getString("javaClass")); in testGetJsonCommandUsage() 518 if (name != null && name.equals(configObject.getString("name"))) { in findConfigObjectByName()
|
/tools/tradefederation/core/src/com/android/tradefed/util/keystore/ |
D | JSONFileKeyStoreClient.java | 91 return mJsonKeyStore.getString(key); in fetchKey()
|
/tools/tradefederation/core/src/com/android/tradefed/sandbox/ |
D | SandboxInvocationRunner.java | 70 String filePath = json.getString(TradefedSandboxRunner.EXCEPTION_KEY); in handleStderrException()
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | CameraPerformanceTest.java | 543 String cameraId = element.getString(CAMERA_ID_KEY); in parse() 544 String reprocessType = element.getString(REPROCESS_TYPE_KEY); in parse() 545 String captureMessage = element.getString(CAPTURE_MESSAGE_KEY); in parse() 570 String cameraid = element.getString(CAMERA_ID_KEY); in parse()
|
/tools/tradefederation/core/src/com/android/tradefed/util/sl4a/ |
D | Sl4aEventDispatcher.java | 207 mName = response.getString("name"); in EventSl4aObject()
|
/tools/tradefederation/core/prod-tests/src/com/android/tradefed/ |
D | Sl4aBluetoothDiscovery.java | 120 if (j.has("name") && BLUETOOTH_NAME.equals(j.getString("name"))) { in run()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | EmailResultReporter.java | 266 bodyBuilder.append(summary.getSummary().getString()); in generateEmailBody()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | WifiHelper.java | 417 info.put(key, json.getString(key)); in getWifiInfo()
|