Home
last modified time | relevance | path

Searched refs:hasFeature (Results 1 – 8 of 8) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/module/
DCarModuleControllerTest.java70 EasyMock.expect(mMockDevice.hasFeature(FEATURE_AUTOMOTIVE)).andReturn(false); in testNotAutomotive()
80 EasyMock.expect(mMockDevice.hasFeature(FEATURE_AUTOMOTIVE)).andReturn(true); in testAutomotive()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/module/
DCarModuleController.java36 if (device.hasFeature(FEATURE_AUTOMOTIVE)) { in shouldRun()
/tools/tradefederation/core/src/com/android/tradefed/device/
DITestDevice.java800 public boolean hasFeature(String feature) throws DeviceNotAvailableException; in hasFeature() method
DTestDevice.java1403 public boolean hasFeature(String feature) throws DeviceNotAvailableException { in hasFeature() method in TestDevice
DNativeDevice.java3985 public boolean hasFeature(String feature) throws DeviceNotAvailableException { in hasFeature() method in NativeDevice
/tools/tradefederation/core/src/com/android/tradefed/testtype/junit4/
DBaseHostJUnit4Test.java781 return getDevice().hasFeature("feature:" + feature); in hasDeviceFeature()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DTestDeviceTest.java3476 assertTrue(mTestDevice.hasFeature("com.google.android.feature.EXCHANGE_6_2")); in testHasFeature_true()
3491 assertFalse(mTestDevice.hasFeature("feature:test")); in testHasFeature_fail()
DNativeDeviceTest.java651 mTestDevice.hasFeature("feature:test"); in testHasFeature_exception()