Home
last modified time | relevance | path

Searched refs:deviceConfig (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/libs/androidfw/tests/
DConfig_test.cpp55 ResTable_config deviceConfig; in TEST() local
56 memset(&deviceConfig, 0, sizeof(deviceConfig)); in TEST()
57 deviceConfig.density = ResTable_config::DENSITY_XHIGH; in TEST()
58 deviceConfig.sdkVersion = 21; in TEST()
65 ASSERT_EQ(expectedBest, selectBest(deviceConfig, configs)); in TEST()
69 ASSERT_EQ(expectedBest, selectBest(deviceConfig, configs)); in TEST()
73 ASSERT_EQ(expectedBest, selectBest(deviceConfig, configs)); in TEST()
76 ASSERT_EQ(expectedBest, selectBest(deviceConfig, configs)); in TEST()
80 ASSERT_EQ(expectedBest, selectBest(deviceConfig, configs)); in TEST()
85 ASSERT_EQ(expectedBest, selectBest(deviceConfig, configs)); in TEST()
[all …]
/frameworks/av/media/libaudioclient/
DIAudioPolicyServiceClient.cpp136 const audio_config_base_t *deviceConfig, in onRecordingConfigurationUpdate() argument
146 writeAudioConfigBaseToParcel(data, deviceConfig); in onRecordingConfigurationUpdate()
191 audio_config_base_t deviceConfig; in onTransact() local
196 readAudioConfigBaseFromParcel(data, &deviceConfig); in onTransact()
202 &deviceConfig, effects, patchHandle, source); in onTransact()
DAudioSystem.cpp1682 const audio_config_base_t *deviceConfig, in onRecordingConfigurationUpdate() argument
1694 deviceConfig, effects, patchHandle, source); in onRecordingConfigurationUpdate()
/frameworks/base/services/core/java/com/android/server/wm/
DHighRefreshRateBlacklist.java59 HighRefreshRateBlacklist(Resources r, DeviceConfigInterface deviceConfig) {
61 deviceConfig.addOnPropertyChangedListener(DeviceConfig.NAMESPACE_DISPLAY_MANAGER,
63 final String property = deviceConfig.getProperty(DeviceConfig.NAMESPACE_DISPLAY_MANAGER,
/frameworks/av/media/libaudioclient/include/media/
DIAudioPolicyServiceClient.h64 const audio_config_base_t *deviceConfig,
DAudioSystem.h45 const audio_config_base_t *deviceConfig,
547 const audio_config_base_t *deviceConfig,
/frameworks/av/services/audiopolicy/service/
DAudioPolicyClientImpl.cpp222 const audio_config_base_t *deviceConfig, in onRecordingConfigurationUpdate() argument
228 clientConfig, clientEffects, deviceConfig, effects, patchHandle, source); in onRecordingConfigurationUpdate()
DAudioPolicyService.h296 const audio_config_base_t *deviceConfig,
304 const audio_config_base_t *deviceConfig,
494 const audio_config_base_t *deviceConfig,
713 const audio_config_base_t *deviceConfig,
744 const audio_config_base_t *deviceConfig,
DAudioPolicyService.cpp249 const audio_config_base_t *deviceConfig, in onRecordingConfigurationUpdate() argument
255 clientConfig, clientEffects, deviceConfig, effects, patchHandle, source); in onRecordingConfigurationUpdate()
263 const audio_config_base_t *deviceConfig, in doOnRecordingConfigurationUpdate() argument
271 clientConfig, clientEffects, deviceConfig, effects, patchHandle, source); in doOnRecordingConfigurationUpdate()
352 const audio_config_base_t *deviceConfig, in onRecordingConfigurationUpdate() argument
359 clientConfig, clientEffects, deviceConfig, effects, patchHandle, source); in onRecordingConfigurationUpdate()
1558 const audio_config_base_t *deviceConfig, in recordingConfigurationUpdateCommand() argument
1570 data->mDeviceConfig = *deviceConfig; in recordingConfigurationUpdateCommand()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
DRenderTestBase.java536 ConfigGenerator deviceConfig, boolean decoration) throws ClassNotFoundException, in renderAndVerify() argument
538 SessionParams params = createSessionParams(layoutFileName, deviceConfig); in renderAndVerify()
545 protected SessionParams createSessionParams(String layoutFileName, ConfigGenerator deviceConfig) in createSessionParams() argument
557 .setConfigGenerator(deviceConfig) in createSessionParams()
/frameworks/av/services/audiopolicy/tests/
DAudioPolicyTestClient.h82 const audio_config_base_t *deviceConfig __unused, in onRecordingConfigurationUpdate()
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h395 const audio_config_base_t *deviceConfig,
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp438 const audio_config_base_t *deviceConfig, in android_media_AudioSystem_recording_callback() argument
447 if (clientInfo == NULL || clientConfig == NULL || deviceConfig == NULL) { in android_media_AudioSystem_recording_callback()
465 recParamData[3] = (jint) audioFormatFromNative(deviceConfig->format); in android_media_AudioSystem_recording_callback()
467 recParamData[4] = (jint) inChannelMaskFromNative(deviceConfig->channel_mask); in android_media_AudioSystem_recording_callback()
468 recParamData[5] = (jint) deviceConfig->sample_rate; in android_media_AudioSystem_recording_callback()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDeviceAudioSystem.java636 List<DeviceConfig> deviceConfig, @AudioCodec int[] audioFormatCodes) { in getSupportedShortAudioDescriptorsFromConfig() argument
638 for (DeviceConfig device : deviceConfig) { in getSupportedShortAudioDescriptorsFromConfig()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java4304 ComponentName deviceConfig = new ComponentName("device", "config"); in setDefaultAssistantForUser_fromDeviceConfig() local
4305 setDefaultAssistantInDeviceConfig(deviceConfig.flattenToString()); in setDefaultAssistantForUser_fromDeviceConfig()
4311 .thenReturn(new ArraySet<>(Arrays.asList(xmlConfig, deviceConfig))); in setDefaultAssistantForUser_fromDeviceConfig()
4318 .onGranted(eq(deviceConfig), eq(0), eq(true)); in setDefaultAssistantForUser_fromDeviceConfig()
4324 ComponentName deviceConfig = new ComponentName("device", "config"); in setDefaultAssistantForUser_deviceConfigInvalid() local
4325 setDefaultAssistantInDeviceConfig(deviceConfig.flattenToString()); in setDefaultAssistantForUser_deviceConfigInvalid()