Home
last modified time | relevance | path

Searched refs:VirtualMachineState (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Virtualization/vmclient/src/
Dlib.rs35 VirtualMachineState::VirtualMachineState,
200 pub fn state(&self) -> BinderResult<VirtualMachineState> { in state() argument
226 state.reported_state < VirtualMachineState::READY && state.death_reason.is_none() in wait_until_ready()
233 } else if state.reported_state != VirtualMachineState::READY { in wait_until_ready()
284 reported_state: VirtualMachineState,
297 fn notify_state(&self, state: VirtualMachineState) { in notify_state() argument
324 self.state.notify_state(VirtualMachineState::STARTED); in onPayloadStarted()
332 self.state.notify_state(VirtualMachineState::READY); in onPayloadReady()
340 self.state.notify_state(VirtualMachineState::FINISHED); in onPayloadFinished()
348 self.state.notify_state(VirtualMachineState::FINISHED); in onError()
/packages/modules/Virtualization/vm/src/
Drun.rs28 VirtualMachineState::VirtualMachineState,
275 fn state_to_str(vm_state: VirtualMachineState) -> &'static str { in state_to_str()
277 VirtualMachineState::NOT_STARTED => "NOT_STARTED", in state_to_str()
278 VirtualMachineState::STARTING => "STARTING", in state_to_str()
279 VirtualMachineState::STARTED => "STARTED", in state_to_str()
280 VirtualMachineState::READY => "READY", in state_to_str()
281 VirtualMachineState::FINISHED => "FINISHED", in state_to_str()
282 VirtualMachineState::DEAD => "DEAD", in state_to_str()
/packages/modules/Virtualization/demo_native/
Dmain.cpp64 using aidl::android::system::virtualizationservice::VirtualMachineState;
273 Result<void> wait_for_state(VirtualMachineState state) { in wait_for_state()
295 Result<VirtualMachineState> get_vm_state() { in get_vm_state()
296 VirtualMachineState state; in get_vm_state()
379 OR_RETURN(cb->wait_for_state(VirtualMachineState::READY)); in inner_main()
390 OR_RETURN(cb->wait_for_state(VirtualMachineState::DEAD)); in inner_main()
/packages/modules/Virtualization/virtualizationservice/aidl/android/system/virtualizationservice/
DIVirtualMachine.aidl20 import android.system.virtualizationservice.VirtualMachineState;
27 VirtualMachineState getState(); in getState()
DVirtualMachineState.aidl22 enum VirtualMachineState { enum
DVirtualMachineDebugInfo.aidl18 import android.system.virtualizationservice.VirtualMachineState;
/packages/modules/Virtualization/virtualizationmanager/src/
Daidl.rs47 VirtualMachineState::VirtualMachineState,
1187 fn getState(&self) -> binder::Result<VirtualMachineState> { in getState() argument
1350 fn get_state(instance: &VmInstance) -> VirtualMachineState { in get_state() argument
1352 VmState::NotStarted { .. } => VirtualMachineState::NOT_STARTED, in get_state()
1354 PayloadState::Starting => VirtualMachineState::STARTING, in get_state()
1355 PayloadState::Started => VirtualMachineState::STARTED, in get_state()
1356 PayloadState::Ready => VirtualMachineState::READY, in get_state()
1357 PayloadState::Finished => VirtualMachineState::FINISHED, in get_state()
1358 PayloadState::Hangup => VirtualMachineState::DEAD, in get_state()
1360 VmState::Dead => VirtualMachineState::DEAD, in get_state()
[all …]
/packages/modules/Virtualization/java/framework/src/android/system/virtualmachine/
DVirtualMachine.java78 import android.system.virtualizationservice.VirtualMachineState;
780 private int stateToStatus(@VirtualMachineState int state) { in stateToStatus()
782 case VirtualMachineState.STARTING: in stateToStatus()
783 case VirtualMachineState.STARTED: in stateToStatus()
784 case VirtualMachineState.READY: in stateToStatus()
785 case VirtualMachineState.FINISHED: in stateToStatus()
787 case VirtualMachineState.NOT_STARTED: in stateToStatus()
788 case VirtualMachineState.DEAD: in stateToStatus()