Searched refs:customConfig (Results 1 – 4 of 4) sorted by relevance
/frameworks/av/services/audioflinger/datapath/ |
D | SpdifStreamOut.cpp | 50 struct audio_config customConfig = *config; in open() local 61 customConfig.sample_rate = config->sample_rate * mRateMultiplier; in open() 63 customConfig.format = AUDIO_FORMAT_PCM_16_BIT; in open() 64 customConfig.channel_mask = AUDIO_CHANNEL_OUT_STEREO; in open() 72 customConfig.sample_rate, customConfig.format, customConfig.channel_mask); in open() 77 &customConfig, in open() 85 mTee.set(customConfig.sample_rate, in open() 86 audio_channel_count_from_out_mask(customConfig.channel_mask), in open()
|
D | SpdifStreamIn.cpp | 52 struct audio_config customConfig = *config; in open() local 63 customConfig.sample_rate = config->sample_rate * mRateMultiplier; in open() 64 customConfig.format = AUDIO_FORMAT_PCM_16_BIT; in open() 65 customConfig.channel_mask = AUDIO_CHANNEL_IN_STEREO; in open() 73 customConfig.sample_rate, customConfig.format, customConfig.channel_mask); in open() 78 &customConfig, in open() 89 mTee.set(customConfig.sample_rate, in open() 90 audio_channel_count_from_in_mask(customConfig.channel_mask), in open()
|
D | AudioStreamOut.cpp | 118 struct audio_config customConfig = *config; in open() local 119 customConfig.format = AUDIO_FORMAT_PCM_16_BIT; in open() 125 &customConfig, in open()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/app/ |
D | GameManagerServiceSettingsTests.java | 157 GameModeConfiguration customConfig = config.getGameModeConfiguration( in testReadGameServiceSettings() local 159 assertNotNull(customConfig); in testReadGameServiceSettings() 160 assertEquals(customConfig.getScaling(), 0.4f, 0.1f); in testReadGameServiceSettings() 161 assertEquals(customConfig.getFps(), 30); in testReadGameServiceSettings() 255 GameModeConfiguration customConfig = config.getOrAddDefaultGameModeConfiguration( in testWriteGameServiceSettings() local 257 customConfig.setScaling(0.4f); in testWriteGameServiceSettings() 258 customConfig.setFpsStr("30"); in testWriteGameServiceSettings() 297 customConfig = config.getGameModeConfiguration(GameManager.GAME_MODE_CUSTOM); in testWriteGameServiceSettings() 298 assertNotNull(customConfig); in testWriteGameServiceSettings() 299 assertEquals(customConfig.getScaling(), 0.4f, 0.1f); in testWriteGameServiceSettings() [all …]
|