Lines Matching refs:reply

39         Parcel data, reply;  in checkPermission()  local
44 remote()->transact(CHECK_PERMISSION_TRANSACTION, data, &reply); in checkPermission()
46 if (reply.readExceptionCode() != 0) return 0; in checkPermission()
47 return reply.readInt32() != 0; in checkPermission()
52 Parcel data, reply; in noteOp() local
57 remote()->transact(NOTE_OP_TRANSACTION, data, &reply); in noteOp()
59 if (reply.readExceptionCode() != 0) return 2; // MODE_ERRORED in noteOp()
60 return reply.readInt32(); in noteOp()
65 Parcel data, reply; in getPackagesForUid() local
68 remote()->transact(GET_PACKAGES_FOR_UID_TRANSACTION, data, &reply); in getPackagesForUid()
70 if (reply.readExceptionCode() != 0) { in getPackagesForUid()
73 const int32_t size = reply.readInt32(); in getPackagesForUid()
78 packages.push(reply.readString16()); in getPackagesForUid()
84 Parcel data, reply; in isRuntimePermission() local
87 remote()->transact(IS_RUNTIME_PERMISSION_TRANSACTION, data, &reply); in isRuntimePermission()
89 if (reply.readExceptionCode() != 0) return false; in isRuntimePermission()
90 return reply.readInt32() != 0; in isRuntimePermission()
95 Parcel data, reply; in getPackageUid() local
99 remote()->transact(GET_PACKAGE_UID_TRANSACTION, data, &reply); in getPackageUid()
101 if (reply.readExceptionCode() != 0) return false; in getPackageUid()
102 return reply.readInt32(); in getPackageUid()
112 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) in onTransact() argument
116 CHECK_INTERFACE(IPermissionController, data, reply); in onTransact()
121 reply->writeNoException(); in onTransact()
122 reply->writeInt32(res ? 1 : 0); in onTransact()
127 CHECK_INTERFACE(IPermissionController, data, reply); in onTransact()
132 reply->writeNoException(); in onTransact()
133 reply->writeInt32(res); in onTransact()
138 CHECK_INTERFACE(IPermissionController, data, reply); in onTransact()
142 reply->writeNoException(); in onTransact()
144 reply->writeInt32(size); in onTransact()
146 reply->writeString16(packages[i]); in onTransact()
152 CHECK_INTERFACE(IPermissionController, data, reply); in onTransact()
155 reply->writeNoException(); in onTransact()
156 reply->writeInt32(res ? 1 : 0); in onTransact()
161 CHECK_INTERFACE(IPermissionController, data, reply); in onTransact()
165 reply->writeNoException(); in onTransact()
166 reply->writeInt32(uid); in onTransact()
171 return BBinder::onTransact(code, data, reply, flags); in onTransact()