Home
last modified time | relevance | path

Searched refs:mApi (Results 1 – 25 of 36) sorted by relevance

12

/hardware/qcom/gps/msm8998/android/
DGnssBatching.cpp43 GnssBatching::GnssBatching() : mApi(nullptr) { in GnssBatching()
48 if (mApi != nullptr) { in ~GnssBatching()
49 delete mApi; in ~GnssBatching()
50 mApi = nullptr; in ~GnssBatching()
57 if (mApi != nullptr) { in init()
59 delete mApi; in init()
60 mApi = nullptr; in init()
63 mApi = new FlpAPIClient(callback); in init()
64 if (mApi == nullptr) { in init()
82 if (mApi == nullptr) { in getBatchSize()
[all …]
DGnssGeofencing.cpp42 GnssGeofencing::GnssGeofencing() : mApi(nullptr) { in GnssGeofencing()
47 if (mApi != nullptr) { in ~GnssGeofencing()
48 delete mApi; in ~GnssGeofencing()
49 mApi = nullptr; in ~GnssGeofencing()
55 if (mApi != nullptr) { in setCallback()
60 mApi = new GeofenceAPIClient(callback); in setCallback()
61 if (mApi == nullptr) { in setCallback()
85 if (mApi == nullptr) { in addGeofence()
88 mApi->geofenceAdd( in addGeofence()
102 if (mApi == nullptr) { in pauseGeofence()
[all …]
DGnssMeasurement.cpp44 mApi = new GnssMeasurementAPIClient(); in GnssMeasurement()
48 if (mApi) { in ~GnssMeasurement()
49 delete mApi; in ~GnssMeasurement()
50 mApi = nullptr; in ~GnssMeasurement()
69 if (mApi == nullptr) { in setCallback()
77 return mApi->gnssMeasurementSetCallback(callback); in setCallback()
81 if (mApi == nullptr) { in close()
90 mApi->gnssMeasurementClose(); in close()
DGnss.cpp53 if (mApi != nullptr) { in ~Gnss()
54 delete mApi; in ~Gnss()
55 mApi = nullptr; in ~Gnss()
60 if (mApi == nullptr && (mGnssCbIface != nullptr || mGnssNiCbIface != nullptr)) { in getApi()
61 mApi = new GnssAPIClient(mGnssCbIface, mGnssNiCbIface); in getApi()
62 if (mApi == nullptr) { in getApi()
64 return mApi; in getApi()
69 mApi->gnssConfigurationUpdate(mPendingConfig); in getApi()
77 if (mApi == nullptr) { in getApi()
80 return mApi; in getApi()
[all …]
DGnssMeasurement.h67 GnssMeasurementAPIClient* mApi; member
/hardware/qcom/gps/msm8909w_3100/android/
DGnssBatching.cpp43 GnssBatching::GnssBatching() : mApi(nullptr) { in GnssBatching()
48 if (mApi != nullptr) { in ~GnssBatching()
49 delete mApi; in ~GnssBatching()
50 mApi = nullptr; in ~GnssBatching()
57 if (mApi != nullptr) { in init()
59 delete mApi; in init()
60 mApi = nullptr; in init()
63 mApi = new BatchingAPIClient(callback); in init()
64 if (mApi == nullptr) { in init()
82 if (mApi == nullptr) { in getBatchSize()
[all …]
DGnssGeofencing.cpp42 GnssGeofencing::GnssGeofencing() : mApi(nullptr) { in GnssGeofencing()
47 if (mApi != nullptr) { in ~GnssGeofencing()
48 delete mApi; in ~GnssGeofencing()
49 mApi = nullptr; in ~GnssGeofencing()
55 if (mApi != nullptr) { in setCallback()
60 mApi = new GeofenceAPIClient(callback); in setCallback()
61 if (mApi == nullptr) { in setCallback()
85 if (mApi == nullptr) { in addGeofence()
88 mApi->geofenceAdd( in addGeofence()
102 if (mApi == nullptr) { in pauseGeofence()
[all …]
DGnssMeasurement.cpp44 mApi = new MeasurementAPIClient(); in GnssMeasurement()
48 if (mApi) { in ~GnssMeasurement()
49 delete mApi; in ~GnssMeasurement()
50 mApi = nullptr; in ~GnssMeasurement()
69 if (mApi == nullptr) { in setCallback()
77 return mApi->measurementSetCallback(callback); in setCallback()
81 if (mApi == nullptr) { in close()
90 mApi->measurementClose(); in close()
DGnss.cpp53 if (mApi != nullptr) { in ~Gnss()
54 delete mApi; in ~Gnss()
55 mApi = nullptr; in ~Gnss()
60 if (mApi == nullptr && (mGnssCbIface != nullptr || mGnssNiCbIface != nullptr)) { in getApi()
61 mApi = new GnssAPIClient(mGnssCbIface, mGnssNiCbIface); in getApi()
62 if (mApi == nullptr) { in getApi()
64 return mApi; in getApi()
69 mApi->gnssConfigurationUpdate(mPendingConfig); in getApi()
77 if (mApi == nullptr) { in getApi()
80 return mApi; in getApi()
[all …]
DGnssMeasurement.h67 MeasurementAPIClient* mApi; member
/hardware/qcom/sdm845/gps/msm8998/android/
DGnssBatching.cpp43 GnssBatching::GnssBatching() : mApi(nullptr) { in GnssBatching()
48 if (mApi != nullptr) { in ~GnssBatching()
49 delete mApi; in ~GnssBatching()
50 mApi = nullptr; in ~GnssBatching()
57 if (mApi != nullptr) { in init()
59 delete mApi; in init()
60 mApi = nullptr; in init()
63 mApi = new FlpAPIClient(callback); in init()
64 if (mApi == nullptr) { in init()
82 if (mApi == nullptr) { in getBatchSize()
[all …]
DGnssGeofencing.cpp42 GnssGeofencing::GnssGeofencing() : mApi(nullptr) { in GnssGeofencing()
47 if (mApi != nullptr) { in ~GnssGeofencing()
48 delete mApi; in ~GnssGeofencing()
49 mApi = nullptr; in ~GnssGeofencing()
55 if (mApi != nullptr) { in setCallback()
60 mApi = new GeofenceAPIClient(callback); in setCallback()
61 if (mApi == nullptr) { in setCallback()
85 if (mApi == nullptr) { in addGeofence()
88 mApi->geofenceAdd( in addGeofence()
102 if (mApi == nullptr) { in pauseGeofence()
[all …]
DGnssMeasurement.cpp44 mApi = new GnssMeasurementAPIClient(); in GnssMeasurement()
48 if (mApi) { in ~GnssMeasurement()
49 delete mApi; in ~GnssMeasurement()
50 mApi = nullptr; in ~GnssMeasurement()
69 if (mApi == nullptr) { in setCallback()
77 return mApi->gnssMeasurementSetCallback(callback); in setCallback()
81 if (mApi == nullptr) { in close()
90 mApi->gnssMeasurementClose(); in close()
DGnss.cpp53 if (mApi != nullptr) { in ~Gnss()
54 delete mApi; in ~Gnss()
55 mApi = nullptr; in ~Gnss()
60 if (mApi == nullptr && (mGnssCbIface != nullptr || mGnssNiCbIface != nullptr)) { in getApi()
61 mApi = new GnssAPIClient(mGnssCbIface, mGnssNiCbIface); in getApi()
62 if (mApi == nullptr) { in getApi()
64 return mApi; in getApi()
69 mApi->gnssConfigurationUpdate(mPendingConfig); in getApi()
77 if (mApi == nullptr) { in getApi()
80 return mApi; in getApi()
[all …]
DGnssMeasurement.h67 GnssMeasurementAPIClient* mApi; member
DGnssGeofencing.h82 GeofenceAPIClient* mApi = nullptr; member
/hardware/qcom/sdm845/gps/sdm845/android/
DGnssBatching.cpp43 GnssBatching::GnssBatching() : mApi(nullptr) { in GnssBatching()
48 if (mApi != nullptr) { in ~GnssBatching()
49 delete mApi; in ~GnssBatching()
50 mApi = nullptr; in ~GnssBatching()
57 if (mApi != nullptr) { in init()
59 delete mApi; in init()
60 mApi = nullptr; in init()
63 mApi = new BatchingAPIClient(callback); in init()
64 if (mApi == nullptr) { in init()
82 if (mApi == nullptr) { in getBatchSize()
[all …]
DGnssGeofencing.cpp42 GnssGeofencing::GnssGeofencing() : mApi(nullptr) { in GnssGeofencing()
47 if (mApi != nullptr) { in ~GnssGeofencing()
48 delete mApi; in ~GnssGeofencing()
49 mApi = nullptr; in ~GnssGeofencing()
55 if (mApi != nullptr) { in setCallback()
60 mApi = new GeofenceAPIClient(callback); in setCallback()
61 if (mApi == nullptr) { in setCallback()
85 if (mApi == nullptr) { in addGeofence()
88 mApi->geofenceAdd( in addGeofence()
102 if (mApi == nullptr) { in pauseGeofence()
[all …]
DGnssMeasurement.cpp44 mApi = new MeasurementAPIClient(); in GnssMeasurement()
48 if (mApi) { in ~GnssMeasurement()
49 delete mApi; in ~GnssMeasurement()
50 mApi = nullptr; in ~GnssMeasurement()
70 if (mApi == nullptr) { in setCallback()
78 return mApi->measurementSetCallback(callback); in setCallback()
83 if (mApi == nullptr) { in close()
96 mApi->measurementClose(); in close()
116 if (nullptr == mApi) { in setCallback_1_1()
127 return mApi->measurementSetCallback_1_1(callback, powerMode); in setCallback_1_1()
DGnss.cpp97 if (mApi != nullptr) { in ~Gnss()
98 delete mApi; in ~Gnss()
99 mApi = nullptr; in ~Gnss()
104 if (mApi == nullptr && (mGnssCbIface != nullptr || mGnssNiCbIface != nullptr)) { in getApi()
105 mApi = new GnssAPIClient(mGnssCbIface, mGnssNiCbIface); in getApi()
106 if (mApi == nullptr) { in getApi()
108 return mApi; in getApi()
113 mApi->gnssConfigurationUpdate(mPendingConfig); in getApi()
121 if (mApi == nullptr) { in getApi()
124 return mApi; in getApi()
[all …]
DGnssMeasurement.h74 MeasurementAPIClient* mApi; member
/hardware/qcom/gps/msm8998/gnss/
DGnssAdapter.cpp503 LocApiBase& mApi; in setConfigCommand() member
508 mApi(api) {} in setConfigCommand()
511 mApi.setSUPLVersion(mAdapter.convertSuplVersion(ContextBase::mGps_conf.SUPL_VER)); in setConfigCommand()
512 mApi.setLPPConfig(mAdapter.convertLppProfile(ContextBase::mGps_conf.LPP_PROFILE)); in setConfigCommand()
513 mApi.setSensorControlConfig(ContextBase::mSap_conf.SENSOR_USAGE, in setConfigCommand()
515 mApi.setAGLONASSProtocol(ContextBase::mGps_conf.A_GLONASS_POS_PROTOCOL_SELECT); in setConfigCommand()
516 mApi.setLPPeProtocolCp( in setConfigCommand()
518 mApi.setLPPeProtocolUp( in setConfigCommand()
528 mApi.setNMEATypes(mask); in setConfigCommand()
530 mApi.setXtraVersionCheck(ContextBase::mGps_conf.XTRA_VERSION_CHECK); in setConfigCommand()
[all …]
/hardware/qcom/sdm845/gps/msm8998/gnss/
DGnssAdapter.cpp500 LocApiBase& mApi; in setConfigCommand() member
505 mApi(api) {} in setConfigCommand()
508 mApi.setSUPLVersion(mAdapter.convertSuplVersion(ContextBase::mGps_conf.SUPL_VER)); in setConfigCommand()
509 mApi.setLPPConfig(mAdapter.convertLppProfile(ContextBase::mGps_conf.LPP_PROFILE)); in setConfigCommand()
510 mApi.setSensorControlConfig(ContextBase::mSap_conf.SENSOR_USAGE, in setConfigCommand()
512 mApi.setAGLONASSProtocol(ContextBase::mGps_conf.A_GLONASS_POS_PROTOCOL_SELECT); in setConfigCommand()
513 mApi.setLPPeProtocolCp( in setConfigCommand()
515 mApi.setLPPeProtocolUp( in setConfigCommand()
525 mApi.setNMEATypes(mask); in setConfigCommand()
527 mApi.setXtraVersionCheck(ContextBase::mGps_conf.XTRA_VERSION_CHECK); in setConfigCommand()
[all …]
/hardware/qcom/gps/msm8909w_3100/gnss/
DGnssAdapter.cpp522 LocApiBase& mApi; in setConfigCommand() member
527 mApi(api) {} in setConfigCommand()
530 mApi.setSUPLVersion(mAdapter.convertSuplVersion(ContextBase::mGps_conf.SUPL_VER)); in setConfigCommand()
531 mApi.setLPPConfig(mAdapter.convertLppProfile(ContextBase::mGps_conf.LPP_PROFILE)); in setConfigCommand()
532 mApi.setAGLONASSProtocol(ContextBase::mGps_conf.A_GLONASS_POS_PROTOCOL_SELECT); in setConfigCommand()
534 mApi.setSensorControlConfig(ContextBase::mSap_conf.SENSOR_USAGE, in setConfigCommand()
536 mApi.setLPPeProtocolCp( in setConfigCommand()
538 mApi.setLPPeProtocolUp( in setConfigCommand()
546 if (mApi.isFeatureSupported(LOC_SUPPORTED_FEATURE_DEBUG_NMEA_V02)) { in setConfigCommand()
550 mApi.setNMEATypes(mask); in setConfigCommand()
[all …]
/hardware/qcom/sdm845/gps/sdm845/gnss/
DGnssAdapter.cpp688 LocApiBase& mApi; in setConfigCommand() member
693 mApi(api) {} in setConfigCommand()
696 mApi.setSUPLVersion(mAdapter.convertSuplVersion(ContextBase::mGps_conf.SUPL_VER)); in setConfigCommand()
697 mApi.setLPPConfig(mAdapter.convertLppProfile(ContextBase::mGps_conf.LPP_PROFILE)); in setConfigCommand()
698 mApi.setAGLONASSProtocol(ContextBase::mGps_conf.A_GLONASS_POS_PROTOCOL_SELECT); in setConfigCommand()
702 mApi.setSensorControlConfig(ContextBase::mSap_conf.SENSOR_USAGE, in setConfigCommand()
717 if (mApi.isFeatureSupported(LOC_SUPPORTED_FEATURE_DEBUG_NMEA_V02)) { in setConfigCommand()
721 mApi.setNMEATypes(mask); in setConfigCommand()
725 mApi.setXtraVersionCheck(ContextBase::mGps_conf.XTRA_VERSION_CHECK); in setConfigCommand()
731 mApi.setSensorProperties( in setConfigCommand()
[all …]

12