Use camelCase for parcelable fields.
Test: m vm virtmanager
Change-Id: I38344dbbbc681b35e5fa2364b13120290fe98178
diff --git a/virtmanager/aidl/android/system/virtmanager/VirtualMachineDebugInfo.aidl b/virtmanager/aidl/android/system/virtmanager/VirtualMachineDebugInfo.aidl
index d1ba9a6..3a271cb 100644
--- a/virtmanager/aidl/android/system/virtmanager/VirtualMachineDebugInfo.aidl
+++ b/virtmanager/aidl/android/system/virtmanager/VirtualMachineDebugInfo.aidl
@@ -19,13 +19,16 @@
parcelable VirtualMachineDebugInfo {
/** The CID assigned to the VM. */
int cid;
+
/** The UID of the process which requested the VM. */
- int requester_uid;
+ int requesterUid;
+
/** The SID of the process which requested the VM. */
- @nullable String requester_sid;
+ @nullable String requesterSid;
+
/**
* The PID of the process which requested the VM. Note that this process may no longer exist and
* the PID may have been reused for a different process, so this should not be trusted.
*/
- int requester_pid;
+ int requesterPid;
}
diff --git a/virtmanager/src/aidl.rs b/virtmanager/src/aidl.rs
index bc3ea1a..96ba04f 100644
--- a/virtmanager/src/aidl.rs
+++ b/virtmanager/src/aidl.rs
@@ -96,9 +96,9 @@
.into_iter()
.map(|vm| VirtualMachineDebugInfo {
cid: vm.cid as i32,
- requester_uid: vm.requester_uid as i32,
- requester_sid: vm.requester_sid.clone(),
- requester_pid: vm.requester_pid,
+ requesterUid: vm.requester_uid as i32,
+ requesterSid: vm.requester_sid.clone(),
+ requesterPid: vm.requester_pid,
})
.collect();
Ok(cids)