Home
last modified time | relevance | path

Searched refs:make (Results 1 – 25 of 629) sorted by relevance

12345678910>>...26

/hardware/interfaces/bluetooth/audio/aidl/default/
DBluetoothAudioProviderFactory.cpp55 provider = ndk::SharedRefBase::make<A2dpSoftwareEncodingAudioProvider>(); in openProvider()
58 provider = ndk::SharedRefBase::make<A2dpOffloadEncodingAudioProvider>( in openProvider()
62 provider = ndk::SharedRefBase::make<HearingAidAudioProvider>(); in openProvider()
65 provider = ndk::SharedRefBase::make<LeAudioSoftwareOutputAudioProvider>(); in openProvider()
68 provider = ndk::SharedRefBase::make<LeAudioOffloadOutputAudioProvider>(); in openProvider()
71 provider = ndk::SharedRefBase::make<LeAudioSoftwareInputAudioProvider>(); in openProvider()
74 provider = ndk::SharedRefBase::make<LeAudioOffloadInputAudioProvider>(); in openProvider()
78 ndk::SharedRefBase::make<LeAudioSoftwareBroadcastAudioProvider>(); in openProvider()
82 ndk::SharedRefBase::make<LeAudioOffloadBroadcastAudioProvider>(); in openProvider()
85 provider = ndk::SharedRefBase::make<A2dpSoftwareDecodingAudioProvider>(); in openProvider()
[all …]
/hardware/interfaces/tv/tuner/aidl/default/
DTuner.cpp42 mFrontends[0] = ndk::SharedRefBase::make<Frontend>(FrontendType::ISDBS, 0); in init()
43 mFrontends[1] = ndk::SharedRefBase::make<Frontend>(FrontendType::ATSC3, 1); in init()
44 mFrontends[2] = ndk::SharedRefBase::make<Frontend>(FrontendType::DVBC, 2); in init()
45 mFrontends[3] = ndk::SharedRefBase::make<Frontend>(FrontendType::DVBS, 3); in init()
46 mFrontends[4] = ndk::SharedRefBase::make<Frontend>(FrontendType::DVBT, 4); in init()
47 mFrontends[5] = ndk::SharedRefBase::make<Frontend>(FrontendType::ISDBT, 5); in init()
48 mFrontends[6] = ndk::SharedRefBase::make<Frontend>(FrontendType::ANALOG, 6); in init()
49 mFrontends[7] = ndk::SharedRefBase::make<Frontend>(FrontendType::ATSC, 7); in init()
50 mFrontends[8] = ndk::SharedRefBase::make<Frontend>(FrontendType::ISDBS3, 8); in init()
51 mFrontends[9] = ndk::SharedRefBase::make<Frontend>(FrontendType::DTMB, 9); in init()
[all …]
/hardware/nxp/keymint/KM200/
DJavacardKeyMintUtils.cpp28 return KeyParameter{Tag::PURPOSE, KeyParameterValue::make<KeyParameterValue::keyPurpose>( in kmEnumParam2Aidl()
31 return KeyParameter{Tag::ALGORITHM, KeyParameterValue::make<KeyParameterValue::algorithm>( in kmEnumParam2Aidl()
34 return KeyParameter{Tag::BLOCK_MODE, KeyParameterValue::make<KeyParameterValue::blockMode>( in kmEnumParam2Aidl()
37 return KeyParameter{Tag::DIGEST, KeyParameterValue::make<KeyParameterValue::digest>( in kmEnumParam2Aidl()
40 return KeyParameter{Tag::PADDING, KeyParameterValue::make<KeyParameterValue::paddingMode>( in kmEnumParam2Aidl()
43 return KeyParameter{Tag::EC_CURVE, KeyParameterValue::make<KeyParameterValue::ecCurve>( in kmEnumParam2Aidl()
47 KeyParameterValue::make<KeyParameterValue::hardwareAuthenticatorType>( in kmEnumParam2Aidl()
50 return KeyParameter{Tag::ORIGIN, KeyParameterValue::make<KeyParameterValue::origin>( in kmEnumParam2Aidl()
71 KeyParameterValue::make<KeyParameterValue::integer>(param.integer)}; in kmParam2Aidl()
76 tag, KeyParameterValue::make<KeyParameterValue::longInteger>(param.long_integer)}; in kmParam2Aidl()
[all …]
/hardware/nxp/keymint/KM300/
DJavacardKeyMintUtils.cpp30 return KeyParameter{Tag::PURPOSE, KeyParameterValue::make<KeyParameterValue::keyPurpose>( in kmEnumParam2Aidl()
33 return KeyParameter{Tag::ALGORITHM, KeyParameterValue::make<KeyParameterValue::algorithm>( in kmEnumParam2Aidl()
36 return KeyParameter{Tag::BLOCK_MODE, KeyParameterValue::make<KeyParameterValue::blockMode>( in kmEnumParam2Aidl()
39 return KeyParameter{Tag::DIGEST, KeyParameterValue::make<KeyParameterValue::digest>( in kmEnumParam2Aidl()
42 return KeyParameter{Tag::PADDING, KeyParameterValue::make<KeyParameterValue::paddingMode>( in kmEnumParam2Aidl()
45 return KeyParameter{Tag::EC_CURVE, KeyParameterValue::make<KeyParameterValue::ecCurve>( in kmEnumParam2Aidl()
49 KeyParameterValue::make<KeyParameterValue::hardwareAuthenticatorType>( in kmEnumParam2Aidl()
52 return KeyParameter{Tag::ORIGIN, KeyParameterValue::make<KeyParameterValue::origin>( in kmEnumParam2Aidl()
72 KeyParameterValue::make<KeyParameterValue::integer>(param.integer)}; in kmParam2Aidl()
77 tag, KeyParameterValue::make<KeyParameterValue::longInteger>(param.long_integer)}; in kmParam2Aidl()
[all …]
/hardware/interfaces/broadcastradio/common/utilsaidl/test/
DBroadcastRadioUtilsCommonTest.cpp264 .metadata = Metadata::make<Metadata::rdsPty>(1), in getIsValidMetadataTestCases()
267 .metadata = Metadata::make<Metadata::rdsPty>(-1), in getIsValidMetadataTestCases()
270 .metadata = Metadata::make<Metadata::rdsPty>(256), in getIsValidMetadataTestCases()
273 .metadata = Metadata::make<Metadata::rbdsPty>(1), in getIsValidMetadataTestCases()
276 .metadata = Metadata::make<Metadata::rbdsPty>(-1), in getIsValidMetadataTestCases()
279 .metadata = Metadata::make<Metadata::rbdsPty>(256), in getIsValidMetadataTestCases()
283 .metadata = Metadata::make<Metadata::dabEnsembleNameShort>("name"), in getIsValidMetadataTestCases()
287 .metadata = Metadata::make<Metadata::dabEnsembleNameShort>("name_long"), in getIsValidMetadataTestCases()
291 .metadata = Metadata::make<Metadata::dabServiceNameShort>("name"), in getIsValidMetadataTestCases()
295 .metadata = Metadata::make<Metadata::dabServiceNameShort>("name_long"), in getIsValidMetadataTestCases()
[all …]
/hardware/interfaces/gnss/aidl/default/
DGnss.cpp259 *iAGnss = SharedRefBase::make<AGnss>(); in getExtensionAGnss()
271 *iAGnssRil = SharedRefBase::make<AGnssRil>(); in getExtensionAGnssRil()
303 *iGnssPsds = SharedRefBase::make<GnssPsds>(); in getExtensionPsds()
311 mGnssConfiguration = SharedRefBase::make<GnssConfiguration>(); in getExtensionGnssConfiguration()
321 mGnssPowerIndication = SharedRefBase::make<GnssPowerIndication>(); in getExtensionGnssPowerIndication()
332 mGnssMeasurementInterface = SharedRefBase::make<GnssMeasurementInterface>(); in getExtensionGnssMeasurement()
342 *iGnssBatching = SharedRefBase::make<GnssBatching>(); in getExtensionGnssBatching()
349 *iGnssGeofence = SharedRefBase::make<GnssGeofence>(); in getExtensionGnssGeofence()
357 *iGnssNavigationMessage = SharedRefBase::make<GnssNavigationMessageInterface>(); in getExtensionGnssNavigationMessage()
363 *iGnssDebug = SharedRefBase::make<GnssDebug>(); in getExtensionGnssDebug()
[all …]
/hardware/interfaces/vibrator/aidl/default/
Dmain.cpp31 auto vib = ndk::SharedRefBase::make<Vibrator>(); in main()
37 auto managedVib = ndk::SharedRefBase::make<Vibrator>(); in main()
38 auto vibManager = ndk::SharedRefBase::make<VibratorManager>(std::move(managedVib)); in main()
Dfuzzer.cpp27 auto managedVib = SharedRefBase::make<Vibrator>(); in LLVMFuzzerTestOneInput()
28 auto vibManager = SharedRefBase::make<VibratorManager>(std::move(managedVib)); in LLVMFuzzerTestOneInput()
/hardware/interfaces/broadcastradio/aidl/default/
DVirtualProgram.cpp80 Metadata::make<Metadata::rdsPs>(programName), in operator ProgramInfo()
81 Metadata::make<Metadata::songTitle>(songTitle), in operator ProgramInfo()
82 Metadata::make<Metadata::songArtist>(songArtist), in operator ProgramInfo()
83 Metadata::make<Metadata::stationIcon>(resources::kDemoPngId), in operator ProgramInfo()
84 Metadata::make<Metadata::albumArt>(resources::kDemoPngId), in operator ProgramInfo()
Dfuzzer.cpp29 ::ndk::SharedRefBase::make<BroadcastRadio>(amFmRadioMock); in LLVMFuzzerTestOneInput()
32 ::ndk::SharedRefBase::make<BroadcastRadio>(dabRadioMock); in LLVMFuzzerTestOneInput()
/hardware/interfaces/audio/aidl/common/tests/
Dutils_tests.cpp40 EXPECT_EQ(0UL, getChannelCount(AudioChannelLayout::make<Tag::invalid>(0))); in TEST()
41 EXPECT_EQ(0UL, getChannelCount(AudioChannelLayout::make<Tag::invalid>(-1))); in TEST()
46 EXPECT_EQ(0UL, getChannelCount(AudioChannelLayout::make<Tag::indexMask>(0))); in TEST()
50 AudioChannelLayout::make<Tag::indexMask>(AudioChannelLayout::INDEX_MASK_##N); \ in TEST()
94 const auto l = AudioChannelLayout::make<Tag::layoutMask>(layout); in TEST()
109 const auto l = AudioChannelLayout::make<Tag::voiceMask>(layout); in TEST()
117 return AudioChannelLayout::make<AudioChannelLayout::Tag::layoutMask>( in make_AudioChannelLayout_Mono()
122 return AudioChannelLayout::make<AudioChannelLayout::Tag::layoutMask>( in make_AudioChannelLayout_Stereo()
/hardware/interfaces/audio/aidl/vts/
DVtsHalEnvironmentalReverbTargetTest.cpp170 EnvironmentalReverb::make<EnvironmentalReverb::roomLevelMb>(kMaxRoomLevel); in getDefaultParamSpecific()
172 Parameter::Specific::make<Parameter::Specific::environmentalReverb>(er); in getDefaultParamSpecific()
181 return Parameter::make<Parameter::specific>( in createParam()
182 Parameter::Specific::make<Parameter::Specific::environmentalReverb>(env)); in createParam()
192 auto erId = EnvironmentalReverb::Id::make<EnvironmentalReverb::Id::commonTag>( in setAndVerifyParam()
195 auto id = Parameter::Id::make<Parameter::Id::environmentalReverbTag>(erId); in setAndVerifyParam()
234 return EnvironmentalReverb::make<EnvironmentalReverb::roomLevelMb>(value); in __anon335364b70a02()
237 return EnvironmentalReverb::make<EnvironmentalReverb::roomHfLevelMb>(value); in __anon335364b70b02()
240 return EnvironmentalReverb::make<EnvironmentalReverb::decayTimeMs>(value); in __anon335364b70c02()
243 return EnvironmentalReverb::make<EnvironmentalReverb::decayHfRatioPm>( in __anon335364b70d02()
[all …]
DVtsHalVirtualizerTargetTest.cpp57 Virtualizer vr = Virtualizer::make<Virtualizer::strengthPm>(0); in getDefaultParamSpecific()
59 Parameter::Specific::make<Parameter::Specific::virtualizer>(vr); in getDefaultParamSpecific()
64 return Parameter::make<Parameter::specific>( in createVirtualizerStrengthParam()
65 Parameter::Specific::make<Parameter::Specific::virtualizer>( in createVirtualizerStrengthParam()
66 Virtualizer::make<Virtualizer::strengthPm>(param))); in createVirtualizerStrengthParam()
75 auto vir = Virtualizer::make<Virtualizer::strengthPm>(level); in isStrengthValid()
85 Virtualizer::Id::make<Virtualizer::Id::commonTag>(Virtualizer::strengthPm); in setAndVerifyStrength()
87 auto id = Parameter::Id::make<Parameter::Id::virtualizerTag>(vrlId); in setAndVerifyStrength()
102 AudioChannelLayout::make<AudioChannelLayout::layoutMask>(kDefaultChannelLayout));
DVtsHalPresetReverbTargetTest.cpp57 PresetReverb pr = PresetReverb::make<PresetReverb::preset>(kDefaultPreset); in getDefaultParamSpecific()
59 Parameter::Specific::make<Parameter::Specific::presetReverb>(pr); in getDefaultParamSpecific()
64 return Parameter::make<Parameter::specific>( in createPresetReverbParam()
65 Parameter::Specific::make<Parameter::Specific::presetReverb>( in createPresetReverbParam()
66 PresetReverb::make<PresetReverb::preset>(param))); in createPresetReverbParam()
74 PresetReverb::Id::make<PresetReverb::Id::commonTag>(PresetReverb::preset); in setAndVerifyPreset()
76 auto id = Parameter::Id::make<Parameter::Id::presetReverbTag>(revId); in setAndVerifyPreset()
88 getChannelCount(AudioChannelLayout::make<AudioChannelLayout::layoutMask>(
DVtsHalSpatializerTargetTest.cpp63 Spatializer::make<Spatializer::spatializationLevel>(level); in SpatializerParamTest()
65 Spatializer::make<Spatializer::spatializationMode>(mode); in SpatializerParamTest()
67 Spatializer::make<Spatializer::headTrackingSensorId>(sensorId); in SpatializerParamTest()
69 Spatializer::make<Spatializer::headTrackingMode>(htMode); in SpatializerParamTest()
71 Spatializer::make<Spatializer::headTrackingConnectionMode>(htConnectMode); in SpatializerParamTest()
96 Spatializer spatializer = Spatializer::make<Spatializer::headTrackingSensorId>(0); in getDefaultParamSpecific()
98 Parameter::Specific::make<Parameter::Specific::spatializer>(spatializer); in getDefaultParamSpecific()
DVtsHalBassBoostTargetTest.cpp57 AudioChannelLayout::make<AudioChannelLayout::layoutMask>(layout); in SetUpBassBoost()
75 BassBoost bb = BassBoost::make<BassBoost::strengthPm>(0); in getDefaultParamSpecific()
77 Parameter::Specific::make<Parameter::Specific::bassBoost>(bb); in getDefaultParamSpecific()
83 AudioChannelLayout::make<AudioChannelLayout::layoutMask>(inputBufferLayout)); in setFrameCounts()
89 return Parameter::make<Parameter::specific>( in createBassBoostParam()
90 Parameter::Specific::make<Parameter::Specific::bassBoost>( in createBassBoostParam()
91 BassBoost::make<BassBoost::strengthPm>(strength))); in createBassBoostParam()
95 auto bb = BassBoost::make<BassBoost::strengthPm>(strength); in isStrengthValid()
104 auto bbId = BassBoost::Id::make<BassBoost::Id::commonTag>( in setAndVerifyParameters()
106 auto id = Parameter::Id::make<Parameter::Id::bassBoostTag>(bbId); in setAndVerifyParameters()
DVtsHalVolumeTargetTest.cpp55 Volume vol = Volume::make<Volume::levelDb>(kMinLevel); in getDefaultParamSpecific()
56 Parameter::Specific specific = Parameter::Specific::make<Parameter::Specific::volume>(vol); in getDefaultParamSpecific()
61 return Parameter::make<Parameter::specific>( in createVolumeParam()
62 Parameter::Specific::make<Parameter::Specific::volume>( in createVolumeParam()
63 (volTag == Volume::mute) ? Volume::make<Volume::mute>(param) in createVolumeParam()
64 : Volume::make<Volume::levelDb>(param))); in createVolumeParam()
69 AudioChannelLayout::make<AudioChannelLayout::layoutMask>(kDefaultChannelLayout)); in initFrameCount()
75 auto vol = Volume::make<Volume::levelDb>(level); in isLevelValid()
84 Volume::Id volId = Volume::Id::make<Volume::Id::commonTag>(volTag); in setAndVerifyParameters()
86 auto id = Parameter::Id::make<Parameter::Id::volumeTag>(volId); in setAndVerifyParameters()
/hardware/google/av/media/eco/tests/
DEcoSessionTest.cpp99 ndk::SharedRefBase::make<FakeECOServiceStatsProvider>( in TEST_F()
114 ndk::SharedRefBase::make<FakeECOServiceStatsProvider>( in TEST_F()
130 ndk::SharedRefBase::make<FakeECOServiceStatsProvider>( in TEST_F()
148 ndk::SharedRefBase::make<FakeECOServiceStatsProvider>( in TEST_F()
158 ndk::SharedRefBase::make<FakeECOServiceStatsProvider>( in TEST_F()
170 ndk::SharedRefBase::make<FakeECOServiceInfoListener>(kTestWidth - 1, kTestHeight, in TEST_F()
186 ndk::SharedRefBase::make<FakeECOServiceInfoListener>(kTestWidth, kTestHeight - 1, in TEST_F()
202 ndk::SharedRefBase::make<FakeECOServiceInfoListener>(kTestWidth, kTestHeight, in TEST_F()
225 ndk::SharedRefBase::make<FakeECOServiceStatsProvider>( in TEST_F()
237 ndk::SharedRefBase::make<FakeECOServiceInfoListener>(kTestWidth, kTestHeight, in TEST_F()
[all …]
/hardware/google/gfxstream/host/gl/gl-host-common/include/host-common/opengl/
Dgpuinfo.h45 const char* make; member
72 make(_make), in GpuInfo()
83 std::string make; variable
/hardware/google/aemu/
Drebuild.sh23 make -j &&
24 make install
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DUtils.cpp72 return Memory::make<Memory::Tag::ashmem>(std::move(handle)); in clone()
83 return Memory::make<Memory::Tag::mappableFile>(std::move(handle)); in clone()
92 return Memory::make<Memory::Tag::hardwareBuffer>(std::move(ahwbHandle)); in clone()
104 return RequestMemoryPool::make<Tag::pool>(NN_TRY(clone(requestPool.get<Tag::pool>()))); in clone()
106 return RequestMemoryPool::make<Tag::token>(requestPool.get<Tag::token>()); in clone()
/hardware/interfaces/radio/aidl/vts/
Dradio_aidl_hal_utils.cpp197 ndk::SharedRefBase::make<RadioConfigResponse>(*this); in getRadioHalCapabilities()
199 ndk::SharedRefBase::make<RadioConfigIndication>(*this); in getRadioHalCapabilities()
214 ndk::SharedRefBase::make<RadioSimResponse>(*this); in updateSimCardStatus()
216 ndk::SharedRefBase::make<RadioSimIndication>(*this); in updateSimCardStatus()
229 ndk::SharedRefBase::make<RadioConfigResponse>(*this); in updateSimSlotStatus()
231 ndk::SharedRefBase::make<RadioConfigIndication>(*this); in updateSimSlotStatus()
/hardware/interfaces/automotive/audiocontrol/aidl/default/
Dmain.cpp29 std::shared_ptr<AudioControl> audioControl = ::ndk::SharedRefBase::make<AudioControl>(); in main()
37 ::ndk::SharedRefBase::make<PowerPolicyClient>(audioControl); in main()
/hardware/interfaces/tests/extension/vibrator/aidl/default/
Dservice.cpp33 std::shared_ptr<Vibrator> vib = ndk::SharedRefBase::make<Vibrator>(); in main()
37 std::shared_ptr<CustomVibrator> cvib = ndk::SharedRefBase::make<CustomVibrator>(); in main()
/hardware/interfaces/confirmationui/aidl/vts/functional/
DVtsHalConfirmationUITargetTest.cpp274 ::ndk::SharedRefBase::make<ConfirmationTestCallback>(*this); in TEST_P()
317 ::ndk::SharedRefBase::make<ConfirmationTestCallback>(*this); in TEST_P()
330 ::ndk::SharedRefBase::make<ConfirmationTestCallback>(*this); in TEST_P()
342 ::ndk::SharedRefBase::make<ConfirmationTestCallback>(*this); in TEST_P()
363 ::ndk::SharedRefBase::make<ConfirmationTestCallback>(*this); in TEST_P()
385 ::ndk::SharedRefBase::make<ConfirmationTestCallback>(*this); in TEST_P()
407 ::ndk::SharedRefBase::make<ConfirmationTestCallback>(*this); in TEST_P()
432 ::ndk::SharedRefBase::make<ConfirmationTestCallback>(*this); in TEST_P()
454 ::ndk::SharedRefBase::make<ConfirmationTestCallback>(*this); in TEST_P()
477 ::ndk::SharedRefBase::make<ConfirmationTestCallback>(*this); in TEST_P()
[all …]

12345678910>>...26