/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifi/ |
D | TestUtils.java | 114 String capabilities = scanResult.capabilities; in isScanResultForOpenNetwork() local 115 return !capabilities.contains("PSK") && !capabilities.contains("EAP") in isScanResultForOpenNetwork() 116 && !capabilities.contains("WEP") && !capabilities.contains("SAE") in isScanResultForOpenNetwork() 117 && !capabilities.contains("SUITE-B-192") && !capabilities.contains("OWE"); in isScanResultForOpenNetwork() 124 String capabilities = scanResult.capabilities; in isScanResultForWpa2Network() local 125 return capabilities.contains("PSK"); in isScanResultForWpa2Network() 132 String capabilities = scanResult.capabilities; in isScanResultForWpa3Network() local 133 return capabilities.contains("SAE"); in isScanResultForWpa3Network()
|
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | TestAppInterface.java | 156 mTestJobState.capabilities = intent.getIntExtra(JOB_CAPABILITIES_KEY, 183 void assertJobUidState(int procState, int capabilities, int oomScoreAdj) { 188 assertEquals("capabilities expected=" + getCapabilitiesSummary(capabilities) 189 + ",actual=" + getCapabilitiesSummary(mTestJobState.capabilities), 190 capabilities, mTestJobState.capabilities); 213 int capabilities; 228 capabilities = ActivityManager.PROCESS_CAPABILITY_NONE;
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | Camera2PermissionTest.java | 127 CameraCharacteristics capabilities = mCameraManager.getCameraCharacteristics(id); in testCameraCharacteristicsNeedingPermission() local 128 assertNotNull("Camera characteristics shouldn't be null", capabilities); in testCameraCharacteristicsNeedingPermission() 129 List<Key<?>> keysNeedingPermission = capabilities.getKeysNeedingPermission(); in testCameraCharacteristicsNeedingPermission() 133 List<Key<?>> keys = capabilities.getKeys(); in testCameraCharacteristicsNeedingPermission() 139 " in camera characteristics", capabilities.get(key)); in testCameraCharacteristicsNeedingPermission()
|
D | FileUtils.java | 106 int[] capabilities); in fileHasOnly() argument
|
/cts/tests/location/location_privileged/src/android/location/cts/privileged/ |
D | GnssMeasurementValuesTest.java | 96 GnssCapabilities capabilities = mTestLocationManager.getLocationManager(). in testListenForGnssMeasurements() local 98 isSatPvtSupported = capabilities.hasSatellitePvt(); in testListenForGnssMeasurements() 99 isCorrVecSupported = capabilities.hasMeasurementCorrelationVectors(); in testListenForGnssMeasurements()
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | EabControllerTest.java | 99 public void onCapabilitiesReceived(List<RcsContactUceCapability> capabilities) { 100 capabilities.forEach(c -> mCapabilityQueue.offer(c)); 554 RcsContactPresenceTuple.ServiceCapabilities capabilities = in verifyCapabilityResult() local 556 assertNotNull("Service capabilities should not be null!", capabilities); in verifyCapabilityResult() 571 assertEquals(expectedAudioSupported, capabilities.isAudioCapable()); in verifyCapabilityResult() 574 assertEquals(expectedVideoSupported, capabilities.isVideoCapable()); in verifyCapabilityResult() 577 assertEquals(expectedSupportedDuplexMode, capabilities.getSupportedDuplexModes().get(0)); in verifyCapabilityResult() 581 capabilities.getUnsupportedDuplexModes().get(0)); in verifyCapabilityResult() 673 String capabilities = getEabCapabilities(formatNumber(getContext(), sTestPhoneNumber)); in waitingEabCapabilityExpire() local 674 String[] capabilityInfo = capabilities.split(","); in waitingEabCapabilityExpire()
|
D | TestMmTelFeature.java | 107 public void setCapabilities(MmTelCapabilities capabilities) { in setCapabilities() argument 108 mCapabilities = capabilities; in setCapabilities()
|
D | RcsUceAdapterTest.java | 435 public void onCapabilitiesReceived(List<RcsContactUceCapability> capabilities) { in testMethodPermissions() 515 public void onCapabilitiesReceived(List<RcsContactUceCapability> capabilities) { in testCapabilitiesRequestAllowed() 516 capabilities.forEach(c -> capabilityQueue.offer(c)); in testCapabilitiesRequestAllowed() 643 public void onCapabilitiesReceived(List<RcsContactUceCapability> capabilities) { in testCapabilitiesRequestWithCmdError() 725 public void onCapabilitiesReceived(List<RcsContactUceCapability> capabilities) { in testCapabilitiesRequestWithResponseError() 951 public void onCapabilitiesReceived(List<RcsContactUceCapability> capabilities) { in testRequestCapabilitiesWithPresenceMechanism() 952 capabilities.forEach(c -> capabilityQueue.offer(c)); in testRequestCapabilitiesWithPresenceMechanism() 1162 public void onCapabilitiesReceived(List<RcsContactUceCapability> capabilities) { in testRequestCapabilitiesFromCacheWithPresenceMechanism() 1163 capabilities.forEach(c -> capabilityQueue.offer(c)); in testRequestCapabilitiesFromCacheWithPresenceMechanism() 1323 public void onCapabilitiesReceived(List<RcsContactUceCapability> capabilities) { in testIndividualRequestCapabilities() [all …]
|
D | TestImsService.java | 319 public void addCapabilities(long capabilities) { in addCapabilities() argument 321 mCapabilities |= capabilities; in addCapabilities()
|
D | ImsServiceTest.java | 1196 RcsImsCapabilities capabilities = in testRcsDeviceCapabilitiesPublish() local 1199 .notifyCapabilitiesStatusChanged(capabilities); in testRcsDeviceCapabilitiesPublish() 1350 RcsImsCapabilities capabilities = in testPublishImsReg() local 1353 .notifyCapabilitiesStatusChanged(capabilities); in testPublishImsReg() 1453 RcsImsCapabilities capabilities = in testPublishWithImsAssociatedUri() local 1456 .notifyCapabilitiesStatusChanged(capabilities); in testPublishWithImsAssociatedUri() 1560 RcsImsCapabilities capabilities = in testRcsCapabilitiesPublishNetworkResponseWithReasonHeader() local 1563 .notifyCapabilitiesStatusChanged(capabilities); in testRcsCapabilitiesPublishNetworkResponseWithReasonHeader() 1692 RcsImsCapabilities capabilities = in testRcsPublishThrottle() local 1695 .notifyCapabilitiesStatusChanged(capabilities); in testRcsPublishThrottle() [all …]
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | CallTest.java | 62 final int capabilities = CAPABILITY_SUPPORTS_VT_LOCAL_RX in testCapabilitiesToString() local 78 Call.Details.capabilitiesToString(capabilities)); in testCapabilitiesToString()
|
D | RemoteConferenceTest.java | 370 … int capabilities = mRemoteConference.getConnectionCapabilities() | Connection.CAPABILITY_MUTE; in testRemoteConferenceCallbacks_ConnectionCapabilities() local 371 mRemoteConference.setConnectionCapabilities(capabilities); in testRemoteConferenceCallbacks_ConnectionCapabilities() 374 assertEquals(capabilities, callbackInvoker.getArgs(0)[1]); in testRemoteConferenceCallbacks_ConnectionCapabilities() 547 int capabilities = connection.getConnectionCapabilities(); in addRemoteConnectionOutgoingCalls() 548 connection.setConnectionCapabilities(capabilities | CONF_CAPABILITIES); in addRemoteConnectionOutgoingCalls() 600 int capabilities = connection.getConnectionCapabilities(); in addRemoteConnectionOutgoingCalls() 601 connection.setConnectionCapabilities(capabilities | CONF_CAPABILITIES); in addRemoteConnectionOutgoingCalls()
|
D | RemoteConnectionTest.java | 328 … int capabilities = mRemoteConnection.getConnectionCapabilities() | Connection.CAPABILITY_MUTE; in testRemoteConnectionCallbacks_ConnectionCapabilities() local 329 mRemoteConnection.setConnectionCapabilities(capabilities); in testRemoteConnectionCallbacks_ConnectionCapabilities() 332 assertEquals(capabilities, callbackInvoker.getArgs(0)[1]); in testRemoteConnectionCallbacks_ConnectionCapabilities() 936 … VideoProfile.CameraCapabilities capabilities = new VideoProfile.CameraCapabilities(100, 200); in testRemoteConnectionVideoCallbacks_CameraCapabilities() local 938 mockVideoProvider.changeCameraCapabilities(capabilities); in testRemoteConnectionVideoCallbacks_CameraCapabilities() 941 assertEquals(capabilities, callbackInvoker.getArgs(0)[1]); in testRemoteConnectionVideoCallbacks_CameraCapabilities() 1015 final VideoProfile.CameraCapabilities capabilities = in testRemoteConnectionVideo_RequestCameraCapabilities() local 1023 super.changeCameraCapabilities(capabilities); in testRemoteConnectionVideo_RequestCameraCapabilities() 1044 assertEquals(capabilities, callbackInvoker.getArgs(1)[1]); in testRemoteConnectionVideo_RequestCameraCapabilities() 1141 final VideoProfile.CameraCapabilities capabilities = in testRemoteConnectionVideo_SetCamera() local [all …]
|
D | ConnectionTest.java | 165 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()
|
D | ConferenceTest.java | 195 int capabilities = mConferenceObject.getConnectionCapabilities() | in testConferenceSetters() local 197 mConferenceObject.setConnectionCapabilities(capabilities); in testConferenceSetters() 522 int capabilities = connection.getConnectionCapabilities(); in addOutgoingCalls() 523 connection.setConnectionCapabilities(capabilities | CONF_CAPABILITIES); in addOutgoingCalls()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/ |
D | SelfManagedIncomingCallTestActivity.java | 179 int capabilities = connection.getConnectionCapabilities(); in onCreate() 180 capabilities &= ~Connection.CAPABILITY_HOLD; in onCreate() 181 connection.setConnectionCapabilities(capabilities); in onCreate()
|
/cts/tests/tests/print/src/android/print/cts/ |
D | PrinterInfoTest.java | 134 for (PrinterCapabilitiesInfo capabilities in createFirstMockPrinterDiscoverySessionCallbacks() 261 b.setCapabilities(capabilities); in createFirstMockPrinterDiscoverySessionCallbacks() 277 != capabilities) { in createFirstMockPrinterDiscoverySessionCallbacks()
|
/cts/tests/translation/src/android/translation/cts/ |
D | CtsTranslationService.java | 135 final HashSet<TranslationCapability> capabilities = new HashSet<>(); in onTranslationCapabilitiesRequest() local 136 capabilities.add(new TranslationCapability(TranslationCapability.STATE_ON_DEVICE, in onTranslationCapabilitiesRequest() 140 callback.accept(capabilities); in onTranslationCapabilitiesRequest()
|
D | TranslationManagerTest.java | 487 final Set<TranslationCapability> capabilities = in testGetTranslationCapabilities() 489 resultRef.set(capabilities); in testGetTranslationCapabilities() 495 final ArraySet<TranslationCapability> capabilities = new ArraySet<>(resultRef.get()); in testGetTranslationCapabilities() local 496 assertThat(capabilities.size()).isEqualTo(1); in testGetTranslationCapabilities() 497 capabilities.forEach((capability) -> { in testGetTranslationCapabilities()
|
/cts/tests/tests/time/src/android/app/time/cts/ |
D | TimeManagerTest.java | 114 TimeZoneCapabilities capabilities = capabilitiesAndConfig.getCapabilities(); in testManageConfiguration() local 124 if (capabilities.getConfigureAutoDetectionEnabledCapability() in testManageConfiguration() 150 if (capabilities.getConfigureGeoDetectionEnabledCapability() in testManageConfiguration()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/vpn/ |
D | VpnTestHelper.java | 179 NetworkCapabilities capabilities = connectivityManager.getNetworkCapabilities(network); in isNetworkVpn() local 180 return capabilities != null && capabilities.hasTransport(NetworkCapabilities.TRANSPORT_VPN); in isNetworkVpn()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | ExtendedCameraCharacteristicsTest.java | 1362 int[] capabilities = c.get(CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES); in testReprocessingCharacteristics() local 1364 capabilities); in testReprocessingCharacteristics() 1365 boolean supportYUV = arrayContains(capabilities, in testReprocessingCharacteristics() 1367 boolean supportOpaque = arrayContains(capabilities, in testReprocessingCharacteristics() 1379 boolean isMonochromeWithY8 = arrayContains(capabilities, MONOCHROME) in testReprocessingCharacteristics() 1490 int[] capabilities = c.get(CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES); in testUltraHighResolutionSensorCharacteristics() local 1492 capabilities); in testUltraHighResolutionSensorCharacteristics() 1493 boolean isUltraHighResolutionSensor = arrayContains(capabilities, in testUltraHighResolutionSensorCharacteristics() 1496 boolean supportsRemosaic = arrayContains(capabilities, in testUltraHighResolutionSensorCharacteristics() 1506 " must also have the RAW capability", cameraId), capabilities, in testUltraHighResolutionSensorCharacteristics() [all …]
|
/cts/tests/MediaProviderTranscode/src/android/mediaprovidertranscode/cts/ |
D | TranscodeTest.java | 503 ApplicationMediaCapabilities capabilities = in testExtraMediaCapabilitiesHevcSupportedTrue_ContentResolver() local 506 bundle.putParcelable(MediaStore.EXTRA_MEDIA_CAPABILITIES, capabilities); in testExtraMediaCapabilitiesHevcSupportedTrue_ContentResolver() 526 ApplicationMediaCapabilities capabilities = in testExtraMediaCapabilitiesHevcUnsupportedFalse_ContentResolver() local 529 bundle.putParcelable(MediaStore.EXTRA_MEDIA_CAPABILITIES, capabilities); in testExtraMediaCapabilitiesHevcUnsupportedFalse_ContentResolver() 549 ApplicationMediaCapabilities capabilities = in testExtraMediaCapabilitiesHevcUnspecifiedFalse_ContentResolver() local 551 bundle.putParcelable(MediaStore.EXTRA_MEDIA_CAPABILITIES, capabilities); in testExtraMediaCapabilitiesHevcUnspecifiedFalse_ContentResolver() 572 ApplicationMediaCapabilities capabilities = in testExtraAcceptOriginalTrueAndMediaCapabilitiesHevcFalse_ContentResolver() local 574 bundle.putParcelable(MediaStore.EXTRA_MEDIA_CAPABILITIES, capabilities); in testExtraAcceptOriginalTrueAndMediaCapabilitiesHevcFalse_ContentResolver()
|
/cts/libs/input/src/com/android/cts/input/ |
D | InputJsonParser.java | 734 int capabilities = 0; in lightCapabilityFromString() local 740 capabilities |= Light.LIGHT_CAPABILITY_BRIGHTNESS; in lightCapabilityFromString() 743 capabilities |= Light.LIGHT_CAPABILITY_RGB; in lightCapabilityFromString() 751 return capabilities; in lightCapabilityFromString()
|
/cts/hostsidetests/appsecurity/res/pkgsigverify/ |
D | README.md | 23 capabilities of those certificates according to APK Signature Scheme v3.
|