AudiopolicyService is started in
frameworks\base\media\mediaserver\main_mediaserver.cpp

int main(int argc, char** argv)
{
    sp<ProcessState> proc(ProcessState::self());
    sp<IServiceManager> sm = defaultServiceManager();
    LOGI("ServiceManager: %p", sm.get());
    AudioFlinger::instantiate();
    MediaPlayerService::instantiate();
    CameraService::instantiate();
    AudioPolicyService::instantiate();
    ProcessState::self()->startThreadPool();
    IPCThreadState::self()->joinThreadPool();
}
Disable the AudioPolicyService and check.


On Wed, Jan 12, 2011 at 1:00 PM, Rick <[email protected]> wrote:

> Hi mythfish,
>
> Have you resolve this problem? If you still blocked with this issue, i
> may suggest you can create a dummy audio driver(or just modify
> original audio driver to avoid hardware detect fail) to bypass this
> check. FYR.
>
> Rick
>
> On 1月7日, 下午5時22分, mythfish chang <[email protected]> wrote:
> > Because haven't audio hardware support in my board, but i don't know
> > how to remove the audio service in android, then the android can't
> > boot,any one can tell me how to do? Thanks.
> >
> > logcat:
> > ///////////////////////////////////////////////
> > W/AudioSystem( 1767): AudioPolicyService not published, waiting...
> > I/ServiceManager( 1767): Waiting for sevice media.audio_policy.
> > ///////////////////////////////////////////////
>
> --
> unsubscribe: 
> [email protected]<android-porting%[email protected]>
> website: http://groups.google.com/group/android-porting
>

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to