Home
last modified time | relevance | path

Searched refs:From (Results 1 – 25 of 34) 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.h64 template<typename To, typename From>
65 ConversionResult<To> convertIntegral(From from) { in convertIntegral()
68 if (std::is_signed_v<From> && !std::is_signed_v<To>) { in convertIntegral()
72 } else if (std::is_signed_v<To> && !std::is_signed_v<From>) { in convertIntegral()
88 template<typename To, typename From>
89 ConversionResult<To> convertReinterpret(From from) { in convertReinterpret()
90 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.rs257 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/native/libs/binder/rust/src/parcel/
Dfile_descriptor.rs45 impl From<ParcelFileDescriptor> for File {
/frameworks/proto_logging/stats/enums/telephony/
Denums.proto232 // Data profile of the data call. From
244 // Reason of data call deactivation. From
262 // Action taken to recover a data call that is stalled. From
/frameworks/av/media/codec2/sfplugin/
DCCodecConfig.h187 if (T::From(typed.get())) {
302 mValue = std::shared_ptr<const T>(T::From(C2Param::Copy(*value).release())); in update()
DCCodecConfig.cpp198 PORT::From(queried[0].get()); in QueryMediaTypeImpl()
204 STREAM *streamMediaType = STREAM::From(queried[0].get()); in QueryMediaTypeImpl()
1312 C2StreamTemporalLayeringTuning::From(C2Param::From(tmp->data(), tmp->size())); in getFormatForDomain()
DCCodecBufferChannel.cpp1070 C2PortAllocatorsTuning::input::From(params[0].get()); in start()
1229 C2PortAllocatorsTuning::output::From(params[0].get()); in start()
1257 C2PortSurfaceAllocatorTuning::output::From(params[0].get()); in start()
DReflectedParamUpdater.cpp392 C2Param *tmpAsParam = C2Param::From(tmp->data(), tmp->size()); in parseMessageAndDoWork()
/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/base/libs/protoutil/src/
DProtoOutputStream.cpp554 template <class From, class To>
555 inline To bit_cast(From const &from) { in bit_cast()
/frameworks/base/core/proto/android/service/
Dpackage.proto154 // From "dumpsys package" - name of package which installed this one.
/frameworks/av/media/codec2/hidl/1.0/vts/functional/component/
DVtsHalMediaC2V1_0TargetComponentTest.cpp226 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/av/media/codec2/components/base/
DSimpleC2Component.cpp487 C2PortBlockPoolsTuning::output::From(params[0].get()); in processQueue()
/frameworks/av/media/codec2/vndk/util/
DC2InterfaceUtils.cpp1348 C2PortMediaTypeSetting *mediaTypeConfig = C2PortMediaTypeSetting::From(params[0].get()); in FillTraitsFromInterface()
1373 C2ComponentAliasesSetting::From(params[0].get()); in FillTraitsFromInterface()
/frameworks/base/packages/SystemUI/docs/
Dexecutors.md109 ## Moving From Handler
/frameworks/av/media/codec2/components/aom/
DC2SoftAomDec.cpp399 C2StreamHdr10PlusInfo::input::From(param.get()); in finishWork()

12