Switch compsvc to use authfs_service
With authfs_service, we no longer need compsvc_worker.rs and authfs.rs
for the task setup. Now, for each request, compsvc can just request
FDs from authfs_service then pass to the task.
Also, fixed the integer type of remote FD to match ParcelFileDescriptor.
Bug: 194717985
Test: atest ComposHostTestCases
Change-Id: I8c0be106243778ac20e7cd96a778db4e34aef051
diff --git a/authfs/service/src/authfs.rs b/authfs/service/src/authfs.rs
index 3b4febb..7a466d3 100644
--- a/authfs/service/src/authfs.rs
+++ b/authfs/service/src/authfs.rs
@@ -54,7 +54,7 @@
impl IAuthFs for AuthFs {
fn openFile(
&self,
- remote_fd_name: i64,
+ remote_fd_name: i32,
writable: bool,
) -> binder::Result<ParcelFileDescriptor> {
let mut path = PathBuf::from(&self.mountpoint);