Home
last modified time | relevance | path

Searched refs:appID (Results 1 – 25 of 82) sorted by relevance

1234

/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/src/persistenceadapter/kvadapter/
H A Dswitch_adapter.cpp50 DistributedKv::AppId appID; in PutSwitch() local
51 appID.appId = appId; in PutSwitch()
69 DistributedKv::AppId appID; in GetSwitch() local
70 appID.appId = appId; in GetSwitch()
71 auto res = kvDataMgr_.GetSwitch(appID, networkId); in GetSwitch()
89 DistributedKv::AppId appID; in SubscribeSwitchData() local
90 appID.appId = appId; in SubscribeSwitchData()
96 auto res = kvDataMgr_.SubscribeSwitchData(appID, observer_); in SubscribeSwitchData()
112 DistributedKv::AppId appID; in UnsubscribeSwitchData() local
113 appID.appId = appId; in UnsubscribeSwitchData()
[all …]
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/checker/
H A Dbundle_checker.cpp75 if (it != trusts_.end() && (it->second == tokenInfo.appID)) { in GetAppId()
78 …ZLOGD("bundleName:%{public}s, appId:%{public}s", info.bundleName.c_str(), tokenInfo.appID.c_str()); in GetAppId()
79 return Crypto::Sha256(tokenInfo.appID); in GetAppId()
112 if (it != distrusts_.end() && (it->second == tokenInfo.appID)) { in IsDistrust()
/ohos5.0/base/security/access_token/services/accesstokenmanager/main/cpp/src/token/
H A Dhap_token_info_inner.cpp61 tokenInfoBasic_.appID = info.appIDDesc; in HapTokenInfoInner()
92 tokenInfoBasic_.appID = info.appIDDesc; in Update()
123 outGenericValues.Put(TokenFiledConst::FIELD_APP_ID, tokenInfoBasic_.appID); in TranslationIntoGenericValues()
145 tokenInfoBasic_.appID = inGenericValues.GetString(TokenFiledConst::FIELD_APP_ID); in RestoreHapTokenBasicInfo()
146 if (!DataValidator::IsAppIDDescValid(tokenInfoBasic_.appID)) { in RestoreHapTokenBasicInfo()
318 info.append(R"( "appID": ")" + tokenInfoBasic_.appID + R"(")" + ",\n"); in ToString()
/ohos5.0/foundation/distributedhardware/device_manager/utils/include/kvadapter/
H A Ddm_kv_info.h32 std::string appID; member
36 explicit DmKVValue() : udidHash(""), appID(""), anoyDeviceId(""), salt(""), lastModifyTime(0) {} in DmKVValue()
/ohos5.0/base/tee/tee_client/services/authentication/
H A Dtee_auth_system.cpp127 size_t appIDLen = hapTokenInfo.appID.length(); in ConstructHapCaInfoFromToken()
133 size_t posSplit = hapTokenInfo.appID.find(HAP_APPID_SPLIT_CHA); in ConstructHapCaInfoFromToken()
138 string packageName = hapTokenInfo.appID.substr(0, posSplit); in ConstructHapCaInfoFromToken()
139 string pubkeyBase64 = hapTokenInfo.appID.substr(posSplit + 1, appIDLen - posSplit - 1); in ConstructHapCaInfoFromToken()
/ohos5.0/foundation/distributedhardware/device_manager/utils/src/kvadapter/
H A Dkv_adapter_manager.cpp74 std::string prefixKey = DM_KV_STORE_PREFIX + value.appID + DB_KEY_DELIMITER + value.udidHash; in PutByAnoyDeviceId()
107 std::string prefixKey = DM_KV_STORE_PREFIX + value.appID + DB_KEY_DELIMITER + value.udidHash; in Get()
136 if (it->second.appID == appId) { in AppUnintall()
H A Ddm_kv_info.cpp27 jsonObj[APP_ID_KEY] = kvValue.appID; in ConvertDmKVValueToJson()
47 kvValue.appID = resultJson[APP_ID_KEY].get<std::string>(); in ConvertJsonToDmKVValue()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Ddirectory_manager_test.cpp100 metaData.appId = tokenInfo.appID;
167 metaData.appId = tokenInfo.appID;
191 metaData.appId = tokenInfo.appID;
/ohos5.0/base/security/access_token/frameworks/accesstoken/src/
H A Dhap_token_info_parcel.cpp31 RETURN_IF_FALSE(out.WriteString(this->hapTokenInfoParams.appID)); in Marshalling()
56 hapTokenInfoParcel->hapTokenInfoParams.appID = in.ReadString(); in Unmarshalling()
/ohos5.0/base/security/access_token/services/tokensyncmanager/src/command/
H A Dsync_remote_hap_token_command.cpp42 hapTokenInfo_.baseInfo.appID = ""; in SyncRemoteHapTokenCommand()
57 hapTokenInfo_.baseInfo.appID = ""; in SyncRemoteHapTokenCommand()
H A Dbase_remote_command.cpp164 {"appID", tokenInfo.baseInfo.appID}, in ToHapTokenInfosJson()
185 GetStringFromJson(hapTokenJson, JSON_APPID, hapTokenBasicInfo.appID); in FromHapTokenBasicInfoJson()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/
H A Dble_adapter.h200 std::string ReadRemoteDeviceNameByGatt(const RawAddress &addr, int appID) const;
202 void DeregisterGattClientApplication(int appID) const;
H A Dble_adapter.cpp508 int appID = RegisterGattClientApplication(device); in GetDeviceName() local
509 remoteName = ReadRemoteDeviceNameByGatt(device, appID); in GetDeviceName()
510 DeregisterGattClientApplication(appID); in GetDeviceName()
543 void BleAdapter::DeregisterGattClientApplication(int appID) const in DeregisterGattClientApplication()
550 pimpl->gattClientService_->DeregisterApplication(appID); in DeregisterGattClientApplication()
553 std::string BleAdapter::ReadRemoteDeviceNameByGatt(const RawAddress &addr, int appID) const in ReadRemoteDeviceNameByGatt()
576 LOG_DEBUG("Get device name from gatt. %{public}d", appID); in ReadRemoteDeviceNameByGatt()
578 pimpl->gattClientService_->Connect(appID, true); in ReadRemoteDeviceNameByGatt()
579 pimpl->gattClientService_->ReadCharacteristicByUuid(appID, uuid); in ReadRemoteDeviceNameByGatt()
583 pimpl->gattClientService_->Disconnect(appID); in ReadRemoteDeviceNameByGatt()
[all …]
/ohos5.0/base/theme/screenlock_mgr/utils/src/
H A Dscreenlock_appinfo.cpp34 appInfo.appId = hapInfo.appID; in GetAppInfoByToken()
/ohos5.0/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/src/
H A Dremote_token_kit_test.cpp107 .appID = "test4",
276 ASSERT_EQ(resultInfo.appID, remoteTokenInfo1.baseInfo.appID);
294 wrongBaseInfo.appID = wrongStr; // wrong appID in SetRemoteHapTokenInfoWithWrongInfo()
335 .appID = "test4",
696 .appID = "testtesttesttest",
963 ASSERT_EQ(infoSync.baseInfo.appID, g_infoManagerTestInfoParms.appIDDesc);
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/include/
H A Dwifi_internal_msg.h133 int appID; member
143 appID = 0; in SingleAppForbid()
/ohos5.0/base/security/access_token/test/fuzztest/innerkits/accesstoken/setremotehaptokeninfo_fuzzer/
H A Dsetremotehaptokeninfo_fuzzer.cpp43 .appID = fuzzData.GenerateRandomString(), in SetRemoteHapTokenInfoFuzzTest()
/ohos5.0/base/security/access_token/interfaces/innerkits/accesstoken/include/
H A Dhap_token_info.h111 std::string appID; variable
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/ipc/src/
H A Dbluetooth_gatt_server_stub.cpp80 int32_t appID = data.ReadInt32(); in AddServiceInner() local
85 int result = AddService(appID, service.get()); in AddServiceInner()
/ohos5.0/foundation/distributedhardware/device_manager/utils/src/appInfo/standard/
H A Dapp_manager.cpp44 appId = tokenInfo.appID; in GetAppId()
/ohos5.0/base/security/access_token/test/fuzztest/services/accesstoken/setremotehaptokeninfostub_fuzzer/
H A Dsetremotehaptokeninfostub_fuzzer.cpp49 .appID = fuzzData.GenerateRandomString(), in ConstructorParam()
/ohos5.0/base/telephony/ril_adapter/test/unittest/ril_adapter_gtest/
H A Dril_sim_test.cpp371 std::string appID = "A00000015141434C00"; // ARAM_AID variable
373 …int32_t ret = g_rilInterface->SimOpenLogicalChannel(SLOTID_1, RilTestUtil::GetSerialId(), appID, p…
430 std::string appID = "A00000015141434C00"; // ARAM_AID variable
432 …int32_t ret = g_rilInterface->SimOpenLogicalChannel(SLOTID_2, RilTestUtil::GetSerialId(), appID, p…
/ohos5.0/base/telephony/ril_adapter/interfaces/innerkits/include/
H A Dhril_vendor_sim_defs.h382 void (*SimOpenLogicalChannel)(const ReqDataInfo *requestInfo, const char *appID, int32_t p2);
/ohos5.0/base/telephony/ril_adapter/services/vendor/include/
H A Dat_sim.h106 void ReqSimOpenLogicalChannel(const ReqDataInfo *requestInfo, const char *appID, int32_t p2);
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/test/
H A Dchecker_manager_test.cpp171 ASSERT_EQ(Crypto::Sha256(tokenInfo.appID), CheckerManager::GetInstance().GetAppId(storeInfo));

1234