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