Home
last modified time | relevance | path

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

/base/location/test/location_common/source/
Dcommon_utils_test.cpp211 EXPECT_EQ(false, CommonUtils::CheckBackgroundPermission(invalidTokenId, firstTokenId));
219 EXPECT_EQ(false, CommonUtils::CheckBackgroundPermission(callingTokenId, callingFirstTokenid));
226 EXPECT_EQ(true, CommonUtils::CheckBackgroundPermission(tokenId, 0));
232 EXPECT_EQ(false, CommonUtils::CheckBackgroundPermission(tokenId, 1));
238 EXPECT_EQ(true, CommonUtils::CheckBackgroundPermission(tokenId, tokenId));
/base/location/interfaces/inner_api/include/
Dcommon_utils.h168 static bool CheckBackgroundPermission(uint32_t tokenId, uint32_t firstTokenId);
/base/location/services/location_locator/locator/source/
Dreport_manager.cpp133 !CommonUtils::CheckBackgroundPermission(tokenId, firstTokenId))) { in GetPermittedLocation()
Dlocator_background_proxy.cpp251 CommonUtils::CheckBackgroundPermission(tokenId, firstTokenId)); in CheckPermission()
Drequest_manager.cpp124 …IsUidInProcessing(uid) && CommonUtils::CheckBackgroundPermission(callingTokenId, callingFirstToken… in UpdateUsingBackgroundPermission()
/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