Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/
DSelfManagedIncomingCallTestActivity.java123 int capabilities = connection.getConnectionCapabilities(); in onCreate()
124 capabilities &= ~Connection.CAPABILITY_HOLD; in onCreate()
125 connection.setConnectionCapabilities(capabilities); in onCreate()
/cts/tests/tests/telecom/src/android/telecom/cts/
DCallTest.java62 final int capabilities = CAPABILITY_SUPPORTS_VT_LOCAL_RX in testCapabilitiesToString() local
78 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()
496 int capabilities = connection.getConnectionCapabilities(); in addRemoteConnectionOutgoingCalls()
497 connection.setConnectionCapabilities(capabilities | CONF_CAPABILITIES); in addRemoteConnectionOutgoingCalls()
549 int capabilities = connection.getConnectionCapabilities(); in addRemoteConnectionOutgoingCalls()
550 connection.setConnectionCapabilities(capabilities | CONF_CAPABILITIES); in addRemoteConnectionOutgoingCalls()
DRemoteConnectionTest.java234 … int capabilities = mRemoteConnection.getConnectionCapabilities() | Connection.CAPABILITY_MUTE; in testRemoteConnectionCallbacks_ConnectionCapabilities() local
235 mRemoteConnection.setConnectionCapabilities(capabilities); in testRemoteConnectionCallbacks_ConnectionCapabilities()
238 assertEquals(capabilities, callbackInvoker.getArgs(0)[1]); in testRemoteConnectionCallbacks_ConnectionCapabilities()
824 … VideoProfile.CameraCapabilities capabilities = new VideoProfile.CameraCapabilities(100, 200); in testRemoteConnectionVideoCallbacks_CameraCapabilities() local
826 mockVideoProvider.changeCameraCapabilities(capabilities); in testRemoteConnectionVideoCallbacks_CameraCapabilities()
829 assertEquals(capabilities, callbackInvoker.getArgs(0)[1]); in testRemoteConnectionVideoCallbacks_CameraCapabilities()
903 final VideoProfile.CameraCapabilities capabilities = in testRemoteConnectionVideo_RequestCameraCapabilities() local
911 super.changeCameraCapabilities(capabilities); in testRemoteConnectionVideo_RequestCameraCapabilities()
932 assertEquals(capabilities, callbackInvoker.getArgs(1)[1]); in testRemoteConnectionVideo_RequestCameraCapabilities()
1029 final VideoProfile.CameraCapabilities capabilities = in testRemoteConnectionVideo_SetCamera() local
[all …]
DConnectionTest.java165 final int capabilities = Connection.CAPABILITY_HOLD | Connection.CAPABILITY_CAN_PAUSE_VIDEO in testSetAndGetConnectionCapabilities() local
168 connection.setConnectionCapabilities(capabilities); in testSetAndGetConnectionCapabilities()
170 assertEquals(capabilities, connection.getConnectionCapabilities()); in testSetAndGetConnectionCapabilities()
DSelfManagedConnectionServiceTest.java258 int capabilities = connection.getConnectionCapabilities(); in testDisallowOutgoingCallWhileOngoingManagedCallCanNotBeHeld() local
259 capabilities &= ~Connection.CAPABILITY_HOLD; in testDisallowOutgoingCallWhileOngoingManagedCallCanNotBeHeld()
260 connection.setConnectionCapabilities(capabilities); in testDisallowOutgoingCallWhileOngoingManagedCallCanNotBeHeld()
DConferenceTest.java172 int capabilities = mConferenceObject.getConnectionCapabilities() | in testConferenceSetters() local
174 mConferenceObject.setConnectionCapabilities(capabilities); in testConferenceSetters()
428 int capabilities = connection.getConnectionCapabilities(); in addOutgoingCalls()
429 connection.setConnectionCapabilities(capabilities | CONF_CAPABILITIES); in addOutgoingCalls()
DBaseTelecomTestWithMockServices.java1140 public void assertCallCapabilities(final Call call, final int capabilities) { in assertCallCapabilities() argument
1150 return (call.getDetails().getCallCapabilities() & capabilities) == in assertCallCapabilities()
1151 capabilities; in assertCallCapabilities()
1155 "Call should have properties " + capabilities in assertCallCapabilities()
/cts/tests/camera/src/android/hardware/camera2/cts/
DExtendedCameraCharacteristicsTest.java752 int[] capabilities = c.get(CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES); in testReprocessingCharacteristics() local
754 capabilities); in testReprocessingCharacteristics()
755 boolean supportYUV = arrayContains(capabilities, in testReprocessingCharacteristics()
757 boolean supportOpaque = arrayContains(capabilities, in testReprocessingCharacteristics()
870 int[] capabilities = c.get(CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES); in testDepthOutputCharacteristics() local
872 capabilities); in testDepthOutputCharacteristics()
873 boolean supportDepth = arrayContains(capabilities, in testDepthOutputCharacteristics()
1250 int[] capabilities = CameraTestUtils.getValueNotNull( in testConstrainedHighSpeedCapability() local
1252 boolean supportHighSpeed = arrayContains(capabilities, CONSTRAINED_HIGH_SPEED); in testConstrainedHighSpeedCapability()
1410 int[] capabilities = CameraTestUtils.getValueNotNull( in testLogicalCameraCharacteristics() local
[all …]
DSurfaceViewPreviewTest.java724 List<Integer> capabilities = mStaticInfo.getAvailableCapabilitiesChecked(); in verifyPreviewTargetFpsRange() local
726 if (capabilities.contains(CaptureRequest.REQUEST_AVAILABLE_CAPABILITIES_MANUAL_SENSOR)) { in verifyPreviewTargetFpsRange()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/vpn/
DVpnTestHelper.java140 NetworkCapabilities capabilities = connectivityManager.getNetworkCapabilities(network); in isNetworkVpn() local
141 return capabilities != null && capabilities.hasTransport(NetworkCapabilities.TRANSPORT_VPN); in isNetworkVpn()
/cts/tests/tests/print/src/android/print/cts/
DPrinterInfoTest.java135 for (PrinterCapabilitiesInfo capabilities in createFirstMockPrinterDiscoverySessionCallbacks()
262 b.setCapabilities(capabilities); in createFirstMockPrinterDiscoverySessionCallbacks()
278 != capabilities) { in createFirstMockPrinterDiscoverySessionCallbacks()
DPrintServicesTest.java109 PrinterCapabilitiesInfo capabilities = new PrinterCapabilitiesInfo.Builder( in createMockPrinterDiscoverySessionCallbacks() local
127 .setCapabilities(capabilities) in createMockPrinterDiscoverySessionCallbacks()
DPrinterDiscoverySessionLifecycleTest.java701 PrinterCapabilitiesInfo capabilities = in createFirstMockPrinterDiscoverySessionCallbacks()
711 .setCapabilities(capabilities) in createFirstMockPrinterDiscoverySessionCallbacks()
/cts/tests/tests/permission/src/android/permission/cts/
DFileUtils.java106 int[] capabilities); in fileHasOnly() argument
/cts/hostsidetests/appsecurity/res/pkgsigverify/
DREADME.txt19 capabilities of those certificates according to APK Signature Scheme v3.
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/
DMultiNetworkConnectivityTestActivity.java290 NetworkCapabilities capabilities = connectivityManager.getNetworkCapabilities(network); in isNetworkCellularAndHasInternet() local
291 return capabilities.hasTransport(TRANSPORT_CELLULAR) in isNetworkCellularAndHasInternet()
292 && capabilities.hasCapability(NET_CAPABILITY_INTERNET); in isNetworkCellularAndHasInternet()
/cts/tests/app/src/android/app/cts/
DSystemFeaturesTest.java158 int[] capabilities = chars.get(CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES); in checkCamera2Features() local
163 for (int capability : capabilities) { in checkCamera2Features()
/cts/tests/tests/media/src/android/media/cts/
DAdaptivePlaybackTest.java1349 public CodecCapabilities capabilities;
1354 capabilities = c;
1357 if (capabilities == null) {
1361 adaptive = capabilities.isFeatureSupported(CodecCapabilities.FEATURE_AdaptivePlayback);
1365 !capabilities.isFormatSupported(media.getFormat())) {
DEncodeDecodeTest.java561 MediaCodecInfo.CodecCapabilities capabilities = codecInfo.getCapabilitiesForType(mimeType); in selectColorFormat() local
562 for (int i = 0; i < capabilities.colorFormats.length; i++) { in selectColorFormat()
563 int colorFormat = capabilities.colorFormats[i]; in selectColorFormat()
DVpxCodecTestBase.java151 CodecCapabilities capabilities = codecInfo.getCapabilitiesForType(type); in getVpxCodecProperties() local
152 if (!capabilities.isFormatSupported(format)) { in getVpxCodecProperties()
158 for (int colorFormat: capabilities.colorFormats) { in getVpxCodecProperties()
164 for (int codecColorFormat : capabilities.colorFormats) { in getVpxCodecProperties()
DMediaCodecTest.java1698 MediaCodecInfo.CodecCapabilities capabilities = codecInfo.getCapabilitiesForType(mimeType); in findNonSurfaceColorFormat() local
1699 for (int i = 0; i < capabilities.colorFormats.length; i++) { in findNonSurfaceColorFormat()
1700 int colorFormat = capabilities.colorFormats[i]; in findNonSurfaceColorFormat()
D.goutputstream-9KZYJZ44 * Tests of MediaPlayer2 streaming capabilities.
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsService.java1802 int[] capabilities = mCameraCharacteristics.get(
1804 if (capabilities == null) {
1808 for (int capability : capabilities) {