Home
last modified time | relevance | path

Searched refs:capabilities (Results 1 – 20 of 20) sorted by relevance

/cts/tests/tests/telecom/src/android/telecom/cts/
DCallTest.java57 final int capabilities = CAPABILITY_SUPPORTS_VT_LOCAL_RX in testCapabilitiesToString() local
73 Call.Details.capabilitiesToString(capabilities)); in testCapabilitiesToString()
DRemoteConferenceTest.java338 … int capabilities = mRemoteConference.getConnectionCapabilities() | Connection.CAPABILITY_MUTE; in testRemoteConferenceCallbacks_ConnectionCapabilities() local
339 mRemoteConference.setConnectionCapabilities(capabilities); in testRemoteConferenceCallbacks_ConnectionCapabilities()
342 assertEquals(capabilities, callbackInvoker.getArgs(0)[1]); in testRemoteConferenceCallbacks_ConnectionCapabilities()
465 int capabilities = connection.getConnectionCapabilities(); in addRemoteConnectionOutgoingCalls()
466 connection.setConnectionCapabilities(capabilities | CONF_CAPABILITIES); in addRemoteConnectionOutgoingCalls()
518 int capabilities = connection.getConnectionCapabilities(); in addRemoteConnectionOutgoingCalls()
519 connection.setConnectionCapabilities(capabilities | CONF_CAPABILITIES); in addRemoteConnectionOutgoingCalls()
DRemoteConnectionTest.java235 … int capabilities = mRemoteConnection.getConnectionCapabilities() | Connection.CAPABILITY_MUTE; in testRemoteConnectionCallbacks_ConnectionCapabilities() local
236 mRemoteConnection.setConnectionCapabilities(capabilities); in testRemoteConnectionCallbacks_ConnectionCapabilities()
239 assertEquals(capabilities, callbackInvoker.getArgs(0)[1]); in testRemoteConnectionCallbacks_ConnectionCapabilities()
743 … VideoProfile.CameraCapabilities capabilities = new VideoProfile.CameraCapabilities(100, 200); in testRemoteConnectionVideoCallbacks_CameraCapabilities() local
745 mockVideoProvider.changeCameraCapabilities(capabilities); in testRemoteConnectionVideoCallbacks_CameraCapabilities()
748 assertEquals(capabilities, callbackInvoker.getArgs(0)[1]); in testRemoteConnectionVideoCallbacks_CameraCapabilities()
822 final VideoProfile.CameraCapabilities capabilities = in testRemoteConnectionVideo_RequestCameraCapabilities() local
830 super.changeCameraCapabilities(capabilities); in testRemoteConnectionVideo_RequestCameraCapabilities()
851 assertEquals(capabilities, callbackInvoker.getArgs(1)[1]); in testRemoteConnectionVideo_RequestCameraCapabilities()
948 final VideoProfile.CameraCapabilities capabilities = in testRemoteConnectionVideo_SetCamera() local
[all …]
DConnectionTest.java159 final int capabilities = Connection.CAPABILITY_HOLD | Connection.CAPABILITY_CAN_PAUSE_VIDEO in testSetAndGetConnectionCapabilities() local
162 connection.setConnectionCapabilities(capabilities); in testSetAndGetConnectionCapabilities()
164 assertEquals(capabilities, connection.getConnectionCapabilities()); in testSetAndGetConnectionCapabilities()
DConferenceTest.java170 int capabilities = mConferenceObject.getConnectionCapabilities() | in testConferenceSetters() local
172 mConferenceObject.setConnectionCapabilities(capabilities); in testConferenceSetters()
298 int capabilities = connection.getConnectionCapabilities(); in addOutgoingCalls()
299 connection.setConnectionCapabilities(capabilities | CONF_CAPABILITIES); in addOutgoingCalls()
DBaseTelecomTestWithMockServices.java963 public void assertCallCapabilities(final Call call, final int capabilities) { in assertCallCapabilities() argument
973 return (call.getDetails().getCallCapabilities() & capabilities) == in assertCallCapabilities()
974 capabilities; in assertCallCapabilities()
978 "Call should have properties " + capabilities in assertCallCapabilities()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DAlwaysOnVpnTest.java162 NetworkCapabilities capabilities = mConnectivityManager.getNetworkCapabilities(network); in isNetworkVpn() local
163 return capabilities != null && capabilities.hasTransport(NetworkCapabilities.TRANSPORT_VPN); in isNetworkVpn()
/cts/tests/tests/print/src/android/print/cts/
DPrinterInfoTest.java200 for (PrinterCapabilitiesInfo capabilities
327 b.setCapabilities(capabilities);
343 != capabilities) {
DPrinterDiscoverySessionLifecycleTest.java460 PrinterCapabilitiesInfo capabilities = in createFirstMockPrinterDiscoverySessionCallbacks() local
470 .setCapabilities(capabilities) in createFirstMockPrinterDiscoverySessionCallbacks()
DPrintServicesTest.java168 PrinterCapabilitiesInfo capabilities = new PrinterCapabilitiesInfo.Builder(
184 .setCapabilities(capabilities)
/cts/tests/camera/src/android/hardware/camera2/cts/
DExtendedCameraCharacteristicsTest.java677 int[] capabilities = c.get(CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES); in testReprocessingCharacteristics() local
679 capabilities); in testReprocessingCharacteristics()
680 boolean supportYUV = arrayContains(capabilities, in testReprocessingCharacteristics()
682 boolean supportOpaque = arrayContains(capabilities, in testReprocessingCharacteristics()
795 int[] capabilities = c.get(CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES); in testDepthOutputCharacteristics() local
797 capabilities); in testDepthOutputCharacteristics()
798 boolean supportDepth = arrayContains(capabilities, in testDepthOutputCharacteristics()
1154 int[] capabilities = CameraTestUtils.getValueNotNull( in testConstrainedHighSpeedCapability() local
1156 boolean supportHighSpeed = arrayContains(capabilities, CONSTRAINED_HIGH_SPEED); in testConstrainedHighSpeedCapability()
1329 int hwLevel, int... capabilities) { in expectKeyAvailable() argument
[all …]
DSurfaceViewPreviewTest.java493 List<Integer> capabilities = mStaticInfo.getAvailableCapabilitiesChecked(); in verifyPreviewTargetFpsRange() local
495 if (capabilities.contains(CaptureRequest.REQUEST_AVAILABLE_CAPABILITIES_MANUAL_SENSOR)) { in verifyPreviewTargetFpsRange()
/cts/tests/tests/permission/src/android/permission/cts/
DFileUtils.java106 int[] capabilities); in fileHasOnly() argument
/cts/tests/app/src/android/app/cts/
DSystemFeaturesTest.java148 int[] capabilities = chars.get(CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES); in checkCamera2Features() local
153 for (int capability : capabilities) { in checkCamera2Features()
/cts/tests/tests/media/src/android/media/cts/
DAdaptivePlaybackTest.java1364 public CodecCapabilities capabilities;
1369 capabilities = c;
1372 if (capabilities == null) {
1376 adaptive = capabilities.isFeatureSupported(CodecCapabilities.FEATURE_AdaptivePlayback);
1380 !capabilities.isFormatSupported(media.getFormat())) {
DEncodeDecodeTest.java532 MediaCodecInfo.CodecCapabilities capabilities = codecInfo.getCapabilitiesForType(mimeType); in selectColorFormat() local
533 for (int i = 0; i < capabilities.colorFormats.length; i++) { in selectColorFormat()
534 int colorFormat = capabilities.colorFormats[i]; in selectColorFormat()
DMediaCodecTest.java1487 MediaCodecInfo.CodecCapabilities capabilities = codecInfo.getCapabilitiesForType(mimeType); in findNonSurfaceColorFormat() local
1488 for (int i = 0; i < capabilities.colorFormats.length; i++) { in findNonSurfaceColorFormat()
1489 int colorFormat = capabilities.colorFormats[i]; in findNonSurfaceColorFormat()
DVp8CodecTestBase.java150 CodecCapabilities capabilities = codecInfo.getCapabilitiesForType(type); in getVpxCodecProperties() local
151 if (!capabilities.isFormatSupported(format)) { in getVpxCodecProperties()
157 for (int colorFormat: capabilities.colorFormats) { in getVpxCodecProperties()
163 for (int codecColorFormat : capabilities.colorFormats) { in getVpxCodecProperties()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsService.java1630 int[] capabilities = mCameraCharacteristics.get(
1632 if (capabilities == null) {
1636 for (int capability : capabilities) {
/cts/tools/dex-tools/dex/
Dclasses.out.dex47936 public java.lang.String capabilities