Home
last modified time | relevance | path

Searched refs:CheckBackgroundPermission (Results 1 – 5 of 5) sorted by relevance

/base/location/test/location_common/source/
Dcommon_utils_test.cpp187 EXPECT_EQ(false, CommonUtils::CheckBackgroundPermission(invalidTokenId, firstTokenId));
195 EXPECT_EQ(false, CommonUtils::CheckBackgroundPermission(callingTokenId, callingFirstTokenid));
202 EXPECT_EQ(true, CommonUtils::CheckBackgroundPermission(tokenId, 0));
208 EXPECT_EQ(false, CommonUtils::CheckBackgroundPermission(tokenId, 1));
214 EXPECT_EQ(true, CommonUtils::CheckBackgroundPermission(tokenId, tokenId));
/base/location/interfaces/inner_api/include/
Dcommon_utils.h145 static bool CheckBackgroundPermission(uint32_t tokenId, uint32_t firstTokenId);
/base/location/frameworks/location_common/common/source/
Dcommon_utils.cpp63 bool CommonUtils::CheckBackgroundPermission(uint32_t tokenId, uint32_t firstTokenId) in CheckBackgroundPermission() function in OHOS::Location::CommonUtils
/base/location/services/location_locator/locator/source/
Dlocator_background_proxy.cpp251 CommonUtils::CheckBackgroundPermission(tokenId, firstTokenId)); in CheckPermission()
Drequest_manager.cpp115 …IsUidInProcessing(uid) && CommonUtils::CheckBackgroundPermission(callingTokenId, callingFirstToken… in UpdateUsingBackgroundPermission()