Lines Matching defs:status

57         status_t status = remote()->transact(IS_COMMON_TIME_VALID,
60 if (status == OK) {
61 status = reply.readInt32();
62 if (status == OK) {
67 return status;
75 status_t status = remote()->transact(COMMON_TIME_TO_LOCAL_TIME,
77 if (status == OK) {
78 status = reply.readInt32();
79 if (status == OK) {
83 return status;
91 status_t status = remote()->transact(LOCAL_TIME_TO_COMMON_TIME,
93 if (status == OK) {
94 status = reply.readInt32();
95 if (status == OK) {
99 return status;
105 status_t status = remote()->transact(GET_COMMON_TIME, data, &reply);
106 if (status == OK) {
107 status = reply.readInt32();
108 if (status == OK) {
112 return status;
118 status_t status = remote()->transact(GET_COMMON_FREQ, data, &reply);
119 if (status == OK) {
120 status = reply.readInt32();
121 if (status == OK) {
125 return status;
131 status_t status = remote()->transact(GET_LOCAL_TIME, data, &reply);
132 if (status == OK) {
133 status = reply.readInt32();
134 if (status == OK) {
138 return status;
144 status_t status = remote()->transact(GET_LOCAL_FREQ, data, &reply);
145 if (status == OK) {
146 status = reply.readInt32();
147 if (status == OK) {
151 return status;
157 status_t status = remote()->transact(GET_ESTIMATED_ERROR, data, &reply);
158 if (status == OK) {
159 status = reply.readInt32();
160 if (status == OK) {
164 return status;
170 status_t status = remote()->transact(GET_TIMELINE_ID, data, &reply);
171 if (status == OK) {
172 status = reply.readInt32();
173 if (status == OK) {
177 return status;
183 status_t status = remote()->transact(GET_STATE, data, &reply);
184 if (status == OK) {
185 status = reply.readInt32();
186 if (status == OK) {
190 return status;
196 status_t status = remote()->transact(GET_MASTER_ADDRESS, data, &reply);
197 if (status == OK) {
198 status = reply.readInt32();
199 if (status == OK)
202 return status;
211 status_t status = remote()->transact(REGISTER_LISTENER, data, &reply);
213 if (status == OK) {
214 status = reply.readInt32();
217 return status;
225 status_t status = remote()->transact(UNREGISTER_LISTENER, data, &reply);
227 if (status == OK) {
228 status = reply.readInt32();
231 return status;
246 status_t status = isCommonTimeValid(&valid, &timelineID);
247 reply->writeInt32(status);
248 if (status == OK) {
259 status_t status = commonTimeToLocalTime(commonTime, &localTime);
260 reply->writeInt32(status);
261 if (status == OK) {
271 status_t status = localTimeToCommonTime(localTime, &commonTime);
272 reply->writeInt32(status);
273 if (status == OK) {
282 status_t status = getCommonTime(&commonTime);
283 reply->writeInt32(status);
284 if (status == OK) {
293 status_t status = getCommonFreq(&freq);
294 reply->writeInt32(status);
295 if (status == OK) {
304 status_t status = getLocalTime(&localTime);
305 reply->writeInt32(status);
306 if (status == OK) {
315 status_t status = getLocalFreq(&freq);
316 reply->writeInt32(status);
317 if (status == OK) {
326 status_t status = getEstimatedError(&error);
327 reply->writeInt32(status);
328 if (status == OK) {
337 status_t status = getTimelineID(&id);
338 reply->writeInt32(status);
339 if (status == OK) {
348 status_t status = getState(&state);
349 reply->writeInt32(status);
350 if (status == OK) {
359 status_t status = getMasterAddr(&addr);
361 if ((status == OK) && !canSerializeSockaddr(&addr)) {
362 status = UNKNOWN_ERROR;
365 reply->writeInt32(status);
367 if (status == OK) {
378 status_t status = registerListener(listener);
379 reply->writeInt32(status);
387 status_t status = unregisterListener(listener);
388 reply->writeInt32(status);