Home
last modified time | relevance | path

Searched refs:mData (Results 1 – 13 of 13) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/util/
DSimpleStats.java28 private List<Double> mData = new LinkedList<Double>(); field in SimpleStats
51 mData.add(meas); in add()
59 return mData; in getData()
66 return mData.isEmpty(); in isEmpty()
73 return mData.size(); in size()
95 Collections.sort(mData); in median()
96 if ((mData.size() & 0x1) == 1) { in median()
100 return mData.get(idx); in median()
104 return (mData.get(idx - 1) + mData.get(idx)) / 2; in median()
116 Collections.sort(mData); in min()
[all …]
DFakeTestsZipFolder.java39 private File mData; field in FakeTestsZipFolder
62 mData = new File(mBase, "DATA"); in createItems()
63 if (!mData.mkdirs()) { in createItems()
68 File file = new File(mData, fileName); in createItems()
104 return mData; in getDataFolder()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DDeviceMetricDataTest.java39 private DeviceMetricData mData; field in DeviceMetricDataTest
48 mData = new DeviceMetricData(mContext); in setUp()
57 mData.addMetric( in testSingleDeviceAdd()
62 mData.addToMetrics(resMetrics); in testSingleDeviceAdd()
72 mData.addMetricForDevice( in testSingleDeviceAddToDevice()
78 mData.addToMetrics(resMetrics); in testSingleDeviceAddToDevice()
89 mData.addMetric( in testMultiDeviceAdd()
94 mData.addToMetrics(resMetrics); in testMultiDeviceAdd()
109 mData.addMetricForDevice( in testMultiDeviceAdd_forDevice()
115 mData.addToMetrics(resMetrics); in testMultiDeviceAdd_forDevice()
/tools/tradefederation/core/src/com/android/tradefed/device/
DCollectingByteOutputReceiver.java27 private ByteArrayList mData = new ByteArrayList(); field in CollectingByteOutputReceiver
31 return mData.getContents(); in getOutput()
56 mData.addAll(data, offset, length); in addOutput()
72 mData.clear(); in clear()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterHostEvent.java37 private Map<String, String> mData = new HashMap<>(); field in ClusterHostEvent
99 return mData; in getData()
122 private Map<String, String> mData = new HashMap<>(); field in ClusterHostEvent.Builder
164 mData.put(name, value); in setData()
169 mData.putAll(data); in setData()
196 event.mData = new HashMap<>(mData); in build()
DClusterCommandEvent.java65 private Map<String, Object> mData = new HashMap<>(); field in ClusterCommandEvent
95 return mData; in getData()
110 private Map<String, Object> mData = new HashMap<>(); field in ClusterCommandEvent.Builder
151 mData.put(name, ((String) value).substring(0, MAX_DATA_STRING_SIZE)); in setData()
153 mData.put(name, value); in setData()
176 obj.mData = new HashMap<>(mData); in build()
/tools/tradefederation/core/global_configuration/com/android/tradefed/util/hostmetric/
DHostMetric.java29 private Map<String, String> mData; field in HostMetric
43 mData = new HashMap<String, String>(data); in HostMetric()
57 json.put("fields", new JSONObject(mData)); in toJson()
/tools/apksig/src/main/java/com/android/apksig/internal/zip/
DCentralDirectoryRecord.java45 private final ByteBuffer mData; field in CentralDirectoryRecord
69 mData = data; in CentralDirectoryRecord()
83 return mData.remaining(); in getSize()
194 output.put(mData.slice()); in copyTo()
199 ByteBuffer result = ByteBuffer.allocate(mData.remaining()); in createWithModifiedLocalFileHeaderOffset()
200 result.put(mData.slice()); in createWithModifiedLocalFileHeaderOffset()
/tools/tradefederation/core/src/com/android/tradefed/util/sl4a/
DSl4aEventDispatcher.java201 private String mData = null; field in Sl4aEventDispatcher.EventSl4aObject
206 mData = response.get("data").toString(); in EventSl4aObject()
215 return mData; in getData()
224 return "EventSl4aObject [mName=" + mName + ", mData=" + mData + ", mTime=" + mTime in toString()
/tools/apksig/src/main/java/com/android/apksig/
DApkSignerEngine.java462 private final byte[] mData; field in ApkSignerEngine.OutputJarSignatureRequest.JarEntry
472 mData = data.clone(); in JarEntry()
486 return mData.clone(); in getData()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/multi/
DMixImageZipPreparerTest.java101 private final byte[] mData; field in MixImageZipPreparerTest.ByteArrayInputStreamFactory
105 mData = data.getBytes(); in ByteArrayInputStreamFactory()
111 InputStream stream = Mockito.spy(new ByteArrayInputStream(mData)); in createInputStream()
118 return mData.length; in getSize()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DDeviceSetup.java64 protected BinaryState mData = BinaryState.IGNORE; field in DeviceSetup
567 setSettingForBinaryState(mData, mGlobalSettings, "mobile_data", "1", "0"); in processOptions()
569 mData, mRunCommandAfterSettings, "svc data enable", "svc data disable"); in processOptions()
1051 mData = data; in setData()
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...