/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/tests/telephony/current/mockmodem/src/android/telephony/mockmodem/ |
D | MockCentralizedNetworkAgent.java | 99 String capabilities = getCapabilities(str); in storeDataCall() local 100 if (capabilities.contains("INTERNET")) { in storeDataCall() 106 } else if (capabilities.contains("IMS")) { in storeDataCall() 130 String capabilities = ""; in getCapabilities() local 132 capabilities = string.trim().split("Capabilities:")[1].split("LinkUpBandwidth")[0]; in getCapabilities() 133 Log.d(TAG, "getCapabilities: " + capabilities); in getCapabilities() 137 return capabilities; in getCapabilities()
|
D | MockDataService.java | 370 String capabilities = ""; in getCapabilities() local 372 capabilities = string.trim().split("Capabilities:")[1].split("LinkUpBandwidth")[0]; in getCapabilities() 373 Log.d(mTag, "getCapabilities: " + capabilities); in getCapabilities() 377 return capabilities; in getCapabilities() 402 String capabilities = getCapabilities(str); in setBridgeTheDataConnection() local 403 if (capabilities.contains("INTERNET")) { in setBridgeTheDataConnection() 413 } else if (capabilities.contains("IMS")) { in setBridgeTheDataConnection()
|
/cts/tests/tests/time/src/android/app/time/cts/ |
D | TimeManagerTest.java | 141 TimeZoneCapabilities capabilities = capabilitiesAndConfig.getCapabilities(); in testManageTimeZoneConfiguration() local 151 if (capabilities.getConfigureAutoDetectionEnabledCapability() in testManageTimeZoneConfiguration() 180 if (capabilities.getConfigureGeoDetectionEnabledCapability() in testManageTimeZoneConfiguration() 217 TimeCapabilities capabilities = capabilitiesAndConfig.getCapabilities(); in testManageTimeConfiguration() local 224 if (capabilities.getConfigureAutoDetectionEnabledCapability() in testManageTimeConfiguration() 473 TimeCapabilities capabilities = timeCapabilitiesAndConfig.getCapabilities(); in testSetManualTime() local 490 if (capabilities.getSetManualTimeCapability() == CAPABILITY_POSSESSED) { in testSetManualTime() 493 } else if (capabilities.getSetManualTimeCapability() == CAPABILITY_NOT_APPLICABLE) { in testSetManualTime() 504 + capabilities.getSetManualTimeCapability()); in testSetManualTime() 551 TimeZoneCapabilities capabilities = timeZoneCapabilitiesAndConfig.getCapabilities(); in testSetManualTimeZone() local [all …]
|
/cts/tests/tests/telephony/current/TestExternalImsServiceApp/src/android/telephony/cts/externalimsservice/ |
D | TestExternalImsService.java | 77 public void addCapabilities(long capabilities) { in addCapabilities() argument 78 TestExternalImsService.this.addCapabilities(capabilities); in addCapabilities()
|
/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 | RcsUceAdapterTest.java | 447 public void onCapabilitiesReceived(List<RcsContactUceCapability> capabilities) { in testMethodPermissions() 524 public void onCapabilitiesReceived(List<RcsContactUceCapability> capabilities) { in testCapabilitiesRequestAllowed() 525 capabilities.forEach(c -> capabilityQueue.offer(c)); in testCapabilitiesRequestAllowed() 659 public void onCapabilitiesReceived(List<RcsContactUceCapability> capabilities) { in testCapabilitiesRequestWithCmdError() 754 public void onCapabilitiesReceived(List<RcsContactUceCapability> capabilities) { in testCapabilitiesRequestRetry() 828 public void onCapabilitiesReceived(List<RcsContactUceCapability> capabilities) { in testCapabilitiesRequestWithResponseError() 1054 public void onCapabilitiesReceived(List<RcsContactUceCapability> capabilities) { in testRequestCapabilitiesWithPresenceMechanism() 1055 capabilities.forEach(c -> capabilityQueue.offer(c)); in testRequestCapabilitiesWithPresenceMechanism() 1225 public void onCapabilitiesReceived(List<RcsContactUceCapability> capabilities) { in testCacheQuerySuccessWhenNetworkBlocked() 1226 capabilities.forEach(capabilityQueue::offer); in testCacheQuerySuccessWhenNetworkBlocked() [all …]
|
D | ImsCallingBase.java | 317 MmTelCapabilities capabilities = in bindImsService() local 320 bindImsServiceForCapabilities(radioTech, capabilities); in bindImsService() 323 public void bindImsServiceForCapabilities(int radioTech, MmTelCapabilities capabilities) in bindImsServiceForCapabilities() argument 352 sServiceConnector.getCarrierService().getMmTelFeature().setCapabilities(capabilities); in bindImsServiceForCapabilities() 356 .notifyCapabilitiesStatusChanged(capabilities); in bindImsServiceForCapabilities()
|
/cts/tests/location/location_privileged/src/android/location/cts/privileged/ |
D | GnssMeasurementValuesTest.java | 98 GnssCapabilities capabilities = mTestLocationManager.getLocationManager(). in testListenForGnssMeasurements() local 100 isSatPvtSupported = capabilities.hasSatellitePvt(); in testListenForGnssMeasurements() 101 isCorrVecSupported = capabilities.hasMeasurementCorrelationVectors(); in testListenForGnssMeasurements()
|
/cts/tests/tests/telecom/src/android/telecom/cts/selfmanagedcstestapp/ |
D | ConnectionServiceCallController.java | 167 int capabilities = mConnection.getConnectionCapabilities(); in setConnectionCapabilityNoHold() local 168 capabilities &= ~Connection.CAPABILITY_HOLD; in setConnectionCapabilityNoHold() 169 mConnection.setConnectionCapabilities(capabilities); in setConnectionCapabilityNoHold()
|
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | TestAppInterface.java | 387 jobState.capabilities = intent.getIntExtra(JOB_CAPABILITIES_KEY, 448 void assertJobUidState(int procState, int capabilities, int oomScoreAdj) { 457 assertEquals("capabilities expected=" + getCapabilitiesSummary(capabilities) 458 + ",actual=" + getCapabilitiesSummary(jobState.capabilities), 459 capabilities, jobState.capabilities); 496 int capabilities; 511 capabilities = ActivityManager.PROCESS_CAPABILITY_NONE;
|
/cts/tests/tests/telephony/current/TestExternalImsServiceApp/aidl/android/telephony/cts/externalimsservice/ |
D | ITestExternalImsService.aidl | 36 void addCapabilities(long capabilities); in addCapabilities() argument
|
/cts/tests/translation/src/android/translation/cts/ |
D | TranslationManagerTest.java | 458 final Set<TranslationCapability> capabilities = in testGetTranslationCapabilities() 460 resultRef.set(capabilities); in testGetTranslationCapabilities() 466 final ArraySet<TranslationCapability> capabilities = new ArraySet<>(resultRef.get()); in testGetTranslationCapabilities() local 467 assertThat(capabilities.size()).isEqualTo(1); in testGetTranslationCapabilities() 468 capabilities.forEach((capability) -> { in testGetTranslationCapabilities() 490 final Set<TranslationCapability> capabilities = in testGetTranslationCapabilitiesWithBadService() 492 resultRef.set(capabilities); in testGetTranslationCapabilitiesWithBadService() 500 final ArraySet<TranslationCapability> capabilities = new ArraySet<>(resultRef.get()); in testGetTranslationCapabilitiesWithBadService() local 501 assertThat(capabilities.size()).isEqualTo(0); in testGetTranslationCapabilitiesWithBadService()
|
D | CtsTranslationService.java | 166 final HashSet<TranslationCapability> capabilities = new HashSet<>(); in onTranslationCapabilitiesRequest() local 167 capabilities.add(new TranslationCapability(TranslationCapability.STATE_ON_DEVICE, in onTranslationCapabilitiesRequest() 171 callback.accept(capabilities); in onTranslationCapabilitiesRequest()
|
/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/tests/telephony/current/src/android/telephony/satellite/cts/ |
D | CarrierRoamingSatelliteTestBase.java | 157 MmTelFeature.MmTelCapabilities capabilities = new MmTelFeature.MmTelCapabilities( in beforeAllTestBaseForIms() local 160 sServiceConnector.getCarrierService().getMmTelFeature().setCapabilities(capabilities); in beforeAllTestBaseForIms() 166 .notifyCapabilitiesStatusChanged(capabilities); in beforeAllTestBaseForIms() 180 MmTelFeature.MmTelCapabilities capabilities = new MmTelFeature.MmTelCapabilities( in afterAllTestBaseForIms() local 183 capabilities); in afterAllTestBaseForIms()
|
D | MockSatelliteService.java | 293 SatelliteCapabilities capabilities = new SatelliteCapabilities(); in requestSatelliteCapabilities() local 294 capabilities.supportedRadioTechnologies = mSupportedRadioTechnologies; in requestSatelliteCapabilities() 295 capabilities.isPointingRequired = POINTING_TO_SATELLITE_REQUIRED; in requestSatelliteCapabilities() 296 capabilities.maxBytesPerOutgoingDatagram = MAX_BYTES_PER_DATAGRAM; in requestSatelliteCapabilities() 297 capabilities.antennaPositionKeys = ANTENNA_POSITION_KEYS; in requestSatelliteCapabilities() 298 capabilities.antennaPositionValues = ANTENNA_POSITION_VALUES; in requestSatelliteCapabilities() 299 runWithExecutor(() -> callback.accept(capabilities)); in requestSatelliteCapabilities()
|
/cts/tests/tests/vcn/src/android/net/vcn/cts/ |
D | VcnManagerTest.java | 333 final Set<Integer> capabilities = new HashSet<>(); in createTestNetworkWrapperForPolicyTest() local 334 capabilities.add(NET_CAPABILITY_CBS); in createTestNetworkWrapperForPolicyTest() 336 capabilities.add(NET_CAPABILITY_NOT_RESTRICTED); in createTestNetworkWrapperForPolicyTest() 339 return createTestNetworkWrapper(subId, LOCAL_ADDRESS, capabilities); in createTestNetworkWrapperForPolicyTest() 627 int subId, InetAddress localAddress, Set<Integer> capabilities) throws Exception { in createTestNetworkWrapper() argument 632 capabilities, in createTestNetworkWrapper() 641 final Set<Integer> capabilities = new HashSet<>(); in createTestNetworkWrapper() local 642 capabilities.add(NET_CAPABILITY_CBS); in createTestNetworkWrapper() 644 capabilities.add(NET_CAPABILITY_NOT_METERED); in createTestNetworkWrapper() 647 return createTestNetworkWrapper(subId, localAddress, capabilities); in createTestNetworkWrapper() [all …]
|
D | TestNetworkWrapper.java | 106 @NonNull Set<Integer> capabilities, in TestNetworkWrapper() argument 133 createNetworkCapabilitiesForIface(iface, capabilities, subIds); in TestNetworkWrapper() 158 @NonNull String iface, Set<Integer> capabilities, Set<Integer> subIds) { in createNetworkCapabilitiesForIface() argument 166 for (int cap : capabilities) { in createNetworkCapabilitiesForIface()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/ |
D | SelfManagedIncomingCallTestActivity.java | 193 int capabilities = connection.getConnectionCapabilities(); in onCreate() 194 capabilities &= ~Connection.CAPABILITY_HOLD; in onCreate() 195 connection.setConnectionCapabilities(capabilities); in onCreate()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | RemoteConferenceTest.java | 379 … int capabilities = mRemoteConference.getConnectionCapabilities() | Connection.CAPABILITY_MUTE; in testRemoteConferenceCallbacks_ConnectionCapabilities() local 380 mRemoteConference.setConnectionCapabilities(capabilities); in testRemoteConferenceCallbacks_ConnectionCapabilities() 383 assertEquals(capabilities, callbackInvoker.getArgs(0)[1]); in testRemoteConferenceCallbacks_ConnectionCapabilities() 556 int capabilities = connection.getConnectionCapabilities(); in addRemoteConnectionOutgoingCalls() 557 connection.setConnectionCapabilities(capabilities | CONF_CAPABILITIES); in addRemoteConnectionOutgoingCalls() 609 int capabilities = connection.getConnectionCapabilities(); in addRemoteConnectionOutgoingCalls() 610 connection.setConnectionCapabilities(capabilities | CONF_CAPABILITIES); in addRemoteConnectionOutgoingCalls()
|
D | CallTest.java | 65 final int capabilities = CAPABILITY_SUPPORTS_VT_LOCAL_RX in testCapabilitiesToString() local 81 Call.Details.capabilitiesToString(capabilities)); in testCapabilitiesToString()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | ExtendedCameraCharacteristicsTest.java | 1589 int[] capabilities = c.get(CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES); in testReprocessingCharacteristics() local 1591 capabilities); in testReprocessingCharacteristics() 1592 boolean supportYUV = arrayContains(capabilities, in testReprocessingCharacteristics() 1594 boolean supportOpaque = arrayContains(capabilities, in testReprocessingCharacteristics() 1606 boolean isMonochromeWithY8 = arrayContains(capabilities, MONOCHROME) in testReprocessingCharacteristics() 1718 int[] capabilities = c.get(CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES); in testUltraHighResolutionSensorCharacteristics() local 1720 capabilities); in testUltraHighResolutionSensorCharacteristics() 1721 boolean isUltraHighResolutionSensor = arrayContains(capabilities, in testUltraHighResolutionSensorCharacteristics() 1724 boolean supportsRemosaic = arrayContains(capabilities, in testUltraHighResolutionSensorCharacteristics() 1767 " must also have the RAW capability", cameraId), capabilities, in testUltraHighResolutionSensorCharacteristics() [all …]
|
/cts/hostsidetests/appsecurity/test-apps/tinyapp/ |
D | Android.bp | 86 // a rotated key and one signer in the lineage with default capabilities. 103 // capabilities. 119 // a rotated key and part of a shareduid. The capabilities of this lineage 160 // a rotated key and part of a shareduid. The capabilities of this lineage 178 // a rotated key and part of a shareduid. The capabilities of this lineage 181 // lineages retain their own declared capabilities. 200 // capabilities granted; the lineage for this package prevents an app signed 218 // with a rotated key and part of a sharedUid. The capabilities of this lineage 236 // with a rotated key and part of a sharedUid. The capabilities of this lineage 309 // with a rotated key and part of a sharedUid. The capabilities of this lineage [all …]
|
/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()
|