Lines Matching refs:reply
40 Parcel data, reply; in checkOperation() local
45 remote()->transact(CHECK_OPERATION_TRANSACTION, data, &reply); in checkOperation()
47 if (reply.readExceptionCode() != 0) return MODE_ERRORED; in checkOperation()
48 return reply.readInt32(); in checkOperation()
52 Parcel data, reply; in noteOperation() local
57 remote()->transact(NOTE_OPERATION_TRANSACTION, data, &reply); in noteOperation()
59 if (reply.readExceptionCode() != 0) return MODE_ERRORED; in noteOperation()
60 return reply.readInt32(); in noteOperation()
65 Parcel data, reply; in startOperation() local
72 remote()->transact(START_OPERATION_TRANSACTION, data, &reply); in startOperation()
74 if (reply.readExceptionCode() != 0) return MODE_ERRORED; in startOperation()
75 return reply.readInt32(); in startOperation()
80 Parcel data, reply; in finishOperation() local
86 remote()->transact(FINISH_OPERATION_TRANSACTION, data, &reply); in finishOperation()
91 Parcel data, reply; in startWatchingMode() local
96 remote()->transact(START_WATCHING_MODE_TRANSACTION, data, &reply); in startWatchingMode()
100 Parcel data, reply; in stopWatchingMode() local
103 remote()->transact(STOP_WATCHING_MODE_TRANSACTION, data, &reply); in stopWatchingMode()
107 Parcel data, reply; in getToken() local
110 remote()->transact(GET_TOKEN_TRANSACTION, data, &reply); in getToken()
112 if (reply.readExceptionCode() != 0) return nullptr; in getToken()
113 return reply.readStrongBinder(); in getToken()
118 Parcel data, reply; in permissionToOpCode() local
121 remote()->transact(PERMISSION_TO_OP_CODE_TRANSACTION, data, &reply); in permissionToOpCode()
123 if (reply.readExceptionCode() != 0) return -1; in permissionToOpCode()
124 return reply.readInt32(); in permissionToOpCode()
129 Parcel data, reply; in checkAudioOperation() local
135 remote()->transact(CHECK_AUDIO_OPERATION_TRANSACTION, data, &reply); in checkAudioOperation()
137 if (reply.readExceptionCode() != 0) { in checkAudioOperation()
140 return reply.readInt32(); in checkAudioOperation()
150 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) in onTransact() argument
155 CHECK_INTERFACE(IAppOpsService, data, reply); in onTransact()
160 reply->writeNoException(); in onTransact()
161 reply->writeInt32(res); in onTransact()
165 CHECK_INTERFACE(IAppOpsService, data, reply); in onTransact()
170 reply->writeNoException(); in onTransact()
171 reply->writeInt32(res); in onTransact()
175 CHECK_INTERFACE(IAppOpsService, data, reply); in onTransact()
182 reply->writeNoException(); in onTransact()
183 reply->writeInt32(res); in onTransact()
187 CHECK_INTERFACE(IAppOpsService, data, reply); in onTransact()
193 reply->writeNoException(); in onTransact()
197 CHECK_INTERFACE(IAppOpsService, data, reply); in onTransact()
202 reply->writeNoException(); in onTransact()
206 CHECK_INTERFACE(IAppOpsService, data, reply); in onTransact()
209 reply->writeNoException(); in onTransact()
213 CHECK_INTERFACE(IAppOpsService, data, reply); in onTransact()
216 reply->writeNoException(); in onTransact()
217 reply->writeStrongBinder(token); in onTransact()
221 CHECK_INTERFACE(IAppOpsService, data, reply); in onTransact()
224 reply->writeNoException(); in onTransact()
225 reply->writeInt32(opCode); in onTransact()
229 CHECK_INTERFACE(IAppOpsService, data, reply); in onTransact()
235 reply->writeNoException(); in onTransact()
236 reply->writeInt32(res); in onTransact()
240 return BBinder::onTransact(code, data, reply, flags); in onTransact()