Home
last modified time | relevance | path

Searched refs:sk_state (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Virtualization/virtualizationservice/src/
Dmaintenance.rs385 let sk_state = new_test_state(history.clone(), 2); in test_sk_state_batching() localVariable
386 sk_state.inner.unwrap().delete_ids(&[VM_ID1, VM_ID2, VM_ID3, VM_ID4, VM_ID5]); in test_sk_state_batching()
401 let sk_state = new_test_state(history.clone(), 6); in test_sk_state_no_batching() localVariable
402 sk_state.inner.unwrap().delete_ids(&[VM_ID1, VM_ID2, VM_ID3, VM_ID4, VM_ID5]); in test_sk_state_no_batching()
410 let mut sk_state = new_test_state(history.clone(), 2); in test_sk_state() localVariable
412 get_db(&mut sk_state).add_vm_id(&VM_ID1, USER1, APP_A).unwrap(); in test_sk_state()
413 get_db(&mut sk_state).add_vm_id(&VM_ID2, USER1, APP_A).unwrap(); in test_sk_state()
414 get_db(&mut sk_state).add_vm_id(&VM_ID3, USER2, APP_B).unwrap(); in test_sk_state()
415 get_db(&mut sk_state).add_vm_id(&VM_ID4, USER3, APP_A).unwrap(); in test_sk_state()
416 get_db(&mut sk_state).add_vm_id(&VM_ID5, USER3, APP_C).unwrap(); in test_sk_state()
[all …]
Daidl.rs459 if let Some(sk_state) = &mut state.sk_state {
463 if let Err(e) = sk_state.add_id(&id, user_id, app_id) {
473 if let Some(sk_state) = &mut state.sk_state {
483 sk_state.delete_id(instance_id, user_id, app_id);
492 if let Some(sk_state) = &mut state.sk_state {
503 if let Err(e) = sk_state.add_id(instance_id, user_id, app_id) {
542 if let Some(sk_state) = &mut state.sk_state { in appRemoved()
544 sk_state.delete_ids_for_app(user_id, app_id).or_service_specific_exception(-1)?; in appRemoved()
553 if let Some(sk_state) = &mut state.sk_state { in userRemoved()
555 sk_state.delete_ids_for_user(user_id).or_service_specific_exception(-1)?; in userRemoved()
[all …]