platform: Reinforce some symbol names

This commit rename some symbol names for base APIs to reinforce API
naming convention defined here [1]. The list of change includes:

1. `struct pldm_file_descriptor_pdr` to
    `struct pldm_platform_file_descriptor_pdr`
2. `decode_pldm_file_descriptor_pdr()` to
    `decode_pldm_platform_file_descriptor_pdr()`

[1]: https://github.com/openbmc/libpldm/blob/main/docs/checklists/changes.md#adding-a-new-api

Change-Id: I76bd12fa59a7d61d450d9d36cbf091b39101faa8
Signed-off-by: Chau Ly <chaul@amperecomputing.com>
diff --git a/tests/dsp/platform.cpp b/tests/dsp/platform.cpp
index 4427cbc..6f4c517 100644
--- a/tests/dsp/platform.cpp
+++ b/tests/dsp/platform.cpp
@@ -6188,10 +6188,10 @@
     const char expectFileName[] = "File1";
     const char expectOEMClassificationName[] = "OEM File";
 
-    struct pldm_file_descriptor_pdr decodedPdr = {};
+    struct pldm_platform_file_descriptor_pdr decodedPdr = {};
 
-    auto rc =
-        decode_pldm_file_descriptor_pdr(pdr1.data(), pdr1.size(), &decodedPdr);
+    auto rc = decode_pldm_platform_file_descriptor_pdr(pdr1.data(), pdr1.size(),
+                                                       &decodedPdr);
 
     ASSERT_EQ(0, rc);
     EXPECT_EQ(1, decodedPdr.terminus_handle);
@@ -6258,12 +6258,14 @@
         0x00, // File Name = "File1\NULL"
     };
 
-    struct pldm_file_descriptor_pdr decodedPdr = {};
+    struct pldm_platform_file_descriptor_pdr decodedPdr = {};
 
-    rc = decode_pldm_file_descriptor_pdr(nullptr, pdr1.size(), &decodedPdr);
+    rc = decode_pldm_platform_file_descriptor_pdr(nullptr, pdr1.size(),
+                                                  &decodedPdr);
     EXPECT_EQ(-EINVAL, rc);
 
-    rc = decode_pldm_file_descriptor_pdr(pdr1.data(), pdr1.size(), nullptr);
+    rc = decode_pldm_platform_file_descriptor_pdr(pdr1.data(), pdr1.size(),
+                                                  nullptr);
     EXPECT_EQ(-EINVAL, rc);
 }
 #endif
@@ -6299,10 +6301,10 @@
         0x00, // File Name = "File1\NULL"
     };
 
-    struct pldm_file_descriptor_pdr decodedPdr = {};
+    struct pldm_platform_file_descriptor_pdr decodedPdr = {};
 
     /* Expect error: Invalid input data length*/
-    rc = decode_pldm_file_descriptor_pdr(pdr1.data(), 1, &decodedPdr);
+    rc = decode_pldm_platform_file_descriptor_pdr(pdr1.data(), 1, &decodedPdr);
     EXPECT_EQ(-EOVERFLOW, rc);
 }
 #endif
@@ -6339,13 +6341,14 @@
         0x00, // File Name = "File1\NULL"
     };
 
-    struct pldm_file_descriptor_pdr decodedPdr = {};
+    struct pldm_platform_file_descriptor_pdr decodedPdr = {};
 
     /*
      * Expect error: The original length of the data buffer is larger than
      * the target extract length.
      */
-    rc = decode_pldm_file_descriptor_pdr(pdr1.data(), pdr1.size(), &decodedPdr);
+    rc = decode_pldm_platform_file_descriptor_pdr(pdr1.data(), pdr1.size(),
+                                                  &decodedPdr);
     EXPECT_EQ(-EBADMSG, rc);
 }
 
@@ -6383,13 +6386,14 @@
         0x00 // OEM File Classification Name = "OEM File\NULL"
     };
 
-    struct pldm_file_descriptor_pdr decodedPdr = {};
+    struct pldm_platform_file_descriptor_pdr decodedPdr = {};
 
     /*
      * Expect error: The original length of the data buffer is smaller than
      * the target extract length.
      */
-    rc = decode_pldm_file_descriptor_pdr(pdr1.data(), pdr1.size(), &decodedPdr);
+    rc = decode_pldm_platform_file_descriptor_pdr(pdr1.data(), pdr1.size(),
+                                                  &decodedPdr);
     EXPECT_EQ(-EOVERFLOW, rc);
 }
 #endif