Searched refs:gnssCallbackHost (Results 1 – 7 of 7) sorted by relevance
/base/location/test/fuzztest/locator/gnss_fuzzer/ |
D | gnss_fuzzer.cpp | 52 auto gnssCallbackHost = in GnssProxyFuzzTest() local 54 proxy->RegisterGnssStatusCallback(gnssCallbackHost, data[index++]); in GnssProxyFuzzTest() 55 proxy->UnregisterGnssStatusCallback(gnssCallbackHost); in GnssProxyFuzzTest()
|
/base/location/test/location_locator/source/ |
D | location_without_permission_test.cpp | 121 auto gnssCallbackHost = variable 123 EXPECT_NE(nullptr, gnssCallbackHost); 124 EXPECT_EQ(true, locatorImpl->RegisterGnssStatusCallback(gnssCallbackHost->AsObject(), 1000)); 125 EXPECT_EQ(true, locatorImpl->UnregisterGnssStatusCallback(gnssCallbackHost->AsObject())); 214 auto gnssCallbackHost = variable 216 EXPECT_NE(nullptr, gnssCallbackHost); 217 …EXPECT_EQ(ERRCODE_PERMISSION_DENIED, locatorImpl->RegisterGnssStatusCallbackV9(gnssCallbackHost->A… 218 …CODE_PERMISSION_DENIED, locatorImpl->UnregisterGnssStatusCallbackV9(gnssCallbackHost->AsObject()));
|
D | callback_test.cpp | 257 auto gnssCallbackHost = variable 259 EXPECT_NE(true, gnssCallbackHost->IsRemoteDied()); 260 gnssCallbackHost->OnStatusChange(nullptr); 261 gnssCallbackHost->DeleteHandler();
|
D | locator_impl_test.cpp | 418 auto gnssCallbackHost = variable 420 …EXPECT_EQ(ERRCODE_SUCCESS, locatorImpl_->RegisterGnssStatusCallbackV9(gnssCallbackHost->AsObject()… 422 …EXPECT_EQ(ERRCODE_SUCCESS, locatorImpl_->UnregisterGnssStatusCallbackV9(gnssCallbackHost->AsObject…
|
D | locator_service_test.cpp | 1545 auto gnssCallbackHost = variable 1547 EXPECT_NE(nullptr, gnssCallbackHost); 1548 EXPECT_EQ(true, locatorImpl->RegisterGnssStatusCallback(gnssCallbackHost->AsObject(), 1000)); 1549 EXPECT_EQ(true, locatorImpl->UnregisterGnssStatusCallback(gnssCallbackHost->AsObject())); 1706 auto gnssCallbackHost = variable 1709 locatorAbility->RegisterGnssStatusCallback(gnssCallbackHost, SYSTEM_UID); 1711 locatorAbility->UnregisterGnssStatusCallback(gnssCallbackHost);
|
/base/location/test/fuzztest/locator/locator_fuzzer/ |
D | locator_fuzzer.cpp | 227 auto gnssCallbackHost = in TestCallbackRegister() local 229 g_locatorImpl->RegisterGnssStatusCallback(gnssCallbackHost->AsObject(), data[index++]); in TestCallbackRegister() 230 g_locatorImpl->UnregisterGnssStatusCallback(gnssCallbackHost->AsObject()); in TestCallbackRegister() 259 auto gnssCallbackHost = in TestCallbackRegisterV9() local 261 g_locatorImpl->RegisterGnssStatusCallbackV9(gnssCallbackHost->AsObject()); in TestCallbackRegisterV9() 262 g_locatorImpl->UnregisterGnssStatusCallbackV9(gnssCallbackHost->AsObject()); in TestCallbackRegisterV9() 354 auto gnssCallbackHost = in GnssStatusCallbackHostFuzzerTest() local 359 gnssCallbackHost->OnRemoteRequest(data[index++], request, reply, option); in GnssStatusCallbackHostFuzzerTest() 360 gnssCallbackHost->IsRemoteDied(); in GnssStatusCallbackHostFuzzerTest() 362 gnssCallbackHost->Send(statusInfo); in GnssStatusCallbackHostFuzzerTest() [all …]
|
/base/location/frameworks/js/napi/source/ |
D | location_napi_event.cpp | 657 auto gnssCallbackHost = in OnGnssStatusChangeCallback() local 659 if (gnssCallbackHost != nullptr) { in OnGnssStatusChangeCallback() 663 LocationErrCode errorCode = SubscribeGnssStatusV9(env, handlerRef, gnssCallbackHost); in OnGnssStatusChangeCallback() 669 SubscribeGnssStatus(env, handlerRef, gnssCallbackHost); in OnGnssStatusChangeCallback() 671 g_gnssStatusInfoCallbacks.AddCallback(env, handlerRef, gnssCallbackHost); in OnGnssStatusChangeCallback() 1128 auto gnssCallbackHost = g_gnssStatusInfoCallbacks.GetCallbackPtr(env, handler); in OffGnssStatusChangeCallback() local 1129 if (gnssCallbackHost) { in OffGnssStatusChangeCallback() 1131 errorCode = UnSubscribeGnssStatusV9(gnssCallbackHost); in OffGnssStatusChangeCallback() 1137 UnSubscribeGnssStatus(gnssCallbackHost); in OffGnssStatusChangeCallback() 1140 gnssCallbackHost->DeleteHandler(); in OffGnssStatusChangeCallback() [all …]
|