Home
last modified time | relevance | path

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

123456

/tools/tradefederation/core/tests/src/com/android/tradefed/util/keystore/
DJSONFileKeyStoreClientTest.java107 JSONObject data = new JSONObject(mJsonData); in testDoesNotContainMissingKey() local
115 JSONObject data = new JSONObject(mJsonData); in testContainsValidKey() local
122 JSONObject data = new JSONObject(mJsonData); in testFetchMissingKey() local
130 JSONObject data = new JSONObject(mJsonData); in testFetchNullKey() local
138 JSONObject data = new JSONObject(mJsonData); in testFetchValidKey() local
145 JSONObject data = new JSONObject(mJsonData); in testSetKey() 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
/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/statsd/
DMetricUtilTest.java177 List<EventMetricData> data = MetricUtil.getEventMetricData(mTestDevice, CONFIG_ID); in testNonEmptyMetricReportList() local
205 List<EventMetricData> data = MetricUtil.getEventMetricData(mTestDevice, CONFIG_ID); in testEmptyMetricReportList() local
231 List<EventMetricData> data = MetricUtil.getEventMetricData(mTestDevice, CONFIG_ID); in testMultipleReportsInReportList_differentAtoms() local
262 List<EventMetricData> data = MetricUtil.getEventMetricData(mTestDevice, CONFIG_ID); in testMultipleReportsInReportList_sameAtom() local
291 List<EventMetricData> data = MetricUtil.getEventMetricData(mTestDevice, CONFIG_ID); in testInvalidDumpedReportThrows() local
303 List<EventMetricData> data = MetricUtil.getEventMetricData(mTestDevice, CONFIG_ID); in testLegacyDumpReportCmd() 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/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/src/com/android/tradefed/device/metric/
DFilePullerDeviceMetricCollector.java97 public abstract void processMetricFile(String key, File metricFile, DeviceMetricData data); in processMetricFile()
108 String key, File metricDirectory, DeviceMetricData data); in processMetricDirectory()
117 private void processMetricRequest(DeviceMetricData data, in processMetricRequest()
129 processMetricFile(entry.getKey(), entry.getValue(), data); in processMetricRequest() local
136 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()
636 auto& data = dex_->type_lists; in WriteTypeList() local
649 auto& data = dex_->ann_items; in WriteAnnotationItem() local
662 auto& data = dex_->ann_sets; in WriteAnnotationSet() local
678 auto& data = dex_->ann_set_ref_lists; in WriteAnnotationSetRefList() local
[all …]
/tools/security/fuzzing/orphans/libexif/
Dlibexif_fuzzer.cpp7 static void mnote_dump(ExifData *data) { in mnote_dump()
30 static void data_dump(ExifData *data) { in data_dump()
34 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { in LLVMFuzzerTestOneInput()
/tools/security/fuzzing/example_fuzzer/
Dexample_fuzzer.cpp23 void BuggyCode(const char *data) { in BuggyCode()
29 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { in LLVMFuzzerTestOneInput()
/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/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
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()
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()
/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/apksig/src/test/java/com/android/apksig/internal/asn1/
DAsn1DerEncoderTest.java248 public ByteBuffer data; field in Asn1DerEncoderTest.SequenceWithByteBufferOctetString
250 public SequenceWithByteBufferOctetString(ByteBuffer data) { in SequenceWithByteBufferOctetString()
259 public ByteBuffer data; field in Asn1DerEncoderTest.SequenceWithByteBufferBitString
261 public SequenceWithByteBufferBitString(ByteBuffer data) { in SequenceWithByteBufferBitString()
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DGceAvdInfo.java147 String data; in parseGceInfoFromFile() local
167 String data, DeviceDescriptor descriptor, int remoteAdbPort) throws TargetSetupError { in parseGceInfoFromString()
223 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/test_framework/com/android/tradefed/testtype/rust/
DRustBinaryHostTest.java176 try (FileInputStreamSource data = new FileInputStreamSource(resultFile)) { in runSingleRustFile()
178 String.format(RUST_LOG_STDERR_FORMAT, runName), LogDataType.TEXT, data); in runSingleRustFile() local

123456