Loading audio/2.0/default/Android.mk +0 −4 Original line number Diff line number Diff line Loading @@ -84,8 +84,4 @@ else LOCAL_MULTILIB := $(AUDIOSERVER_MULTILIB) endif ifeq ($(TARGET_USES_BCRADIO_FUTURE_FEATURES),true) LOCAL_CFLAGS += -DTARGET_USES_BCRADIO_FUTURE_FEATURES endif include $(BUILD_EXECUTABLE) audio/2.0/default/service.cpp +2 −14 Original line number Diff line number Diff line Loading @@ -32,13 +32,7 @@ using android::hardware::audio::effect::V2_0::IEffectsFactory; using android::hardware::audio::V2_0::IDevicesFactory; using android::hardware::soundtrigger::V2_0::ISoundTriggerHw; using android::hardware::registerPassthroughServiceImplementation; namespace broadcastradio = android::hardware::broadcastradio; #ifdef TARGET_USES_BCRADIO_FUTURE_FEATURES static const bool useBroadcastRadioFutureFeatures = true; #else static const bool useBroadcastRadioFutureFeatures = false; #endif using android::hardware::broadcastradio::V1_1::IBroadcastRadioFactory; using android::OK; Loading @@ -52,13 +46,7 @@ int main(int /* argc */, char* /* argv */ []) { // Soundtrigger and FM radio might be not present. status = registerPassthroughServiceImplementation<ISoundTriggerHw>(); ALOGE_IF(status != OK, "Error while registering soundtrigger service: %d", status); if (useBroadcastRadioFutureFeatures) { status = registerPassthroughServiceImplementation< broadcastradio::V1_1::IBroadcastRadioFactory>(); } else { status = registerPassthroughServiceImplementation< broadcastradio::V1_0::IBroadcastRadioFactory>(); } status = registerPassthroughServiceImplementation<IBroadcastRadioFactory>(); ALOGE_IF(status != OK, "Error while registering fm radio service: %d", status); joinRpcThreadpool(); return status; Loading broadcastradio/1.1/WARNINGdeleted 100644 → 0 +0 −1 Original line number Diff line number Diff line This is experimental interface, do not use it yet. Loading
audio/2.0/default/Android.mk +0 −4 Original line number Diff line number Diff line Loading @@ -84,8 +84,4 @@ else LOCAL_MULTILIB := $(AUDIOSERVER_MULTILIB) endif ifeq ($(TARGET_USES_BCRADIO_FUTURE_FEATURES),true) LOCAL_CFLAGS += -DTARGET_USES_BCRADIO_FUTURE_FEATURES endif include $(BUILD_EXECUTABLE)
audio/2.0/default/service.cpp +2 −14 Original line number Diff line number Diff line Loading @@ -32,13 +32,7 @@ using android::hardware::audio::effect::V2_0::IEffectsFactory; using android::hardware::audio::V2_0::IDevicesFactory; using android::hardware::soundtrigger::V2_0::ISoundTriggerHw; using android::hardware::registerPassthroughServiceImplementation; namespace broadcastradio = android::hardware::broadcastradio; #ifdef TARGET_USES_BCRADIO_FUTURE_FEATURES static const bool useBroadcastRadioFutureFeatures = true; #else static const bool useBroadcastRadioFutureFeatures = false; #endif using android::hardware::broadcastradio::V1_1::IBroadcastRadioFactory; using android::OK; Loading @@ -52,13 +46,7 @@ int main(int /* argc */, char* /* argv */ []) { // Soundtrigger and FM radio might be not present. status = registerPassthroughServiceImplementation<ISoundTriggerHw>(); ALOGE_IF(status != OK, "Error while registering soundtrigger service: %d", status); if (useBroadcastRadioFutureFeatures) { status = registerPassthroughServiceImplementation< broadcastradio::V1_1::IBroadcastRadioFactory>(); } else { status = registerPassthroughServiceImplementation< broadcastradio::V1_0::IBroadcastRadioFactory>(); } status = registerPassthroughServiceImplementation<IBroadcastRadioFactory>(); ALOGE_IF(status != OK, "Error while registering fm radio service: %d", status); joinRpcThreadpool(); return status; Loading
broadcastradio/1.1/WARNINGdeleted 100644 → 0 +0 −1 Original line number Diff line number Diff line This is experimental interface, do not use it yet.