Searched refs:CheckBackgroundPermission (Results 1 – 6 of 6) sorted by relevance
/base/location/test/location_common/source/ |
D | common_utils_test.cpp | 211 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/ |
D | common_utils.h | 168 static bool CheckBackgroundPermission(uint32_t tokenId, uint32_t firstTokenId);
|
/base/location/services/location_locator/locator/source/ |
D | report_manager.cpp | 133 !CommonUtils::CheckBackgroundPermission(tokenId, firstTokenId))) { in GetPermittedLocation()
|
D | locator_background_proxy.cpp | 251 CommonUtils::CheckBackgroundPermission(tokenId, firstTokenId)); in CheckPermission()
|
D | request_manager.cpp | 124 …IsUidInProcessing(uid) && CommonUtils::CheckBackgroundPermission(callingTokenId, callingFirstToken… in UpdateUsingBackgroundPermission()
|
/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
|