Home
last modified time | relevance | path

Searched refs:isSystemApp (Results 1 – 25 of 262) sorted by relevance

1234567891011

/ohos5.0/base/notification/common_event_service/services/src/
H A Dbundle_manager_helper.cpp121 bool isSystemApp = false; in CheckIsSystemAppByUid() local
125 return isSystemApp; in CheckIsSystemAppByUid()
128 isSystemApp = sptrBundleMgr_->CheckIsSystemAppByUid(uid); in CheckIsSystemAppByUid()
130 return isSystemApp; in CheckIsSystemAppByUid()
139 bool isSystemApp = false; in CheckIsSystemAppByBundleName() local
142 return isSystemApp; in CheckIsSystemAppByBundleName()
150 isSystemApp = sptrBundleMgr_->CheckIsSystemAppByUid(uid); in CheckIsSystemAppByBundleName()
152 return isSystemApp; in CheckIsSystemAppByBundleName()
/ohos5.0/base/notification/common_event_service/services/test/unittest/
H A Dcommon_event_subscriber_manager_test.cpp284 bool isSystemApp = true; in HWTEST_F() local
286 …true, commonEventSubscriberManager.CheckSubscriberByUserId(subscriberUserId, isSystemApp, userId)); in HWTEST_F()
300 bool isSystemApp = true; in HWTEST_F() local
302 …true, commonEventSubscriberManager.CheckSubscriberByUserId(subscriberUserId, isSystemApp, userId)); in HWTEST_F()
316 bool isSystemApp = false; in HWTEST_F() local
318 …true, commonEventSubscriberManager.CheckSubscriberByUserId(subscriberUserId, isSystemApp, userId)); in HWTEST_F()
332 bool isSystemApp = true; in HWTEST_F() local
334 …alse, commonEventSubscriberManager.CheckSubscriberByUserId(subscriberUserId, isSystemApp, userId)); in HWTEST_F()
348 bool isSystemApp = true; in HWTEST_F() local
350 …true, commonEventSubscriberManager.CheckSubscriberByUserId(subscriberUserId, isSystemApp, userId)); in HWTEST_F()
[all …]
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/permission/
H A Dpermission_utils.cpp95 bool isSystemApp = TokenIdKit::IsSystemAppByFullTokenID(fullTokenId); in CheckSystemHapApp() local
97 tokenId, callingType, static_cast<unsigned long long>(fullTokenId), isSystemApp); in CheckSystemHapApp()
99 if (callingType == TOKEN_HAP && !isSystemApp) { in CheckSystemHapApp()
/ohos5.0/base/notification/common_event_service/services/test/unittest/mock/
H A Dmock_token_id_kit.cpp22 void MockIsSystemApp(bool isSystemApp) in MockIsSystemApp() argument
24 g_isSystemApp = isSystemApp; in MockIsSystemApp()
/ohos5.0/base/notification/distributed_notification_service/test/mock/
H A Dmock_tokenid_kit.cpp22 void MockIsSystemApp(bool isSystemApp) in MockIsSystemApp() argument
24 g_isSystemApp = isSystemApp; in MockIsSystemApp()
/ohos5.0/base/notification/common_event_service/test/mock/
H A Dmock_bundle_manager.cpp24 void MockBundleMgrService::MockSetIsSystemApp(bool isSystemApp) in MockSetIsSystemApp() argument
27 isSystemApp_ = isSystemApp; in MockSetIsSystemApp()
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/appkit/app/
H A Dchild_main_thread.cpp283 bool isSystemApp = bundleInfo.applicationInfo.isSystemApp; in InitNativeLib() local
284 TAG_LOGD(AAFwkTag::APPKIT, "the application isSystemApp: %{public}d", isSystemApp); in InitNativeLib()
288 AbilityRuntime::JsRuntime::SetAppLibPath(appLibPaths, isSystemApp); in InitNativeLib()
290 UpdateNativeChildLibModuleName(appLibPaths, isSystemApp); in InitNativeLib()
382 …ChildMainThread::UpdateNativeChildLibModuleName(const AppLibPathMap &appLibPaths, bool isSystemApp) in UpdateNativeChildLibModuleName() argument
401 nativeModuleMgr->SetAppLibPath(libPathPair.first, libPathPair.second, isSystemApp); in UpdateNativeChildLibModuleName()
/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/
H A Dcamera_napi_security_utils.cpp28 bool isSystemApp = CameraSecurity::CheckSystemApp(); in CheckSystemApp() local
29 if (!isSystemApp) { in CheckSystemApp()
/ohos5.0/base/security/asset/services/os_dependency/src/
H A Daccess_token_wrapper.cpp35 bool isSystemApp = TokenIdKit::IsSystemAppByFullTokenID(accessTokenId); in CheckSystemApp() local
36 if (isSystemApp) { in CheckSystemApp()
/ohos5.0/base/notification/common_event_service/services/include/
H A Dcommon_event_record.h32 bool isSystemApp; member
36 …EventRecordInfo() : pid(0), uid(0), callerToken(0), isSubsystem(false), isSystemApp(false), isProx… in EventRecordInfo()
H A Dhistory_event_record.h63 bool isSystemApp; member
81 isSystemApp(false), in HistoryEventRecord()
/ohos5.0/base/powermgr/power_manager/test/unittest/src/mock/
H A Dmock_accesstoken_kit.cpp37 void MockAccesstokenKit::MockSetSystemApp(bool isSystemApp) in MockSetSystemApp() argument
39 g_isSystemApp = isSystemApp; in MockSetSystemApp()
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_common/
H A Dwifi_auth_center.cpp52 bool isSystemApp = Security::AccessToken::TokenIdKit::IsSystemAppByFullTokenID(fullTokenId); in IsSystemAccess() local
57 fullTokenId, isSystemApp, callingType); in IsSystemAccess()
61 if (callingType == Security::AccessToken::TOKEN_HAP && isSystemApp) { in IsSystemAccess()
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/session/cpp/src/
H A Dsession_ipc_adapter.cpp48 … bool isSystemApp = OHOS::Security::AccessToken::TokenIdKit::IsSystemAppByFullTokenID(selfToken); in CheckIsNormalApp() local
49 if (isSystemApp) { in CheckIsNormalApp()
/ohos5.0/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/
H A Dmock_bundle_manager.cpp40 void MockBundleManager::MockSetIsSystemApp(bool isSystemApp) in MockSetIsSystemApp() argument
43 isSystemApp_ = isSystemApp; in MockSetIsSystemApp()
/ohos5.0/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/src/
H A Dapp_installation_optimized_test.cpp122 .isSystemApp = true
659 info.isSystemApp = true;
708 .isSystemApp = false
741 .isSystemApp = false
774 .isSystemApp = false
807 .isSystemApp = true
839 .isSystemApp = true
867 info.isSystemApp = true;
912 info.isSystemApp = true;
963 info.isSystemApp = true;
[all …]
/ohos5.0/base/customization/enterprise_device_management/common/external/src/
H A Dedm_access_token_manager_impl.cpp43 bool isSystemApp = in IsSystemAppOrNative() local
47 if (isSystemApp || tokenType == Security::AccessToken::ATokenTypeEnum::TOKEN_NATIVE || in IsSystemAppOrNative()
/ohos5.0/foundation/communication/wifi/wifi/frameworks/native/interfaces/
H A Dwifi_scan_control_msg.h56 bool isSystemApp; member
80 isSystemApp = false; in WifiScanDeviceInfo()
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/include/
H A Dgt_bundle_manager_service.h33 bool isSystemApp; member
92 bool ReloadBundleInfo(const char *profileDir, const char *appId, bool isSystemApp);
98 bool isSystemApp, bool isUpdated, const char *appId);
/ohos5.0/base/usb/usb_manager/test/native/service_unittest/src/
H A Dusb_common_test.cpp57 .isSystemApp = false
65 .isSystemApp = false
73 .isSystemApp = false
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/recorder/
H A Drecorder_napi_utils.cpp44 bool isSystemApp = TokenIdKit::IsSystemAppByFullTokenID(accessTokenIDEx); in IsSystemApp() local
45 return isSystemApp; in IsSystemApp()
/ohos5.0/base/security/access_token/frameworks/accesstoken/src/
H A Dhap_info_parcel.cpp30 RETURN_IF_FALSE(out.WriteBool(this->hapInfoParameter.isSystemApp)); in Marshalling()
47 RELEASE_IF_FALSE(in.ReadBool(hapInfoParcel->hapInfoParameter.isSystemApp), hapInfoParcel); in Unmarshalling()
/ohos5.0/base/security/access_token/interfaces/innerkits/accesstoken/include/
H A Dhap_token_info.h70 bool isSystemApp; variable
84 bool isSystemApp; variable
/ohos5.0/base/inputmethod/imf/test/unittest/cpp_test/common/include/
H A Didentity_checker_mock.h69 static void SetSystemApp(bool isSystemApp) in SetSystemApp() argument
71 isSystemApp_ = isSystemApp; in SetSystemApp()
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/
H A Dgt_bundle_manager_service.cpp463 toBeInstalledApp->isSystemApp); in InstallPreBundle()
746 bool isSystemApp = (scanFlag == SYSTEM_APP_FLAG); in ReloadEntireBundleInfo() local
749 AddSystemAppPathList(nullptr, appPath, systemPathList, isSystemApp, false, appId); in ReloadEntireBundleInfo()
755 AddSystemAppPathList(codePath, appPath, systemPathList, isSystemApp, true, appId); in ReloadEntireBundleInfo()
774 bool ret = ReloadBundleInfo(codePath, appId, isSystemApp); in ReloadEntireBundleInfo()
783 List<ToBeInstalledApp *> *systemPathList, bool isSystemApp, bool isUpdated, const char *appId) in AddSystemAppPathList() argument
796 toBeInstalledApp->isSystemApp = isSystemApp; in AddSystemAppPathList()
802 bool GtManagerService::ReloadBundleInfo(const char *profileDir, const char *appId, bool isSystemApp) in ReloadBundleInfo() argument
817 bundleInfo->isSystemApp = isSystemApp; in ReloadBundleInfo()
839 … HILOG_ERROR(HILOG_MODULE_AAFWK, "[BMS] reload bundle info fail!, isSystemApp is %d", isSystemApp); in ReloadBundleInfo()

1234567891011