Searched refs:wait_for_state (Results 1 – 2 of 2) sorted by relevance
104 wait_for_state(NfcAdapter.STATE_OFF); in testSetControllerAlwaysOnTrueFromFalseWhenDisabled()121 wait_for_state(NfcAdapter.STATE_OFF); in testSetControllerAlwaysOnFalseFromTrueWhenDisabled()138 wait_for_state(NfcAdapter.STATE_OFF); in testSetControllerAlwaysOnFalseFromFalseWhenDisabled()155 wait_for_state(NfcAdapter.STATE_OFF); in testSetControllerAlwaysOnTrueFromTrueWhenDisabled()172 wait_for_state(NfcAdapter.STATE_ON); in testSetControllerAlwaysOnTrueFromFalseWhenEnabled()189 wait_for_state(NfcAdapter.STATE_ON); in testSetAlwaysOnFalseFromTrueWhenEnabled()206 wait_for_state(NfcAdapter.STATE_ON); in testSetControllerAlwaysOnFalseFromFalseWhenEnabled()223 wait_for_state(NfcAdapter.STATE_ON); in testSetControllerAlwaysOnTrueFromTrueWhenEnabled()240 wait_for_state(NfcAdapter.STATE_OFF); in testEnableWhenSetControllerAlwaysOnTrueAndDisabled()244 wait_for_state(NfcAdapter.STATE_ON); in testEnableWhenSetControllerAlwaysOnTrueAndDisabled()[all …]
273 Result<void> wait_for_state(VirtualMachineState state) { in wait_for_state() function in Callback379 OR_RETURN(cb->wait_for_state(VirtualMachineState::READY)); in inner_main()390 OR_RETURN(cb->wait_for_state(VirtualMachineState::DEAD)); in inner_main()