Home
last modified time | relevance | path

Searched refs:fileId (Results 1 – 25 of 30) sorted by relevance

12

/base/telephony/core_service/services/sim/src/
Dicc_file_controller.cpp108 path = CheckRightPath(hd->filePath, hd->fileId); in ProcessRecordSize()
124 msg.fileId = hd->fileId; in ProcessRecordSize()
152 int fileId = rcvMsg->arg1; in ProcessBinarySize() local
155 BuildCallerInfo(MSG_SIM_OBTAIN_TRANSPARENT_ELEMENTARY_FILE_DONE, fileId, 0, evt); in ProcessBinarySize()
159 msg.fileId = fileId; in ProcessBinarySize()
164 msg.path = ObtainElementFilePath(fileId); in ProcessBinarySize()
168 TELEPHONY_LOGD("IccFileController::ProcessBinarySize finish %{public}d", fileId); in ProcessBinarySize()
181 path = CheckRightPath(hd->filePath, hd->fileId); in ProcessReadRecord()
190 msg.fileId = hd->fileId; in ProcessReadRecord()
239 void IccFileController::ObtainBinaryFile(int fileId, const AppExecFwk::InnerEvent::Pointer &event) in ObtainBinaryFile() argument
[all …]
Dicc_dialling_numbers_cache.cpp91 int fileId = fd->fileID; in ProcessObtainPbrDetailsDone() local
94 auto iter = diallingNumberFileList_.find(fileId); in ProcessObtainPbrDetailsDone()
96 diallingNumberFileList_.erase(fileId); in ProcessObtainPbrDetailsDone()
100 fileId, diallingNumberList)); in ProcessObtainPbrDetailsDone()
112 int fileId = fd->fileID; in ProcessObtainAdnDetailsDone() local
120 auto iter = diallingNumberFileList_.find(fileId); in ProcessObtainAdnDetailsDone()
122 diallingNumberFileList_.erase(fileId); in ProcessObtainAdnDetailsDone()
126 fileId, diallingNumberList)); in ProcessObtainAdnDetailsDone()
138 int fileId = fd->fileID; in ProcessChangeDiallingNumbersDone() local
141 auto iter = diallingNumberFileList_.find(fileId); in ProcessChangeDiallingNumbersDone()
[all …]
Druim_file_controller.cpp39 … int fileId, int highOffset, int lowOffset, int length, AppExecFwk::InnerEvent::Pointer &onLoaded) in ObtainTransparentImg() argument
41 …AppExecFwk::InnerEvent::Pointer response = BuildCallerInfo(MSG_SIM_OBTAIN_ICON_DONE, fileId, 0, on… in ObtainTransparentImg()
45 msg.fileId = fileId; in ObtainTransparentImg()
Dicc_dialling_numbers_manager.cpp188 int fileId = GetFileIdForType(type); in UpdateIccDiallingNumbers() local
191 … diallingNumbersCache_->UpdateDiallingNumberToIcc(fileId, diallingNumber, index, false, response); in UpdateIccDiallingNumbers()
217 int fileId = GetFileIdForType(type); in DelIccDiallingNumbers() local
220 diallingNumbersCache_->UpdateDiallingNumberToIcc(fileId, diallingNumber, index, true, response); in DelIccDiallingNumbers()
246 int fileId = GetFileIdForType(type); in AddIccDiallingNumbers() local
248 …diallingNumbersCache_->UpdateDiallingNumberToIcc(fileId, diallingNumber, ADD_FLAG, false, response… in AddIccDiallingNumbers()
274 int fileId = GetFileIdForType(type); in QueryIccDiallingNumbers() local
275 int extensionEf = diallingNumbersCache_->ExtendedElementFile(fileId); in QueryIccDiallingNumbers()
278 diallingNumbersCache_->ObtainAllDiallingNumberFiles(fileId, extensionEf, event); in QueryIccDiallingNumbers()
308 int fileId = 0; in GetFileIdForType() local
[all …]
Dusim_dialling_numbers_service.cpp158 int extEf = files.at(TAG_SIM_USIM_EXT1) != nullptr ? files.at(TAG_SIM_USIM_EXT1)->fileId : 0; in LoadDiallingNumberFiles()
161 int efId = files.at(TAG_SIM_USIM_ADN)->fileId; in LoadDiallingNumberFiles()
204 efIdOfSfi_.insert(std::pair<int, int>(file->shortFileId, file->fileId)); in GeneratePbrFile()
Dicc_dialling_numbers_handler.cpp35 …int fileId, int exId, int indexNum, const std::string &pin2Str, const AppExecFwk::InnerEvent::Poin… in CreateLoadRequest() argument
39 …std::make_shared<DiallingNumberLoadRequest>(GetNextSerialId(), fileId, exId, indexNum, pin2Str, re… in CreateLoadRequest()
98 CreateLoadRequest(infor.fileId, infor.extFile, infor.index, infor.pin2, response); in UpdateDiallingNumbers()
108 fileController_->ObtainLinearFileSize(infor.fileId, GetFilePath(infor.fileId), linearFileSize); in UpdateDiallingNumbers()
/base/telephony/core_service/services/sim/include/
Dicc_file_controller.h37 void ObtainBinaryFile(int fileId, const AppExecFwk::InnerEvent::Pointer &event);
38 void ObtainBinaryFile(int fileId, int size, const AppExecFwk::InnerEvent::Pointer &event);
41 … int fileId, const std::string &path, int fileNum, const AppExecFwk::InnerEvent::Pointer &event);
42 … void ObtainLinearFixedFile(int fileId, int fileNum, const AppExecFwk::InnerEvent::Pointer &event);
45 int fileId, const std::string &path, const AppExecFwk::InnerEvent::Pointer &event);
46 void ObtainAllLinearFixedFile(int fileId, const AppExecFwk::InnerEvent::Pointer &event);
47 …void ObtainLinearFileSize(int fileId, const std::string &path, const AppExecFwk::InnerEvent::Point…
48 void ObtainLinearFileSize(int fileId, const AppExecFwk::InnerEvent::Pointer &event);
50 …void UpdateLinearFixedFile(int fileId, const std::string &path, int fileNum, const std::string dat…
52 void UpdateLinearFixedFile(int fileId, int fileNum, const std::string data, int dataLength,
[all …]
Dicc_dialling_numbers_cache.h44 …shared_ptr<std::vector<std::shared_ptr<DiallingNumbersInfo>>> LoadReadyDiallingNumbers(int fileId);
45 int ExtendedElementFile(int fileId);
46 …void UpdateDiallingNumberToIcc(int fileId, std::shared_ptr<DiallingNumbersInfo> diallingNumberInfo…
48 …void ObtainAllDiallingNumberFiles(int fileId, int extensionEf, const AppExecFwk::InnerEvent::Point…
65 …int eventId, int fileId, int index, std::shared_ptr<void> pobj, const AppExecFwk::InnerEvent::Poin…
67 int eventId, int fileId, const AppExecFwk::InnerEvent::Pointer &caller);
76 const std::shared_ptr<DiallingNumbersInfo> &info, int &index, int fileId);
Dsim_data_type.h30 int fileId = 0; member
38 …IccControllerHolder(int efId, int recordNum) : fileId(efId), fileNum(recordNum), getAllFile(false)… in IccControllerHolder()
40 : fileId(efId), fileNum(recordNum), getAllFile(false), filePath(path) in IccControllerHolder()
42 …IccControllerHolder(int efId, std::string path) : fileId(efId), fileNum(1), getAllFile(true), file… in IccControllerHolder()
43 explicit IccControllerHolder(int efId) : fileId(efId), fileNum(1), getAllFile(true) {} in IccControllerHolder()
158 : tag(parentTag), fileId(efid), shortFileId(sfi), index(indexNum) in TagData()
161 int fileId = 0; member
Dicc_dialling_numbers_handler.h57 …DiallingNumberLoadRequest(int serialId, int fileId, int exId, int indexNum, const std::string &pin… in DiallingNumberLoadRequest()
58 const AppExecFwk::InnerEvent::Pointer &pointer) : elementaryFileId(fileId), extFileId(exId), in DiallingNumberLoadRequest()
183 int fileId = 0; member
205 static std::shared_ptr<DiallingNumberLoadRequest> CreateLoadRequest(int fileId,
Druim_file_controller.h29 … int fileId, int highOffset, int lowOffset, int length, AppExecFwk::InnerEvent::Pointer &onLoaded);
/base/update/updater/test/unittest/updater_binary/
Dupdate_binary_unittest.h58 int32_t ExtractFile(const std::string &fileId, Hpackage::PkgManager::StreamPtr output) override in ExtractFile() argument
62 const Hpackage::FileInfo *GetFileInfo(const std::string &fileId) override in GetFileInfo() argument
65 if (fileId == "binary") { in GetFileInfo()
93 int32_t ExtractFile(const std::string &fileId, Hpackage::PkgManager::StreamPtr output) override in ExtractFile() argument
/base/update/updater/test/unittest/script/
Dscript_unittest.cpp48 const FileInfo *GetFileInfo(const std::string &fileId) override in GetFileInfo() argument
63 if (fileId == "hash_signed_data") { in GetFileInfo()
64 fileInfo.unpackedSize = GetFileSize(TEST_PATH_FROM + fileId); in GetFileInfo()
67 if (std::find(testFileNames.begin(), testFileNames.end(), fileId) != testFileNames.end()) { in GetFileInfo()
77 int32_t ExtractFile(const std::string &fileId, StreamPtr output) override in ExtractFile() argument
79 if (fileId != "hash_signed_data") { in ExtractFile()
86 auto fd = open((TEST_PATH_FROM + fileId).c_str(), O_RDWR); in ExtractFile()
88 PKG_LOGE("file %s not existed", (TEST_PATH_FROM + fileId).c_str()); in ExtractFile()
Dscript_unittest.h63 int32_t ExtractFile(const std::string &fileId, StreamPtr output) override in ExtractFile() argument
67 const FileInfo *GetFileInfo(const std::string &fileId) override in GetFileInfo() argument
/base/update/updater/test/unittest/script/script_instruction/
Dscript_registercmd_unittest.cpp34 int32_t ExtractFile(const std::string &fileId, StreamPtr output) override in ExtractFile() argument
38 const FileInfo *GetFileInfo(const std::string &fileId) override in GetFileInfo() argument
41 if (fileId == "script") { in GetFileInfo()
Dscript_loadscript_unittest.cpp33 int32_t ExtractFile(const std::string &fileId, StreamPtr output) override in ExtractFile() argument
37 const FileInfo *GetFileInfo(const std::string &fileId) override in GetFileInfo() argument
40 if (fileId == "script") { in GetFileInfo()
Dscript_updateprocesser_unittest.cpp52 int32_t ExtractFile(const std::string &fileId, StreamPtr output) override in ExtractFile() argument
56 const FileInfo *GetFileInfo(const std::string &fileId) override in GetFileInfo() argument
59 if (fileId == "script") { in GetFileInfo()
Dscript_instructionhelper_unittest.cpp90 int32_t ExtractFile(const std::string &fileId, StreamPtr output) override in ExtractFile() argument
94 const FileInfo *GetFileInfo(const std::string &fileId) override in GetFileInfo() argument
100 if (auto it = fileMap.find(fileId); it != fileMap.end()) { in GetFileInfo()
/base/telephony/ril_adapter/interfaces/innerkits/include/
Dhril_sim_parcel.h63 int32_t fileId = 0; member
/base/telephony/ril_adapter/services/vendor/include/
Dat_sim.h72 uint16_t fileId; member
/base/update/updater/services/include/package/
Dpkg_manager.h281 virtual int32_t ExtractFile(const std::string &fileId, StreamPtr output) = 0;
289 virtual const FileInfo *GetFileInfo(const std::string &fileId) = 0;
/base/telephony/ril_adapter/test/unittest/
Dril_interface_test.cpp455 int32_t fileId; in IccRilSimIoForAppTest() local
456 cin >> fileId; in IccRilSimIoForAppTest()
457 cout << "Your input file id is : " << fileId << endl; in IccRilSimIoForAppTest()
480 msg.fileId = fileId; in IccRilSimIoForAppTest()
/base/telephony/ril_adapter/services/vendor/src/
Dat_sim.c1299 simRspByte[RESPONSE_DATA_FILE_ID_1] = (fId->fileId & BYTE_NUM_1) >> ADDR_OFFSET_8BIT; in CreateSimRspByte()
1300 simRspByte[RESPONSE_DATA_FILE_ID_2] = fId->fileId & BYTE_NUM_2; in CreateSimRspByte()
1387 queryPtr->fileId = 0; in FcpFileIdentifierQuery()
1394 queryPtr->fileId = (short)((outPtr[0] << ADDR_OFFSET_8BIT) | outPtr[1]); in FcpFileIdentifierQuery()
/base/telephony/ril_adapter/test/unittest/ril_adapter_gtest/
Dril_sim_test.cpp84 msg.fileId = 0x2FE2;
110 msg.fileId = 0x2FE2;
/base/telephony/core_service/services/tel_ril/src/
Dtel_ril_sim.cpp310 iccIoRequestInfo.fileId = simIoInfo.fileId; in GetSimIO()

12