Home
last modified time | relevance | path

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

/cts/tests/tests/security/src/android/security/cts/
DEffectBundleTest.java542 ByteBuffer converter = ByteBuffer.allocate(4); in intToByteArray() local
543 converter.order(ByteOrder.nativeOrder()); in intToByteArray()
544 converter.putInt(value); in intToByteArray()
545 return converter.array(); in intToByteArray()
549 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToInt() local
550 converter.order(ByteOrder.nativeOrder()); in byteArrayToInt()
551 return converter.getInt(offset); in byteArrayToInt()
555 ByteBuffer converter = ByteBuffer.allocate(2); in shortToByteArray() local
556 converter.order(ByteOrder.nativeOrder()); in shortToByteArray()
558 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/tests/widget/src/android/widget/cts/
DSimpleCursorAdapterTest.java281 SimpleCursorAdapter.CursorToStringConverter converter = in testAccessCursorToStringConverter() local
283 simpleCursorAdapter.setCursorToStringConverter(converter); in testAccessCursorToStringConverter()
284 assertSame(converter, simpleCursorAdapter.getCursorToStringConverter()); in testAccessCursorToStringConverter()
344 SimpleCursorAdapter.CursorToStringConverter converter = in testConvertToString() local
346 simpleCursorAdapter.setCursorToStringConverter(converter); in testConvertToString()
349 verify(converter, times(1)).convertToString(curWith3Columns); in testConvertToString()
/cts/tests/tests/animation/src/android/animation/cts/
DPropertyValuesHolderTest.java515 TypeConverter<PointF, Float> converter = new TypeConverter<PointF, Float>( in testOfObject_Converter() local
538 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()