!2335 GSM support EFopl file

Merge pull request !2335 from cutePikachu/cs0924
This commit is contained in:
openharmony_ci 2024-09-25 11:56:11 +00:00 committed by Gitee
commit c81f7a36a6
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 4 additions and 0 deletions

View File

@ -38,6 +38,9 @@ std::string SimFileController::ObtainElementFilePath(int efId)
case ELEMENTARY_FILE_SPN:
case ELEMENTARY_FILE_AD:
case ELEMENTARY_FILE_PNN:
case ELEMENTARY_FILE_OPL:
mf.append(DEDICATED_FILE_GSM);
return mf;
case ELEMENTARY_FILE_MBDN:
case ELEMENTARY_FILE_EXT6:
case ELEMENTARY_FILE_MBI:

View File

@ -2560,6 +2560,7 @@ HWTEST_F(BranchTest, Telephony_SimFileController_001, Function | MediumTest | Le
EXPECT_NE(simFileController->ObtainElementFilePath(ELEMENTARY_FILE_SPN), "");
EXPECT_NE(simFileController->ObtainElementFilePath(ELEMENTARY_FILE_AD), "");
EXPECT_NE(simFileController->ObtainElementFilePath(ELEMENTARY_FILE_PNN), "");
EXPECT_NE(simFileController->ObtainElementFilePath(ELEMENTARY_FILE_OPL), "");
EXPECT_NE(simFileController->ObtainElementFilePath(ELEMENTARY_FILE_MBDN), "");
EXPECT_NE(simFileController->ObtainElementFilePath(ELEMENTARY_FILE_EXT6), "");
EXPECT_NE(simFileController->ObtainElementFilePath(ELEMENTARY_FILE_MBI), "");