Home
last modified time | relevance | path

Searched refs:countryCodeCallbacksMap_ (Results 1 - 3 of 3) sorted by relevance

/base/location/test/location_locator/source/
H A Dcountry_code_manager_test.cpp56 EXPECT_EQ(0, countryCodeManager->countryCodeCallbacksMap_.size()); in HWTEST_F()
68 EXPECT_EQ(0, countryCodeManager->countryCodeCallbacksMap_.size()); in HWTEST_F()
81 EXPECT_EQ(0, countryCodeManager->countryCodeCallbacksMap_.size()); in HWTEST_F()
103 EXPECT_EQ(1, countryCodeManager->countryCodeCallbacksMap_.size()); in HWTEST_F()
121 EXPECT_NE(0, countryCodeManager->countryCodeCallbacksMap_.size()); in HWTEST_F()
138 EXPECT_EQ(0, countryCodeManager->countryCodeCallbacksMap_.size()); in HWTEST_F()
156 EXPECT_EQ(1, countryCodeManager->countryCodeCallbacksMap_.size()); in HWTEST_F()
167 EXPECT_EQ(0, countryCodeManager->countryCodeCallbacksMap_.size()); in HWTEST_F()
185 EXPECT_NE(0, countryCodeManager->countryCodeCallbacksMap_.size()); in HWTEST_F()
213 EXPECT_NE(0, countryCodeManager->countryCodeCallbacksMap_ in HWTEST_F()
[all...]
/base/location/frameworks/native/locator_sdk/source/
H A Dcountry_code_manager.cpp62 for (const auto& pair : countryCodeCallbacksMap_) { in NotifyAllListener()
81 countryCodeCallbacksMap_[callback] = identity; in RegisterCountryCodeCallback()
82 LBSLOGD(COUNTRY_CODE, "after uid:%{public}d register, countryCodeCallbacksMap_ size:%{public}s", in RegisterCountryCodeCallback()
83 identity.GetUid(), std::to_string(countryCodeCallbacksMap_.size()).c_str()); in RegisterCountryCodeCallback()
84 if (countryCodeCallbacksMap_.size() != 1) { in RegisterCountryCodeCallback()
102 auto iter = countryCodeCallbacksMap_.find(callback); in UnregisterCountryCodeCallback()
103 if (iter != countryCodeCallbacksMap_.end()) { in UnregisterCountryCodeCallback()
104 countryCodeCallbacksMap_.erase(iter); in UnregisterCountryCodeCallback()
106 LBSLOGD(COUNTRY_CODE, "after unregister, countryCodeCallbacksMap_ size:%{public}s", in UnregisterCountryCodeCallback()
107 std::to_string(countryCodeCallbacksMap_ in UnregisterCountryCodeCallback()
[all...]
/base/location/interfaces/inner_api/include/
H A Dcountry_code_manager.h84 std::map<sptr<IRemoteObject>, AppIdentity> countryCodeCallbacksMap_; member in OHOS::Location::CountryCodeManager

Completed in 2 milliseconds