Home
last modified time | relevance | path

Searched refs:clientConfig (Results 1 – 21 of 21) sorted by relevance

/frameworks/av/services/mediaresourcemanager/
DResourceManagerMetrics.cpp158 ClientConfigParcel clientConfig; in notifyClientReleased() local
165 clientConfig = found->second; in notifyClientReleased()
167 clientConfig.timeStamp = systemTime(SYSTEM_TIME_MONOTONIC) / 1000LL; in notifyClientReleased()
172 notifyClientStopped(clientConfig); in notifyClientReleased()
187 void ResourceManagerMetrics::notifyClientConfigChanged(const ClientConfigParcel& clientConfig) { in notifyClientConfigChanged() argument
189 ClientConfigMap::iterator entry = mClientConfigMap.find(clientConfig.clientInfo.id); in notifyClientConfigChanged()
191 (clientConfig.codecType == MediaResourceSubType::kHwVideoCodec || in notifyClientConfigChanged()
192 clientConfig.codecType == MediaResourceSubType::kSwVideoCodec || in notifyClientConfigChanged()
193 clientConfig.codecType == MediaResourceSubType::kHwImageCodec || in notifyClientConfigChanged()
194 clientConfig.codecType == MediaResourceSubType::kSwImageCodec)) { in notifyClientConfigChanged()
[all …]
DResourceManagerServiceNew.cpp208 Status ResourceManagerServiceNew::notifyClientStarted(const ClientConfigParcel& clientConfig) { in notifyClientStarted() argument
209 return ResourceManagerService::notifyClientStarted(clientConfig); in notifyClientStarted()
212 Status ResourceManagerServiceNew::notifyClientStopped(const ClientConfigParcel& clientConfig) { in notifyClientStopped() argument
213 return ResourceManagerService::notifyClientStopped(clientConfig); in notifyClientStopped()
217 const ClientConfigParcel& clientConfig) { in notifyClientConfigChanged() argument
221 mResourceTracker->updateResource(clientConfig.clientInfo); in notifyClientConfigChanged()
223 return ResourceManagerService::notifyClientConfigChanged(clientConfig); in notifyClientConfigChanged()
DResourceManagerMetrics.h152 void notifyClientStarted(const ClientConfigParcel& clientConfig);
155 void notifyClientStopped(const ClientConfigParcel& clientConfig);
158 void notifyClientConfigChanged(const ClientConfigParcel& clientConfig);
DResourceManagerServiceNew.h75 Status notifyClientStarted(const ClientConfigParcel& clientConfig) override;
77 Status notifyClientStopped(const ClientConfigParcel& clientConfig) override;
79 Status notifyClientConfigChanged(const ClientConfigParcel& clientConfig) override;
DResourceManagerService.h109 Status notifyClientStarted(const ClientConfigParcel& clientConfig) override;
111 Status notifyClientStopped(const ClientConfigParcel& clientConfig) override;
113 Status notifyClientConfigChanged(const ClientConfigParcel& clientConfig) override;
DResourceManagerService.cpp1090 Status ResourceManagerService::notifyClientStarted(const ClientConfigParcel& clientConfig) { in notifyClientStarted() argument
1091 mResourceManagerMetrics->notifyClientStarted(clientConfig); in notifyClientStarted()
1095 Status ResourceManagerService::notifyClientStopped(const ClientConfigParcel& clientConfig) { in notifyClientStopped() argument
1096 mResourceManagerMetrics->notifyClientStopped(clientConfig); in notifyClientStopped()
1100 Status ResourceManagerService::notifyClientConfigChanged(const ClientConfigParcel& clientConfig) { in notifyClientConfigChanged() argument
1101 mResourceManagerMetrics->notifyClientConfigChanged(clientConfig); in notifyClientConfigChanged()
/frameworks/av/services/mediaresourcemanager/aidl/android/media/
DIResourceManagerService.aidl148 void notifyClientStarted(in ClientConfigParcel clientConfig); in notifyClientStarted() argument
158 void notifyClientStopped(in ClientConfigParcel clientConfig); in notifyClientStopped() argument
170 void notifyClientConfigChanged(in ClientConfigParcel clientConfig); in notifyClientConfigChanged() argument
/frameworks/av/media/libaudioclient/aidl/android/media/
DIAudioPolicyServiceClient.aidl41 in AudioConfigBase clientConfig, in onRecordingConfigurationUpdate() argument
/frameworks/av/media/libstagefright/
DMediaCodec.cpp424 void notifyClientStarted(ClientConfigParcel& clientConfig);
425 void notifyClientStopped(ClientConfigParcel& clientConfig);
426 void notifyClientConfigChanged(ClientConfigParcel& clientConfig);
703 ClientConfigParcel& clientConfig) { in notifyClientStarted() argument
710 clientConfig.clientInfo = getClientInfo(); in notifyClientStarted()
711 service->notifyClientStarted(clientConfig); in notifyClientStarted()
715 ClientConfigParcel& clientConfig) { in notifyClientStopped() argument
722 clientConfig.clientInfo = getClientInfo(); in notifyClientStopped()
723 service->notifyClientStopped(clientConfig); in notifyClientStopped()
727 ClientConfigParcel& clientConfig) { in notifyClientConfigChanged() argument
[all …]
/frameworks/av/services/audiopolicy/service/
DAudioPolicyClientImpl.cpp268 const audio_config_base_t *clientConfig, in onRecordingConfigurationUpdate() argument
276 clientConfig, clientEffects, deviceConfig, effects, patchHandle, source); in onRecordingConfigurationUpdate()
DAudioPolicyService.h381 const audio_config_base_t *clientConfig,
389 const audio_config_base_t *clientConfig,
635 const audio_config_base_t *clientConfig,
861 const audio_config_base_t *clientConfig,
914 const audio_config_base_t *clientConfig,
DAudioPolicyService.cpp505 const audio_config_base_t *clientConfig, in onRecordingConfigurationUpdate() argument
513 clientConfig, clientEffects, deviceConfig, effects, patchHandle, source); in onRecordingConfigurationUpdate()
519 const audio_config_base_t *clientConfig, in doOnRecordingConfigurationUpdate() argument
529 clientConfig, clientEffects, deviceConfig, effects, patchHandle, source); in doOnRecordingConfigurationUpdate()
727 const audio_config_base_t *clientConfig, in onRecordingConfigurationUpdate() argument
741 *clientConfig, true /*isInput*/)); in onRecordingConfigurationUpdate()
2299 const audio_config_base_t *clientConfig, in recordingConfigurationUpdateCommand() argument
2311 data->mClientConfig = *clientConfig; in recordingConfigurationUpdateCommand()
/frameworks/av/services/audiopolicy/tests/
DAudioPolicyTestClient.h83 const audio_config_base_t *clientConfig __unused, in onRecordingConfigurationUpdate()
/frameworks/av/services/mediaresourcemanager/test/
DResourceManagerService_test.cpp1442 ClientConfigParcel& clientConfig) { in initClientConfigParcel() argument
1443 clientConfig.codecType = hw? MediaResource::SubType::kHwVideoCodec : in initClientConfigParcel()
1445 clientConfig.isEncoder = encoder; in initClientConfigParcel()
1446 clientConfig.width = width; in initClientConfigParcel()
1447 clientConfig.height = height; in initClientConfigParcel()
1448 clientConfig.timeStamp = systemTime(SYSTEM_TIME_MONOTONIC) / 1000LL; in initClientConfigParcel()
1449 clientConfig.id = id; in initClientConfigParcel()
1450 clientConfig.clientInfo = clientInfo; in initClientConfigParcel()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowStateTests.java720 final Configuration clientConfig = new Configuration(w.getConfiguration()); in testCompatOverrideScale() local
721 CompatibilityInfo.scaleConfiguration(w.mInvGlobalScale, clientConfig); in testCompatOverrideScale()
723 assertEquals(winConfig.screenWidthDp, clientConfig.screenWidthDp); in testCompatOverrideScale()
724 assertEquals(winConfig.screenHeightDp, clientConfig.screenHeightDp); in testCompatOverrideScale()
725 assertEquals(winConfig.smallestScreenWidthDp, clientConfig.smallestScreenWidthDp); in testCompatOverrideScale()
726 assertEquals(winConfig.densityDpi, (int) (clientConfig.densityDpi * overrideScale)); in testCompatOverrideScale()
728 final Rect unscaledClientBounds = new Rect(clientConfig.windowConfiguration.getBounds()); in testCompatOverrideScale()
/frameworks/av/media/libaudioclient/include/media/
DAudioSystem.h81 const audio_config_base_t *clientConfig,
894 const media::audio::common::AudioConfigBase& clientConfig,
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h562 const audio_config_base_t *clientConfig,
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaCodec.h501 inline void initClientConfigParcel(ClientConfigParcel& clientConfig);
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp565 const audio_config_base_t *clientConfig, in android_media_AudioSystem_recording_callback() argument
576 if (clientInfo == NULL || clientConfig == NULL || deviceConfig == NULL) { in android_media_AudioSystem_recording_callback()
590 recParamData[0] = audioFormatFromNative(clientConfig->format); in android_media_AudioSystem_recording_callback()
592 recParamData[1] = inChannelMaskFromNative(clientConfig->channel_mask); in android_media_AudioSystem_recording_callback()
593 recParamData[2] = clientConfig->sample_rate; in android_media_AudioSystem_recording_callback()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp1237 const audio_config_base_t clientConfig = {.sample_rate = config->sample_rate, in getOutputForAttrInt() local
1241 status = mPolicyMixes.getOutputForAttr(*resultAttr, clientConfig, uid, session, *flags, in getOutputForAttrInt()
1391 clientConfig, AUDIO_OUTPUT_FLAG_NONE)); in getOutputForAttrInt()
1485 audio_config_base_t clientConfig = {.sample_rate = config->sample_rate, in getOutputForAttr() local
1493 new TrackClientDescriptor(*portId, uid, session, resultAttr, clientConfig, in getOutputForAttr()
6297 audio_config_base_t clientConfig = client->config(); in checkVirtualizerClientRoutes() local
6298 audio_config_t config = audio_config_initializer(&clientConfig); in checkVirtualizerClientRoutes()
/frameworks/av/media/libaudioclient/
DAudioSystem.cpp2887 const AudioConfigBase& clientConfig, in onRecordingConfigurationUpdate() argument
2904 aidl2legacy_AudioConfigBase_audio_config_base_t(clientConfig, true /*isInput*/)); in onRecordingConfigurationUpdate()