Home
last modified time | relevance | path

Searched defs:data (Results 1 – 25 of 101) sorted by relevance

12345

/tools/test/graphicsbenchmark/performance_tests/hostside/test/com/android/game/qualification/metric/
DHistogramTest.java38 List<Long> data = Arrays.asList(0L, 1L, 1L, 2L, 0L); in testSimple() local
62 List<Long> data = Arrays.asList(-2L, -1L, 0L, 1L, 2L); in testCutoff() local
78 List<Long> data = Arrays.asList(0L, 2L, 4L); in testPlotCutoff() local
99 List<Long> data = Arrays.asList(0L, 1L, 2L, 3L, 4L); in testBuckets() local
117 List<Long> data = Arrays.asList(-2L, -1L, 0L, 1L, 2L, 3L, 4L, 5L, 6L, 7L); in testEvenBucketSize() local
134 List<Long> data = new ArrayList<>(); in testPlot() local
/tools/tradefederation/core/tests/src/com/android/tradefed/util/keystore/
DJSONFileKeyStoreClientTest.java103 JSONObject data = new JSONObject(mJsonData); in testDoesNotContainMissingKey() local
111 JSONObject data = new JSONObject(mJsonData); in testContainsValidKey() local
118 JSONObject data = new JSONObject(mJsonData); in testFetchMissingKey() local
126 JSONObject data = new JSONObject(mJsonData); in testFetchNullKey() local
134 JSONObject data = new JSONObject(mJsonData); in testFetchValidKey() local
/tools/tradefederation/core/tests/src/com/android/tradefed/command/remote/
DRemoteManagerTest.java75 InputStream data = new ByteArrayInputStream(buf.getBytes()); in testProcessClientOperations_invalidAction() local
94 InputStream data = new ByteArrayInputStream(buf.getBytes()); in testProcessClientOperations_initHandover() local
113 InputStream data = new ByteArrayInputStream(buf.getBytes()); in testProcessClientOperations_addCommand() local
129 InputStream data = new ByteArrayInputStream(buf.getBytes()); in testProcessClientOperations_addCommand_fail() local
147 InputStream data = new ByteArrayInputStream(buf.getBytes()); in testProcessClientOperations_addCommand_config() local
165 InputStream data = new ByteArrayInputStream(buf.getBytes()); in testProcessClientOperations_allocateDevice_fail() local
182 InputStream data = new ByteArrayInputStream(buf.getBytes()); in testProcessClientOperations_allocateDevice() local
199 InputStream data = new ByteArrayInputStream(buf.getBytes()); in testProcessClientOperations_processFree_notFound() local
220 InputStream data = new ByteArrayInputStream(buf.getBytes()); in testProcessClientOperations_processFree() local
244 InputStream data = new ByteArrayInputStream(buf.getBytes()); in testProcessClientOperations_processFree_wildcard() local
DRemoteOperationTest.java32 String data = o.pack(0); in testProtocolVersionMismatch() local
/tools/apksig/src/apksigner/java/com/android/apksigner/
DHexEncoding.java34 public static String encode(byte[] data, int offset, int length) { in encode()
47 public static String encode(byte[] data) { in encode()
54 public static String encodeRemaining(ByteBuffer data) { in encodeRemaining()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/statsd/
DMetricUtilTest.java172 List<EventMetricData> data = MetricUtil.getEventMetricData(mTestDevice, CONFIG_ID); in testNonEmptyMetricReportList() local
197 List<EventMetricData> data = MetricUtil.getEventMetricData(mTestDevice, CONFIG_ID); in testEmptyMetricReportList() local
220 List<EventMetricData> data = MetricUtil.getEventMetricData(mTestDevice, CONFIG_ID); in testMultipleReportsInReportList_differentAtoms() local
248 List<EventMetricData> data = MetricUtil.getEventMetricData(mTestDevice, CONFIG_ID); in testMultipleReportsInReportList_sameAtom() local
274 List<EventMetricData> data = MetricUtil.getEventMetricData(mTestDevice, CONFIG_ID); in testInvalidDumpedReportThrows() local
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
DFatType.java37 long readEntry(byte[] data, int index) { in readEntry()
51 void writeEntry(byte[] data, int index, long entry) { in writeEntry()
70 long readEntry(byte[] data, int index) { in readEntry()
78 void writeEntry(byte[] data, int index, long entry) { in writeEntry()
91 long readEntry(byte[] data, int index) { in readEntry()
101 void writeEntry(byte[] data, int index, long entry) { in writeEntry()
132 abstract long readEntry(byte[] data, int index); in readEntry()
134 abstract void writeEntry(byte[] data, int index, long entry); in writeEntry()
DAbstractDirectory.java77 protected abstract void read(ByteBuffer data) throws IOException; in read()
87 protected abstract void write(ByteBuffer data) throws IOException; in write()
214 final ByteBuffer data = ByteBuffer.allocate( in flush() local
245 final ByteBuffer data = ByteBuffer.allocate( in read() local
DFat16RootDirectory.java79 protected void read(ByteBuffer data) throws IOException { in read()
84 protected void write(ByteBuffer data) throws IOException { in write()
DClusterChainDirectory.java87 protected final void read(ByteBuffer data) throws IOException { in read()
92 protected final void write(ByteBuffer data) throws IOException { in write()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DFilePullerDeviceMetricCollector.java96 public abstract void processMetricFile(String key, File metricFile, DeviceMetricData data); in processMetricFile()
107 String key, File metricDirectory, DeviceMetricData data); in processMetricDirectory()
116 private void processMetricRequest(DeviceMetricData data, in processMetricRequest()
126 processMetricFile(pulledMetrics.getKey(), pulledMetrics.getValue(), data); in processMetricRequest() local
133 processMetricDirectory(pulledMetrics.getKey(), pulledMetrics.getValue(), data); in processMetricRequest() local
/tools/dexter/slicer/
Dwriter.cc41 static void WriteEncodedValueHeader(dex::u1 type, int arg, Section& data) { in WriteEncodedValueHeader()
50 static void WriteIntValue(dex::u1 type, T value, Section& data) { in WriteIntValue()
76 static void WriteFloatValue(dex::u1 type, T value, Section& data) { in WriteFloatValue()
101 static void WriteEncodedValue(const ir::EncodedValue* ir_value, Section& data) { in WriteEncodedValue()
200 static void WriteAnnotation(const ir::Annotation* ir_annotation, Section& data) { in WriteAnnotation()
210 static void WriteEncodedArray(const ir::EncodedArray* ir_array, Section& data) { in WriteEncodedArray()
629 auto& data = dex_->type_lists; in WriteTypeList() local
642 auto& data = dex_->ann_items; in WriteAnnotationItem() local
655 auto& data = dex_->ann_sets; in WriteAnnotationSet() local
671 auto& data = dex_->ann_set_ref_lists; in WriteAnnotationSetRefList() local
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DTemperatureCollectorTest.java68 DeviceMetricData data = new DeviceMetricData(mContext); in testCollector() local
89 DeviceMetricData data = new DeviceMetricData(mContext); in testCollectorNoData() local
DProcessMaxMemoryCollectorTest.java79 DeviceMetricData data = new DeviceMetricData(mContext); in testCollector() local
97 DeviceMetricData data = new DeviceMetricData(mContext); in testCollectorNoProcess() local
/tools/tradefederation/contrib/tests/src/com/android/regression/tests/
DMetricsTest.java52 Map<String, List<String>> data = new HashMap<>(); in testAddRunMetrics() local
81 Map<String, List<String>> data = new HashMap<>(); in testValidate() local
DDetectRegressionTest.java52 Map<Double, double[]> data = new HashMap<>(); in testCalcMean() local
67 Map<Double, double[]> data = new HashMap<>(); in testCalcStdDev() local
/tools/apksig/src/test/java/com/android/apksig/internal/util/
DHexEncoding.java34 public static String encode(byte[] data) { in encode()
41 public static String encode(byte[] data, int offset, int len) { in encode()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/utils/
DLittleEndianUtilsTest.java53 int[] data = new int[COUNT]; in readWrite2Le() local
94 long[] data = new long[COUNT]; in readWrite4Le() local
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DEncodeUtils.java70 public static String decode(@Nonnull byte[] data, @Nonnull GPFlags flags) { in decode()
82 private static String decode(@Nonnull byte[] data, @Nonnull Charset charset) { in decode()
DExtraField.java278 Segment make(int headerId, @Nonnull byte[] data) throws IOException; in make()
296 private final byte[] data; field in ExtraField.RawDataSegment
304 RawDataSegment(int headerId, @Nonnull byte[] data) { in RawDataSegment()
376 public AlignmentSegment(int headerId, @Nonnull byte[] data) throws IOException { in AlignmentSegment()
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DGceAvdInfo.java144 String data; in parseGceInfoFromFile() local
164 String data, DeviceDescriptor descriptor, int remoteAdbPort) throws TargetSetupError { in parseGceInfoFromString()
219 private static String parseErrorField(String data) throws JSONException { in parseErrorField()
/tools/repohooks/rh/
Dconfig_unittest.py48 def _write_config(self, data, filename=None): argument
56 def _write_global_config(self, data): argument
/tools/tradefederation/core/src/com/android/tradefed/util/hostmetric/
DIHostHealthAgent.java33 public void emitValue(String name, long value, Map<String, String> data); in emitValue() argument
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/utils/
DRandomAccessFileUtils.java38 public static void fullyRead(@Nonnull RandomAccessFile raf, @Nonnull byte[] data) in fullyRead()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DFakeTestsZipFolderTest.java51 File data = fakeStuff.getDataFolder(); in testFakeTestsZipFolder() local

12345