Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 946d4b15 authored by David Brageul's avatar David Brageul Committed by Eric Laurent
Browse files

audiopolicy: engineconfigurable: add configuration for caremu



Bug: 124767636
Test: build

Change-Id: Ib540a78559b51ac18ccf62043e743fe068b41ac0
Signed-off-by: default avatarFrancois Gaffie <francois.gaffie@renault.com>
parent abd0b54c
Loading
Loading
Loading
Loading
+31 −3
Original line number Original line Diff line number Diff line
@@ -53,7 +53,7 @@ include $(BUILD_PREBUILT)
endif # ifeq ($(BUILD_AUDIO_POLICY_EXAMPLE_CONFIGURATION), phone_configurable)
endif # ifeq ($(BUILD_AUDIO_POLICY_EXAMPLE_CONFIGURATION), phone_configurable)




ifeq ($(BUILD_AUDIO_POLICY_EXAMPLE_CONFIGURATION), automotive_configurable)
ifeq ($(BUILD_AUDIO_POLICY_EXAMPLE_CONFIGURATION),$(filter $(BUILD_AUDIO_POLICY_EXAMPLE_CONFIGURATION),automotive_configurable caremu_configurable))


##################################################################
##################################################################
# AUTOMOTIVE CONFIGURATION TOP FILE
# AUTOMOTIVE CONFIGURATION TOP FILE
@@ -73,6 +73,10 @@ LOCAL_REQUIRED_MODULES := \


include $(BUILD_PREBUILT)
include $(BUILD_PREBUILT)


endif #ifeq ($(BUILD_AUDIO_POLICY_EXAMPLE_CONFIGURATION),$(filter $(BUILD_AUDIO_POLICY_EXAMPLE_CONFIGURATION),automotive_configurable caremu_configurable))

ifeq ($(BUILD_AUDIO_POLICY_EXAMPLE_CONFIGURATION), automotive_configurable)

##################################################################
##################################################################
# CONFIGURATION FILES
# CONFIGURATION FILES
##################################################################
##################################################################
@@ -95,7 +99,31 @@ include $(BUILD_PREBUILT)


endif #ifeq ($(BUILD_AUDIO_POLICY_EXAMPLE_CONFIGURATION), automotive_configurable)
endif #ifeq ($(BUILD_AUDIO_POLICY_EXAMPLE_CONFIGURATION), automotive_configurable)


ifeq ($(BUILD_AUDIO_POLICY_EXAMPLE_CONFIGURATION),$(filter $(BUILD_AUDIO_POLICY_EXAMPLE_CONFIGURATION),phone_configurable automotive_configurable))
ifeq ($(BUILD_AUDIO_POLICY_EXAMPLE_CONFIGURATION), caremu_configurable)

##################################################################
# CONFIGURATION FILES
##################################################################

include $(CLEAR_VARS)
LOCAL_MODULE := audio_policy_engine_product_strategies.xml
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := ETC
LOCAL_VENDOR_MODULE := true
LOCAL_SRC_FILES := caremu/$(LOCAL_MODULE)
include $(BUILD_PREBUILT)

include $(CLEAR_VARS)
LOCAL_MODULE := audio_policy_engine_volumes.xml
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := ETC
LOCAL_VENDOR_MODULE := true
LOCAL_SRC_FILES := caremu/$(LOCAL_MODULE)
include $(BUILD_PREBUILT)

endif #ifeq ($(BUILD_AUDIO_POLICY_EXAMPLE_CONFIGURATION), caremu_configurable)

ifeq ($(BUILD_AUDIO_POLICY_EXAMPLE_CONFIGURATION),$(filter $(BUILD_AUDIO_POLICY_EXAMPLE_CONFIGURATION),phone_configurable automotive_configurable caremu_configurable))


include $(CLEAR_VARS)
include $(CLEAR_VARS)
LOCAL_MODULE := audio_policy_engine_criteria.xml
LOCAL_MODULE := audio_policy_engine_criteria.xml
@@ -118,4 +146,4 @@ CRITERION_TYPES_FILE := $(LOCAL_PATH)/common/$(LOCAL_MODULE).in


include $(PROVISION_CRITERION_TYPES)
include $(PROVISION_CRITERION_TYPES)


endif #ifeq ($(BUILD_AUDIO_POLICY_EXAMPLE_CONFIGURATION),$(filter $(BUILD_AUDIO_POLICY_EXAMPLE_CONFIGURATION),phone_configurable automotive_configurable))
endif #ifeq ($(BUILD_AUDIO_POLICY_EXAMPLE_CONFIGURATION),$(filter $(BUILD_AUDIO_POLICY_EXAMPLE_CONFIGURATION),phone_configurable automotive_configurable caremu_configurable))
+170 −0
Original line number Original line Diff line number Diff line
<?xml version='1.0' encoding='UTF-8'?>
<!-- Copyright (C) 2018 The Android Open Source Project

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

<ProductStrategies>
    <!-- OEM Usages -->
    <!-- product_strategy will be defined according this order
    product_strategy is oem_traffic_anouncement if all the conditions are satisfied for
    AudioAttributes aa

    int type = 0;
    if (bundle != null) {
    type = bundle.getInt(KEY_OEM_TYPE, 0);
    }
    if(
    ( aa.mContentType == AudioAttributes.AUDIO_CONTENT_TYPE_SPEECH ) &&
    ( aa.mUsage == AudioAttributes.AUDIO_USAGE_ASSISTANCE_NAVIGATION_GUIDANCE ) &&
    ( type == 1 ) )
    -->

    <ProductStrategy name="oem_traffic_anouncement">
        <AttributesGroup volumeGroup="oem_traffic_anouncement">
            <ContentType value="AUDIO_CONTENT_TYPE_SPEECH"/>
            <Usage value="AUDIO_USAGE_ASSISTANCE_NAVIGATION_GUIDANCE"/>
            <!--  traffic_annoucement = 1 -->
            <Bundle key="oem" value="1"/>
        </AttributesGroup>
    </ProductStrategy>
    <ProductStrategy name="oem_strategy_1">
        <AttributesGroup volumeGroup="oem_adas_2">
            <ContentType value="AUDIO_CONTENT_TYPE_SPEECH"/>
            <Usage value="AUDIO_USAGE_ASSISTANCE_NAVIGATION_GUIDANCE"/>
            <Bundle key="oem" value="2"/>
        </AttributesGroup>
    </ProductStrategy>
    <ProductStrategy name="oem_strategy_2">
        <AttributesGroup volumeGroup="oem_adas_3">
            <ContentType value="AUDIO_CONTENT_TYPE_SPEECH"/>
            <Usage value="AUDIO_USAGE_ASSISTANCE_NAVIGATION_GUIDANCE"/>
            <Bundle key="oem" value="3"/>
        </AttributesGroup>
    </ProductStrategy>

    <!-- Car Usages -->
    <!-- Keep those lines only for car -->
    <!-- Check car conditions if any OEM conditions matched -->
    <!-- As defined by CarAudioAttributesUtil.java -->
    <!-- product_strategy will be defined according this order
    product_strategy is radio if all the conditions are satisfied for AudioAttributes aa

        int type = CAR_AUDIO_TYPE_DEFAULT;
        if (bundle != null) {
        type = bundle.getInt(KEY_CAR_AUDIO_TYPE, CAR_AUDIO_TYPE_DEFAULT);
        }
        if(
        ( aa.mContentType == AudioAttributes.AUDIO_CONTENT_TYPE_SPEECH ) &&
        ( aa.mUsage == AudioAttributes.AUDIO_USAGE_ASSISTANCE_NAVIGATION_GUIDANCE ) &&
        ( type == CAR_AUDIO_TYPE_RADIO ) )
        -->
    <ProductStrategy name="radio">
        <AttributesGroup volumeGroup="media_car_audio_type_3">
            <ContentType value="AUDIO_CONTENT_TYPE_MUSIC"/>
            <Usage value="AUDIO_USAGE_MEDIA"/>
            <Bundle key="car_audio_type" value="3"/>
        </AttributesGroup>
    </ProductStrategy>
    <ProductStrategy name="ext_audio_source">
        <AttributesGroup volumeGroup="media_car_audio_type_7">
            <ContentType value="AUDIO_CONTENT_TYPE_MUSIC"/>
            <Usage value="AUDIO_USAGE_MEDIA"/>
            <Bundle key="car_audio_type" value="7"/>
        </AttributesGroup>
    </ProductStrategy>
    <ProductStrategy name="voice_command">
        <AttributesGroup volumeGroup="speech">
            <Attributes>
                <ContentType value="AUDIO_CONTENT_TYPE_SPEECH"/>
                <Usage value="AUDIO_USAGE_ASSISTANCE_NAVIGATION_GUIDANCE"/>
                <!--  CAR_AUDIO_TYPE_VOICE_COMMAND = 1 -->
                <Bundle key="car_audio_type" value="1"/>
            </Attributes>
            <Attributes> <Usage value="AUDIO_USAGE_ASSISTANCE_ACCESSIBILITY"/> </Attributes>
            <Attributes> <Usage value="AUDIO_USAGE_ASSISTANT"/> </Attributes>
        </AttributesGroup>
    </ProductStrategy>
    <ProductStrategy name="safety_alert">
        <AttributesGroup volumeGroup="system">
            <ContentType value="AUDIO_CONTENT_TYPE_SONIFICATION"/>
            <Usage value="AUDIO_USAGE_NOTIFICATION"/>
            <!--  CAR_AUDIO_TYPE_SAFETY_ALERT = 2 -->
            <Bundle key="car_audio_type" value="2"/>
        </AttributesGroup>
    </ProductStrategy>

    <!-- To be checked
    CAR_AUDIO_TYPE_CARSERVICE_BOTTOM
    CAR_AUDIO_TYPE_CARSERVICE_CAR_PROXY
    CAR_AUDIO_TYPE_CARSERVICE_MEDIA_MUTE
    -->

    <!-- Generic Usages -->
    <ProductStrategy name="music">
        <AttributesGroup streamType="AUDIO_STREAM_MUSIC" volumeGroup="media">
            <Attributes> <Usage value="AUDIO_USAGE_MEDIA"/> </Attributes>
            <Attributes> <Usage value="AUDIO_USAGE_GAME"/> </Attributes>
            <!-- Default product strategy has empty attributes -->
            <Attributes></Attributes>
        </AttributesGroup>
    </ProductStrategy>

    <ProductStrategy name="nav_guidance">
        <AttributesGroup volumeGroup="speech">
            <Usage value="AUDIO_USAGE_ASSISTANCE_NAVIGATION_GUIDANCE"/>
        </AttributesGroup>
    </ProductStrategy>
    <ProductStrategy name="voice_call">
        <AttributesGroup streamType="AUDIO_STREAM_VOICE_CALL" volumeGroup="phone">
            <Attributes> <Usage value="AUDIO_USAGE_VOICE_COMMUNICATION"/> </Attributes>
            <Attributes> <Usage value="AUDIO_USAGE_VOICE_COMMUNICATION_SIGNALLING"/> </Attributes>
        </AttributesGroup>
        <AttributesGroup streamType="AUDIO_STREAM_BLUETOOTH_SCO" volumeGroup="phone">
            <Attributes> <Flags value="AUDIO_FLAG_SCO"/> </Attributes>
        </AttributesGroup>
    </ProductStrategy>
    <ProductStrategy name="alarm">
        <AttributesGroup streamType="AUDIO_STREAM_ALARM" volumeGroup="ring">
            <Usage value="AUDIO_USAGE_ALARM"/>
        </AttributesGroup>
    </ProductStrategy>
    <ProductStrategy name="ring">
        <AttributesGroup streamType="AUDIO_STREAM_RING" volumeGroup="ring">
            <Usage value="AUDIO_USAGE_NOTIFICATION_TELEPHONY_RINGTONE"/>
        </AttributesGroup>
    </ProductStrategy>
    <ProductStrategy name="notification">
        <AttributesGroup streamType="AUDIO_STREAM_NOTIFICATION" volumeGroup="ring">
            <Attributes> <Usage value="AUDIO_USAGE_NOTIFICATION"/> </Attributes>
            <Attributes> <Usage value="AUDIO_USAGE_NOTIFICATION_COMMUNICATION_INSTANT"/> </Attributes>
            <Attributes> <Usage value="AUDIO_USAGE_NOTIFICATION_COMMUNICATION_DELAYED"/> </Attributes>
            <Attributes> <Usage value="AUDIO_USAGE_NOTIFICATION_COMMUNICATION_REQUEST"/> </Attributes>
            <Attributes> <Usage value="AUDIO_USAGE_NOTIFICATION_EVENT"/> </Attributes>
        </AttributesGroup>
    </ProductStrategy>
    <ProductStrategy name="system">
        <AttributesGroup streamType="AUDIO_STREAM_SYSTEM" volumeGroup="system">
            <Usage value="AUDIO_USAGE_ASSISTANCE_SONIFICATION"/>
        </AttributesGroup>
    </ProductStrategy>
    <ProductStrategy name="tts">
        <!-- TTS stream MUST BE MANAGED OUTSIDE default product strategy if NO DEDICATED OUTPUT
             for TTS, otherwise when beacon happens, default strategy is ... muted.
             If it is media, it is annoying... -->
        <AttributesGroup streamType="AUDIO_STREAM_TTS" volumeGroup="tts">
            <Attributes> <Flags value="AUDIO_FLAG_BEACON"/> </Attributes>
        </AttributesGroup>
    </ProductStrategy>
</ProductStrategies>
+192 −0
Original line number Original line Diff line number Diff line
<?xml version='1.0' encoding='UTF-8'?>
<!-- Copyright (C) 2018 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
     -->

<!-- Volume Groups Tables included by Audio Policy Configuration file -->
<!-- Note:
        It is VALID to have a group without attributes if a product strategy is following
        this group for all attributes.
        Otherwise, attributes must be specified
-->

<volumeGroups>
    <volumeGroup>
        <name>oem_traffic_anouncement</name>
        <indexMin>0</indexMin>
        <indexMax>40</indexMax>
        <volume deviceCategory="DEVICE_CATEGORY_SPEAKER">
            <point>0,-4200</point>
            <point>33,-2800</point>
            <point>66,-1400</point>
            <point>100,0</point>
        </volume>
        <volume deviceCategory="DEVICE_CATEGORY_HEADSET">
            <point>0,-4200</point>
            <point>33,-2800</point>
            <point>66,-1400</point>
            <point>100,0</point>
        </volume>
        <volume deviceCategory="DEVICE_CATEGORY_EARPIECE">
            <point>0,-4200</point>
            <point>33,-2800</point>
            <point>66,-1400</point>
            <point>100,0</point>
        </volume>
        <volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA">
            <point>0,-4200</point>
            <point>33,-2800</point>
            <point>66,-1400</point>
            <point>100,0</point>
        </volume>
    </volumeGroup>

<!-- OEM ADAS is a volume group that has a single port gain (this is the reason why it is a group
     but may host different streams.
     A priority must be given among them (either they are multualy excluisve, so the volume
     will be the one of the currently acitve stream, otherwise a priority must be given by
     any mean. -->
    <volumeGroup>
        <name>oem_adas_2</name>
        <indexMin>0</indexMin>
        <indexMax>40</indexMax>
        <volume deviceCategory="DEVICE_CATEGORY_SPEAKER">
            <point>0,-4200</point>
            <point>33,-2800</point>
            <point>66,-1400</point>
            <point>100,0</point>
        </volume>
        <volume deviceCategory="DEVICE_CATEGORY_HEADSET">
            <point>0,-4200</point>
            <point>33,-2800</point>
            <point>66,-1400</point>
            <point>100,0</point>
        </volume>
    </volumeGroup>
    <volumeGroup>
        <name>oem_adas_3</name>
        <indexMin>0</indexMin>
        <indexMax>40</indexMax>
        <volume deviceCategory="DEVICE_CATEGORY_SPEAKER">
            <point>0,-2400</point>
            <point>33,-1600</point>
            <point>66,-800</point>
            <point>100,0</point>
        </volume>
        <volume deviceCategory="DEVICE_CATEGORY_EARPIECE">
            <point>0,-2400</point>
            <point>33,-1600</point>
            <point>66,-800</point>
            <point>100,0</point>
        </volume>
    </volumeGroup>

<!-- MEDIA is a volume group that has a single port gain (this is the reason why it is a group
     but may host different streams.
     A priority must be given among them (either they are multualy exclusive, so the volume
     will be the one of the active stream with highest priority (ORDER MATTERS) unless the curves
     followed will the the curves for the requested attributes.-->
    <volumeGroup>
        <name>media_car_audio_type_3</name>
        <indexMin>0</indexMin>
        <indexMax>40</indexMax>
        <volume deviceCategory="DEVICE_CATEGORY_SPEAKER">
            <point>0,-4200</point>
            <point>33,-2800</point>
            <point>66,-1400</point>
            <point>100,0</point>
        </volume>
    </volumeGroup>
    <volumeGroup>
        <name>media_car_audio_type_7</name>
        <indexMin>0</indexMin>
        <indexMax>40</indexMax>
        <volume deviceCategory="DEVICE_CATEGORY_SPEAKER">
            <point>0,-2400</point>
            <point>33,-1600</point>
            <point>66,-800</point>
            <point>100,0</point>
        </volume>
    </volumeGroup>
    <volumeGroup>
        <name>media</name>
        <indexMin>0</indexMin>
        <indexMax>40</indexMax>
        <volume deviceCategory="DEVICE_CATEGORY_SPEAKER">
            <point>0,-2400</point>
            <point>33,-1600</point>
            <point>66,-800</point>
            <point>100,0</point>
        </volume>
    </volumeGroup>

    <volumeGroup>
        <name>speech</name>
        <indexMin>1</indexMin>
        <indexMax>40</indexMax>
        <volume deviceCategory="DEVICE_CATEGORY_SPEAKER">
            <point>0,-4200</point>
            <point>33,-2800</point>
            <point>66,-1400</point>
            <point>100,0</point>
        </volume>
    </volumeGroup>

    <volumeGroup>
        <name>system</name>
        <indexMin>0</indexMin>
        <indexMax>40</indexMax>
        <volume deviceCategory="DEVICE_CATEGORY_SPEAKER">
            <point>0,-4200</point>
            <point>33,-2800</point>
            <point>66,-1400</point>
            <point>100,0</point>
        </volume>
    </volumeGroup>

    <volumeGroup>
        <name>phone</name>
        <indexMin>1</indexMin>
        <indexMax>40</indexMax>
        <volume deviceCategory="DEVICE_CATEGORY_SPEAKER">
            <point>0,-4200</point>
            <point>33,-2800</point>
            <point>66,-1400</point>
            <point>100,0</point>
        </volume>
    </volumeGroup>

    <volumeGroup>
        <name>ring</name>
        <indexMin>0</indexMin>
        <indexMax>40</indexMax>
        <volume deviceCategory="DEVICE_CATEGORY_SPEAKER">
            <point>0,-4200</point>
            <point>33,-2800</point>
            <point>66,-1400</point>
            <point>100,0</point>
        </volume>
    </volumeGroup>

    <volumeGroup>
        <name>tts</name>
        <indexMin>0</indexMin>
        <indexMax>15</indexMax>
        <volume deviceCategory="DEVICE_CATEGORY_SPEAKER">
            <point>0,-0</point>
            <point>100,0</point>
        </volume>
    </volumeGroup>
</volumeGroups>
+3 −3
Original line number Original line Diff line number Diff line
@@ -9,7 +9,7 @@


LOCAL_PATH := $(call my-dir)
LOCAL_PATH := $(call my-dir)


ifeq ($(BUILD_AUDIO_POLICY_EXAMPLE_CONFIGURATION),$(filter $(BUILD_AUDIO_POLICY_EXAMPLE_CONFIGURATION),phone_configurable automotive_configurable no-output_configurable no-input_configurable))
ifeq ($(BUILD_AUDIO_POLICY_EXAMPLE_CONFIGURATION),$(filter $(BUILD_AUDIO_POLICY_EXAMPLE_CONFIGURATION),phone_configurable automotive_configurable caremu_configurable no-output_configurable no-input_configurable))


PFW_CORE := external/parameter-framework
PFW_CORE := external/parameter-framework
#@TODO: upstream new domain generator
#@TODO: upstream new domain generator
@@ -29,7 +29,7 @@ endif
##################################################################
##################################################################
######### Policy PFW top level file #########
######### Policy PFW top level file #########


ifeq ($(BUILD_AUDIO_POLICY_EXAMPLE_CONFIGURATION),$(filter $(BUILD_AUDIO_POLICY_EXAMPLE_CONFIGURATION),phone_configurable automotive_configurable))
ifeq ($(BUILD_AUDIO_POLICY_EXAMPLE_CONFIGURATION),$(filter $(BUILD_AUDIO_POLICY_EXAMPLE_CONFIGURATION),phone_configurable automotive_configurable caremu_configurable))


include $(CLEAR_VARS)
include $(CLEAR_VARS)
LOCAL_MODULE := ParameterFrameworkConfigurationPolicy.xml
LOCAL_MODULE := ParameterFrameworkConfigurationPolicy.xml
@@ -99,7 +99,7 @@ STRATEGIES_STRUCTURE_FILE := $(LOCAL_PATH)/common/Structure/$(LOCAL_MODULE).in


include $(PROVISION_STRATEGIES_STRUCTURE)
include $(PROVISION_STRATEGIES_STRUCTURE)


endif #ifeq ($(BUILD_AUDIO_POLICY_EXAMPLE_CONFIGURATION),$(filter $(BUILD_AUDIO_POLICY_EXAMPLE_CONFIGURATION),phone_configurable automotive_configurable))
endif #ifeq ($(BUILD_AUDIO_POLICY_EXAMPLE_CONFIGURATION),$(filter $(BUILD_AUDIO_POLICY_EXAMPLE_CONFIGURATION),phone_configurable automotive_configurable caremu_configurable))


########## Policy PFW Example Structures #########
########## Policy PFW Example Structures #########
ifeq ($(BUILD_AUDIO_POLICY_EXAMPLE_CONFIGURATION),$(filter $(BUILD_AUDIO_POLICY_EXAMPLE_CONFIGURATION),no-output_configurable no-input_configurable))
ifeq ($(BUILD_AUDIO_POLICY_EXAMPLE_CONFIGURATION),$(filter $(BUILD_AUDIO_POLICY_EXAMPLE_CONFIGURATION),no-output_configurable no-input_configurable))
+58 −0
Original line number Original line Diff line number Diff line
################################################################################################
#
# @NOTE:
# Audio Policy Engine configurable example for generic device build
#
# Any vendor shall have its own configuration within the corresponding device folder
#
################################################################################################

ifeq ($(BUILD_AUDIO_POLICY_EXAMPLE_CONFIGURATION), caremu_configurable)
LOCAL_PATH := $(call my-dir)

PFW_CORE := external/parameter-framework
PFW_DEFAULT_SCHEMAS_DIR := $(PFW_CORE)/upstream/schemas
PFW_SCHEMAS_DIR := $(PFW_DEFAULT_SCHEMAS_DIR)

TOOLS := frameworks/av/services/audiopolicy/engineconfigurable/tools
BUILD_PFW_SETTINGS := $(TOOLS)/build_audio_pfw_settings.mk


##################################################################
# CONFIGURATION FILES
##################################################################

########## Policy PFW Structures #########
######### Policy PFW Settings #########
include $(CLEAR_VARS)
LOCAL_MODULE := parameter-framework.policy
LOCAL_MODULE_STEM := PolicyConfigurableDomains.xml
LOCAL_MODULE_CLASS := ETC
LOCAL_VENDOR_MODULE := true
LOCAL_MODULE_RELATIVE_PATH := parameter-framework/Settings/Policy

PFW_EDD_FILES := \
        $(LOCAL_PATH)/Settings/device_for_product_strategies.pfw \
        $(LOCAL_PATH)/../Settings/device_for_input_source.pfw \
        $(LOCAL_PATH)/../Settings/volumes.pfw

LOCAL_ADDITIONAL_DEPENDENCIES := \
    $(PFW_EDD_FILES)

LOCAL_REQUIRED_MODULES := \
    PolicySubsystem.xml \
    PolicyClass.xml \
    audio_policy_engine_criteria.xml \
    audio_policy_engine_criterion_types.xml \
    ParameterFrameworkConfigurationPolicy.xml

PFW_CRITERION_TYPES_FILE := $(TARGET_OUT_VENDOR_ETC)/audio_policy_engine_criterion_types.xml
PFW_CRITERIA_FILE := $(TARGET_OUT_VENDOR_ETC)/audio_policy_engine_criteria.xml

PFW_TOPLEVEL_FILE := $(TARGET_OUT_VENDOR_ETC)/parameter-framework/ParameterFrameworkConfigurationPolicy.xml

PFW_SCHEMAS_DIR := $(PFW_DEFAULT_SCHEMAS_DIR)

include $(BUILD_PFW_SETTINGS)

endif #ifeq ($(BUILD_AUDIO_POLICY_EXAMPLE_CONFIGURATION), caremu_configurable)
Loading