/base/security/selinux/interfaces/policycoreutils/include/ |
D | hap_restorecon.h | 40 const std::string &packageName, unsigned int flags); 41 …Restorecon(const std::string &pathNameOrig, const std::string &apl, const std::string &packageName, 43 int HapDomainSetcontext(const std::string &apl, const std::string &packageName); 48 const std::string &packageName); 49 …int HapContextsLookup(bool isDomain, const std::string &apl, const std::string &packageName, conte… 50 int HapLabelLookup(const std::string &apl, const std::string &packageName, char **secontextPtr);
|
/base/security/selinux/interfaces/policycoreutils/src/ |
D | hap_restorecon.cpp | 188 …ontextsLookup(bool isDomain, const std::string &apl, const std::string &packageName, context_t con) in HapContextsLookup() argument 199 auto iter = g_sehapContextsMap.find(std::string(apl) + std::string(packageName)); in HapContextsLookup() 211 int HapContext::HapLabelLookup(const std::string &apl, const std::string &packageName, char **secon… in HapLabelLookup() argument 223 int res = HapContextsLookup(false, apl, packageName, con); in HapLabelLookup() 260 const std::string &packageName) in RestoreconSb() argument 271 int res = HapLabelLookup(apl, packageName, &secontext); in RestoreconSb() 292 const std::string &packageName, unsigned int flags) in HapFileRestorecon() argument 299 int res = HapFileRestorecon(pathname.c_str(), apl, packageName, flags); in HapFileRestorecon() 309 const std::string &packageName, unsigned int flags) in HapFileRestorecon() argument 335 int res = RestoreconSb(realPath, &sb, apl, packageName); in HapFileRestorecon() [all …]
|
/base/hiviewdfx/hiview/plugins/hicollie_collector/test/unittest/common/ |
D | hicollie_collector_test.cpp | 39 const std::string& packageName, in makeEvent() argument 60 sysEvent->SetEventValue("PACKAGE_NAME", packageName); in makeEvent() 61 sysEvent->SetEventValue("PROCESS_NAME", packageName); in makeEvent() 73 const std::string& packageName, in GetFreezeDectorTestFile() argument 84 if (i.find(packageName) == std::string::npos) { in GetFreezeDectorTestFile() 101 if (content.find(packageName) == std::string::npos) { in GetFreezeDectorTestFile() 102 printf("Not %s.\n", packageName.c_str()); in GetFreezeDectorTestFile()
|
/base/update/updater/interfaces/kits/updaterkits/ |
D | updaterkits.cpp | 46 …tAndInstallUpgradePackage(const std::string &miscFile, const std::vector<std::string> &packageName) in RebootAndInstallUpgradePackage() argument 48 if (packageName.size() == 0) { in RebootAndInstallUpgradePackage() 55 for (auto path : packageName) { in RebootAndInstallUpgradePackage()
|
/base/msdp/device_status/services/native/src/ |
D | devicestatus_service.cpp | 148 devicestatusManager_->GetPackageName(appInfo->tokenId, appInfo->packageName); in Subscribe() 171 devicestatusManager_->GetPackageName(appInfo->tokenId, appInfo->packageName); in UnSubscribe() 198 std::string packageName(""); in ReportMsdpSysEvent() local 199 devicestatusManager_->GetPackageName(callerToken, packageName); in ReportMsdpSysEvent() 203 "UID", uid, "PKGNAME", packageName, "TYPE", type); in ReportMsdpSysEvent() 207 "UID", uid, "PKGNAME", packageName, "TYPE", type); in ReportMsdpSysEvent()
|
/base/security/device_auth/services/authenticators/src/account_unrelated/pake_task/pake_v1_task/pake_v1_protocol_task/ |
D | pake_v1_protocol_task_common.c | 41 HcFree(params->packageName); in DestroyDasPakeV1Params() 42 params->packageName = NULL; in DestroyDasPakeV1Params() 139 Uint8Buff packageName = { (uint8_t *)params->packageName, strlen(params->packageName) }; in FillPskWithDerivedKeyHex() local 141 …res = GenerateKeyAlias(&packageName, &serviceType, KEY_ALIAS_PSK, &(params->baseParams.idPeer), &p… in FillPskWithDerivedKeyHex()
|
/base/security/device_auth/services/authenticators/src/account_unrelated/pake_task/ |
D | pake_task_common.c | 200 const char *packageName = GetStringFromJson(in, FIELD_PKG_NAME); in FillPkgNameAndServiceType() local 201 if (packageName == NULL) { in FillPkgNameAndServiceType() 205 params->packageName = (char *)HcMalloc(strlen(packageName) + 1, 0); in FillPkgNameAndServiceType() 206 if (params->packageName == NULL) { in FillPkgNameAndServiceType() 210 …if (memcpy_s(params->packageName, strlen(packageName) + 1, packageName, strlen(packageName)) != EO… in FillPkgNameAndServiceType()
|
/base/customization/enterprise_device_management/services/edm/include/ |
D | admin_manager.h | 37 std::shared_ptr<Admin> GetAdminByPkgName(const std::string &packageName, int32_t userId); 38 ErrCode DeleteAdmin(const std::string &packageName, int32_t userId); 50 ErrCode GetEntInfo(const std::string &packageName, EntInfo &entInfo, int32_t userId); 51 ErrCode SetEntInfo(const std::string &packageName, EntInfo &entInfo, int32_t userId);
|
/base/security/device_auth/services/authenticators/src/account_unrelated/pake_task/standard_exchange_task/ |
D | common_standard_bind_exchange.c | 363 Uint8Buff packageName = { (uint8_t *)pakeParams->packageName, strlen(pakeParams->packageName) }; in SaveAuthInfo() local 365 …int32_t res = GenerateKeyAlias(&packageName, &serviceType, keyType, &(pakeParams->baseParams.idPee… in SaveAuthInfo() 393 Uint8Buff packageName = { (uint8_t *)pakeParams->packageName, strlen(pakeParams->packageName) }; in ClientRequestStandardBindExchange() local 395 …int32_t res = GenerateKeyAlias(&packageName, &serviceType, keyType, &(pakeParams->baseParams.idSel… in ClientRequestStandardBindExchange() 429 Uint8Buff packageName = { (uint8_t *)pakeParams->packageName, strlen(pakeParams->packageName) }; in ServerResponseStandardBindExchange() local 431 …int32_t res = GenerateKeyAlias(&packageName, &serviceType, keyType, &(pakeParams->baseParams.idSel… in ServerResponseStandardBindExchange() 489 Uint8Buff packageName = { (uint8_t *)pakeParams->packageName, strlen(pakeParams->packageName) }; in ClientConfirmStandardBindExchange() local 491 …int32_t res = GenerateKeyAlias(&packageName, &serviceType, keyType, &(pakeParams->baseParams.idSel… in ClientConfirmStandardBindExchange()
|
D | das_standard_token_manager.c | 121 Uint8Buff packageName = { (uint8_t *)params->packageName, strlen(params->packageName) }; in ComputeAndSavePsk() local 123 …int32_t res = GenerateKeyAlias(&packageName, &serviceType, keyType, &(params->baseParams.idSelf), … in ComputeAndSavePsk() 129 …res = GenerateKeyAlias(&packageName, &serviceType, keyTypePeer, &(params->baseParams.idPeer), &pee… in ComputeAndSavePsk() 148 …res = GenerateKeyAlias(&packageName, &serviceType, KEY_ALIAS_PSK, &(params->baseParams.idPeer), &s… in ComputeAndSavePsk()
|
/base/telephony/core_service/test/fuzztest/setaccesslimit_fuzzer/ |
D | setaccesslimit_fuzzer.cpp | 36 std::string packageName(reinterpret_cast<const char *>(data), size); in DoSomethingInterestingWithMyAPI() 41 iccOperatorRule->GetPackageName(packageName); in DoSomethingInterestingWithMyAPI()
|
/base/sensors/sensor/utils/src/ |
D | sensor_channel_info.cpp | 38 void SensorChannelInfo::SetPackageName(const std::string &packageName) in SetPackageName() argument 40 packageName_ = packageName; in SetPackageName()
|
/base/sensors/medical_sensor/utils/src/ |
D | medical_channel_info.cpp | 38 void MedicalSensorChannelInfo::SetPackageName(const std::string &packageName) in SetPackageName() argument 40 packageName_ = packageName; in SetPackageName()
|
/base/hiviewdfx/hiview/plugins/freeze_detector/ |
D | vendor.cpp | 86 std::string packageName = StringUtil::TrimStr(watchPoint.GetPackageName()); in SendFaultLog() local 94 } else if (processName == "" && packageName != "") { in SendFaultLog() 95 processName = packageName; in SendFaultLog() 97 if (processName == "" && packageName == "") { in SendFaultLog() 144 std::string packageName = StringUtil::TrimStr(watchPoint.GetPackageName()); in MergeEventLog() local 152 } else if (processName == "" && packageName != "") { in MergeEventLog() 153 processName = packageName; in MergeEventLog() 155 if (processName == "" && packageName == "") { in MergeEventLog()
|
/base/telephony/core_service/services/sim/include/ |
D | icc_operator_rule.h | 50 bool Matche(const std::string_view &certHash, const std::string_view &packageName) const; 53 void SetPackageName(const std::string &packageName); 54 void SetPackageName(std::string &&packageName);
|
/base/inputmethod/imf/interfaces/kits/js/napi/inputmethodclient/ |
D | js_input_method.cpp | 73 ctxt->packageName = JsInputMethod::GetStringProperty(env, result); in GetInputMethodProperty() 77 if (ctxt->packageName.empty() || ctxt->methodId.empty()) { in GetInputMethodProperty() 80 ctxt->packageName = JsInputMethod::GetStringProperty(env, result); in GetInputMethodProperty() 86 if (ctxt->packageName.empty() || ctxt->methodId.empty()) { in GetInputMethodProperty() 90 …ethodId:%{public}s and packageName:%{public}s", ctxt->methodId.c_str(), ctxt->packageName.c_str()); in GetInputMethodProperty() 127 napi_value packageName = nullptr; in GetJsInputMethodProperty() local 128 napi_create_string_utf8(env, property.name.c_str(), NAPI_AUTO_LENGTH, &packageName); in GetJsInputMethodProperty() 129 napi_set_named_property(env, prop, "packageName", packageName); in GetJsInputMethodProperty() 130 if (packageName == nullptr) { in GetJsInputMethodProperty() 131 napi_set_named_property(env, prop, "name", packageName); in GetJsInputMethodProperty() [all …]
|
/base/update/updateservice/services/ab_update/src/ |
D | update_service_ab_update.cpp | 34 int32_t UpdateServiceAbUpdate::DoAbUpdate(const UpgradeInfo &info, const std::string &packageName) in DoAbUpdate() argument 63 … ret = OHOS::SysInstaller::SysInstallerKitsImpl::GetInstance().StartUpdatePackageZip(packageName); in DoAbUpdate()
|
/base/customization/enterprise_device_management/services/edm/src/ |
D | admin_manager.cpp | 135 std::shared_ptr<Admin> AdminManager::GetAdminByPkgName(const std::string &packageName, int32_t user… in GetAdminByPkgName() argument 144 if (item->adminInfo_.packageName_ == packageName) { in GetAdminByPkgName() 149 (uint32_t)userAdmin.size(), packageName.c_str()); in GetAdminByPkgName() 153 ErrCode AdminManager::DeleteAdmin(const std::string &packageName, int32_t userId) in DeleteAdmin() argument 164 if ((*iter)->adminInfo_.packageName_ == packageName) { in DeleteAdmin() 172 EDMLOGD("SaveAdmin %{public}s", packageName.c_str()); in DeleteAdmin() 177 EDMLOGW("delete admin (%{public}s) failed!", packageName.c_str()); in DeleteAdmin() 282 ErrCode AdminManager::GetEntInfo(const std::string &packageName, EntInfo &entInfo, int32_t userId) in GetEntInfo() argument 291 if (item->adminInfo_.packageName_ == packageName) { in GetEntInfo() 299 ErrCode AdminManager::SetEntInfo(const std::string &packageName, EntInfo &entInfo, int32_t userId) in SetEntInfo() argument [all …]
|
/base/sensors/miscdevice/services/miscdevice_service/src/ |
D | miscdevice_service.cpp | 166 .packageName = GetPackageName(GetCallingTokenID()), in Vibrate() 206 .packageName = GetPackageName(GetCallingTokenID()), in PlayVibratorEffect() 259 std::string packageName; in GetPackageName() local 268 packageName = hapInfo.bundleName; in GetPackageName() 278 packageName = tokenInfo.processName; in GetPackageName() 286 return packageName; in GetPackageName()
|
/base/security/device_auth/services/authenticators/src/account_unrelated/iso_task/ |
D | iso_task_common.c | 272 if (params->packageName != NULL) { in DestroyIsoParams() 273 HcFree(params->packageName); in DestroyIsoParams() 274 params->packageName = NULL; in DestroyIsoParams() 362 const char *packageName = GetStringFromJson(in, FIELD_PKG_NAME); in FillPkgNameAndServiceType() local 363 if (packageName == NULL) { in FillPkgNameAndServiceType() 367 params->packageName = (char *)HcMalloc((uint32_t)(strlen(packageName) + 1), 0); in FillPkgNameAndServiceType() 368 if (params->packageName == NULL) { in FillPkgNameAndServiceType() 372 …if (memcpy_s(params->packageName, strlen(packageName) + 1, packageName, strlen(packageName)) != EO… in FillPkgNameAndServiceType() 536 Uint8Buff pkgName = { (uint8_t *)params->packageName, (uint32_t)strlen(params->packageName) }; in GenerateKeyAliasInIso()
|
/base/security/access_token/services/tokensyncmanager/src/remote/ |
D | soft_bus_manager.cpp | 61 std::string packageName = TOKEN_SYNC_PACKAGE_NAME; in AddTrustedDeviceInfo() local 65 … int32_t ret = DistributedHardware::DeviceManager::GetInstance().GetTrustedDeviceList(packageName, in AddTrustedDeviceInfo() 91 std::string packageName = TOKEN_SYNC_PACKAGE_NAME; in DeviceInit() local 94 …int ret = DistributedHardware::DeviceManager::GetInstance().InitDeviceManager(packageName, ptrDmIn… in DeviceInit() 109 …ret = DistributedHardware::DeviceManager::GetInstance().RegisterDevStateCallback(packageName, extr… in DeviceInit() 198 std::string packageName = TOKEN_SYNC_PACKAGE_NAME; in Destroy() local 199 …nt ret = DistributedHardware::DeviceManager::GetInstance().UnRegisterDevStateCallback(packageName); in Destroy() 203 ret = DistributedHardware::DeviceManager::GetInstance().UnInitDeviceManager(packageName); in Destroy()
|
/base/inputmethod/imf/test/js/ |
D | InputMethodTest.test.js | 50 expect(obj.packageName != null).assertTrue(); 203 packageName:"com.example.kikakeyboard", property 225 packageName:"com.example.kikakeyboard", property 323 packageName:"com.example.kikakeyboard", property 348 packageName:"com.example.kikakeyboard", property 370 packageName:"com.example.kikakeyboard", property
|
/base/hiviewdfx/hiview/plugins/freeze_detector/test/unittest/common/ |
D | freeze_detector_test.cpp | 41 const std::string& packageName, in makeEvent() argument 62 sysEvent->SetEventValue("PACKAGE_NAME", packageName); in makeEvent() 63 sysEvent->SetEventValue("PROCESS_NAME", packageName); in makeEvent() 75 const std::string& packageName, in GetFreezeDectorTestFile() argument 86 if (i.find(packageName) == std::string::npos) { in GetFreezeDectorTestFile() 103 if (content.find(packageName) == std::string::npos) { in GetFreezeDectorTestFile() 104 printf("Not %s.\n", packageName.c_str()); in GetFreezeDectorTestFile()
|
/base/update/updater/interfaces/kits/include/updaterkits/ |
D | updaterkits.h | 22 …AndInstallUpgradePackage(const std::string &miscFile, const std::vector<std::string> &packageName);
|
/base/update/updateservice/services/ab_update/include/ |
D | update_service_ab_update.h | 33 static int32_t DoAbUpdate(const UpgradeInfo &info, const std::string &packageName);
|