Lines Matching refs:handle
54 sound_model_handle_t *handle) in loadSoundModel() argument
56 if (modelMemory == 0 || handle == NULL) { in loadSoundModel()
67 reply.read(handle, sizeof(sound_model_handle_t)); in loadSoundModel()
71 virtual status_t unloadSoundModel(sound_model_handle_t handle) in unloadSoundModel() argument
75 data.write(&handle, sizeof(sound_model_handle_t)); in unloadSoundModel()
83 virtual status_t startRecognition(sound_model_handle_t handle, in startRecognition() argument
88 data.write(&handle, sizeof(sound_model_handle_t)); in startRecognition()
102 virtual status_t stopRecognition(sound_model_handle_t handle) in stopRecognition() argument
106 data.write(&handle, sizeof(sound_model_handle_t)); in stopRecognition()
134 sound_model_handle_t handle; in onTransact() local
135 status_t status = loadSoundModel(modelMemory, &handle); in onTransact()
138 reply->write(&handle, sizeof(sound_model_handle_t)); in onTransact()
144 sound_model_handle_t handle; in onTransact() local
145 data.read(&handle, sizeof(sound_model_handle_t)); in onTransact()
146 status_t status = unloadSoundModel(handle); in onTransact()
152 sound_model_handle_t handle; in onTransact() local
153 data.read(&handle, sizeof(sound_model_handle_t)); in onTransact()
158 status_t status = startRecognition(handle, dataMemory); in onTransact()
164 sound_model_handle_t handle; in onTransact() local
165 data.read(&handle, sizeof(sound_model_handle_t)); in onTransact()
166 status_t status = stopRecognition(handle); in onTransact()