Home
last modified time | relevance | path

Searched refs:getData (Results 1 – 25 of 828) sorted by relevance

12345678910>>...34

/external/icu/android_icu4j/testing/src/android/icu/extratest/platform/
DAndroidDataFilesTest.java97 Method getData = clsPackageDataFile.getDeclaredMethod("getData", String.class); in testTimezoneResAbsence() local
98 getData.setAccessible(true); in testTimezoneResAbsence()
108 assertNotNull(getData.invoke(icuDat, "root.res")); // an example of locale data in testTimezoneResAbsence()
109 assertNull(getData.invoke(icuDat, "metaZones.res")); in testTimezoneResAbsence()
110 assertNull(getData.invoke(icuDat, "timezoneTypes.res")); in testTimezoneResAbsence()
111 assertNull(getData.invoke(icuDat, "windowsZones.res")); in testTimezoneResAbsence()
112 assertNull(getData.invoke(icuDat, "zoneinfo64.res")); in testTimezoneResAbsence()
117 assertNull(getData.invoke(tzDat, "root.res")); in testTimezoneResAbsence()
118 assertNotNull(getData.invoke(tzDat, "metaZones.res")); in testTimezoneResAbsence()
119 assertNotNull(getData.invoke(tzDat, "timezoneTypes.res")); in testTimezoneResAbsence()
[all …]
/external/mobly-bundled-snippets/src/main/java/com/google/android/mobly/snippet/bundled/bluetooth/
DBluetoothGattClientSnippet.java148 event.getData().putLong( in onConnectionStateChange()
152 event.getData().putString("status", MbsEnums.BLE_STATUS_TYPE.getString(status)); in onConnectionStateChange()
153 event.getData().putString("newState", MbsEnums.BLE_CONNECT_STATUS.getString(newState)); in onConnectionStateChange()
154 event.getData().putBundle("gatt", JsonSerializer.serializeBluetoothGatt(gatt)); in onConnectionStateChange()
163 event.getData().putString("status", MbsEnums.BLE_STATUS_TYPE.getString(status)); in onServicesDiscovered()
174 event.getData().putParcelableArrayList("Services", services); in onServicesDiscovered()
175 event.getData().putBundle("gatt", JsonSerializer.serializeBluetoothGatt(gatt)); in onServicesDiscovered()
176 event.getData().putLong("discoveryServicesEndTime", discoverServicesEndTime); in onServicesDiscovered()
184 event.getData().putString("status", MbsEnums.BLE_STATUS_TYPE.getString(status)); in onCharacteristicRead()
186 event.getData() in onCharacteristicRead()
[all …]
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/testutils/src/test/java/com/google/android/exoplayer2/testutil/
DFakeDataSetTest.java54 assertThat(fakeDataSet.getData("unseen_uri")).isEqualTo(fakeDataSet.getData((Uri) null)); in testMultipleDataSets()
56 assertThat(fakeDataSet.getData(uris[i]).uri).isEqualTo(uris[i]); in testMultipleDataSets()
58 assertThat(fakeDataSet.getData((Uri) null).getData()).isEqualTo(testData[0]); in testMultipleDataSets()
60 assertThat(fakeDataSet.getData(uris[i - 1]).getData()).isEqualTo(testData[i]); in testMultipleDataSets()
82 List<Segment> segments = fakeDataSet.getData((Uri) null).getSegments(); in testSegmentTypes()
93 assertThat(fakeDataSet.getData((Uri) null).getData()).isEqualTo(allData); in testSegmentTypes()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/testutils/src/test/java/com/google/android/exoplayer2/testutil/
DFakeDataSetTest.java54 assertThat(fakeDataSet.getData("unseen_uri")).isEqualTo(fakeDataSet.getData((Uri) null)); in testMultipleDataSets()
56 assertThat(fakeDataSet.getData(uris[i]).uri).isEqualTo(uris[i]); in testMultipleDataSets()
58 assertThat(fakeDataSet.getData((Uri) null).getData()).isEqualTo(testData[0]); in testMultipleDataSets()
60 assertThat(fakeDataSet.getData(uris[i - 1]).getData()).isEqualTo(testData[i]); in testMultipleDataSets()
82 List<Segment> segments = fakeDataSet.getData((Uri) null).getSegments(); in testSegmentTypes()
93 assertThat(fakeDataSet.getData((Uri) null).getData()).isEqualTo(allData); in testSegmentTypes()
/external/cronet/components/cronet/android/test/javatests/src/org/chromium/net/
DCronetUploadTest.java93 assertEquals("hello", mHandler.getData()); in testInitTriggersRewindAndInitBeforeRewindCompletes()
97 assertEquals("", mHandler.getData()); in testInitTriggersRewindAndInitBeforeRewindCompletes()
121 assertEquals("hello", mHandler.getData()); in testInitTriggersRewindAndInitBeforeRewindCompletes()
142 assertEquals("hello", mHandler.getData()); in testInitTriggersRewindAndInitAfterRewindCompletes()
146 assertEquals("", mHandler.getData()); in testInitTriggersRewindAndInitAfterRewindCompletes()
169 assertEquals("hello", mHandler.getData()); in testInitTriggersRewindAndInitAfterRewindCompletes()
192 assertEquals("", mHandler.getData()); in testReadCompleteTriggerRewind()
203 assertEquals("", mHandler.getData()); in testReadCompleteTriggerRewind()
222 assertEquals("", mHandler.getData()); in testReadCompleteTriggerRewindOnlyOneRewind()
243 assertEquals("", mHandler.getData()); in testResetBeforeReadCompleteAndInitTriggerRewind()
[all …]
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mkv/
DSniffer.java51 input.peekFully(scratch.getData(), 0, 4); in sniff()
58 input.peekFully(scratch.getData(), 0, 1); in sniff()
60 tag |= scratch.getData()[0] & 0xFF; in sniff()
92 input.peekFully(scratch.getData(), 0, 1); in readUint()
93 int value = scratch.getData()[0] & 0xFF; in readUint()
104 input.peekFully(scratch.getData(), 1, length); in readUint()
107 value += scratch.getData()[i + 1] & 0xFF; in readUint()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mkv/
DSniffer.java51 input.peekFully(scratch.getData(), 0, 4); in sniff()
58 input.peekFully(scratch.getData(), 0, 1); in sniff()
60 tag |= scratch.getData()[0] & 0xFF; in sniff()
92 input.peekFully(scratch.getData(), 0, 1); in readUint()
93 int value = scratch.getData()[0] & 0xFF; in readUint()
104 input.peekFully(scratch.getData(), 1, length); in readUint()
107 value += scratch.getData()[i + 1] & 0xFF; in readUint()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/rtsp/src/main/java/com/google/android/exoplayer2/source/rtsp/reader/
DRtpH265Reader.java89 if (data.getData().length == 0) { in consume()
93 int payloadType = (data.getData()[0] >> 1) & 0x3F; in consume()
158 int nalHeaderType = (data.getData()[0] >> 1) & 0x3F; in processSingleNalUnitPacket()
201 if (data.getData().length < 3) { in processFragmentationUnitPacket()
204 int tid = (data.getData()[1] & 0x7); in processFragmentationUnitPacket()
205 int fuHeader = data.getData()[2]; in processFragmentationUnitPacket()
219 data.getData()[1] = (byte) ((nalUnitType << 1) & 0x7F); in processFragmentationUnitPacket()
220 data.getData()[2] = (byte) tid; in processFragmentationUnitPacket()
221 fuScratchBuffer.reset(data.getData()); in processFragmentationUnitPacket()
237 fuScratchBuffer.reset(data.getData()); in processFragmentationUnitPacket()
/external/libchrome/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
DDecoder.java126 this(message, new Validator(message.getData().limit(), message.getHandles().size()), 0); in Decoder()
131 mMessage.getData().order(ByteOrder.LITTLE_ENDIAN); in Decoder()
254 return mMessage.getData().get(mBaseOffset + offset); in readByte()
270 return mMessage.getData().getShort(mBaseOffset + offset); in readShort()
278 return mMessage.getData().getInt(mBaseOffset + offset); in readInt()
286 return mMessage.getData().getFloat(mBaseOffset + offset); in readFloat()
294 return mMessage.getData().getLong(mBaseOffset + offset); in readLong()
302 return mMessage.getData().getDouble(mBaseOffset + offset); in readDouble()
335 d.mMessage.getData().position(d.mBaseOffset + DataHeader.HEADER_SIZE); in readBooleans()
336 d.mMessage.getData().get(bytes); in readBooleans()
[all …]
/external/MPAndroidChart/MPChartExample/src/main/java/com/xxmassdeveloper/mpchartexample/
DLineChartActivity2.java161 if (chart.getData() != null && in setData()
162 chart.getData().getDataSetCount() > 0) { in setData()
163 set1 = (LineDataSet) chart.getData().getDataSetByIndex(0); in setData()
164 set2 = (LineDataSet) chart.getData().getDataSetByIndex(1); in setData()
165 set3 = (LineDataSet) chart.getData().getDataSetByIndex(2); in setData()
169 chart.getData().notifyDataChanged(); in setData()
240 List<ILineDataSet> sets = chart.getData() in onOptionsItemSelected()
253 if (chart.getData() != null) { in onOptionsItemSelected()
254 chart.getData().setHighlightEnabled(!chart.getData().isHighlightEnabled()); in onOptionsItemSelected()
261 List<ILineDataSet> sets = chart.getData() in onOptionsItemSelected()
[all …]
DCubicLineChartActivity.java116 if (chart.getData() != null && in setData()
117 chart.getData().getDataSetCount() > 0) { in setData()
118 set1 = (LineDataSet) chart.getData().getDataSetByIndex(0); in setData()
120 chart.getData().notifyDataChanged(); in setData()
173 for (IDataSet set : chart.getData().getDataSets()) in onOptionsItemSelected()
180 if(chart.getData() != null) { in onOptionsItemSelected()
181 chart.getData().setHighlightEnabled(!chart.getData().isHighlightEnabled()); in onOptionsItemSelected()
188 List<ILineDataSet> sets = chart.getData() in onOptionsItemSelected()
204 List<ILineDataSet> sets = chart.getData() in onOptionsItemSelected()
219 List<ILineDataSet> sets = chart.getData() in onOptionsItemSelected()
[all …]
DHorizontalBarChartActivity.java135 if (chart.getData() != null && in setData()
136 chart.getData().getDataSetCount() > 0) { in setData()
137 set1 = (BarDataSet) chart.getData().getDataSetByIndex(0); in setData()
139 chart.getData().notifyDataChanged(); in setData()
174 List<IBarDataSet> sets = chart.getData() in onOptionsItemSelected()
185 List<IBarDataSet> sets = chart.getData() in onOptionsItemSelected()
196 if(chart.getData() != null) { in onOptionsItemSelected()
197 chart.getData().setHighlightEnabled(!chart.getData().isHighlightEnabled()); in onOptionsItemSelected()
217 for (IBarDataSet set : chart.getData().getDataSets()) in onOptionsItemSelected()
280 … MPPointF position = chart.getPosition(e, chart.getData().getDataSetByIndex(h.getDataSetIndex()) in onValueSelected()
DHorizontalBarNegativeChartActivity.java136 if (chart.getData() != null && in setData()
137 chart.getData().getDataSetCount() > 0) { in setData()
138 set1 = (BarDataSet) chart.getData().getDataSetByIndex(0); in setData()
140 chart.getData().notifyDataChanged(); in setData()
175 List<IBarDataSet> sets = chart.getData() in onOptionsItemSelected()
186 List<IBarDataSet> sets = chart.getData() in onOptionsItemSelected()
197 if(chart.getData() != null) { in onOptionsItemSelected()
198 chart.getData().setHighlightEnabled(!chart.getData().isHighlightEnabled()); in onOptionsItemSelected()
218 for (IBarDataSet set : chart.getData().getDataSets()) in onOptionsItemSelected()
281 … MPPointF position = chart.getPosition(e, chart.getData().getDataSetByIndex(h.getDataSetIndex()) in onValueSelected()
DAnotherBarActivity.java100 if (chart.getData() != null && in onProgressChanged()
101 chart.getData().getDataSetCount() > 0) { in onProgressChanged()
102 set1 = (BarDataSet) chart.getData().getDataSetByIndex(0); in onProgressChanged()
104 chart.getData().notifyDataChanged(); in onProgressChanged()
141 for (IDataSet set : chart.getData().getDataSets()) in onOptionsItemSelected()
152 if(chart.getData() != null) { in onOptionsItemSelected()
153 chart.getData().setHighlightEnabled(!chart.getData().isHighlightEnabled()); in onOptionsItemSelected()
173 for (IBarDataSet set : chart.getData().getDataSets()) in onOptionsItemSelected()
DLineChartActivity1.java193 if (chart.getData() != null && in setData()
194 chart.getData().getDataSetCount() > 0) { in setData()
195 set1 = (LineDataSet) chart.getData().getDataSetByIndex(0); in setData()
198 chart.getData().notifyDataChanged(); in setData()
277 List<ILineDataSet> sets = chart.getData() in onOptionsItemSelected()
290 List<ILineDataSet> sets = chart.getData() in onOptionsItemSelected()
303 if(chart.getData() != null) { in onOptionsItemSelected()
304 chart.getData().setHighlightEnabled(!chart.getData().isHighlightEnabled()); in onOptionsItemSelected()
311 List<ILineDataSet> sets = chart.getData() in onOptionsItemSelected()
326 List<ILineDataSet> sets = chart.getData() in onOptionsItemSelected()
[all …]
DBarChartActivityMultiDataset.java151 if (chart.getData() != null && chart.getData().getDataSetCount() > 0) { in onProgressChanged()
153 set1 = (BarDataSet) chart.getData().getDataSetByIndex(0); in onProgressChanged()
154 set2 = (BarDataSet) chart.getData().getDataSetByIndex(1); in onProgressChanged()
155 set3 = (BarDataSet) chart.getData().getDataSetByIndex(2); in onProgressChanged()
156 set4 = (BarDataSet) chart.getData().getDataSetByIndex(3); in onProgressChanged()
161 chart.getData().notifyDataChanged(); in onProgressChanged()
211 for (IBarDataSet set : chart.getData().getDataSets()) in onOptionsItemSelected()
232 for (IBarDataSet set : chart.getData().getDataSets()) in onOptionsItemSelected()
239 if (chart.getData() != null) { in onOptionsItemSelected()
240 chart.getData().setHighlightEnabled(!chart.getData().isHighlightEnabled()); in onOptionsItemSelected()
DBarChartActivitySinus.java123 if (chart.getData() != null && in setData()
124 chart.getData().getDataSetCount() > 0) { in setData()
125 set = (BarDataSet) chart.getData().getDataSetByIndex(0); in setData()
127 chart.getData().notifyDataChanged(); in setData()
160 for (IBarDataSet set : chart.getData().getDataSets()) in onOptionsItemSelected()
167 if (chart.getData() != null) { in onOptionsItemSelected()
168 chart.getData().setHighlightEnabled(!chart.getData().isHighlightEnabled()); in onOptionsItemSelected()
188 for (IBarDataSet set : chart.getData().getDataSets()) in onOptionsItemSelected()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowEventLogTest.java43 assertThat((String) events.get(0).getData()).isEqualTo(TEST_STRING1); in testAddEvent_testStringLog()
61 assertThat((int) events.get(0).getData()).isEqualTo(TEST_INT); in testAddEvent_testIntLog()
79 assertThat((long) events.get(0).getData()).isEqualTo(TEST_LONG); in testAddEvent_testLongLog()
97 assertThat((float) events.get(0).getData()).isEqualTo(TEST_FLOAT); in testAddEvent_testFloatLog()
114 assertThat(((String[]) events.get(0).getData())[0]).isEqualTo(TEST_STRING1); in testAddEvent_testListLog()
115 assertThat(((String[]) events.get(0).getData())[1]).isEqualTo(TEST_STRING2); in testAddEvent_testListLog()
127 assertThat((String) events.get(0).getData()).isEqualTo(TEST_STRING1); in testWriteEvent_string()
139 assertThat((String) events.get(0).getData()).isEqualTo(NULL_PLACE_HOLDER); in testWriteEvent_nullString()
152 assertThat((int) events.get(0).getData()).isEqualTo(TEST_INT); in testWriteEvent_int()
164 assertThat((Object[]) events.get(0).getData()) in testWriteEvent_list()
[all …]
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowEventLogTest.java46 assertThat((String) events.get(0).getData()).isEqualTo(TEST_STRING1); in testAddEvent_testStringLog()
66 assertThat((int) events.get(0).getData()).isEqualTo(TEST_INT); in testAddEvent_testIntLog()
86 assertThat((long) events.get(0).getData()).isEqualTo(TEST_LONG); in testAddEvent_testLongLog()
106 assertThat((float) events.get(0).getData()).isEqualTo(TEST_FLOAT); in testAddEvent_testFloatLog()
125 assertThat(((String[]) events.get(0).getData())[0]).isEqualTo(TEST_STRING1); in testAddEvent_testListLog()
126 assertThat(((String[]) events.get(0).getData())[1]).isEqualTo(TEST_STRING2); in testAddEvent_testListLog()
138 assertThat((String) events.get(0).getData()).isEqualTo(TEST_STRING1); in testWriteEvent_string()
150 assertThat((String) events.get(0).getData()).isEqualTo(NULL_PLACE_HOLDER); in testWriteEvent_nullString()
163 assertThat((int) events.get(0).getData()).isEqualTo(TEST_INT); in testWriteEvent_int()
175 assertThat((Object[]) events.get(0).getData()) in testWriteEvent_list()
[all …]
/external/MPAndroidChart/MPChartLib/src/main/java/com/github/mikephil/charting/data/
DEntry.java98 Entry e = new Entry(x, getY(), getData()); in copy()
115 if (e.getData() != this.getData()) in equalTo()
144 if (getData() != null) { in writeToParcel()
145 if (getData() instanceof Parcelable) { in writeToParcel()
147 dest.writeParcelable((Parcelable) this.getData(), flags); in writeToParcel()
/external/mobly-snippet-lib/examples/ex3_async_event/src/main/java/com/google/android/mobly/snippet/example3/
DExampleAsyncSnippet.java56 event.getData().putBoolean("successful", false); in run()
57 event.getData().putString("reason", "Sleep was interrupted."); in run()
60 event.getData().putBoolean("successful", true); in run()
61 event.getData().putString("exampleData", "Here's a simple event."); in run()
62 event.getData().putInt("secretNumber", mSecretNumber); in run()
/external/pigweed/pw_transfer/ts/
Dtransfer_test.ts75 length += chunk.getData().length;
80 data.set(chunk.getData() as Uint8Array, offset);
81 offset += chunk.getData().length;
305 expect(sentChunks[1].getData()).toEqual(textEncoder.encode('hello wo'));
306 expect(sentChunks[2].getData()).toEqual(textEncoder.encode('rld'));
337 expect(sentChunks[1].getData()).toEqual(textEncoder.encode('data to '));
338 expect(sentChunks[2].getData()).toEqual(textEncoder.encode('write'));
405 expect(sentChunks[1].getData()).toEqual(textEncoder.encode('hell'));
406 expect(sentChunks[2].getData()).toEqual(textEncoder.encode('o th'));
407 expect(sentChunks[3].getData()).toEqual(textEncoder.encode('is i'));
[all …]
/external/mobly-bundled-snippets/src/main/java/com/google/android/mobly/snippet/bundled/
DSmsSnippet.java123 if (result.getData().containsKey("error")) { in sendSms()
125 "Failed to send SMS, error code: " + result.getData().getInt("error")); in sendSms()
175 event.getData().putBoolean("sent", true); in onReceive()
188 event.getData().putBoolean("sent", false); in onReceive()
189 event.getData().putInt("error_code", getResultCode()); in onReceive()
194 event.getData().putBoolean("sent", false); in onReceive()
195 event.getData().putInt("error_code", -1 /* Unknown */); in onReceive()
227 event.getData().putString("OriginatingAddress", sender); in onReceive()
232 event.getData().putString("MessageBody", smsMsg.toString()); in onReceive()
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/apple/
DAppleTrackNumberBox.java28 return appleDataBox.getData()[3]; in getTrackNumber()
32 return appleDataBox.getData()[5]; in getNumberOfTracks()
36 byte[] content = appleDataBox.getData(); in setNumberOfTracks()
42 byte[] content = appleDataBox.getData(); in setTrackNumber()
/external/brotli/java/org/brotli/wrapper/common/
DSetRfcDictionaryTest.java32 System.err.println(Dictionary.getData().slice().remaining()); in testRfcDictionaryChecksums()
34 md5.update(Dictionary.getData().slice()); in testRfcDictionaryChecksums()
38 sha1.update(Dictionary.getData().slice()); in testRfcDictionaryChecksums()
42 sha256.update(Dictionary.getData().slice()); in testRfcDictionaryChecksums()
51 BrotliCommon.setDictionaryData(Dictionary.getData()); in testSetRfcDictionary()

12345678910>>...34