• Home
  • Raw
  • Download

Lines Matching refs:status

62         status_t status = remote()->transact(LOAD_SOUND_MODEL, data, &reply);  in loadSoundModel()  local
63 if (status != NO_ERROR) { in loadSoundModel()
64 return status; in loadSoundModel()
66 status = (status_t)reply.readInt32(); in loadSoundModel()
67 if (status == NO_ERROR) { in loadSoundModel()
70 return status; in loadSoundModel()
78 status_t status = remote()->transact(UNLOAD_SOUND_MODEL, data, &reply); in unloadSoundModel() local
79 if (status == NO_ERROR) { in unloadSoundModel()
80 status = (status_t)reply.readInt32(); in unloadSoundModel()
82 return status; in unloadSoundModel()
97 status_t status = remote()->transact(START_RECOGNITION, data, &reply); in startRecognition() local
98 if (status == NO_ERROR) { in startRecognition()
99 status = (status_t)reply.readInt32(); in startRecognition()
101 return status; in startRecognition()
109 status_t status = remote()->transact(STOP_RECOGNITION, data, &reply); in stopRecognition() local
110 if (status == NO_ERROR) { in stopRecognition()
111 status = (status_t)reply.readInt32(); in stopRecognition()
113 return status; in stopRecognition()
137 status_t status = loadSoundModel(modelMemory, &handle); in onTransact() local
138 reply->writeInt32(status); in onTransact()
139 if (status == NO_ERROR) { in onTransact()
148 status_t status = unloadSoundModel(handle); in onTransact() local
149 reply->writeInt32(status); in onTransact()
160 status_t status = startRecognition(handle, dataMemory); in onTransact() local
161 reply->writeInt32(status); in onTransact()
168 status_t status = stopRecognition(handle); in onTransact() local
169 reply->writeInt32(status); in onTransact()