Home
last modified time | relevance | path

Searched refs:build_version_sdk (Results 1 – 11 of 11) sorted by relevance

/external/chromium-trace/catapult/devil/devil/utils/
Dmock_calls_test.py42 def build_version_sdk(self): member in _DummyAdb
101 self.assertEquals(version_codes.LOLLIPOP, self.adb.build_version_sdk)
103 self.call.adb.build_version_sdk,
105 self.assertEquals(version_codes.KITKAT, self.adb.build_version_sdk)
106 self.assertEquals(version_codes.LOLLIPOP, self.adb.build_version_sdk)
/external/chromium-trace/catapult/devil/devil/android/sdk/
Dshared_prefs_test.py103 type(self.device).build_version_sdk = mock.PropertyMock(
155 type(self.device).build_version_sdk = mock.PropertyMock(
188 type(self.device).build_version_sdk = mock.PropertyMock(
194 type(self.device).build_version_sdk = mock.PropertyMock(
Dshared_prefs.py216 if self._device.build_version_sdk < version_codes.NOUGAT:
301 if self._device.build_version_sdk >= version_codes.MARSHMALLOW:
312 if self._device.build_version_sdk >= version_codes.NOUGAT:
/external/chromium-trace/catapult/devil/devil/android/
Ddevice_utils_test.py731 with self.patch_call(self.call.device.build_version_sdk, return_value=23):
741 with self.patch_call(self.call.device.build_version_sdk, return_value=20):
750 with self.patch_call(self.call.device.build_version_sdk, return_value=23):
939 self.call.device.build_version_sdk,
945 self.call.device.build_version_sdk,
1537 with self.patch_call(self.call.device.build_version_sdk,
1552 with self.patch_call(self.call.device.build_version_sdk,
1568 with self.patch_call(self.call.device.build_version_sdk,
1584 with self.patch_call(self.call.device.build_version_sdk,
2531 with self.patch_call(self.call.device.build_version_sdk,
[all …]
Ddevice_utils.py498 if self.build_version_sdk >= version_codes.MARSHMALLOW:
593 if self.build_version_sdk < 21:
646 should_check_return = (self.build_version_sdk < version_codes.LOLLIPOP)
973 and self.build_version_sdk >= version_codes.MARSHMALLOW):
1014 if self.build_version_sdk < required_sdk_level:
1017 (required_sdk_level, self.build_version_sdk)),
1307 if self.build_version_sdk >= version_codes.OREO:
1428 if ((self.build_version_sdk >= version_codes.JELLY_BEAN_MR2)
2285 def build_version_sdk(self): member in DeviceUtils
2448 if self.build_version_sdk >= version_codes.OREO:
[all …]
Dbattery_utils_test.py143 with self.patch_call(self.call.device.build_version_sdk,
166 with self.patch_call(self.call.device.build_version_sdk,
634 with self.patch_call(self.call.device.build_version_sdk,
639 with self.patch_call(self.call.device.build_version_sdk,
658 with self.patch_call(self.call.device.build_version_sdk,
Dbattery_utils.py459 if self._device.build_version_sdk < version_codes.LOLLIPOP:
665 if self._device.build_version_sdk < version_codes.LOLLIPOP:
Dflag_changer.py186 if (self._device.build_version_sdk >= version_codes.NOUGAT and
/external/chromium-trace/catapult/devil/devil/android/tools/
Dprovision_devices.py157 if device.build_version_sdk >= version_codes.LOLLIPOP:
189 device.build_version_sdk >= version_codes.MARSHMALLOW):
350 if device.build_version_sdk >= version_codes.MARSHMALLOW:
397 if device.build_version_sdk >= version_codes.MARSHMALLOW:
464 if device.build_version_sdk >= version_codes.MARSHMALLOW:
Dsystem_app_test.py35 type(mock_device).build_version_sdk = mock.PropertyMock(
Dsystem_app.py95 if device.build_version_sdk >= version_codes.MARSHMALLOW: