Lines Matching refs:reply
63 Parcel data, reply; in registerListener() local
66 if (remote()->transact(TRANSACTION_registerListener, data, &reply) != NO_ERROR) { in registerListener()
70 int32_t err = reply.readExceptionCode(); in registerListener()
79 Parcel data, reply; in unregisterListener() local
82 if (remote()->transact(TRANSACTION_unregisterListener, data, &reply) != NO_ERROR) { in unregisterListener()
86 int32_t err = reply.readExceptionCode(); in unregisterListener()
95 Parcel data, reply; in isUsbMassStorageConnected() local
97 if (remote()->transact(TRANSACTION_isUsbMassStorageConnected, data, &reply) != NO_ERROR) { in isUsbMassStorageConnected()
101 int32_t err = reply.readExceptionCode(); in isUsbMassStorageConnected()
106 return reply.readInt32() != 0; in isUsbMassStorageConnected()
111 Parcel data, reply; in setUsbMassStorageEnabled() local
114 if (remote()->transact(TRANSACTION_setUsbMassStorageEnabled, data, &reply) != NO_ERROR) { in setUsbMassStorageEnabled()
118 int32_t err = reply.readExceptionCode(); in setUsbMassStorageEnabled()
127 Parcel data, reply; in isUsbMassStorageEnabled() local
129 if (remote()->transact(TRANSACTION_isUsbMassStorageEnabled, data, &reply) != NO_ERROR) { in isUsbMassStorageEnabled()
133 int32_t err = reply.readExceptionCode(); in isUsbMassStorageEnabled()
138 return reply.readInt32() != 0; in isUsbMassStorageEnabled()
143 Parcel data, reply; in mountVolume() local
146 if (remote()->transact(TRANSACTION_mountVolume, data, &reply) != NO_ERROR) { in mountVolume()
150 int32_t err = reply.readExceptionCode(); in mountVolume()
155 return reply.readInt32(); in mountVolume()
160 Parcel data, reply; in unmountVolume() local
165 if (remote()->transact(TRANSACTION_unmountVolume, data, &reply) != NO_ERROR) { in unmountVolume()
169 int32_t err = reply.readExceptionCode(); in unmountVolume()
174 return reply.readInt32(); in unmountVolume()
179 Parcel data, reply; in formatVolume() local
182 if (remote()->transact(TRANSACTION_formatVolume, data, &reply) != NO_ERROR) { in formatVolume()
186 int32_t err = reply.readExceptionCode(); in formatVolume()
191 return reply.readInt32(); in formatVolume()
196 Parcel data, reply; in getStorageUsers() local
199 if (remote()->transact(TRANSACTION_getStorageUsers, data, &reply) != NO_ERROR) { in getStorageUsers()
203 int32_t err = reply.readExceptionCode(); in getStorageUsers()
208 int32_t numUsersI = reply.readInt32(); in getStorageUsers()
218 **users++ = reply.readInt32(); in getStorageUsers()
225 Parcel data, reply; in getVolumeState() local
228 if (remote()->transact(TRANSACTION_getVolumeState, data, &reply) != NO_ERROR) { in getVolumeState()
232 int32_t err = reply.readExceptionCode(); in getVolumeState()
237 return reply.readInt32(); in getVolumeState()
243 Parcel data, reply; in createSecureContainer() local
250 if (remote()->transact(TRANSACTION_createSecureContainer, data, &reply) != NO_ERROR) { in createSecureContainer()
254 int32_t err = reply.readExceptionCode(); in createSecureContainer()
259 return reply.readInt32(); in createSecureContainer()
264 Parcel data, reply; in finalizeSecureContainer() local
267 if (remote()->transact(TRANSACTION_finalizeSecureContainer, data, &reply) != NO_ERROR) { in finalizeSecureContainer()
271 int32_t err = reply.readExceptionCode(); in finalizeSecureContainer()
276 return reply.readInt32(); in finalizeSecureContainer()
281 Parcel data, reply; in destroySecureContainer() local
284 if (remote()->transact(TRANSACTION_destroySecureContainer, data, &reply) != NO_ERROR) { in destroySecureContainer()
288 int32_t err = reply.readExceptionCode(); in destroySecureContainer()
293 return reply.readInt32(); in destroySecureContainer()
298 Parcel data, reply; in mountSecureContainer() local
305 if (remote()->transact(TRANSACTION_mountSecureContainer, data, &reply) != NO_ERROR) { in mountSecureContainer()
309 int32_t err = reply.readExceptionCode(); // What to do... in mountSecureContainer()
314 return reply.readInt32(); in mountSecureContainer()
319 Parcel data, reply; in unmountSecureContainer() local
323 if (remote()->transact(TRANSACTION_getSecureContainerPath, data, &reply) != NO_ERROR) { in unmountSecureContainer()
327 int32_t err = reply.readExceptionCode(); // What to do... in unmountSecureContainer()
332 return reply.readInt32(); in unmountSecureContainer()
337 Parcel data, reply; in isSecureContainerMounted() local
340 if (remote()->transact(TRANSACTION_isSecureContainerMounted, data, &reply) != NO_ERROR) { in isSecureContainerMounted()
344 int32_t err = reply.readExceptionCode(); // What to do... in isSecureContainerMounted()
349 return reply.readInt32() != 0; in isSecureContainerMounted()
354 Parcel data, reply; in renameSecureContainer() local
358 if (remote()->transact(TRANSACTION_renameSecureContainer, data, &reply) != NO_ERROR) { in renameSecureContainer()
362 int32_t err = reply.readExceptionCode(); // What to do... in renameSecureContainer()
367 return reply.readInt32(); in renameSecureContainer()
372 Parcel data, reply; in getSecureContainerPath() local
375 if (remote()->transact(TRANSACTION_getSecureContainerPath, data, &reply) != NO_ERROR) { in getSecureContainerPath()
379 int32_t err = reply.readExceptionCode(); // What to do... in getSecureContainerPath()
384 path = reply.readString16(); in getSecureContainerPath()
390 Parcel data, reply; in getSecureContainerList() local
393 if (remote()->transact(TRANSACTION_getSecureContainerList, data, &reply) != NO_ERROR) { in getSecureContainerList()
397 int32_t err = reply.readExceptionCode(); in getSecureContainerList()
402 const int32_t numStrings = reply.readInt32(); in getSecureContainerList()
405 containers[i] = reply.readString16(); in getSecureContainerList()
412 Parcel data, reply; in shutdown() local
415 if (remote()->transact(TRANSACTION_shutdown, data, &reply) != NO_ERROR) { in shutdown()
419 int32_t err = reply.readExceptionCode(); in shutdown()
424 reply.readExceptionCode(); in shutdown()
429 Parcel data, reply; in finishMediaUpdate() local
431 if (remote()->transact(TRANSACTION_finishMediaUpdate, data, &reply) != NO_ERROR) { in finishMediaUpdate()
435 int32_t err = reply.readExceptionCode(); in finishMediaUpdate()
440 reply.readExceptionCode(); in finishMediaUpdate()
446 Parcel data, reply; in mountObb() local
453 if (remote()->transact(TRANSACTION_mountObb, data, &reply) != NO_ERROR) { in mountObb()
457 int32_t err = reply.readExceptionCode(); in mountObb()
467 Parcel data, reply; in unmountObb() local
473 if (remote()->transact(TRANSACTION_unmountObb, data, &reply) != NO_ERROR) { in unmountObb()
477 int32_t err = reply.readExceptionCode(); in unmountObb()
486 Parcel data, reply; in isObbMounted() local
489 if (remote()->transact(TRANSACTION_isObbMounted, data, &reply) != NO_ERROR) { in isObbMounted()
493 int32_t err = reply.readExceptionCode(); in isObbMounted()
498 return reply.readInt32() != 0; in isObbMounted()
503 Parcel data, reply; in getMountedObbPath() local
506 if (remote()->transact(TRANSACTION_getMountedObbPath, data, &reply) != NO_ERROR) { in getMountedObbPath()
510 int32_t err = reply.readExceptionCode(); in getMountedObbPath()
515 path = reply.readString16(); in getMountedObbPath()