Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/vibrator/persistence/
DXmlConstants.java92 public static PrimitiveEffectName findById(int primitiveId) { in findById() method in XmlConstants.PrimitiveEffectName
166 public static PredefinedEffectName findById(int effectId, @XmlConstants.Flags int flags) { in findById() method in XmlConstants.PredefinedEffectName
DVibrationEffectXmlSerializer.java133 PredefinedEffectName effectName = PredefinedEffectName.findById( in serializePrebakedSegment()
157 PrimitiveEffectName.findById(primitive.getPrimitiveId()); in serializePrimitiveSegment()
/frameworks/av/media/libaudiohal/tests/
DCoreAudioHalAidl_test.cpp158 auto findById(std::vector<T>& v, int32_t id) { in findById() function
221 auto iter = findById<AudioPortConfig>(mConfig.portConfigs, id); in getPortConfig()
253 auto iter = findById<AudioPort>(mConfig.ports, src.id); in connectExternalDevice()
277 auto iter = findById<AudioPort>(mConfig.ports, portId); in disconnectExternalDevice()
303 auto iter = findById<AudioPort>(mConfig.ports, portId); in getAudioPort()
357 auto iter = findById<AudioPatch>(mConfig.patches, requested.id); in setAudioPatch()
375 auto iter = findById<AudioPort>(mConfig.ports, src.portId); in setAudioPortConfig()
385 auto iter = findById<AudioPortConfig>(mConfig.portConfigs, src.id); in setAudioPortConfig()
396 auto iter = findById<AudioPatch>(mConfig.patches, patchId); in resetAudioPatch()
404 auto iter = findById<AudioPortConfig>(mConfig.portConfigs, portConfigId); in resetAudioPortConfig()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java1810 protected ShortcutInfo findById(List<ShortcutInfo> list, String id) { in findById() method in BaseShortcutManagerTest
DShortcutManagerTest1.java2267 assertEquals("Title 1", findById(list, "s1").getTitle()); in testGetShortcutInfo()
2268 assertEquals("Title 2", findById(list, "s2").getTitle()); in testGetShortcutInfo()
2279 assertEquals("ABC", findById(list, "s1").getTitle()); in testGetShortcutInfo()