Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / tools / telemetry / telemetry / core / platform / ios_platform_backend.py
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.
4
5 import logging
6
7 from telemetry.core.platform import posix_platform_backend
8
9 #TODO(baxley): Put in real values.
10 class IosPlatformBackend(posix_platform_backend.PosixPlatformBackend):
11   def __init__(self):
12     super(IosPlatformBackend, self).__init__()
13
14   def GetOSName(self):
15     # TODO(baxley): Get value from ideviceinfo.
16     logging.warn('Not implemented')
17     return 'ios'
18
19   def GetOSVersionName(self):
20     # TODO(baxley): Get value from ideviceinfo.
21     logging.warn('Not implemented')
22     return '7.1'
23
24   def SetFullPerformanceModeEnabled(self, enabled):
25     logging.warn('Not implemented')
26     return
27
28   def FlushDnsCache(self):
29     logging.warn('Not implemented')
30     return
31
32   def CanMonitorThermalThrottling(self):
33     logging.warn('Not implemented')
34     return False
35
36   def CanMonitorPower(self):
37     logging.warn('Not implemented')
38     return False
39
40   def StartMonitoringPower(self, browser):
41     raise NotImplementedError()
42
43   def StopMonitoringPower(self):
44     raise NotImplementedError()
45
46   def GetRawDisplayFrameRateMeasurements(self):
47     raise NotImplementedError()
48
49   def FlushEntireSystemCache(self):
50     raise NotImplementedError()
51
52   def HasBeenThermallyThrottled(self):
53     raise NotImplementedError()
54
55   def StopVideoCapture(self):
56     raise NotImplementedError()
57
58   def IsThermallyThrottled(self):
59     raise NotImplementedError()
60
61   def StartRawDisplayFrameRateMeasurement(self):
62     raise NotImplementedError()
63
64   def StopRawDisplayFrameRateMeasurement(self):
65     raise NotImplementedError()
66
67   def GetSystemTotalPhysicalMemory(self):
68     raise NotImplementedError()
69
70   def InstallApplication(self, application):
71     raise NotImplementedError()