• Home
  • Raw
  • Download

Lines Matching refs:status

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