Lines Matching refs:reply

65         Parcel data, reply;  in registerListener()  local
68 if (remote()->transact(TRANSACTION_registerListener, data, &reply) != NO_ERROR) { in registerListener()
72 int32_t err = reply.readExceptionCode(); in registerListener()
81 Parcel data, reply; in unregisterListener() local
84 if (remote()->transact(TRANSACTION_unregisterListener, data, &reply) != NO_ERROR) { in unregisterListener()
88 int32_t err = reply.readExceptionCode(); in unregisterListener()
97 Parcel data, reply; in isUsbMassStorageConnected() local
99 if (remote()->transact(TRANSACTION_isUsbMassStorageConnected, data, &reply) != NO_ERROR) { in isUsbMassStorageConnected()
103 int32_t err = reply.readExceptionCode(); in isUsbMassStorageConnected()
108 return reply.readInt32() != 0; in isUsbMassStorageConnected()
113 Parcel data, reply; in setUsbMassStorageEnabled() local
116 if (remote()->transact(TRANSACTION_setUsbMassStorageEnabled, data, &reply) != NO_ERROR) { in setUsbMassStorageEnabled()
120 int32_t err = reply.readExceptionCode(); in setUsbMassStorageEnabled()
129 Parcel data, reply; in isUsbMassStorageEnabled() local
131 if (remote()->transact(TRANSACTION_isUsbMassStorageEnabled, data, &reply) != NO_ERROR) { in isUsbMassStorageEnabled()
135 int32_t err = reply.readExceptionCode(); in isUsbMassStorageEnabled()
140 return reply.readInt32() != 0; in isUsbMassStorageEnabled()
145 Parcel data, reply; in mountVolume() local
148 if (remote()->transact(TRANSACTION_mountVolume, data, &reply) != NO_ERROR) { in mountVolume()
152 int32_t err = reply.readExceptionCode(); in mountVolume()
157 return reply.readInt32(); in mountVolume()
162 Parcel data, reply; in unmountVolume() local
167 if (remote()->transact(TRANSACTION_unmountVolume, data, &reply) != NO_ERROR) { in unmountVolume()
171 int32_t err = reply.readExceptionCode(); in unmountVolume()
176 return reply.readInt32(); in unmountVolume()
181 Parcel data, reply; in formatVolume() local
184 if (remote()->transact(TRANSACTION_formatVolume, data, &reply) != NO_ERROR) { in formatVolume()
188 int32_t err = reply.readExceptionCode(); in formatVolume()
193 return reply.readInt32(); in formatVolume()
198 Parcel data, reply; in getStorageUsers() local
201 if (remote()->transact(TRANSACTION_getStorageUsers, data, &reply) != NO_ERROR) { in getStorageUsers()
205 int32_t err = reply.readExceptionCode(); in getStorageUsers()
210 int32_t numUsersI = reply.readInt32(); in getStorageUsers()
220 **users++ = reply.readInt32(); in getStorageUsers()
227 Parcel data, reply; in getVolumeState() local
230 if (remote()->transact(TRANSACTION_getVolumeState, data, &reply) != NO_ERROR) { in getVolumeState()
234 int32_t err = reply.readExceptionCode(); in getVolumeState()
239 return reply.readInt32(); in getVolumeState()
245 Parcel data, reply; in createSecureContainer() local
252 if (remote()->transact(TRANSACTION_createSecureContainer, data, &reply) != NO_ERROR) { in createSecureContainer()
256 int32_t err = reply.readExceptionCode(); in createSecureContainer()
261 return reply.readInt32(); in createSecureContainer()
266 Parcel data, reply; in finalizeSecureContainer() local
269 if (remote()->transact(TRANSACTION_finalizeSecureContainer, data, &reply) != NO_ERROR) { in finalizeSecureContainer()
273 int32_t err = reply.readExceptionCode(); in finalizeSecureContainer()
278 return reply.readInt32(); in finalizeSecureContainer()
283 Parcel data, reply; in destroySecureContainer() local
286 if (remote()->transact(TRANSACTION_destroySecureContainer, data, &reply) != NO_ERROR) { in destroySecureContainer()
290 int32_t err = reply.readExceptionCode(); in destroySecureContainer()
295 return reply.readInt32(); in destroySecureContainer()
300 Parcel data, reply; in mountSecureContainer() local
307 if (remote()->transact(TRANSACTION_mountSecureContainer, data, &reply) != NO_ERROR) { in mountSecureContainer()
311 int32_t err = reply.readExceptionCode(); // What to do... in mountSecureContainer()
316 return reply.readInt32(); in mountSecureContainer()
321 Parcel data, reply; in unmountSecureContainer() local
325 if (remote()->transact(TRANSACTION_getSecureContainerPath, data, &reply) != NO_ERROR) { in unmountSecureContainer()
329 int32_t err = reply.readExceptionCode(); // What to do... in unmountSecureContainer()
334 return reply.readInt32(); in unmountSecureContainer()
339 Parcel data, reply; in isSecureContainerMounted() local
342 if (remote()->transact(TRANSACTION_isSecureContainerMounted, data, &reply) != NO_ERROR) { in isSecureContainerMounted()
346 int32_t err = reply.readExceptionCode(); // What to do... in isSecureContainerMounted()
351 return reply.readInt32() != 0; in isSecureContainerMounted()
356 Parcel data, reply; in renameSecureContainer() local
360 if (remote()->transact(TRANSACTION_renameSecureContainer, data, &reply) != NO_ERROR) { in renameSecureContainer()
364 int32_t err = reply.readExceptionCode(); // What to do... in renameSecureContainer()
369 return reply.readInt32(); in renameSecureContainer()
374 Parcel data, reply; in getSecureContainerPath() local
377 if (remote()->transact(TRANSACTION_getSecureContainerPath, data, &reply) != NO_ERROR) { in getSecureContainerPath()
381 int32_t err = reply.readExceptionCode(); // What to do... in getSecureContainerPath()
386 path = reply.readString16(); in getSecureContainerPath()
392 Parcel data, reply; in getSecureContainerList() local
395 if (remote()->transact(TRANSACTION_getSecureContainerList, data, &reply) != NO_ERROR) { in getSecureContainerList()
399 int32_t err = reply.readExceptionCode(); in getSecureContainerList()
404 const int32_t numStrings = reply.readInt32(); in getSecureContainerList()
407 containers[i] = reply.readString16(); in getSecureContainerList()
414 Parcel data, reply; in shutdown() local
417 if (remote()->transact(TRANSACTION_shutdown, data, &reply) != NO_ERROR) { in shutdown()
421 int32_t err = reply.readExceptionCode(); in shutdown()
426 reply.readExceptionCode(); in shutdown()
431 Parcel data, reply; in finishMediaUpdate() local
433 if (remote()->transact(TRANSACTION_finishMediaUpdate, data, &reply) != NO_ERROR) { in finishMediaUpdate()
437 int32_t err = reply.readExceptionCode(); in finishMediaUpdate()
442 reply.readExceptionCode(); in finishMediaUpdate()
448 Parcel data, reply; in mountObb() local
456 if (remote()->transact(TRANSACTION_mountObb, data, &reply) != NO_ERROR) { in mountObb()
460 int32_t err = reply.readExceptionCode(); in mountObb()
470 Parcel data, reply; in unmountObb() local
476 if (remote()->transact(TRANSACTION_unmountObb, data, &reply) != NO_ERROR) { in unmountObb()
480 int32_t err = reply.readExceptionCode(); in unmountObb()
489 Parcel data, reply; in isObbMounted() local
492 if (remote()->transact(TRANSACTION_isObbMounted, data, &reply) != NO_ERROR) { in isObbMounted()
496 int32_t err = reply.readExceptionCode(); in isObbMounted()
501 return reply.readInt32() != 0; in isObbMounted()
506 Parcel data, reply; in getMountedObbPath() local
509 if (remote()->transact(TRANSACTION_getMountedObbPath, data, &reply) != NO_ERROR) { in getMountedObbPath()
513 int32_t err = reply.readExceptionCode(); in getMountedObbPath()
518 path = reply.readString16(); in getMountedObbPath()
524 Parcel data, reply; in decryptStorage() local
527 if (remote()->transact(TRANSACTION_decryptStorage, data, &reply) != NO_ERROR) { in decryptStorage()
531 int32_t err = reply.readExceptionCode(); in decryptStorage()
536 return reply.readInt32(); in decryptStorage()
541 Parcel data, reply; in encryptStorage() local
544 if (remote()->transact(TRANSACTION_encryptStorage, data, &reply) != NO_ERROR) { in encryptStorage()
548 int32_t err = reply.readExceptionCode(); in encryptStorage()
553 return reply.readInt32(); in encryptStorage()