Home
last modified time | relevance | path

Searched refs:testDevice (Results 1 – 9 of 9) sorted by relevance

/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/tv/
DHdmiCecTvOneTouchPlayTest.java68 for (LogicalAddress testDevice : testDevices) { in cect_11_1_1_1_RespondToImageViewOn()
69 hdmiCecClient.sendCecMessage(testDevice, LogicalAddress.TV, CecOperand.IMAGE_VIEW_ON); in cect_11_1_1_1_RespondToImageViewOn()
71 hdmiCecClient.broadcastActiveSource(testDevice, hdmiCecClient.getPhysicalAddress()); in cect_11_1_1_1_RespondToImageViewOn()
72 hdmiCecClient.checkOutputDoesNotContainMessage(testDevice, CecOperand.FEATURE_ABORT); in cect_11_1_1_1_RespondToImageViewOn()
76 .isEqualTo(testDevice); in cect_11_1_1_1_RespondToImageViewOn()
88 for (LogicalAddress testDevice : testDevices) { in cect_11_1_1_2_RespondToTextViewOn()
89 hdmiCecClient.sendCecMessage(testDevice, LogicalAddress.TV, CecOperand.TEXT_VIEW_ON); in cect_11_1_1_2_RespondToTextViewOn()
91 hdmiCecClient.broadcastActiveSource(testDevice, hdmiCecClient.getPhysicalAddress()); in cect_11_1_1_2_RespondToTextViewOn()
92 hdmiCecClient.checkOutputDoesNotContainMessage(testDevice, CecOperand.FEATURE_ABORT); in cect_11_1_1_2_RespondToTextViewOn()
96 .isEqualTo(testDevice); in cect_11_1_1_2_RespondToTextViewOn()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceAdminFeaturesCheckerRule.java61 ITestDevice testDevice = mTest.getDevice(); in apply()
62 assumeTrue("Test device is not available", testDevice != null); in apply()
64 int apiLevel = testDevice.getApiLevel(); in apply()
73 && BaseDevicePolicyTest.isHeadlessSystemUserMode(testDevice)) { in apply()
85 addRequiredManagedUsersFeature(requiredFeatures, testDevice, description in apply()
93 addRequiredManagedUsersFeature(requiredFeatures, testDevice, in apply()
102 if (!testDevice.hasFeature(requiredFeature)) { in apply()
137 ITestDevice testDevice, RequiresProfileOwnerSupport annotation) in apply() argument
141 if (BaseDevicePolicyTest.isHeadlessSystemUserMode(testDevice)) { in apply()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/
DRequiredFeatureRule.java46 ITestDevice testDevice = mTest.getDevice(); in apply()
48 assumeTrue("Test device is not available", testDevice != null); in apply()
50 assumeTrue(mFeature + " not present in DUT " + testDevice.getSerialNumber(), in apply()
51 testDevice.hasFeature(mFeature)); in apply()
DRequiredPropertyRule.java53 ITestDevice testDevice = test.getDevice();
55 assumeTrue("Test device is not available", testDevice != null);
56 return testDevice.executeShellCommand("getprop " + propertyName).trim();
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/common/
DHdmiCecSystemInformationTest.java66 for (LogicalAddress testDevice : testDevices) { in cect_11_2_6_2_GivePhysicalAddress()
67 if (hasLogicalAddress(testDevice)) { in cect_11_2_6_2_GivePhysicalAddress()
71 hdmiCecClient.sendCecMessage(testDevice, CecOperand.GIVE_PHYSICAL_ADDRESS); in cect_11_2_6_2_GivePhysicalAddress()
97 for (LogicalAddress testDevice : testDevices) { in cect_reportFeatures_deviceTypeContainedInAllDeviceTypes()
98 if (hasLogicalAddress(testDevice)) { in cect_reportFeatures_deviceTypeContainedInAllDeviceTypes()
102 hdmiCecClient.sendCecMessage(testDevice, CecOperand.GIVE_FEATURES); in cect_reportFeatures_deviceTypeContainedInAllDeviceTypes()
/cts/hostsidetests/tv/src/com/android/cts/tv/
DTvInputManagerServiceHostTest.java256 ITestDevice testDevice = mTest.getDevice(); in apply()
258 assumeTrue("Test device is not available", testDevice != null); in apply()
260 assumeTrue(mFeature + " not present in DUT " + testDevice.getSerialNumber(), in apply()
261 testDevice.hasFeature(mFeature)); in apply()
/cts/tests/tests/media/src/android/media/cts/
DAudioSystemUsageTest.java92 AudioDeviceInfo testDevice = mAudioManager.getDevices(AudioManager.GET_DEVICES_INPUTS)[0]; in trackPlayer_throwsException() local
95 .setAudioDeviceInfo(testDevice); in trackPlayer_throwsException()
DAudioRecordingConfigurationTest.java186 final AudioDeviceInfo testDevice = mAudioRecord.getRoutedDevice(); in doCallbackTest() local
187 assertTrue("AudioRecord null routed device after start", testDevice != null); in doCallbackTest()
190 testDevice, callback.mConfigs); in doCallbackTest()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBluetoothLeAudioTest.java130 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in testGetConnectionState() local
140 mBluetoothLeAudio.getConnectionState(testDevice)); in testGetConnectionState()