]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android/platform-hardware-interfaces.git/commitdiff
health.filesystem::IFileSystem -> health.storage::IStorage
authorYifan Hong <elsk@google.com>
Wed, 19 Sep 2018 17:17:40 +0000 (10:17 -0700)
committerYifan Hong <elsk@google.com>
Wed, 19 Sep 2018 20:11:59 +0000 (13:11 -0700)
Rename the HAL because it is regarding 'storage health',
not 'filesystem health'.

Bug: 111655771
Test: compiles
Change-Id: I07072c876fb07c88be8bd74cf6b84aec6020a697
Merged-In: I07072c876fb07c88be8bd74cf6b84aec6020a697

health/storage/1.0/Android.bp [moved from health/filesystem/1.0/Android.bp with 81% similarity]
health/storage/1.0/IGarbageCollectCallback.hal [moved from health/filesystem/1.0/IGarbageCollectCallback.hal with 90% similarity]
health/storage/1.0/IStorage.hal [moved from health/filesystem/1.0/IFileSystem.hal with 91% similarity]
health/storage/1.0/types.hal [moved from health/filesystem/1.0/types.hal with 95% similarity]

similarity index 81%
rename from health/filesystem/1.0/Android.bp
rename to health/storage/1.0/Android.bp
index cb7cf0e88e18ee3590b39f6df6299f323fe701c4..35ee34f207bda540323145baf2244143fd61be18 100644 (file)
@@ -1,15 +1,15 @@
 // This file is autogenerated by hidl-gen -Landroidbp.
 
 hidl_interface {
-    name: "android.hardware.health.filesystem@1.0",
+    name: "android.hardware.health.storage@1.0",
     root: "android.hardware",
     vndk: {
         enabled: true,
     },
     srcs: [
         "types.hal",
-        "IFileSystem.hal",
         "IGarbageCollectCallback.hal",
+        "IStorage.hal",
     ],
     interfaces: [
         "android.hidl.base@1.0",
similarity index 90%
rename from health/filesystem/1.0/IGarbageCollectCallback.hal
rename to health/storage/1.0/IGarbageCollectCallback.hal
index 901c35c86c0855fe906e3c2eac0b100fbcae18fc..2c24ead14cd4fe946a238be9174a05c193eeb20c 100644 (file)
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package android.hardware.health.filesystem@1.0;
+package android.hardware.health.storage@1.0;
 
 /**
- * Callback interface to IFileSystem.garbageCollect.
+ * Callback interface to IStorage.garbageCollect.
  */
 interface IGarbageCollectCallback {
     /**
similarity index 91%
rename from health/filesystem/1.0/IFileSystem.hal
rename to health/storage/1.0/IStorage.hal
index a5e6487a63db793306f27e9a4fc29a517eac61e0..980cf45de77db89dcc1f88d01dd6df5421ab4436 100644 (file)
  * limitations under the License.
  */
 
-package android.hardware.health.filesystem@1.0;
+package android.hardware.health.storage@1.0;
 
 import IGarbageCollectCallback;
 
 /**
- * IFileSystem is an interface that provides operations on underlying storage
+ * IStorage is an interface that provides operations on underlying storage
  * devices, including flash memory.
  */
-interface IFileSystem {
+interface IStorage {
     /**
      * Start garbage collection on the driver of storage devices.
      *
similarity index 95%
rename from health/filesystem/1.0/types.hal
rename to health/storage/1.0/types.hal
index 0d2db2cdf45be31d6d99a84fdc5aa46a40ff9530..2da0871e3467ce5960e945b010881bfa2bb45a6e 100644 (file)
@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-package android.hardware.health.filesystem@1.0;
+package android.hardware.health.storage@1.0;
 
 /**
  * Status values for HAL methods.