Home
last modified time | relevance | path

Searched refs:retVal (Results 1 – 25 of 101) sorted by relevance

12345

/hardware/qcom/camera/msm8998/QCamera2/util/
DQCameraFlash.cpp115 int32_t retVal = 0; in registerCallbacks() local
117 return retVal; in registerCallbacks()
140 int32_t retVal = 0; in initFlash() local
161 retVal = -ENOSYS; in initFlash()
165 retVal = -EBUSY; in initFlash()
175 retVal = -EBUSY; in initFlash()
184 retVal = ioctl(m_flashFds[camera_id], in initFlash()
187 if (retVal < 0) { in initFlash()
199 LOGD("X, retVal = %d", retVal); in initFlash()
200 return retVal; in initFlash()
[all …]
/hardware/qcom/gps/msm8998/android/location_api/
DFlpAPIClient.cpp92 int retVal = -1; in flpStartSession() local
100 retVal = 1; in flpStartSession()
102 return retVal; in flpStartSession()
109 int retVal = -1; in flpUpdateSessionOptions() local
118 retVal = 1; in flpUpdateSessionOptions()
120 return retVal; in flpUpdateSessionOptions()
126 int retVal = -1; in flpStopSession() local
128 retVal = 1; in flpStopSession()
130 return retVal; in flpStopSession()
/hardware/qcom/gps/msm8909w_3100/android/location_api/
DBatchingAPIClient.cpp97 int retVal = -1; in startSession() local
105 retVal = 1; in startSession()
107 return retVal; in startSession()
114 int retVal = -1; in updateSessionOptions() local
123 retVal = 1; in updateSessionOptions()
125 return retVal; in updateSessionOptions()
131 int retVal = -1; in stopSession() local
133 retVal = 1; in stopSession()
135 return retVal; in stopSession()
/hardware/qcom/camera/msm8998/QCamera2/
DQCamera2Factory.cpp615 int retVal(0); in QCamera2Factory() local
629 retVal = -EINVAL; in QCamera2Factory()
632 retVal = flash.initFlash(cameraIdInt); in QCamera2Factory()
634 if (retVal == 0) { in QCamera2Factory()
635 retVal = flash.setFlashMode(cameraIdInt, on); in QCamera2Factory()
636 if ((retVal == 0) && (mCallbacks != NULL)) { in QCamera2Factory()
640 } else if (retVal == -EALREADY) { in QCamera2Factory()
642 retVal = 0; in QCamera2Factory()
647 retVal = flash.setFlashMode(cameraIdInt, on); in QCamera2Factory()
649 if (retVal == 0) { in QCamera2Factory()
[all …]
/hardware/qcom/sm8150p/gps/location/
DLocationAPIClientBase.cpp88 uint32_t retVal = LOCATION_ERROR_GENERAL_FAILURE; in locAPIGnssDeleteAidingData() local
96 retVal = LOCATION_ERROR_SUCCESS; in locAPIGnssDeleteAidingData()
100 return retVal; in locAPIGnssDeleteAidingData()
105 uint32_t retVal = LOCATION_ERROR_GENERAL_FAILURE; in locAPIEnable() local
109 retVal = LOCATION_ERROR_SUCCESS; in locAPIEnable()
115 retVal = LOCATION_ERROR_SUCCESS; in locAPIEnable()
122 return retVal; in locAPIEnable()
144 uint32_t retVal = LOCATION_ERROR_GENERAL_FAILURE; in locAPIGnssUpdateConfig() local
150 retVal = LOCATION_ERROR_SUCCESS; in locAPIGnssUpdateConfig()
160 retVal = LOCATION_ERROR_SUCCESS; in locAPIGnssUpdateConfig()
[all …]
/hardware/qcom/sm7250/gps/location/
DLocationAPIClientBase.cpp93 uint32_t retVal = LOCATION_ERROR_GENERAL_FAILURE; in locAPIGnssDeleteAidingData() local
101 retVal = LOCATION_ERROR_SUCCESS; in locAPIGnssDeleteAidingData()
105 return retVal; in locAPIGnssDeleteAidingData()
110 uint32_t retVal = LOCATION_ERROR_GENERAL_FAILURE; in locAPIEnable() local
114 retVal = LOCATION_ERROR_SUCCESS; in locAPIEnable()
120 retVal = LOCATION_ERROR_SUCCESS; in locAPIEnable()
127 return retVal; in locAPIEnable()
149 uint32_t retVal = LOCATION_ERROR_GENERAL_FAILURE; in locAPIGnssUpdateConfig() local
155 retVal = LOCATION_ERROR_SUCCESS; in locAPIGnssUpdateConfig()
165 retVal = LOCATION_ERROR_SUCCESS; in locAPIGnssUpdateConfig()
[all …]
/hardware/qcom/sm7150/gps/location/
DLocationAPIClientBase.cpp88 uint32_t retVal = LOCATION_ERROR_GENERAL_FAILURE; in locAPIGnssDeleteAidingData() local
96 retVal = LOCATION_ERROR_SUCCESS; in locAPIGnssDeleteAidingData()
100 return retVal; in locAPIGnssDeleteAidingData()
105 uint32_t retVal = LOCATION_ERROR_GENERAL_FAILURE; in locAPIEnable() local
109 retVal = LOCATION_ERROR_SUCCESS; in locAPIEnable()
115 retVal = LOCATION_ERROR_SUCCESS; in locAPIEnable()
122 return retVal; in locAPIEnable()
144 uint32_t retVal = LOCATION_ERROR_GENERAL_FAILURE; in locAPIGnssUpdateConfig() local
150 retVal = LOCATION_ERROR_SUCCESS; in locAPIGnssUpdateConfig()
160 retVal = LOCATION_ERROR_SUCCESS; in locAPIGnssUpdateConfig()
[all …]
/hardware/qcom/sm8150/gps/location/
DLocationAPIClientBase.cpp88 uint32_t retVal = LOCATION_ERROR_GENERAL_FAILURE; in locAPIGnssDeleteAidingData() local
96 retVal = LOCATION_ERROR_SUCCESS; in locAPIGnssDeleteAidingData()
100 return retVal; in locAPIGnssDeleteAidingData()
105 uint32_t retVal = LOCATION_ERROR_GENERAL_FAILURE; in locAPIEnable() local
109 retVal = LOCATION_ERROR_SUCCESS; in locAPIEnable()
115 retVal = LOCATION_ERROR_SUCCESS; in locAPIEnable()
122 return retVal; in locAPIEnable()
144 uint32_t retVal = LOCATION_ERROR_GENERAL_FAILURE; in locAPIGnssUpdateConfig() local
150 retVal = LOCATION_ERROR_SUCCESS; in locAPIGnssUpdateConfig()
160 retVal = LOCATION_ERROR_SUCCESS; in locAPIGnssUpdateConfig()
[all …]
/hardware/qcom/sm7250/gps/android/1.0/location_api/
DBatchingAPIClient.cpp102 int retVal = -1; in startSession() local
110 retVal = 1; in startSession()
112 return retVal; in startSession()
119 int retVal = -1; in updateSessionOptions() local
128 retVal = 1; in updateSessionOptions()
130 return retVal; in updateSessionOptions()
136 int retVal = -1; in stopSession() local
138 retVal = 1; in stopSession()
140 return retVal; in stopSession()
/hardware/qcom/sm8150p/gps/android/1.1/location_api/
DBatchingAPIClient.cpp101 int retVal = -1; in startSession() local
109 retVal = 1; in startSession()
111 return retVal; in startSession()
118 int retVal = -1; in updateSessionOptions() local
127 retVal = 1; in updateSessionOptions()
129 return retVal; in updateSessionOptions()
135 int retVal = -1; in stopSession() local
137 retVal = 1; in stopSession()
139 return retVal; in stopSession()
/hardware/qcom/sm7150/gps/android/1.1/location_api/
DBatchingAPIClient.cpp101 int retVal = -1; in startSession() local
109 retVal = 1; in startSession()
111 return retVal; in startSession()
118 int retVal = -1; in updateSessionOptions() local
127 retVal = 1; in updateSessionOptions()
129 return retVal; in updateSessionOptions()
135 int retVal = -1; in stopSession() local
137 retVal = 1; in stopSession()
139 return retVal; in stopSession()
/hardware/qcom/sm7150/gps/android/1.0/location_api/
DBatchingAPIClient.cpp101 int retVal = -1; in startSession() local
109 retVal = 1; in startSession()
111 return retVal; in startSession()
118 int retVal = -1; in updateSessionOptions() local
127 retVal = 1; in updateSessionOptions()
129 return retVal; in updateSessionOptions()
135 int retVal = -1; in stopSession() local
137 retVal = 1; in stopSession()
139 return retVal; in stopSession()
/hardware/qcom/sm7250/gps/android/1.1/location_api/
DBatchingAPIClient.cpp102 int retVal = -1; in startSession() local
110 retVal = 1; in startSession()
112 return retVal; in startSession()
119 int retVal = -1; in updateSessionOptions() local
128 retVal = 1; in updateSessionOptions()
130 return retVal; in updateSessionOptions()
136 int retVal = -1; in stopSession() local
138 retVal = 1; in stopSession()
140 return retVal; in stopSession()
/hardware/qcom/sm8150p/gps/android/1.0/location_api/
DBatchingAPIClient.cpp101 int retVal = -1; in startSession() local
109 retVal = 1; in startSession()
111 return retVal; in startSession()
118 int retVal = -1; in updateSessionOptions() local
127 retVal = 1; in updateSessionOptions()
129 return retVal; in updateSessionOptions()
135 int retVal = -1; in stopSession() local
137 retVal = 1; in stopSession()
139 return retVal; in stopSession()
/hardware/qcom/sm8150/gps/android/1.0/location_api/
DBatchingAPIClient.cpp102 int retVal = -1; in startSession() local
110 retVal = 1; in startSession()
112 return retVal; in startSession()
119 int retVal = -1; in updateSessionOptions() local
128 retVal = 1; in updateSessionOptions()
130 return retVal; in updateSessionOptions()
136 int retVal = -1; in stopSession() local
138 retVal = 1; in stopSession()
140 return retVal; in stopSession()
/hardware/qcom/sm8150/gps/android/2.1/location_api/
DBatchingAPIClient.cpp143 int retVal = -1; in startSession() local
151 retVal = 1; in startSession()
153 return retVal; in startSession()
160 int retVal = -1; in updateSessionOptions() local
169 retVal = 1; in updateSessionOptions()
171 return retVal; in updateSessionOptions()
179 int retVal = -1; in stopSession() local
182 retVal = 1; in stopSession()
184 return retVal; in stopSession()
195 uint32_t retVal = locAPIGetBatchedLocations(mDefaultId, SIZE_MAX); in flushBatchedLocations() local
[all …]
/hardware/qcom/sm8150/gps/android/2.0/location_api/
DBatchingAPIClient.cpp143 int retVal = -1; in startSession() local
151 retVal = 1; in startSession()
153 return retVal; in startSession()
160 int retVal = -1; in updateSessionOptions() local
169 retVal = 1; in updateSessionOptions()
171 return retVal; in updateSessionOptions()
179 int retVal = -1; in stopSession() local
182 retVal = 1; in stopSession()
184 return retVal; in stopSession()
195 uint32_t retVal = locAPIGetBatchedLocations(mDefaultId, SIZE_MAX); in flushBatchedLocations() local
[all …]
/hardware/qcom/sm7250/gps/android/2.1/location_api/
DBatchingAPIClient.cpp142 int retVal = -1; in startSession() local
150 retVal = 1; in startSession()
152 return retVal; in startSession()
159 int retVal = -1; in updateSessionOptions() local
168 retVal = 1; in updateSessionOptions()
170 return retVal; in updateSessionOptions()
178 int retVal = -1; in stopSession() local
181 retVal = 1; in stopSession()
183 return retVal; in stopSession()
194 uint32_t retVal = locAPIGetBatchedLocations(mDefaultId, SIZE_MAX); in flushBatchedLocations() local
[all …]
/hardware/qcom/gps/msm8998/location/
DLocationAPIClientBase.cpp138 uint32_t retVal = LOCATION_ERROR_GENERAL_FAILURE; in locAPIStartTracking() local
159 retVal = LOCATION_ERROR_SUCCESS; in locAPIStartTracking()
163 return retVal; in locAPIStartTracking()
221 uint32_t retVal = LOCATION_ERROR_GENERAL_FAILURE; in locAPIStartSession() local
227 retVal = LOCATION_ERROR_ALREADY_STARTED; in locAPIStartSession()
263 retVal = LOCATION_ERROR_SUCCESS; in locAPIStartSession()
269 return retVal; in locAPIStartSession()
274 uint32_t retVal = LOCATION_ERROR_GENERAL_FAILURE; in locAPIStopSession() local
301 retVal = LOCATION_ERROR_SUCCESS; in locAPIStopSession()
303 retVal = LOCATION_ERROR_ID_UNKNOWN; in locAPIStopSession()
[all …]
/hardware/qcom/gps/msm8909w_3100/location/
DLocationAPIClientBase.cpp88 uint32_t retVal = LOCATION_ERROR_GENERAL_FAILURE; in locAPIGnssDeleteAidingData() local
96 retVal = LOCATION_ERROR_SUCCESS; in locAPIGnssDeleteAidingData()
100 return retVal; in locAPIGnssDeleteAidingData()
105 uint32_t retVal = LOCATION_ERROR_GENERAL_FAILURE; in locAPIEnable() local
109 retVal = LOCATION_ERROR_SUCCESS; in locAPIEnable()
115 retVal = LOCATION_ERROR_SUCCESS; in locAPIEnable()
122 return retVal; in locAPIEnable()
144 uint32_t retVal = LOCATION_ERROR_GENERAL_FAILURE; in locAPIGnssUpdateConfig() local
147 retVal = LOCATION_ERROR_SUCCESS; in locAPIGnssUpdateConfig()
148 return retVal; in locAPIGnssUpdateConfig()
[all …]
/hardware/qcom/sm8150p/gps/android/2.0/location_api/
DBatchingAPIClient.cpp139 int retVal = -1; in startSession() local
147 retVal = 1; in startSession()
149 return retVal; in startSession()
156 int retVal = -1; in updateSessionOptions() local
165 retVal = 1; in updateSessionOptions()
167 return retVal; in updateSessionOptions()
173 int retVal = -1; in stopSession() local
175 retVal = 1; in stopSession()
177 return retVal; in stopSession()
/hardware/qcom/sm7250/gps/android/2.0/location_api/
DBatchingAPIClient.cpp140 int retVal = -1; in startSession() local
148 retVal = 1; in startSession()
150 return retVal; in startSession()
157 int retVal = -1; in updateSessionOptions() local
166 retVal = 1; in updateSessionOptions()
168 return retVal; in updateSessionOptions()
174 int retVal = -1; in stopSession() local
176 retVal = 1; in stopSession()
178 return retVal; in stopSession()
/hardware/qcom/sm7150/gps/android/2.0/location_api/
DBatchingAPIClient.cpp139 int retVal = -1; in startSession() local
147 retVal = 1; in startSession()
149 return retVal; in startSession()
156 int retVal = -1; in updateSessionOptions() local
165 retVal = 1; in updateSessionOptions()
167 return retVal; in updateSessionOptions()
173 int retVal = -1; in stopSession() local
175 retVal = 1; in stopSession()
177 return retVal; in stopSession()
/hardware/qcom/sm7250/gps/android/2.1/
DGnssConfiguration.cpp251 bool retVal = true; in setBlacklistedSource() local
260 retVal = false; in setBlacklistedSource()
265 retVal = false; in setBlacklistedSource()
290 retVal = false; in setBlacklistedSource()
298 return retVal; in setBlacklistedSource()
305 bool retVal = true; in setBlacklistedSource() local
314 retVal = false; in setBlacklistedSource()
319 retVal = false; in setBlacklistedSource()
344 retVal = false; in setBlacklistedSource()
352 return retVal; in setBlacklistedSource()
/hardware/qcom/sm8150/gps/android/2.1/
DGnssConfiguration.cpp251 bool retVal = true; in setBlacklistedSource() local
260 retVal = false; in setBlacklistedSource()
265 retVal = false; in setBlacklistedSource()
290 retVal = false; in setBlacklistedSource()
298 return retVal; in setBlacklistedSource()
305 bool retVal = true; in setBlacklistedSource() local
314 retVal = false; in setBlacklistedSource()
319 retVal = false; in setBlacklistedSource()
344 retVal = false; in setBlacklistedSource()
352 return retVal; in setBlacklistedSource()

12345