Lines Matching defs:Result
108 ) -> Result<()> { in create_or_update_idsig_file()
130 pub fn remove_temporary_files(path: &PathBuf) -> Result<()> { in remove_temporary_files()
144 fn dump(&self, mut file: &File, _args: &[&CStr]) -> Result<(), StatusCode> { in dump()
190 ) -> binder::Result<()> { in initializeWritablePartition()
238 ) -> binder::Result<()> { in createOrUpdateIdsigFile()
476 fn write_zero_filler(zero_filler_path: &Path) -> Result<()> { in write_zero_filler()
487 fn format_as_android_vm_instance(part: &mut dyn Write) -> std::io::Result<()> { in format_as_android_vm_instance()
493 fn format_as_encryptedstore(part: &mut dyn Write) -> std::io::Result<()> { in format_as_encryptedstore()
679 fn check_permission(perm: &str) -> binder::Result<()> { in check_permission()
729 fn check_label_is_allowed(context: &SeContext) -> Result<()> { in check_label_is_allowed()
741 fn check_label_for_partition(partition: &Partition) -> Result<()> { in check_label_for_partition()
747 fn check_label_for_kernel_files(kernel: &Option<File>, initrd: &Option<File>) -> Result<()> { in check_label_for_kernel_files()
756 fn check_label_for_file(file: &File, name: &str) -> Result<()> { in check_label_for_file()
790 ) -> binder::Result<()> { in registerCallback()
799 fn start(&self) -> binder::Result<()> { in start()
806 fn stop(&self) -> binder::Result<()> { in stop()
813 fn onTrimMemory(&self, level: MemoryTrimLevel) -> binder::Result<()> { in onTrimMemory()
1013 fn check_gdb_allowed(config: &VirtualMachineConfig) -> binder::Result<()> { in check_gdb_allowed()
1113 fn notifyPayloadStarted(&self) -> binder::Result<()> { in notifyPayloadStarted()
1134 fn notifyPayloadReady(&self) -> binder::Result<()> { in notifyPayloadReady()
1152 fn notifyPayloadFinished(&self, exit_code: i32) -> binder::Result<()> { in notifyPayloadFinished()
1170 fn notifyError(&self, error_code: ErrorCode, message: &str) -> binder::Result<()> { in notifyError()