Home
last modified time | relevance | path

Searched refs:From (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/base/core/java/android/animation/
DBidirectionalTypeConverter.java55 private static class InvertedConverter<From, To> extends BidirectionalTypeConverter<From, To> {
56 private BidirectionalTypeConverter<To, From> mConverter;
58 public InvertedConverter(BidirectionalTypeConverter<To, From> converter) { in InvertedConverter()
64 public From convertBack(To value) { in convertBack()
69 public To convert(From value) { in convert()
/frameworks/av/media/codec2/tests/
DC2Param_test.cpp1210 EXPECT_EQ(C2NumberTuning::From(nullptr), nullptr); in TEST_F()
1211 EXPECT_EQ(C2NumberTuning::From(&tun), &tun); in TEST_F()
1212 EXPECT_EQ(C2NumberPortTuning::From(&tun), nullptr); in TEST_F()
1213 EXPECT_EQ(C2NumberPortTuning::input::From(&tun), nullptr); in TEST_F()
1214 EXPECT_EQ(C2NumberPortTuning::output::From(&tun), nullptr); in TEST_F()
1215 EXPECT_EQ(C2NumberStreamTuning::From(&tun), nullptr); in TEST_F()
1216 EXPECT_EQ(C2NumberStreamTuning::input::From(&tun), nullptr); in TEST_F()
1217 EXPECT_EQ(C2NumberStreamTuning::output::From(&tun), nullptr); in TEST_F()
1410 EXPECT_EQ(C2NumberPortTuning::From(nullptr), nullptr); in TEST_F()
1411 EXPECT_EQ(C2NumberPortTuning::input::From(nullptr), nullptr); in TEST_F()
[all …]
/frameworks/av/media/libaudioclient/include/media/
DAidlConversionUtil.h36 template<typename To, typename From>
37 ConversionResult<To> convertIntegral(From from) { in convertIntegral()
40 if (std::is_signed_v<From> && !std::is_signed_v<To>) { in convertIntegral()
44 } else if (std::is_signed_v<To> && !std::is_signed_v<From>) { in convertIntegral()
60 template<typename To, typename From>
61 ConversionResult<To> convertReinterpret(From from) { in convertReinterpret()
62 static_assert(sizeof(From) == sizeof(To)); in convertReinterpret()
/frameworks/native/libs/binder/rust/src/
Derror.rs298 impl From<StatusCode> for Status {
304 impl From<status_t> for Status {
316 impl From<ExceptionCode> for Status {
330 impl From<Status> for result::Result<(), Status> {
340 impl From<Status> for status_t {
Dbinder_async.rs54 E: From<crate::StatusCode>; in spawn()
Dbinder.rs119 impl From<Stability> for i32 {
350 impl From<InterfaceClass> for *const sys::AIBinder_Class { impl
/frameworks/av/media/codec2/vndk/include/util/
DC2InterfaceHelper.h486 *mTypedParam = std::shared_ptr<T>(T::From(C2Param::Copy(*default_).release()));
516 const T *typedValue = T::From(value);
549 const T *typedValue = T::From(value);
556 std::shared_ptr<T>(T::From(C2Param::Copy(*value).release()));
590 const T *typedValue = T::From(value);
597 std::shared_ptr<T>(T::From(C2Param::Copy(*value).release()));
/frameworks/base/tests/Camera2Tests/SmartCamera/
DREADME.txt21 From root: make SmartCamera will build the apk for generic
37 should appear. From there, you can go to the gallery with the gallery button or
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
Dvariant.h87 template <typename From, typename To>
88 struct ConstructibleCount<From, To>
89 : std::integral_constant<std::size_t, IsConstructible<To, From>::value> {};
90 template <typename From, typename First, typename... Rest>
91 struct ConstructibleCount<From, First, Rest...>
93 IsConstructible<First, From>::value +
94 ConstructibleCount<From, Rest...>::value> {};
/frameworks/av/media/codec2/hidl/1.0/vts/functional/audio/
DVtsHalMediaC2V1_0TargetAudioEncTest.cpp179 mInputMaxBufSize = C2StreamMaxBufferSizeInfo::input::From(inParams[0].get())->value; in getInputMaxBufSize()
283 *nSampleRate = C2StreamSampleRateInfo::input::From(queried[0].get())->value; in getSampleRate()
293 mEncoderFrameSize = C2StreamAudioFrameSizeInfo::input::From(queried[0].get())->value; in getSamplesPerFrame()
305 uint32_t maxInputSize = C2StreamMaxBufferSizeInfo::input::From(queried[0].get())->value; in getSamplesPerFrame()
607 int32_t channelCount = C2StreamChannelCountInfo::input::From(inParams[0].get())->value; in TEST_P()
696 C2StreamSampleRateInfo::input::From(inParams[0].get())->value; in TEST_P()
DVtsHalMediaC2V1_0TargetAudioDecTest.cpp285 bitStreamInfo[0] = C2StreamSampleRateInfo::output::From(inParams[0].get())->value; in getInputChannelInfo()
286 bitStreamInfo[1] = C2StreamChannelCountInfo::output::From(inParams[1].get())->value; in getInputChannelInfo()
/frameworks/native/libs/binder/rust/src/parcel/
Dfile_descriptor.rs45 impl From<ParcelFileDescriptor> for File {
/frameworks/av/media/codec2/sfplugin/
DCCodecConfig.h189 if (T::From(typed.get())) {
304 mValue = std::shared_ptr<const T>(T::From(C2Param::Copy(*value).release())); in update()
/frameworks/base/core/proto/android/os/
Dheader.proto25 // From statsd config, the id of the anomaly alert, unique among alerts.
/frameworks/av/media/codec2/core/include/
DC2ParamDef.h217 inline static _Type* From(C2Param *other) { \
222 inline static const _Type* From(const C2Param *other) { \
223 return const_cast<const _Type*>(From(const_cast<C2Param *>(other))); \
225 inline static _Type* From(std::nullptr_t) { return nullptr; } \
DC2Param.h433 inline static C2Param* From(void *addr, size_t len) { in From() function
496 P *As() { return P::From(this); } in As()
498 const P *As() const { return const_cast<const P*>(P::From(const_cast<C2Param*>(this))); } in As()
/frameworks/native/libs/binder/rust/binder_tokio/
Dlib.rs97 E: From<crate::StatusCode>, in spawn()
/frameworks/proto_logging/stats/enums/telephony/
Denums.proto264 // Data profile of the data call. From
276 // Reason of data call deactivation. From
294 // Action taken to recover a data call that is stalled. From
/frameworks/base/libs/protoutil/src/
DProtoOutputStream.cpp554 template <class From, class To>
555 inline To bit_cast(From const &from) { in bit_cast()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHidlComposerHal.cpp174 template <typename To, typename From>
175 To translate(From x) { in translate()
179 template <typename To, typename From>
180 std::vector<To> translate(const hidl_vec<From>& in) { in translate()
184 [](From x) { return translate<To>(x); }); in translate()
DAidlComposerHal.cpp82 template <typename To, typename From>
83 To translate(From x) { in translate()
87 template <typename To, typename From>
88 std::vector<To> translate(const std::vector<From>& in) { in translate()
92 [](From x) { return translate<To>(x); }); in translate()
/frameworks/base/core/proto/android/service/
Dpackage.proto155 // From "dumpsys package" - name of package which installed this one.
/frameworks/av/media/codec2/hidl/1.0/vts/functional/component/
DVtsHalMediaC2V1_0TargetComponentTest.cpp236 C2PortMediaTypeSetting::input::From(queried[0].get()); in TEST_P()
/frameworks/base/packages/BackupEncryption/proto/
Dbackup_chunks_metadata.proto60 // List of the chunks in the blob, along with the length of each chunk. From this is it possible to
/frameworks/proto_logging/stats/enums/media/audio/
Denums.proto23 // From

12