Lines Matching refs:mApi
43 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()
85 ret = mApi->getBatchSize(); in getBatchSize()
92 if (mApi == nullptr) { in start()
95 ret = mApi->startSession(options); in start()
101 if (mApi == nullptr) { in flush()
104 mApi->flushBatchedLocations(); in flush()
111 if (mApi == nullptr) { in stop()
114 ret = mApi->stopSession(); in stop()
120 if (mApi != nullptr) { in cleanup()
121 mApi->stopSession(); in cleanup()
136 if (mApi != nullptr) { in init_2_0()
138 delete mApi; in init_2_0()
139 mApi = nullptr; in init_2_0()
142 mApi = new BatchingAPIClient(callback); in init_2_0()
143 if (mApi == nullptr) { in init_2_0()