Home
last modified time | relevance | path

Searched refs:appID (Results 1 - 25 of 28) sorted by relevance

12

/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()
/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()
/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.cpp43 static const std::string JSON_APPID = "appID";
164 {"appID", tokenInfo.baseInfo.appID}, in ToHapTokenInfosJson()
185 GetStringFromJson(hapTokenJson, JSON_APPID, hapTokenBasicInfo.appID); in FromHapTokenBasicInfoJson()
/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()
147 ACCESSTOKEN_LOG_ERROR(LABEL, "TokenID: 0x%{public}x appID is error", tokenInfoBasic_.tokenID); in RestoreHapTokenBasicInfo()
149 HiviewDFX::HiSysEvent::EventType::FAULT, "CODE", LOAD_DATABASE_ERROR, "ERROR_REASON", "appID error"); in RestoreHapTokenBasicInfo()
318 info.append(R"( "appID": ")" + tokenInfoBasic_.appID + R"(")" + ",\n"); in ToString()
/base/security/access_token/test/fuzztest/innerkits/accesstoken/setremotehaptokeninfo_fuzzer/
H A Dsetremotehaptokeninfo_fuzzer.cpp43 .appID = fuzzData.GenerateRandomString(), in SetRemoteHapTokenInfoFuzzTest()
/base/security/access_token/interfaces/innerkits/accesstoken/include/
H A Dhap_token_info.h111 std::string appID; member in OHOS::Security::AccessToken::final
/base/security/access_token/test/fuzztest/services/accesstoken/setremotehaptokeninfostub_fuzzer/
H A Dsetremotehaptokeninfostub_fuzzer.cpp49 .appID = fuzzData.GenerateRandomString(), in ConstructorParam()
/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);
/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); in HWTEST_F()
294 wrongBaseInfo.appID = wrongStr; // wrong appID in SetRemoteHapTokenInfoWithWrongInfo()
335 .appID = "test4", in HWTEST_F()
696 .appID = "testtesttesttest", in HWTEST_F()
963 ASSERT_EQ(infoSync.baseInfo.appID, g_infoManagerTestInfoParms.appIDDesc); in HWTEST_F()
H A Daccesstoken_kit_test.cpp605 info.appIDDesc = hapInfo.appID; in HWTEST_F()
1202 info.appIDDesc = hapInfo.appID; in HWTEST_F()
1664 ASSERT_EQ(hapTokenInfoRes.appID, "appIDDesc"); in HWTEST_F()
2576 ASSERT_EQ(hapTokenInfoRes.appID, info.appIDDesc); in HWTEST_F()
2629 ASSERT_EQ(hapTokenInfoRes.appID, g_infoManagerTestInfoParms.appIDDesc); in HWTEST_F()
/base/telephony/ril_adapter/services/vendor/include/
H A Dat_sim.h106 void ReqSimOpenLogicalChannel(const ReqDataInfo *requestInfo, const char *appID, int32_t p2);
/base/telephony/ril_adapter/test/unittest/ril_adapter_gtest/
H A Dril_sim_test.cpp371 std::string appID = "A00000015141434C00"; // ARAM_AID in HWTEST_F() local
373 int32_t ret = g_rilInterface->SimOpenLogicalChannel(SLOTID_1, RilTestUtil::GetSerialId(), appID, p2); in HWTEST_F()
430 std::string appID = "A00000015141434C00"; // ARAM_AID in HWTEST_F() local
432 int32_t ret = g_rilInterface->SimOpenLogicalChannel(SLOTID_2, RilTestUtil::GetSerialId(), appID, p2); in HWTEST_F()
/base/security/access_token/frameworks/test/unittest/
H A Daccesstoken_parcel_test.cpp260 hapTokenInfo.appID = "test1"; in HWTEST_F()
319 hapTokenInfo.appID = "test2"; in HWTEST_F()
/base/telephony/core_service/services/tel_ril/include/
H A Dtel_ril_sim.h59 int32_t SimOpenLogicalChannel(std::string appID, int32_t p2, const AppExecFwk::InnerEvent::Pointer &response);
H A Dtel_ril_manager.h272 int32_t SimOpenLogicalChannel(int32_t slotId, const std::string &appID, const int32_t p2,
/base/telephony/core_service/services/tel_ril/src/
H A Dtel_ril_sim.cpp432 int32_t TelRilSim::SimOpenLogicalChannel(std::string appID, int32_t p2, const AppExecFwk::InnerEvent::Pointer &response) in SimOpenLogicalChannel() argument
434 return Request(TELEPHONY_LOG_FUNC_NAME, response, &HDI::Ril::V1_1::IRil::SimOpenLogicalChannel, appID, p2); in SimOpenLogicalChannel()
/base/telephony/ril_adapter/services/hril/include/
H A Dhril_sim.h51 int32_t SimOpenLogicalChannel(int32_t serialId, const std::string &appID, int32_t p2);
H A Dhril_manager.h162 int32_t SimOpenLogicalChannel(int32_t slotId, int32_t serialId, const std::string &appID, int32_t p2);
/base/useriam/user_auth_framework/services/core/src/
H A Dipc_common.cpp368 callingAppID = hapTokenInfo.appID; in GetCallingAppID()
/base/security/access_token/services/tokensyncmanager/test/unittest/
H A Dtoken_sync_service_test.cpp466 .appID = "testtesttesttest", in HWTEST_F()
558 nlohmann::json hapTokenJsonNull = "{\\\"apl\\\":1,\\\"appID\\\":\\\"\\\",\\\"bundleName\\\":\\\"\\\"," in HWTEST_F()
567 hapTokenJsonNull = "{\\\"apl\\\":1,\\\"appID\\\":\\\"\\\",\\\"bundleName\\\":\\\"\\\"," in HWTEST_F()
574 hapTokenJsonNull = "{\\\"apl\\\":1,\\\"appID\\\":\\\"\\\",\\\"bundleName\\\":\\\"\\\"," in HWTEST_F()
581 hapTokenJsonNull = "{\\\"apl\\\":1,\\\"appID\\\":\\\"\\\",\\\"bundleName\\\":\\\"\\\"," in HWTEST_F()
607 "\"{\\\"HapTokenInfo\\\":{\\\"apl\\\":1,\\\"appID\\\":\\\"\\\",\\\"bundleName\\\":\\\"\\\"," in HWTEST_F()
657 "\",\"jsonPayload\":\"{\\\"HapTokenInfo\\\":{\\\"apl\\\":11,\\\"appID\\\":" in HWTEST_F()
690 "\",\"jsonPayload\":\"{\\\"HapTokenInfo\\\":{\\\"apl\\\":1,\\\"appID\\\":" in HWTEST_F()
723 "\",\"jsonPayload\":\"{\\\"HapTokenInfo\\\":{\\\"apl\\\":1,\\\"appID\\\":" in HWTEST_F()
757 "\",\"jsonPayload\":\"{\\\"HapTokenInfo\\\":{\\\"apl\\\":1,\\\"appID\\\" in HWTEST_F()
[all...]
/base/telephony/core_service/interfaces/innerkits/include/
H A Di_tel_ril_manager.h250 virtual int32_t SimOpenLogicalChannel(int32_t slotId, const std::string &appID, const int32_t p2,
/base/security/access_token/services/accesstokenmanager/test/unittest/
H A Daccesstoken_info_manager_test.cpp190 .appID = "testtesttesttest", in HWTEST_F()
895 .appID = "testtesttesttest", in HWTEST_F()
925 wrongBaseInfo.appID = wrongStr; // wrong appID in HWTEST_F()
2164 // appID invalid in HWTEST_F()
/base/telephony/ril_adapter/services/hril/src/
H A Dhril_manager.cpp788 int32_t HRilManager::SimOpenLogicalChannel(int32_t slotId, int32_t serialId, const std::string &appID, int32_t p2) in SimOpenLogicalChannel() argument
790 return TaskSchedule(MODULE_HRIL_SIM, hrilSim_[slotId], &HRilSim::SimOpenLogicalChannel, serialId, appID, p2); in SimOpenLogicalChannel()
/base/telephony/ril_adapter/services/vendor/src/
H A Dat_sim.c1074 void ReqSimOpenLogicalChannel(const ReqDataInfo *requestInfo, const char *appID, int32_t p2) in ReqSimOpenLogicalChannel() argument
1080 int32_t result = GenerateCommand(cmd, MAX_CMD_LENGTH, "AT+SPCCHO=\"%s\",%d", appID, p2); in ReqSimOpenLogicalChannel()

Completed in 27 milliseconds

12