Searched refs:CheckBackgroundPermission (Results 1 – 5 of 5) sorted by relevance
/base/location/test/location_common/source/ |
D | common_utils_test.cpp | 187 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/ |
D | common_utils.h | 145 static bool CheckBackgroundPermission(uint32_t tokenId, uint32_t firstTokenId);
|
/base/location/frameworks/location_common/common/source/ |
D | common_utils.cpp | 63 bool CommonUtils::CheckBackgroundPermission(uint32_t tokenId, uint32_t firstTokenId) in CheckBackgroundPermission() function in OHOS::Location::CommonUtils
|
/base/location/services/location_locator/locator/source/ |
D | locator_background_proxy.cpp | 251 CommonUtils::CheckBackgroundPermission(tokenId, firstTokenId)); in CheckPermission()
|
D | request_manager.cpp | 115 …IsUidInProcessing(uid) && CommonUtils::CheckBackgroundPermission(callingTokenId, callingFirstToken… in UpdateUsingBackgroundPermission()
|