/ohos5.0/base/notification/common_event_service/services/src/ |
H A D | bundle_manager_helper.cpp | 121 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 D | common_event_subscriber_manager_test.cpp | 284 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 D | permission_utils.cpp | 95 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 D | mock_token_id_kit.cpp | 22 void MockIsSystemApp(bool isSystemApp) in MockIsSystemApp() argument 24 g_isSystemApp = isSystemApp; in MockIsSystemApp()
|
/ohos5.0/base/notification/distributed_notification_service/test/mock/ |
H A D | mock_tokenid_kit.cpp | 22 void MockIsSystemApp(bool isSystemApp) in MockIsSystemApp() argument 24 g_isSystemApp = isSystemApp; in MockIsSystemApp()
|
/ohos5.0/base/notification/common_event_service/test/mock/ |
H A D | mock_bundle_manager.cpp | 24 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 D | child_main_thread.cpp | 283 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 D | camera_napi_security_utils.cpp | 28 bool isSystemApp = CameraSecurity::CheckSystemApp(); in CheckSystemApp() local 29 if (!isSystemApp) { in CheckSystemApp()
|
/ohos5.0/base/security/asset/services/os_dependency/src/ |
H A D | access_token_wrapper.cpp | 35 bool isSystemApp = TokenIdKit::IsSystemAppByFullTokenID(accessTokenId); in CheckSystemApp() local 36 if (isSystemApp) { in CheckSystemApp()
|
/ohos5.0/base/notification/common_event_service/services/include/ |
H A D | common_event_record.h | 32 bool isSystemApp; member 36 …EventRecordInfo() : pid(0), uid(0), callerToken(0), isSubsystem(false), isSystemApp(false), isProx… in EventRecordInfo()
|
H A D | history_event_record.h | 63 bool isSystemApp; member 81 isSystemApp(false), in HistoryEventRecord()
|
/ohos5.0/base/powermgr/power_manager/test/unittest/src/mock/ |
H A D | mock_accesstoken_kit.cpp | 37 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 D | wifi_auth_center.cpp | 52 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 D | session_ipc_adapter.cpp | 48 … 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 D | mock_bundle_manager.cpp | 40 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 D | app_installation_optimized_test.cpp | 122 .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 D | edm_access_token_manager_impl.cpp | 43 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 D | wifi_scan_control_msg.h | 56 bool isSystemApp; member 80 isSystemApp = false; in WifiScanDeviceInfo()
|
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/include/ |
H A D | gt_bundle_manager_service.h | 33 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 D | usb_common_test.cpp | 57 .isSystemApp = false 65 .isSystemApp = false 73 .isSystemApp = false
|
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/recorder/ |
H A D | recorder_napi_utils.cpp | 44 bool isSystemApp = TokenIdKit::IsSystemAppByFullTokenID(accessTokenIDEx); in IsSystemApp() local 45 return isSystemApp; in IsSystemApp()
|
/ohos5.0/base/security/access_token/frameworks/accesstoken/src/ |
H A D | hap_info_parcel.cpp | 30 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 D | hap_token_info.h | 70 bool isSystemApp; variable 84 bool isSystemApp; variable
|
/ohos5.0/base/inputmethod/imf/test/unittest/cpp_test/common/include/ |
H A D | identity_checker_mock.h | 69 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 D | gt_bundle_manager_service.cpp | 463 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()
|