FileDocCategorySizeDatePackage
VoiceInteractionManagerService.javaAPI DocAndroid 5.1 API33752Thu Mar 12 22:22:42 GMT 2015com.android.server.voiceinteraction

VoiceInteractionManagerService

public class VoiceInteractionManagerService extends com.android.server.SystemService
SystemService that publishes an IVoiceInteractionManagerService.

Fields Summary
static final String
TAG
static final boolean
DEBUG
final android.content.Context
mContext
final android.content.ContentResolver
mResolver
final DatabaseHelper
mDbHelper
final SoundTriggerHelper
mSoundTriggerHelper
private final VoiceInteractionManagerServiceStub
mServiceStub
Constructors Summary
public VoiceInteractionManagerService(android.content.Context context)


       
        super(context);
        mContext = context;
        mResolver = context.getContentResolver();
        mDbHelper = new DatabaseHelper(context);
        mSoundTriggerHelper = new SoundTriggerHelper(context);
    
Methods Summary
public voidonBootPhase(int phase)

        if (phase == PHASE_THIRD_PARTY_APPS_CAN_START) {
            mServiceStub.systemRunning(isSafeMode());
        }
    
public voidonStart()

        publishBinderService(Context.VOICE_INTERACTION_MANAGER_SERVICE, mServiceStub);
    
public voidonStartUser(int userHandle)

        mServiceStub.initForUser(userHandle);
    
public voidonSwitchUser(int userHandle)

        mServiceStub.switchUser(userHandle);