Lines Matching refs:status
59 status_t status = remote()->transact(GET_MASTER_ELECTION_PRIORITY, in getMasterElectionPriority() local
62 if (status == OK) { in getMasterElectionPriority()
63 status = reply.readInt32(); in getMasterElectionPriority()
64 if (status == OK) { in getMasterElectionPriority()
69 return status; in getMasterElectionPriority()
76 status_t status = remote()->transact(SET_MASTER_ELECTION_PRIORITY, in setMasterElectionPriority() local
79 if (status == OK) { in setMasterElectionPriority()
80 status = reply.readInt32(); in setMasterElectionPriority()
83 return status; in setMasterElectionPriority()
89 status_t status = remote()->transact(GET_MASTER_ELECTION_ENDPOINT, in getMasterElectionEndpoint() local
92 if (status == OK) { in getMasterElectionEndpoint()
93 status = reply.readInt32(); in getMasterElectionEndpoint()
94 if (status == OK) { in getMasterElectionEndpoint()
99 return status; in getMasterElectionEndpoint()
114 status_t status = remote()->transact(SET_MASTER_ELECTION_ENDPOINT, in setMasterElectionEndpoint() local
117 if (status == OK) { in setMasterElectionEndpoint()
118 status = reply.readInt32(); in setMasterElectionEndpoint()
121 return status; in setMasterElectionEndpoint()
127 status_t status = remote()->transact(GET_MASTER_ELECTION_GROUP_ID, in getMasterElectionGroupId() local
131 if (status == OK) { in getMasterElectionGroupId()
132 status = reply.readInt32(); in getMasterElectionGroupId()
133 if (status == OK) { in getMasterElectionGroupId()
138 return status; in getMasterElectionGroupId()
145 status_t status = remote()->transact(SET_MASTER_ELECTION_GROUP_ID, in setMasterElectionGroupId() local
149 if (status == OK) { in setMasterElectionGroupId()
150 status = reply.readInt32(); in setMasterElectionGroupId()
153 return status; in setMasterElectionGroupId()
159 status_t status = remote()->transact(GET_INTERFACE_BINDING, in getInterfaceBinding() local
162 if (status == OK) { in getInterfaceBinding()
163 status = reply.readInt32(); in getInterfaceBinding()
164 if (status == OK) { in getInterfaceBinding()
169 return status; in getInterfaceBinding()
176 status_t status = remote()->transact(SET_INTERFACE_BINDING, in setInterfaceBinding() local
179 if (status == OK) { in setInterfaceBinding()
180 status = reply.readInt32(); in setInterfaceBinding()
183 return status; in setInterfaceBinding()
189 status_t status = remote()->transact(GET_MASTER_ANNOUNCE_INTERVAL, in getMasterAnnounceInterval() local
192 if (status == OK) { in getMasterAnnounceInterval()
193 status = reply.readInt32(); in getMasterAnnounceInterval()
194 if (status == OK) { in getMasterAnnounceInterval()
199 return status; in getMasterAnnounceInterval()
206 status_t status = remote()->transact(SET_MASTER_ANNOUNCE_INTERVAL, in setMasterAnnounceInterval() local
209 if (status == OK) { in setMasterAnnounceInterval()
210 status = reply.readInt32(); in setMasterAnnounceInterval()
213 return status; in setMasterAnnounceInterval()
219 status_t status = remote()->transact(GET_CLIENT_SYNC_INTERVAL, in getClientSyncInterval() local
222 if (status == OK) { in getClientSyncInterval()
223 status = reply.readInt32(); in getClientSyncInterval()
224 if (status == OK) { in getClientSyncInterval()
229 return status; in getClientSyncInterval()
236 status_t status = remote()->transact(SET_CLIENT_SYNC_INTERVAL, in setClientSyncInterval() local
239 if (status == OK) { in setClientSyncInterval()
240 status = reply.readInt32(); in setClientSyncInterval()
243 return status; in setClientSyncInterval()
249 status_t status = remote()->transact(GET_PANIC_THRESHOLD, in getPanicThreshold() local
252 if (status == OK) { in getPanicThreshold()
253 status = reply.readInt32(); in getPanicThreshold()
254 if (status == OK) { in getPanicThreshold()
259 return status; in getPanicThreshold()
266 status_t status = remote()->transact(SET_PANIC_THRESHOLD, in setPanicThreshold() local
269 if (status == OK) { in setPanicThreshold()
270 status = reply.readInt32(); in setPanicThreshold()
273 return status; in setPanicThreshold()
279 status_t status = remote()->transact(GET_AUTO_DISABLE, in getAutoDisable() local
282 if (status == OK) { in getAutoDisable()
283 status = reply.readInt32(); in getAutoDisable()
284 if (status == OK) { in getAutoDisable()
289 return status; in getAutoDisable()
296 status_t status = remote()->transact(SET_AUTO_DISABLE, in setAutoDisable() local
300 if (status == OK) { in setAutoDisable()
301 status = reply.readInt32(); in setAutoDisable()
304 return status; in setAutoDisable()
310 status_t status = remote()->transact(FORCE_NETWORKLESS_MASTER_MODE, in forceNetworklessMasterMode() local
314 if (status == OK) { in forceNetworklessMasterMode()
315 status = reply.readInt32(); in forceNetworklessMasterMode()
318 return status; in forceNetworklessMasterMode()
332 status_t status = getMasterElectionPriority(&priority); in onTransact() local
333 reply->writeInt32(status); in onTransact()
334 if (status == OK) { in onTransact()
343 status_t status = setMasterElectionPriority(priority); in onTransact() local
344 reply->writeInt32(status); in onTransact()
351 status_t status = getMasterElectionEndpoint(&addr); in onTransact() local
353 if ((status == OK) && !canSerializeSockaddr(&addr)) { in onTransact()
354 status = UNKNOWN_ERROR; in onTransact()
357 reply->writeInt32(status); in onTransact()
359 if (status == OK) { in onTransact()
371 status_t status; in onTransact() local
374 status = setMasterElectionEndpoint(&addr); in onTransact()
376 status = setMasterElectionEndpoint(&addr); in onTransact()
379 reply->writeInt32(status); in onTransact()
386 status_t status = getMasterElectionGroupId(&id); in onTransact() local
387 reply->writeInt32(status); in onTransact()
388 if (status == OK) { in onTransact()
397 status_t status = setMasterElectionGroupId(id); in onTransact() local
398 reply->writeInt32(status); in onTransact()
405 status_t status = getInterfaceBinding(ret); in onTransact() local
406 reply->writeInt32(status); in onTransact()
407 if (status == OK) { in onTransact()
417 status_t status = setInterfaceBinding(ifaceName); in onTransact() local
418 reply->writeInt32(status); in onTransact()
425 status_t status = getMasterAnnounceInterval(&interval); in onTransact() local
426 reply->writeInt32(status); in onTransact()
427 if (status == OK) { in onTransact()
436 status_t status = setMasterAnnounceInterval(interval); in onTransact() local
437 reply->writeInt32(status); in onTransact()
444 status_t status = getClientSyncInterval(&interval); in onTransact() local
445 reply->writeInt32(status); in onTransact()
446 if (status == OK) { in onTransact()
455 status_t status = setClientSyncInterval(interval); in onTransact() local
456 reply->writeInt32(status); in onTransact()
463 status_t status = getPanicThreshold(&threshold); in onTransact() local
464 reply->writeInt32(status); in onTransact()
465 if (status == OK) { in onTransact()
474 status_t status = setPanicThreshold(threshold); in onTransact() local
475 reply->writeInt32(status); in onTransact()
482 status_t status = getAutoDisable(&autoDisable); in onTransact() local
483 reply->writeInt32(status); in onTransact()
484 if (status == OK) { in onTransact()
493 status_t status = setAutoDisable(autoDisable); in onTransact() local
494 reply->writeInt32(status); in onTransact()
500 status_t status = forceNetworklessMasterMode(); in onTransact() local
501 reply->writeInt32(status); in onTransact()