mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-11-04 09:02:12 +00:00 
			
		
		
		
	Merge pull request #3 from jimboatarm/wifi_check
Add method to check wifi access on device
This commit is contained in:
		@@ -649,6 +649,10 @@ class AndroidDevice(BaseLinuxDevice):  # pylint: disable=W0223
 | 
				
			|||||||
        except KeyError:
 | 
					        except KeyError:
 | 
				
			||||||
            return None
 | 
					            return None
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    def is_wifi_connected(self):
 | 
				
			||||||
 | 
					        self.logger.debug('Checking for wi-fi connectivity.')
 | 
				
			||||||
 | 
					        return self.execute('dumpsys wifi| grep curState=ConnectedState')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # Internal methods: do not use outside of the class.
 | 
					    # Internal methods: do not use outside of the class.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def _update_build_properties(self, filepath, props):
 | 
					    def _update_build_properties(self, filepath, props):
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user