Home
last modified time | relevance | path

Searched refs:CheckIsSystemAppByUid (Results 1 - 25 of 38) sorted by relevance

12

/foundation/resourceschedule/device_standby/services/core/src/
H A Dbundle_manager_helper.cpp78 bool WEAK_FUNC BundleManagerHelper::CheckIsSystemAppByUid(const int uid, bool& isSystemApp) in CheckIsSystemAppByUid() function in OHOS::DevStandbyMgr::BundleManagerHelper
86 isSystemApp = bundleMgr_->CheckIsSystemAppByUid(uid); in CheckIsSystemAppByUid()
/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/
H A Dmock_bundle_manager_form.h59 bool CheckIsSystemAppByUid(const int uid) override
103 bool CheckIsSystemAppByUid(const int uid) override
/foundation/barrierfree/accessibility/services/aams/test/mock/include/
H A Dmock_bundle_manager.h70 virtual bool CheckIsSystemAppByUid(const int uid) override;
92 virtual bool CheckIsSystemAppByUid(const int uid) override;
/foundation/multimedia/ringtone_library/services/utils/src/
H A Dpermission_utils.cpp167 bool RingtonePermissionUtils::CheckIsSystemAppByUid() in CheckIsSystemAppByUid() function in OHOS::Media::RingtonePermissionUtils
175 return bundleManager_->CheckIsSystemAppByUid(uid); in CheckIsSystemAppByUid()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/checkissystemappbyuid_fuzzer/
H A Dcheckissystemappbyuid_fuzzer.cpp58 return bundleMgr->CheckIsSystemAppByUid(reinterpret_cast<uintptr_t>(data)); in DoSomethingInterestingWithMyAPI()
/foundation/multimedia/ringtone_library/services/utils/include/
H A Dpermission_utils.h32 EXPORT static bool CheckIsSystemAppByUid();
/foundation/resourceschedule/device_standby/services/core/include/
H A Dbundle_manager_helper.h48 bool CheckIsSystemAppByUid(const int uid, bool& isSystemApp);
/foundation/ability/form_fwk/test/mock/include/
H A Dmock_bundle_manager.h103 virtual bool CheckIsSystemAppByUid(const int uid) override
140 MOCK_METHOD1(CheckIsSystemAppByUid, bool(const int));
H A Dmock_bundle_mgr.h46 MOCK_METHOD1(CheckIsSystemAppByUid, bool(const int));
/foundation/barrierfree/accessibility/services/aams/test/mock/src/aafwk/
H A Dmock_bundle_manager.cpp112 bool BundleMgrService::CheckIsSystemAppByUid(const int uid) in CheckIsSystemAppByUid() function in OHOS::AppExecFwk::BundleMgrService
/foundation/multimedia/media_library/frameworks/utils/include/
H A Dpermission_utils.h77 static bool CheckIsSystemAppByUid();
/foundation/multimedia/ringtone_library/test/unittest/ringtone_utils_test/src/
H A Dringtone_permission_utils_test.cpp98 bool ret = RingtonePermissionUtils::CheckIsSystemAppByUid(); in HWTEST_F()
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_publish_form_test/
H A Dfms_form_mgr_publish_form_test.cpp257 EXPECT_CALL(*mockBms_, CheckIsSystemAppByUid(_)).Times(testing::AnyNumber()).WillRepeatedly(Return(true)); in HWTEST_F()
301 EXPECT_CALL(*mockBms_, CheckIsSystemAppByUid(_)).Times(testing::AnyNumber()).WillRepeatedly(Return(true)); in HWTEST_F()
/foundation/multimedia/media_library/frameworks/utils/src/
H A Dpermission_utils.cpp425 bool PermissionUtils::CheckIsSystemAppByUid() in CheckIsSystemAppByUid() function in OHOS::Media::PermissionUtils
433 return bundleMgr_->CheckIsSystemAppByUid(uid); in CheckIsSystemAppByUid()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/fuzztest/medialibrarycommon_fuzzer/src/
H A Dmedialibrary_common_fuzzer.cpp107 Media::PermissionUtils::CheckIsSystemAppByUid(); in PermissionUtilsTest()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/bundlemgrproxy_fuzzer/
H A Dbundlemgrproxy_fuzzer.cpp203 bundleMgrProxy.CheckIsSystemAppByUid(uid); in DoSomethingInterestingWithMyAPI()
/foundation/resourceschedule/device_standby/plugins/strategy/src/
H A Dbase_network_strategy.cpp553 if (BundleManagerHelper::GetInstance()->CheckIsSystemAppByUid(uid, isSystemApp) && isSystemApp) { in GetAndCreateAppInfo()
H A Drunning_lock_strategy.cpp505 if (BundleManagerHelper::GetInstance()->CheckIsSystemAppByUid(uid, isSystemApp) && isSystemApp) { in GetAndCreateAppInfo()
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_adapter_test/
H A Dfms_form_mgr_adapter_test2.cpp821 EXPECT_CALL(*bmsProxy, CheckIsSystemAppByUid(_)).Times(1).WillOnce(Invoke(bmsTaskCheckIsSystemAppByUid)); in HWTEST_F()
847 EXPECT_CALL(*bmsProxy, CheckIsSystemAppByUid(_)).Times(1).WillOnce(Invoke(bmsTaskCheckIsSystemAppByUid)); in HWTEST_F()
2395 EXPECT_CALL(*bmsProxy, CheckIsSystemAppByUid(_)).Times(2).WillOnce(Invoke(bmsTaskCheckIsSystemAppByUid)) in HWTEST_F()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/bundlemgr/
H A Dbundle_mgr_interface.h414 virtual bool CheckIsSystemAppByUid(const int uid) in CheckIsSystemAppByUid() function in OHOS::AppExecFwk::IBundleMgr
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_mgr_proxy_test/
H A Dbms_bundle_mgr_proxy_test.cpp563 * @tc.name: test the CheckIsSystemAppByUid
565 * 2. test CheckIsSystemAppByUid
572 auto res = bundleMgrProxy.CheckIsSystemAppByUid(uid); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/test/benchmarktest/bundlemgr_proxy_test/
H A Dbundlemgr_proxy_test.cpp372 * @tc.desc: Testcase for testing CheckIsSystemAppByUid.
384 /* @tc.steps: step1.call CheckIsSystemAppByUid in loop */ in BenchmarkTestCheckIsSystemAppByUid()
385 bundleMgrProxy->CheckIsSystemAppByUid(Constants::INVALID_UID); in BenchmarkTestCheckIsSystemAppByUid()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dmedialibrary_uripermission_operations.cpp451 if (!PermissionUtils::CheckIsSystemAppByUid()) { in HandleUriPermOperations()
/foundation/communication/nfc/services/src/external_deps/
H A Dapp_data_parser.cpp755 return bundleMgrProxy->CheckIsSystemAppByUid(uid); in IsSystemApp()
/foundation/ability/form_fwk/services/src/
H A Dform_mgr_service.cpp1267 auto isSystemApp = bundleMgr->CheckIsSystemAppByUid(callingUid); in RegisterPublishFormInterceptor()
1285 auto isSystemApp = bundleMgr->CheckIsSystemAppByUid(callingUid); in UnregisterPublishFormInterceptor()

Completed in 24 milliseconds

12