Update sdk/platform-tools to version 26.0.0.
[android_tools.git] / sdk / platform-tools / systrace / catapult / telemetry / telemetry / internal / platform / ios_platform_backend.py
blob12214220e37eab67a551daed2b94f0dc13bb1f90
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 import logging
7 from telemetry.internal.platform import posix_platform_backend
9 #TODO(baxley): Put in real values.
10 class IosPlatformBackend(posix_platform_backend.PosixPlatformBackend):
11 def __init__(self):
12 super(IosPlatformBackend, self).__init__()
14 def GetOSName(self):
15 # TODO(baxley): Get value from ideviceinfo.
16 logging.warn('Not implemented')
17 return 'ios'
19 def GetOSVersionName(self):
20 # TODO(baxley): Get value from ideviceinfo.
21 logging.warn('Not implemented')
22 return '7.1'
24 def SetFullPerformanceModeEnabled(self, enabled):
25 logging.warn('Not implemented')
26 return
28 def FlushDnsCache(self):
29 logging.warn('Not implemented')
30 return
32 def CanMonitorThermalThrottling(self):
33 logging.warn('Not implemented')
34 return False
36 def CanMonitorPower(self):
37 logging.warn('Not implemented')
38 return False
40 def StartMonitoringPower(self, browser):
41 raise NotImplementedError()
43 def StopMonitoringPower(self):
44 raise NotImplementedError()
46 def FlushEntireSystemCache(self):
47 raise NotImplementedError()
49 def HasBeenThermallyThrottled(self):
50 raise NotImplementedError()
52 def StopVideoCapture(self):
53 raise NotImplementedError()
55 def IsThermallyThrottled(self):
56 raise NotImplementedError()
58 def GetSystemTotalPhysicalMemory(self):
59 raise NotImplementedError()
61 def InstallApplication(self, application):
62 raise NotImplementedError()