Home
last modified time | relevance | path

Searched refs:converter (Results 1 – 10 of 10) sorted by relevance

/cts/tests/signature/lib/common/src/android/signature/cts/
DBufferedReaderLineSpliterator.java23 public BufferedReaderLineSpliterator(BufferedReader reader, Function<String, T> converter) { in BufferedReaderLineSpliterator() argument
26 mConverter = converter; in BufferedReaderLineSpliterator()
31 BiFunction<String, Integer, T> converter) { in BufferedReaderLineSpliterator() argument
35 mLineNumConverter = converter; in BufferedReaderLineSpliterator()
DByteBufferLineSpliterator.java24 Function<String, T> converter) { in ByteBufferLineSpliterator() argument
27 mConverter = converter; in ByteBufferLineSpliterator()
/cts/tests/tests/security/src/android/security/cts/
DEffectBundleTest.java556 ByteBuffer converter = ByteBuffer.allocate(4); in intToByteArray() local
557 converter.order(ByteOrder.nativeOrder()); in intToByteArray()
558 converter.putInt(value); in intToByteArray()
559 return converter.array(); in intToByteArray()
563 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToInt() local
564 converter.order(ByteOrder.nativeOrder()); in byteArrayToInt()
565 return converter.getInt(offset); in byteArrayToInt()
569 ByteBuffer converter = ByteBuffer.allocate(2); in shortToByteArray() local
570 converter.order(ByteOrder.nativeOrder()); in shortToByteArray()
572 converter.putShort(sValue); in shortToByteArray()
[all …]
/cts/tools/signature-tools/src/signature/converter/doclet/
DDocletFactory.java17 package signature.converter.doclet;
25 import signature.converter.Visibility;
55 DocletToSigConverter converter = new DocletToSigConverter(); in loadApi() local
56 IApi api = converter.convertDocletRoot(name, root, visibility, in loadApi()
/cts/tests/signature/tests/src/android/signature/cts/tests/
DBufferedReaderLineSpliteratorTest.java62 Function<String, Integer> converter) { in createSpliterator() argument
64 new BufferedReader(new StringReader(data)), converter); in createSpliterator()
DByteBufferLineSpliteratorTest.java60 Function<String, Integer> converter) { in createSpliterator() argument
62 converter); in createSpliterator()
DLineSpliteratorTestBase.java47 Function<String, Integer> converter); in createSpliterator() argument
/cts/tests/tests/widget/src/android/widget/cts/
DSimpleCursorAdapterTest.java282 SimpleCursorAdapter.CursorToStringConverter converter = in testAccessCursorToStringConverter() local
284 simpleCursorAdapter.setCursorToStringConverter(converter); in testAccessCursorToStringConverter()
285 assertSame(converter, simpleCursorAdapter.getCursorToStringConverter()); in testAccessCursorToStringConverter()
345 SimpleCursorAdapter.CursorToStringConverter converter = in testConvertToString() local
347 simpleCursorAdapter.setCursorToStringConverter(converter); in testConvertToString()
350 verify(converter, times(1)).convertToString(curWith3Columns); in testConvertToString()
/cts/tests/tests/animation/src/android/animation/cts/
DPropertyValuesHolderTest.java516 TypeConverter<PointF, Float> converter = new TypeConverter<PointF, Float>( in testOfObject_Converter() local
539 PropertyValuesHolder.ofObject(property, converter, path); in testOfObject_Converter()
DObjectAnimatorTest.java707 TypeConverter<PointF, Float> converter = new TypeConverter<PointF, Float>( in testOfObject_Converter() local
718 final ObjectAnimator anim1 = ObjectAnimator.ofObject(target1, "distance", converter, path); in testOfObject_Converter()