Home
last modified time | relevance | path

Searched refs:checkHidlReturn (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/services/core/jni/gnss/
DAGnss.cpp77 return checkHidlReturn(result, "IAGnss_V1_0 setCallback() failed."); in setCallback()
84 return checkHidlReturn(result, in dataConnOpen()
90 return checkHidlReturn(result, "IAGnss_V1_0 dataConnClosed() failed."); in dataConnClosed()
95 return checkHidlReturn(result, "IAGnss_V1_0 dataConnFailed() failed."); in dataConnFailed()
102 return checkHidlReturn(result, "IAGnss_V1_0 setServer() failed. Host name and port not set."); in setServer()
113 return checkHidlReturn(result, "IAGnss_V2_0 setCallback() failed."); in setCallback()
120 return checkHidlReturn(result, in dataConnOpen()
126 return checkHidlReturn(result, "IAGnss_V2_0 dataConnClosed() failed."); in dataConnClosed()
131 return checkHidlReturn(result, "IAGnss_V2_0 dataConnFailed() failed."); in dataConnFailed()
138 return checkHidlReturn(result, "IAGnss_V2_0 setServer() failed. Host name and port not set."); in setServer()
DGnss.cpp218 if (!checkHidlReturn(result, "IGnss setCallback() failed.")) { in setCallback()
233 checkHidlReturn(result, "IGnss cleanup() failed."); in close()
248 return checkHidlReturn(result, "IGnss start() failed."); in start()
262 return checkHidlReturn(result, "IGnss stop() failed."); in stop()
354 return checkHidlReturn(result, "IGnss setPositionMode() failed."); in setPositionMode()
369 checkHidlReturn(result, "IGnss deleteAidingData() failed."); in deleteAidingData()
383 checkHidlReturn(result, "IGnss injectTime() failed."); in injectTime()
411 checkHidlReturn(result, "IGnss injectLocation() failed."); in injectLocation()
444 checkHidlReturn(result, "IGnss injectBestLocation_2_0() failed."); in injectBestLocation()
456 checkHidlReturn(result, "IGnss injectBestLocation() failed."); in injectBestLocation()
[all …]
DGnssBatching.cpp83 return checkHidlReturn(result, "IGnssBatching_V1_0 init() failed."); in init()
88 if (!checkHidlReturn(result, "IGnssBatching getBatchSize() failed.")) { in getBatchSize()
108 return checkHidlReturn(result, "IGnssBatching start() failed."); in start()
113 return checkHidlReturn(result, "IGnssBatching stop() failed."); in stop()
118 return checkHidlReturn(result, "IGnssBatching flush() failed."); in flush()
123 return checkHidlReturn(result, "IGnssBatching cleanup() failed."); in cleanup()
135 return checkHidlReturn(result, "IGnssBatching_V2_0 init() failed."); in init()
DGnssConfiguration.cpp134 return checkHidlReturn(result, "IGnssConfiguration setEmergencySuplPdn() failed."); in setEmergencySuplPdn()
139 return checkHidlReturn(result, "IGnssConfiguration setSuplVersion() failed."); in setSuplVersion()
144 return checkHidlReturn(result, "IGnssConfiguration setSuplEs() failed."); in setSuplEs()
149 return checkHidlReturn(result, "IGnssConfiguration setSuplMode() failed."); in setSuplMode()
154 return checkHidlReturn(result, "IGnssConfiguration setGpsLock() failed."); in setGpsLock()
159 return checkHidlReturn(result, "IGnssConfiguration setLppProfile() failed."); in setLppProfile()
164 return checkHidlReturn(result, "IGnssConfiguration setGlonassPositioningProtocol() failed."); in setGlonassPositioningProtocol()
194 return checkHidlReturn(result, "IGnssConfiguration setBlocklist() failed."); in setBlocklist()
221 return checkHidlReturn(result, "IGnssConfiguration setEsExtensionSec() failed."); in setEsExtensionSec()
239 return checkHidlReturn(result, "IGnssConfiguration setBlocklist() failed."); in setBlocklist()
DGnssGeofence.cpp77 return checkHidlReturn(result, "IGnssGeofenceHidl setCallback() failed."); in setCallback()
90 return checkHidlReturn(result, "IGnssGeofence addGeofence() failed."); in addGeofence()
95 return checkHidlReturn(result, "IGnssGeofence removeGeofence() failed."); in removeGeofence()
100 return checkHidlReturn(result, "IGnssGeofence pauseGeofence() failed."); in pauseGeofence()
105 return checkHidlReturn(result, "IGnssGeofence resumeGeofence() failed."); in resumeGeofence()
DGnssMeasurement.cpp87 if (!checkHidlReturn(status, "IGnssMeasurement setCallback() failed.")) { in setCallback()
96 return checkHidlReturn(result, "IGnssMeasurement close() failed."); in close()
114 if (!checkHidlReturn(status, "IGnssMeasurement setCallback_V1_1() failed.")) { in setCallback()
136 if (!checkHidlReturn(status, "IGnssMeasurement setCallback_2_0() failed.")) { in setCallback()
158 if (!checkHidlReturn(status, "IGnssMeasurement setCallback_2_1() failed.")) { in setCallback()
DAGnssRil.cpp114 return checkHidlReturn(result, "IAGnssRil_V1_0 setCallback() failed."); in setCallback()
121 return checkHidlReturn(result, "IAGnssRil_V1_0 setSetId() failed."); in setSetId()
147 return checkHidlReturn(result, "IAGnssRil_V1_0 setRefLocation() failed."); in setRefLocation()
160 checkHidlReturn(result, "IAGnssRil_V1_0 updateNetworkAvailability() failed."); in updateNetworkState()
166 return checkHidlReturn(result, "IAGnssRil_V1_0 updateNetworkState() failed."); in updateNetworkState()
193 return checkHidlReturn(result, "AGnssRil_V2_0 updateNetworkState_2_0() failed."); in updateNetworkState()
DGnssAntennaInfo.cpp57 if (!checkHidlReturn(result, "IGnssAntennaInfo_V2_1 setCallback() failed.")) { in setCallback()
74 return checkHidlReturn(result, "IGnssAntennaInfo_V2_1 close() failed."); in close()
DGnssPsds.cpp62 return checkHidlReturn(result, "IGnssPsdsHidl setCallback() failed."); in setCallback()
69 checkHidlReturn(result, "IGnssXtra injectXtraData() failed."); in injectPsdsData()
DGnssVisibilityControl.cpp68 return checkHidlReturn(result, "IGnssVisibilityControlHidl setCallback() failed."); in setCallback()
81 return checkHidlReturn(result, "IGnssVisibilityControlHidl enableNfwLocationAccess() failed."); in enableNfwLocationAccess()
DUtils.h53 jboolean checkHidlReturn(hardware::Return<bool>& result, const char* errorMessage);
67 jboolean checkHidlReturn(hardware::Return<T>& result, const char* errorMessage) { in checkHidlReturn() function
77 jboolean checkHidlReturn(hardware::Return<sp<T>>& result, const char* errorMessage) { in checkHidlReturn() function
DGnssDebug.cpp59 if (checkHidlReturn(result, "IGnssDebug getDebugData_1_0() failed.")) { in getDebugData()
79 if (checkHidlReturn(result, "IGnssDebug getDebugData_2_0() failed.")) { in getDebugData()
DGnssNavigationMessage.cpp70 return checkHidlReturn(result, "IGnssNavigationMessage close() failed."); in close()
DMeasurementCorrections.cpp313 return checkHidlReturn(result, "IMeasurementCorrections 1.0 setCorrections() failed."); in setCorrections()
319 return checkHidlReturn(result, "IMeasurementCorrections_V1_0 setCallback() failed."); in setCallback()
338 return checkHidlReturn(result, "IMeasurementCorrections 1.1 setCorrections() failed."); in setCorrections()
344 return checkHidlReturn(result, "IMeasurementCorrections_V1_1 setCallback() failed."); in setCallback()
DUtils.cpp97 jboolean checkHidlReturn(hardware::Return<bool>& result, const char* errorMessage) { in checkHidlReturn() function