Testng on device farm

Does device farm follow the sequence of test cases specified in testng.xml file to execute them? and
All the test cases run on the same instance of the device selected ?