Searched refs:activityState (Results 1 – 2 of 2) sorted by relevance
274 Activity activityState = Activity.LOADED; field in SoundTriggerMiddlewareValidation.ModelState409 if (modelState.activityState != ModelState.Activity.LOADED in unloadModel()410 && modelState.activityState != ModelState.Activity.PREEMPTED) { in unloadModel()444 ModelState.Activity activityState = modelState.activityState; in startRecognition() local446 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 …]
181 NfcActivityState activityState = findActivityState(activity); in destroyActivityState() local182 if (activityState != null) { in destroyActivityState()183 activityState.destroy(); in destroyActivityState()184 mActivities.remove(activityState); in destroyActivityState()