Home
last modified time | relevance | path

Searched refs:Id (Results 1 – 25 of 111) sorted by relevance

12345

/frameworks/av/media/libaudioclient/tests/
Drecord_test_output_v1.0_ref_walleye.txt4 status(0), active(0), session Id(65)
9 input(150), latency(100), selected device Id(0), routed device Id(11)
13 status(0), active(0), session Id(73)
18 input(158), latency(200), selected device Id(0), routed device Id(11)
22 status(0), active(0), session Id(81)
27 input(166), latency(300), selected device Id(0), routed device Id(11)
31 status(0), active(0), session Id(89)
36 input(174), latency(600), selected device Id(0), routed device Id(11)
40 status(0), active(0), session Id(97)
45 input(182), latency(100), selected device Id(0), routed device Id(11)
[all …]
Dtrack_test_output_v1.0_ref_walleye.txt4 status(0), state(1), session Id(49), flags(0)
10 latency (150), selected device Id(0), routed device Id(2)
15 status(0), state(1), session Id(57), flags(0)
21 latency (250), selected device Id(0), routed device Id(2)
26 status(0), state(1), session Id(65), flags(0)
32 latency (350), selected device Id(0), routed device Id(2)
37 status(0), state(1), session Id(73), flags(0)
43 latency (650), selected device Id(0), routed device Id(2)
48 status(0), state(1), session Id(81), flags(0)
54 latency (150), selected device Id(0), routed device Id(2)
[all …]
/frameworks/av/media/libaudiohal/tests/
DEffectHalVersionCompatibility_test.cpp68 static const std::unordered_map<Parameter::Id::Tag, int /* version */> kParamIdEffectVersionMap = {
69 {Parameter::Id::vendorEffectTag, 1},
70 {Parameter::Id::acousticEchoCancelerTag, 1},
71 {Parameter::Id::automaticGainControlV1Tag, 1},
72 {Parameter::Id::automaticGainControlV2Tag, 1},
73 {Parameter::Id::bassBoostTag, 1},
74 {Parameter::Id::downmixTag, 1},
75 {Parameter::Id::dynamicsProcessingTag, 1},
76 {Parameter::Id::environmentalReverbTag, 1},
77 {Parameter::Id::equalizerTag, 1},
[all …]
/frameworks/base/tools/aapt2/process/
DProductFilter_test.cpp34 .SetValue(test::ValueBuilder<Id>().SetSource(android::Source("land/default.xml")).Build(), in TEST()
41 .SetValue(test::ValueBuilder<Id>().SetSource(android::Source("land/tablet.xml")).Build(), in TEST()
48 .SetValue(test::ValueBuilder<Id>().SetSource(android::Source("port/default.xml")).Build(), in TEST()
55 .SetValue(test::ValueBuilder<Id>().SetSource(android::Source("port/tablet.xml")).Build(), in TEST()
63 EXPECT_EQ(nullptr, test::GetValueForConfigAndProduct<Id>(&table, "android:string/one", land, "")); in TEST()
65 test::GetValueForConfigAndProduct<Id>(&table, "android:string/one", land, "tablet")); in TEST()
66 EXPECT_EQ(nullptr, test::GetValueForConfigAndProduct<Id>(&table, "android:string/one", port, "")); in TEST()
68 test::GetValueForConfigAndProduct<Id>(&table, "android:string/one", port, "tablet")); in TEST()
77 .SetValue(test::ValueBuilder<Id>().SetSource(android::Source("default.xml")).Build()) in TEST()
83 .SetValue(test::ValueBuilder<Id>().SetSource(android::Source("tablet.xml")).Build(), {}, in TEST()
[all …]
/frameworks/native/libs/ftl/
Dmixins_test.cpp30 struct Id : ftl::Constructible<Id, std::int32_t>, ftl::Equatable<Id> { struct
34 static_assert(!std::is_default_constructible_v<Id>);
65 constexpr Id kId{1234};
69 static_assert(ftl::to_underlying(Id(-42)) == -42);
73 static_assert(static_cast<std::int32_t>(Id(-1)) == -1);
76 static_assert(!std::is_convertible_v<std::int32_t, Id>);
77 static_assert(!std::is_convertible_v<Id, std::int32_t>);
80 static_assert(kId == Id(1234));
81 static_assert(kId != Id(123));
157 static_assert(traits::is_equatable_v<Id, Id>);
[all …]
/frameworks/base/tools/aapt2/optimize/
DVersionCollapser_test.cpp49 test::GetValueForConfig<Id>(table.get(), res_name, in TEST()
52 test::GetValueForConfig<Id>(table.get(), res_name, in TEST()
57 test::GetValueForConfig<Id>(table.get(), res_name, in TEST()
62 test::GetValueForConfig<Id>(table.get(), res_name, in TEST()
67 test::GetValueForConfig<Id>(table.get(), res_name, in TEST()
70 test::GetValueForConfig<Id>(table.get(), res_name, in TEST()
73 test::GetValueForConfig<Id>(table.get(), res_name, in TEST()
91 test::GetValueForConfig<Id>(table.get(), res_name, in TEST()
94 test::GetValueForConfig<Id>(table.get(), res_name, in TEST()
97 test::GetValueForConfig<Id>(table.get(), res_name, in TEST()
[all …]
/frameworks/base/tools/aapt2/compile/
DIdAssigner.cpp38 template <typename Id, typename Key>
40 std::map<Id, Key> pre_assigned_ids_;
41 explicit NextIdFinder(Id start_id = 0u) : next_id_(start_id){}; in NextIdFinder()
46 Result<Id> ReserveId(Key key, Id id);
49 std::optional<Id> NextId();
54 std::optional<Id> SkipToNextAvailableId();
56 Id next_id_;
59 typename std::map<Id, Key>::iterator next_preassigned_id_;
199 template <typename Id, typename Key>
200 Result<Id> NextIdFinder<Id, Key>::ReserveId(Key key, Id id) { in ReserveId()
[all …]
/frameworks/native/services/surfaceflinger/
DDisplayIdGenerator.h31 template <typename Id>
39 std::optional<Id> generateId() { in generateId()
47 const Id id{mDistribution(mGenerator)}; in generateId()
57 void releaseId(Id id) { mUsedIds.erase(id); } in releaseId()
62 std::unordered_set<Id> mUsedIds;
68 std::uniform_int_distribution<typename Id::BaseId> mDistribution;
/frameworks/base/tools/aapt2/split/
DTableSplitter_test.cpp60 EXPECT_NE(nullptr, test::GetValue<Id>(table.get(), "android:string/one")); in TEST()
96 EXPECT_NE(nullptr, test::GetValue<Id>(table.get(), "android:string/one")); in TEST()
198 .SetValue(util::make_unique<Id>(), test::ParseConfigOrDie("land-hdpi")) in TEST()
204 .SetValue(util::make_unique<Id>(), test::ParseConfigOrDie("land-xhdpi")) in TEST()
210 .SetValue(util::make_unique<Id>(), test::ParseConfigOrDie("land-xxhdpi")) in TEST()
231 test::GetValueForConfig<Id>(&table, "android:string/foo", in TEST()
234 test::GetValueForConfig<Id>(&table, "android:string/foo", in TEST()
237 test::GetValueForConfig<Id>(&table, "android:string/foo", in TEST()
241 test::GetValueForConfig<Id>(split_one, "android:string/foo", in TEST()
244 test::GetValueForConfig<Id>(split_one, "android:string/foo", in TEST()
[all …]
/frameworks/av/media/libeffects/lvm/wrapper/Aidl/
DEffectBundleAidl.cpp258 ndk::ScopedAStatus EffectBundleAidl::getParameterSpecific(const Parameter::Id& id, in getParameterSpecific()
264 case Parameter::Id::equalizerTag: in getParameterSpecific()
265 return getParameterEqualizer(id.get<Parameter::Id::equalizerTag>(), specific); in getParameterSpecific()
266 case Parameter::Id::bassBoostTag: in getParameterSpecific()
267 return getParameterBassBoost(id.get<Parameter::Id::bassBoostTag>(), specific); in getParameterSpecific()
268 case Parameter::Id::virtualizerTag: in getParameterSpecific()
269 return getParameterVirtualizer(id.get<Parameter::Id::virtualizerTag>(), specific); in getParameterSpecific()
270 case Parameter::Id::volumeTag: in getParameterSpecific()
271 return getParameterVolume(id.get<Parameter::Id::volumeTag>(), specific); in getParameterSpecific()
279 ndk::ScopedAStatus EffectBundleAidl::getParameterEqualizer(const Equalizer::Id& id, in getParameterEqualizer()
[all …]
DEffectBundleAidl.h42 ndk::ScopedAStatus getParameterSpecific(const Parameter::Id& id, Parameter::Specific* specific)
66 ndk::ScopedAStatus getParameterBassBoost(const BassBoost::Id& id, Parameter::Specific* specific)
71 ndk::ScopedAStatus getParameterEqualizer(const Equalizer::Id& id, Parameter::Specific* specific)
74 ndk::ScopedAStatus getParameterVolume(const Volume::Id& id, Parameter::Specific* specific)
78 ndk::ScopedAStatus getParameterVirtualizer(const Virtualizer::Id& id,
/frameworks/av/media/libeffects/preprocessing/aidl/
DEffectPreProcessing.cpp251 ndk::ScopedAStatus EffectPreProcessing::getParameterSpecific(const Parameter::Id& id, in getParameterSpecific()
257 case Parameter::Id::acousticEchoCancelerTag: in getParameterSpecific()
259 id.get<Parameter::Id::acousticEchoCancelerTag>(), specific); in getParameterSpecific()
260 case Parameter::Id::automaticGainControlV1Tag: in getParameterSpecific()
262 id.get<Parameter::Id::automaticGainControlV1Tag>(), specific); in getParameterSpecific()
263 case Parameter::Id::automaticGainControlV2Tag: in getParameterSpecific()
265 id.get<Parameter::Id::automaticGainControlV2Tag>(), specific); in getParameterSpecific()
266 case Parameter::Id::noiseSuppressionTag: in getParameterSpecific()
267 return getParameterNoiseSuppression(id.get<Parameter::Id::noiseSuppressionTag>(), in getParameterSpecific()
277 const AcousticEchoCanceler::Id& id, Parameter::Specific* specific) { in getParameterAcousticEchoCanceler()
[all …]
DEffectPreProcessing.h36 ndk::ScopedAStatus getParameterSpecific(const Parameter::Id& id, Parameter::Specific* specific)
58 ndk::ScopedAStatus getParameterAcousticEchoCanceler(const AcousticEchoCanceler::Id& id,
64 ndk::ScopedAStatus getParameterAutomaticGainControlV1(const AutomaticGainControlV1::Id& id,
70 ndk::ScopedAStatus getParameterAutomaticGainControlV2(const AutomaticGainControlV2::Id& id,
76 ndk::ScopedAStatus getParameterNoiseSuppression(const NoiseSuppression::Id& id,
/frameworks/base/services/core/java/com/android/server/wm/
DEventLogTags.logtags11 30002 wm_task_to_front (User|1|5),(Task|1|5),(Display Id|1|5)
15 30004 wm_create_task (User|1|5),(Task ID|1|5),(Root Task ID|1|5),(Display Id|1|5)
43 …0044 wm_focused_root_task (User|1|5),(Display Id|1|5),(Focused Root Task Id|1|5),(Last Focused Roo…
52 30067 wm_set_keyguard_shown (Display Id|1|5),(keyguardShowing|1),(aodShowing|1),(keyguardGoingAway|…
59 31002 wm_task_moved (TaskId|1|5),(Root Task ID|1|5),(Display Id|1|5),(ToTop|1),(Index|1)
61 31003 wm_task_removed (TaskId|1|5),(Root Task ID|1|5),(Display Id|1|5),(Reason|3)
86 33001 wm_wallpaper_surface (Display Id|1|5),(Visible|1),(Target|3)
/frameworks/av/media/libaudiohal/impl/effectsAidlConversion/
DAidlConversionVirtualizer.cpp105 Parameter::Id id = MAKE_SPECIFIC_PARAMETER_ID(Virtualizer, virtualizerTag, in getParameter()
126 Virtualizer::Id vId = UNION_MAKE(Virtualizer::Id, speakerAnglesPayload, payload); in getParameter()
127 Parameter::Id id = UNION_MAKE(Parameter::Id, virtualizerTag, vId); in getParameter()
146 Parameter::Id id = MAKE_SPECIFIC_PARAMETER_ID(Virtualizer, virtualizerTag, in getParameter()
DAidlConversionVisualizer.cpp97 Parameter::Id id = MAKE_SPECIFIC_PARAMETER_ID(Visualizer, visualizerTag, in getParameter()
106 Parameter::Id id = MAKE_SPECIFIC_PARAMETER_ID(Visualizer, visualizerTag, in getParameter()
117 Parameter::Id id = MAKE_SPECIFIC_PARAMETER_ID(Visualizer, visualizerTag, in getParameter()
125 Parameter::Id id = MAKE_SPECIFIC_PARAMETER_ID(Visualizer, visualizerTag, in getParameter()
148 Parameter::Id id = MAKE_SPECIFIC_PARAMETER_ID(Visualizer, visualizerTag, in visualizerCapture()
166 Parameter::Id id = in visualizerMeasure()
DAidlConversionAgc2.cpp91 Parameter::Id id = in getParameter()
100 Parameter::Id id = in getParameter()
109 Parameter::Id id = in getParameter()
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/aidl/
DEffectReverb.cpp237 ndk::ScopedAStatus EffectReverb::getParameterSpecific(const Parameter::Id& id, in getParameterSpecific()
243 case Parameter::Id::presetReverbTag: in getParameterSpecific()
244 return getParameterPresetReverb(id.get<Parameter::Id::presetReverbTag>(), specific); in getParameterSpecific()
245 case Parameter::Id::environmentalReverbTag: in getParameterSpecific()
246 return getParameterEnvironmentalReverb(id.get<Parameter::Id::environmentalReverbTag>(), in getParameterSpecific()
255 ndk::ScopedAStatus EffectReverb::getParameterPresetReverb(const PresetReverb::Id& id, in getParameterPresetReverb()
257 RETURN_IF(id.getTag() != PresetReverb::Id::commonTag, EX_ILLEGAL_ARGUMENT, in getParameterPresetReverb()
261 auto tag = id.get<PresetReverb::Id::commonTag>(); in getParameterPresetReverb()
278 ndk::ScopedAStatus EffectReverb::getParameterEnvironmentalReverb(const EnvironmentalReverb::Id& id, in getParameterEnvironmentalReverb()
280 RETURN_IF(id.getTag() != EnvironmentalReverb::Id::commonTag, EX_ILLEGAL_ARGUMENT, in getParameterEnvironmentalReverb()
[all …]
DEffectReverb.h35 ndk::ScopedAStatus getParameterSpecific(const Parameter::Id& id, Parameter::Specific* specific)
59 ndk::ScopedAStatus getParameterPresetReverb(const PresetReverb::Id& id,
65 ndk::ScopedAStatus getParameterEnvironmentalReverb(const EnvironmentalReverb::Id& id,
/frameworks/base/tools/aapt2/link/
DAutoVersioner_test.cpp62 util::make_unique<Id>()) in TEST()
64 util::make_unique<Id>()) in TEST()
66 ResourceId(0x01010364), util::make_unique<Id>()) in TEST()
68 util::make_unique<Id>()) in TEST()
75 util::make_unique<Id>()) in TEST()
/frameworks/base/tools/aapt2/
DResourceTable_test.cpp65 .SetValue(test::ValueBuilder<Id>().SetSource("test/path/file.xml", 23u).Build()) in TEST()
69 EXPECT_THAT(test::GetValue<Id>(&table, "android:attr/id"), NotNull()); in TEST()
80 .SetValue(test::ValueBuilder<Id>().SetSource("test/path/file.xml", 10u).Build()) in TEST()
86 .SetValue(test::ValueBuilder<Id>().SetSource("test/path/file.xml", 12u).Build()) in TEST()
92 .SetValue(test::ValueBuilder<Id>().SetSource("test/path/file.xml", 14u).Build()) in TEST()
105 EXPECT_THAT(test::GetValue<Id>(&table, "android:attr/layout_width"), NotNull()); in TEST()
106 EXPECT_THAT(test::GetValue<Id>(&table, "android:attr/id"), NotNull()); in TEST()
107 EXPECT_THAT(test::GetValue<Id>(&table, "android:string/ok"), NotNull()); in TEST()
153 .SetValue(util::make_unique<Id>(), test::ParseConfigOrDie("land"), "tablet") in TEST()
159 .SetValue(util::make_unique<Id>(), test::ParseConfigOrDie("land"), "phone") in TEST()
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayIdGeneratorTest.cpp28 template <typename Id>
30 DisplayIdGenerator<Id> generator; in testGenerateId()
32 std::vector<std::optional<Id>> ids; in testGenerateId()
/frameworks/av/media/libeffects/hapticgenerator/aidl/
DEffectHapticGenerator.cpp122 ndk::ScopedAStatus HapticGeneratorImpl::getParameterSpecific(const Parameter::Id& id, in getParameterSpecific()
126 RETURN_IF(Parameter::Id::hapticGeneratorTag != tag, EX_ILLEGAL_ARGUMENT, "wrongIdTag"); in getParameterSpecific()
127 auto hgId = id.get<Parameter::Id::hapticGeneratorTag>(); in getParameterSpecific()
130 case HapticGenerator::Id::commonTag: in getParameterSpecific()
131 return getParameterHapticGenerator(hgId.get<HapticGenerator::Id::commonTag>(), in getParameterSpecific()
/frameworks/av/media/libeffects/loudness/aidl/
DEffectLoudnessEnhancer.cpp117 ndk::ScopedAStatus LoudnessEnhancerImpl::getParameterSpecific(const Parameter::Id& id, in getParameterSpecific()
121 RETURN_IF(Parameter::Id::loudnessEnhancerTag != tag, EX_ILLEGAL_ARGUMENT, "wrongIdTag"); in getParameterSpecific()
122 auto leId = id.get<Parameter::Id::loudnessEnhancerTag>(); in getParameterSpecific()
125 case LoudnessEnhancer::Id::commonTag: in getParameterSpecific()
126 return getParameterLoudnessEnhancer(leId.get<LoudnessEnhancer::Id::commonTag>(), in getParameterSpecific()
/frameworks/av/media/libeffects/downmix/aidl/
DEffectDownmix.cpp116 ndk::ScopedAStatus DownmixImpl::getParameterSpecific(const Parameter::Id& id, in getParameterSpecific()
120 RETURN_IF(Parameter::Id::downmixTag != tag, EX_ILLEGAL_ARGUMENT, "wrongIdTag"); in getParameterSpecific()
121 auto dmId = id.get<Parameter::Id::downmixTag>(); in getParameterSpecific()
124 case Downmix::Id::commonTag: in getParameterSpecific()
125 return getParameterDownmix(dmId.get<Downmix::Id::commonTag>(), specific); in getParameterSpecific()

12345