Home
last modified time | relevance | path

Searched refs:activityState (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
DSoundTriggerMiddlewareValidation.java274 Activity activityState = Activity.LOADED; field in SoundTriggerMiddlewareValidation.ModelState
409 if (modelState.activityState != ModelState.Activity.LOADED in unloadModel()
410 && modelState.activityState != ModelState.Activity.PREEMPTED) { in unloadModel()
444 ModelState.Activity activityState = modelState.activityState; in startRecognition() local
446 if (activityState != ModelState.Activity.LOADED in startRecognition()
447 && activityState != ModelState.Activity.PREEMPTED) { in startRecognition()
456 modelState.activityState = ModelState.Activity.ACTIVE; in startRecognition()
496 if (modelState.activityState != ModelState.Activity.PREEMPTED) { in stopRecognition()
497 modelState.activityState = ModelState.Activity.LOADED; in stopRecognition()
522 if (modelState.activityState == ModelState.Activity.ACTIVE) { in forceRecognitionEvent()
[all …]
/frameworks/base/nfc/java/android/nfc/
DNfcActivityManager.java181 NfcActivityState activityState = findActivityState(activity); in destroyActivityState() local
182 if (activityState != null) { in destroyActivityState()
183 activityState.destroy(); in destroyActivityState()
184 mActivities.remove(activityState); in destroyActivityState()