Lines Matching refs:reply
60 Parcel data, reply; in listModules() local
65 status_t status = remote()->transact(LIST_MODULES, data, &reply); in listModules()
67 status = (status_t)reply.readInt32(); in listModules()
68 *numModules = (unsigned int)reply.readInt32(); in listModules()
76 reply.read(modules, numModulesReq * sizeof(struct sound_trigger_module_descriptor)); in listModules()
87 Parcel data, reply; in attach() local
92 status_t status = remote()->transact(ATTACH, data, &reply); in attach()
96 status = reply.readInt32(); in attach()
97 if (reply.readInt32() != 0) { in attach()
98 module = interface_cast<ISoundTrigger>(reply.readStrongBinder()); in attach()
105 Parcel data, reply; in setCaptureState() local
108 status_t status = remote()->transact(SET_CAPTURE_STATE, data, &reply); in setCaptureState()
110 status = reply.readInt32(); in setCaptureState()
122 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) in onTransact() argument
126 CHECK_INTERFACE(ISoundTriggerHwService, data, reply); in onTransact()
141 reply->writeInt32(NO_MEMORY); in onTransact()
142 reply->writeInt32(0); in onTransact()
146 reply->writeInt32(status); in onTransact()
147 reply->writeInt32(numModules); in onTransact()
154 reply->write(modules, in onTransact()
162 CHECK_INTERFACE(ISoundTriggerHwService, data, reply); in onTransact()
174 reply->writeInt32(status); in onTransact()
176 reply->writeInt32(1); in onTransact()
177 reply->writeStrongBinder(IInterface::asBinder(module)); in onTransact()
179 reply->writeInt32(0); in onTransact()
185 CHECK_INTERFACE(ISoundTriggerHwService, data, reply); in onTransact()
186 reply->writeInt32(setCaptureState((bool)data.readInt32())); in onTransact()
191 return BBinder::onTransact(code, data, reply, flags); in onTransact()