Lines Matching refs:device
16 def IsSupported(device):
17 return device.FileExists(OmapThrottlingDetector.OMAP_TEMP_FILE)
19 def __init__(self, device):
20 self._device = device
43 def IsSupported(device):
44 return device.FileExists('/sys/bus/exynos5-core')
46 def __init__(self, device):
75 def __init__(self, device):
76 self._device = device
79 if OmapThrottlingDetector.IsSupported(device):
80 self._detector = OmapThrottlingDetector(device)
81 elif ExynosThrottlingDetector.IsSupported(device):
82 self._detector = ExynosThrottlingDetector(device)