Fix spelling mistake for ProfileLoadSatus

It should be ProfileLoadStatus.

Test: build
Change-Id: I82227160142006eb5db2c0eda00915d1dbdcd2e8
diff --git a/runtime/jit/profile_compilation_info.cc b/runtime/jit/profile_compilation_info.cc
index 1cc5aeb..33fa0d6 100644
--- a/runtime/jit/profile_compilation_info.cc
+++ b/runtime/jit/profile_compilation_info.cc
@@ -199,7 +199,7 @@
 
   int fd = profile_file->Fd();
 
-  ProfileLoadSatus status = LoadInternal(fd, &error);
+  ProfileLoadStatus status = LoadInternal(fd, &error);
   if (status == kProfileLoadSuccess) {
     return true;
   }
@@ -230,7 +230,7 @@
 
   int fd = profile_file->Fd();
 
-  ProfileLoadSatus status = LoadInternal(fd, &error);
+  ProfileLoadStatus status = LoadInternal(fd, &error);
   if (status == kProfileLoadSuccess) {
     return true;
   }
@@ -888,7 +888,7 @@
   return false;
 }
 
-ProfileCompilationInfo::ProfileLoadSatus ProfileCompilationInfo::SafeBuffer::Fill(
+ProfileCompilationInfo::ProfileLoadStatus ProfileCompilationInfo::SafeBuffer::Fill(
       ProfileSource& source,
       const std::string& debug_stage,
       /*out*/ std::string* error) {
@@ -909,7 +909,7 @@
   ptr_current_ += data_size;
 }
 
-ProfileCompilationInfo::ProfileLoadSatus ProfileCompilationInfo::ReadProfileHeader(
+ProfileCompilationInfo::ProfileLoadStatus ProfileCompilationInfo::ReadProfileHeader(
       ProfileSource& source,
       /*out*/uint8_t* number_of_dex_files,
       /*out*/uint32_t* uncompressed_data_size,
@@ -925,7 +925,7 @@
 
   SafeBuffer safe_buffer(kMagicVersionSize);
 
-  ProfileLoadSatus status = safe_buffer.Fill(source, "ReadProfileHeader", error);
+  ProfileLoadStatus status = safe_buffer.Fill(source, "ReadProfileHeader", error);
   if (status != kProfileLoadSuccess) {
     return status;
   }
@@ -965,7 +965,7 @@
   return true;
 }
 
-ProfileCompilationInfo::ProfileLoadSatus ProfileCompilationInfo::ReadProfileLineHeader(
+ProfileCompilationInfo::ProfileLoadStatus ProfileCompilationInfo::ReadProfileLineHeader(
     SafeBuffer& buffer,
     /*out*/ProfileLineHeader* line_header,
     /*out*/std::string* error) {
@@ -996,7 +996,7 @@
   return kProfileLoadSuccess;
 }
 
-ProfileCompilationInfo::ProfileLoadSatus ProfileCompilationInfo::ReadProfileLine(
+ProfileCompilationInfo::ProfileLoadStatus ProfileCompilationInfo::ReadProfileLine(
       SafeBuffer& buffer,
       uint8_t number_of_dex_files,
       const ProfileLineHeader& line_header,
@@ -1039,7 +1039,7 @@
 bool ProfileCompilationInfo::Load(int fd, bool merge_classes) {
   std::string error;
 
-  ProfileLoadSatus status = LoadInternal(fd, &error, merge_classes);
+  ProfileLoadStatus status = LoadInternal(fd, &error, merge_classes);
 
   if (status == kProfileLoadSuccess) {
     return true;
@@ -1141,7 +1141,7 @@
   return true;
 }
 
-ProfileCompilationInfo::ProfileLoadSatus ProfileCompilationInfo::OpenSource(
+ProfileCompilationInfo::ProfileLoadStatus ProfileCompilationInfo::OpenSource(
     int32_t fd,
     /*out*/ std::unique_ptr<ProfileSource>* source,
     /*out*/ std::string* error) {
@@ -1195,7 +1195,7 @@
   }
 }
 
-ProfileCompilationInfo::ProfileLoadSatus ProfileCompilationInfo::ProfileSource::Read(
+ProfileCompilationInfo::ProfileLoadStatus ProfileCompilationInfo::ProfileSource::Read(
     uint8_t* buffer,
     size_t byte_count,
     const std::string& debug_stage,
@@ -1244,13 +1244,13 @@
 }
 
 // TODO(calin): fail fast if the dex checksums don't match.
-ProfileCompilationInfo::ProfileLoadSatus ProfileCompilationInfo::LoadInternal(
+ProfileCompilationInfo::ProfileLoadStatus ProfileCompilationInfo::LoadInternal(
       int32_t fd, std::string* error, bool merge_classes) {
   ScopedTrace trace(__PRETTY_FUNCTION__);
   DCHECK_GE(fd, 0);
 
   std::unique_ptr<ProfileSource> source;
-  ProfileLoadSatus status = OpenSource(fd, &source, error);
+  ProfileLoadStatus status = OpenSource(fd, &source, error);
   if (status != kProfileLoadSuccess) {
     return status;
   }
diff --git a/runtime/jit/profile_compilation_info.h b/runtime/jit/profile_compilation_info.h
index 5828563..29a4c11 100644
--- a/runtime/jit/profile_compilation_info.h
+++ b/runtime/jit/profile_compilation_info.h
@@ -417,7 +417,7 @@
   bool IsProfileFile(int fd);
 
  private:
-  enum ProfileLoadSatus {
+  enum ProfileLoadStatus {
     kProfileLoadWouldOverwiteData,
     kProfileLoadIOError,
     kProfileLoadVersionMismatch,
@@ -614,10 +614,10 @@
      * Reading will advance the current source position so subsequent
      * invocations will read from the las position.
      */
-    ProfileLoadSatus Read(uint8_t* buffer,
-                          size_t byte_count,
-                          const std::string& debug_stage,
-                          std::string* error);
+    ProfileLoadStatus Read(uint8_t* buffer,
+                           size_t byte_count,
+                           const std::string& debug_stage,
+                           std::string* error);
 
     /** Return true if the source has 0 data. */
     bool HasEmptyContent() const;
@@ -644,9 +644,9 @@
     }
 
     // Reads the content of the descriptor at the current position.
-    ProfileLoadSatus Fill(ProfileSource& source,
-                          const std::string& debug_stage,
-                          /*out*/std::string* error);
+    ProfileLoadStatus Fill(ProfileSource& source,
+                           const std::string& debug_stage,
+                           /*out*/std::string* error);
 
     // Reads an uint value (high bits to low bits) and advances the current pointer
     // with the number of bits read.
@@ -674,27 +674,27 @@
     uint8_t* ptr_current_;
   };
 
-  ProfileLoadSatus OpenSource(int32_t fd,
-                              /*out*/ std::unique_ptr<ProfileSource>* source,
-                              /*out*/ std::string* error);
+  ProfileLoadStatus OpenSource(int32_t fd,
+                               /*out*/ std::unique_ptr<ProfileSource>* source,
+                               /*out*/ std::string* error);
 
   // Entry point for profile loding functionality.
-  ProfileLoadSatus LoadInternal(int32_t fd,
-                                std::string* error,
-                                bool merge_classes = true);
+  ProfileLoadStatus LoadInternal(int32_t fd,
+                                 std::string* error,
+                                 bool merge_classes = true);
 
   // Read the profile header from the given fd and store the number of profile
   // lines into number_of_dex_files.
-  ProfileLoadSatus ReadProfileHeader(ProfileSource& source,
-                                     /*out*/uint8_t* number_of_dex_files,
-                                     /*out*/uint32_t* size_uncompressed_data,
-                                     /*out*/uint32_t* size_compressed_data,
-                                     /*out*/std::string* error);
+  ProfileLoadStatus ReadProfileHeader(ProfileSource& source,
+                                      /*out*/uint8_t* number_of_dex_files,
+                                      /*out*/uint32_t* size_uncompressed_data,
+                                      /*out*/uint32_t* size_compressed_data,
+                                      /*out*/std::string* error);
 
   // Read the header of a profile line from the given fd.
-  ProfileLoadSatus ReadProfileLineHeader(SafeBuffer& buffer,
-                                         /*out*/ProfileLineHeader* line_header,
-                                         /*out*/std::string* error);
+  ProfileLoadStatus ReadProfileLineHeader(SafeBuffer& buffer,
+                                          /*out*/ProfileLineHeader* line_header,
+                                          /*out*/std::string* error);
 
   // Read individual elements from the profile line header.
   bool ReadProfileLineHeaderElements(SafeBuffer& buffer,
@@ -703,12 +703,12 @@
                                      /*out*/std::string* error);
 
   // Read a single profile line from the given fd.
-  ProfileLoadSatus ReadProfileLine(SafeBuffer& buffer,
-                                   uint8_t number_of_dex_files,
-                                   const ProfileLineHeader& line_header,
-                                   const SafeMap<uint8_t, uint8_t>& dex_profile_index_remap,
-                                   bool merge_classes,
-                                   /*out*/std::string* error);
+  ProfileLoadStatus ReadProfileLine(SafeBuffer& buffer,
+                                    uint8_t number_of_dex_files,
+                                    const ProfileLineHeader& line_header,
+                                    const SafeMap<uint8_t, uint8_t>& dex_profile_index_remap,
+                                    bool merge_classes,
+                                    /*out*/std::string* error);
 
   // Read all the classes from the buffer into the profile `info_` structure.
   bool ReadClasses(SafeBuffer& buffer,