/cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/ |
D | ApplicationMediaCapabilitiesTest.java | 47 ApplicationMediaCapabilities capability = in testSetSupportHevc() local 50 assertTrue(capability.isVideoMimeTypeSupported(MediaFormat.MIMETYPE_VIDEO_HEVC)); in testSetSupportHevc() 54 ApplicationMediaCapabilities capability = in testSetUnsupportVideoMime() local 57 assertFalse(capability.isVideoMimeTypeSupported(MediaFormat.MIMETYPE_VIDEO_HEVC)); in testSetUnsupportVideoMime() 61 ApplicationMediaCapabilities capability = in testSetSupportHdr() local 65 assertTrue(capability.isHdrTypeSupported(MediaFeature.HdrType.HDR10_PLUS)); in testSetSupportHdr() 69 ApplicationMediaCapabilities capability = in testSetUnsupportHdr() local 73 assertFalse(capability.isHdrTypeSupported(MediaFeature.HdrType.HDR10_PLUS)); in testSetUnsupportHdr() 79 ApplicationMediaCapabilities capability = in testSupportHdrWithoutSupportHevc() 88 ApplicationMediaCapabilities capability = in testBuilder() local [all …]
|
/cts/tests/translation/src/android/translation/cts/unittests/ |
D | TranslationCapabilityTest.java | 56 final TranslationCapability capability = in testCapability_validCapability() local 61 assertThat(capability.getState()) in testCapability_validCapability() 63 assertThat(capability.getSupportedTranslationFlags()) in testCapability_validCapability() 65 assertThat(capability.isUiTranslationEnabled()).isTrue(); in testCapability_validCapability() 67 assertThat(capability.getSourceSpec().getLocale()).isEqualTo(ULocale.ENGLISH); in testCapability_validCapability() 68 assertThat(capability.getSourceSpec().getDataFormat()) in testCapability_validCapability() 71 assertThat(capability.getTargetSpec().getLocale()).isEqualTo(ULocale.FRENCH); in testCapability_validCapability() 72 assertThat(capability.getTargetSpec().getDataFormat()) in testCapability_validCapability() 78 final TranslationCapability capability = in testParceledCapability() local 83 assertThat(capability.getState()) in testParceledCapability() [all …]
|
/cts/tests/app/src/android/app/cts/android/app/cts/tools/ |
D | WatchUidRunner.java | 173 public void waitFor(int cmd, String procState, Integer capability) { in waitFor() argument 174 waitFor(cmd, procState, capability, mDefaultWaitTime); in waitFor() 181 public void waitFor(int cmd, String procState, Integer capability, long timeout) { in waitFor() argument 182 Log.i(TAG, "waitFor(cmd=" + cmd + ", procState=" + procState + ", capability=" + capability in waitFor() 186 String[] line = waitForNextLine(waitUntil, cmd, procState, capability); in waitFor() 188 if (procState == null && capability == null) { in waitFor() 193 if (procState != null && capability != null) { in waitFor() 194 if (procState.equals(line[2]) && capability.toString().equals(line[6])) { in waitFor() 203 } else if (capability != null) { in waitFor() 204 if (capability.toString().equals(line[6])) { in waitFor() [all …]
|
/cts/tests/tests/telephony5/src/android/telephony5/cts/ |
D | TelephonyManagerReadNonDangerousPermissionTest.java | 108 for (int capability : premiumCapabilities) { in testPremiumCapabilities() 111 capability, mContext.getMainExecutor(), purchaseRequests::offer); in testPremiumCapabilities() 113 if (mTelephonyManager.isPremiumCapabilityAvailableForPurchase(capability)) { in testPremiumCapabilities() 119 capability, mContext.getMainExecutor(), purchaseRequests::offer); in testPremiumCapabilities()
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | RcsUceAdapterTest.java | 1499 for (RcsContactUceCapability capability : capabilityQueue) { in testIndividualRequestCapabilities() 1500 Uri contact = capability.getContactUri(); in testIndividualRequestCapabilities() 1502 verifyCapabilityResult(capability, contact1, SOURCE_TYPE_NETWORK, in testIndividualRequestCapabilities() 1505 verifyCapabilityResult(capability, contact2, SOURCE_TYPE_NETWORK, in testIndividualRequestCapabilities() 1508 verifyCapabilityResult(capability, contact3, SOURCE_TYPE_NETWORK, in testIndividualRequestCapabilities() 1552 for (RcsContactUceCapability capability : capabilityQueue) { in testIndividualRequestCapabilities() 1553 Uri contact = capability.getContactUri(); in testIndividualRequestCapabilities() 1555 verifyCapabilityResult(capability, contact1, SOURCE_TYPE_NETWORK, in testIndividualRequestCapabilities() 1558 verifyCapabilityResult(capability, contact2, SOURCE_TYPE_NETWORK, in testIndividualRequestCapabilities() 1561 verifyCapabilityResult(capability, contact3, SOURCE_TYPE_NETWORK, in testIndividualRequestCapabilities() [all …]
|
D | TestRcsFeature.java | 161 public boolean queryCapabilityConfiguration(int capability, int radioTech) { in queryCapabilityConfiguration() argument 163 Log.d(TAG, "TestRcsFeature.queryCapabilityConfiguration capability: " + capability); in queryCapabilityConfiguration() 166 return mRcsCapabilitiesLte.isCapable(capability); in queryCapabilityConfiguration() 168 return mRcsCapabilitiesIWan.isCapable(capability); in queryCapabilityConfiguration()
|
D | EabControllerTest.java | 246 RcsContactUceCapability capability = requestCapabilities(contacts); in testRequestCapabilities() local 249 verifyCapabilityResult(capability, in testRequestCapabilities() 284 RcsContactUceCapability capability = requestAvailability(sTestNumberUri); in testRequestAvailabilities() local 287 verifyCapabilityResult(capability, in testRequestAvailabilities() 331 RcsContactUceCapability capability = requestCapabilities(contacts); in testRequestExpiredCapabilities() local 334 verifyCapabilityResult(capability, in testRequestExpiredCapabilities() 377 RcsContactUceCapability capability = requestAvailability(sTestNumberUri); in testRequestExpiredAvailabilities() local 380 verifyCapabilityResult(capability, in testRequestExpiredAvailabilities()
|
D | TestMmTelFeature.java | 103 public boolean queryCapabilityConfiguration(int capability, int radioTech) { in queryCapabilityConfiguration() argument 105 Log.d(TAG, "queryCapabilityConfiguration called with capability: " + capability); in queryCapabilityConfiguration() 107 return mCapabilities.isCapable(capability); in queryCapabilityConfiguration()
|
D | ImsServiceTest.java | 3940 @MmTelFeature.MmTelCapabilities.MmTelCapability int capability, in testProvisioningManagerWhenMmtelProvisionIsRequired() 3943 mOnFeatureChangedQueue.offer(new Pair<>(capability, in testProvisioningManagerWhenMmtelProvisionIsRequired() 3949 @RcsFeature.RcsImsCapabilities.RcsImsCapabilityFlag int capability, in testProvisioningManagerWhenMmtelProvisionIsRequired() 4136 @MmTelFeature.MmTelCapabilities.MmTelCapability int capability, in testProvisioningManagerWhenMmtelProvisionIsNotRequired() 4143 @RcsFeature.RcsImsCapabilities.RcsImsCapabilityFlag int capability, in testProvisioningManagerWhenMmtelProvisionIsNotRequired() 4242 @MmTelFeature.MmTelCapabilities.MmTelCapability int capability, in testInitialNotificationForMmTelWhenCallbackRegistered() 4245 mOnFeatureChangedQueue.offer(new Pair<>(capability, in testInitialNotificationForMmTelWhenCallbackRegistered() 4251 @RcsFeature.RcsImsCapabilities.RcsImsCapabilityFlag int capability, in testInitialNotificationForMmTelWhenCallbackRegistered() 4337 @MmTelFeature.MmTelCapabilities.MmTelCapability int capability, in testInitialNotificationForMmTelWhenImsServiceConnected() 4340 mOnFeatureChangedQueue.offer(new Pair<>(capability, in testInitialNotificationForMmTelWhenImsServiceConnected() [all …]
|
/cts/tests/tests/media/common/src/android/media/cts/ |
D | MediaCodecAsyncHelper.java | 93 String capability = MediaCodecInfo.CodecCapabilities.FEATURE_AdaptivePlayback; in getDecoderForType() local 95 capability = MediaCodecInfo.CodecCapabilities.FEATURE_SecurePlayback; in getDecoderForType() 101 capability)) { in getDecoderForType()
|
/cts/tests/translation/src/android/translation/cts/ |
D | TranslationManagerTest.java | 151 final Consumer<TranslationCapability> updateListener = capability -> { in testTranslationCapabilityUpdateListener() 152 Log.w(TAG, "text2textListener called. capability = " + capability); in testTranslationCapabilityUpdateListener() 153 resultRef.set(capability); in testTranslationCapabilityUpdateListener() 468 capabilities.forEach((capability) -> { in testGetTranslationCapabilities() argument 469 assertThat(capability.getState()).isEqualTo(TranslationCapability.STATE_ON_DEVICE); in testGetTranslationCapabilities() 471 assertThat(capability.getSupportedTranslationFlags()).isEqualTo(0); in testGetTranslationCapabilities() 472 assertThat(capability.isUiTranslationEnabled()).isTrue(); in testGetTranslationCapabilities() 473 assertThat(capability.getSourceSpec().getLocale()).isEqualTo(ULocale.ENGLISH); in testGetTranslationCapabilities() 474 assertThat(capability.getSourceSpec().getDataFormat()).isEqualTo(DATA_FORMAT_TEXT); in testGetTranslationCapabilities() 475 assertThat(capability.getTargetSpec().getLocale()).isEqualTo(ULocale.FRENCH); in testGetTranslationCapabilities() [all …]
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | StaticMetadataTest.java | 193 for (Integer capability = REQUEST_AVAILABLE_CAPABILITIES_BACKWARD_COMPATIBLE; in testCapabilities() 194 capability <= StaticMetadata.LAST_CAPABILITY_ENUM; capability++) { in testCapabilities() 195 boolean isCapabilityAvailable = availableCaps.contains(capability); in testCapabilities() 196 validateCapability(capability, isCapabilityAvailable); in testCapabilities() 298 private void validateCapability(Integer capability, boolean isCapabilityAvailable) { in validateCapability() argument 308 switch (capability) { in validateCapability() 479 assertTrue(String.format("Unknown capability set: %d", capability), in validateCapability()
|
D | SimpleObjectsTest.java | 150 Capability capability = new Capability(/*mode*/ 0, /*maxStreamingSize*/ new Size(128, 128), in capabilityConstructionTest() local 154 capability = new Capability(/*mode*/ 0, /*maxStreamingSize*/ new Size(-1, 128), in capabilityConstructionTest() 163 capability = new Capability(/*mode*/ 0, /*maxStreamingSize*/ new Size(128, -1), in capabilityConstructionTest() 172 capability = new Capability(/*mode*/ 0, /*maxStreamingSize*/ new Size(128, 128), in capabilityConstructionTest() 181 capability = new Capability(/*mode*/ 0, /*maxStreamingSize*/ new Size(128, 128), in capabilityConstructionTest()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsUtils.java | 392 for (int capability : actualCapabilities) { in getItsCompatibleCameraIds() 393 if (capability == BACKWARD_COMPAT) { in getItsCompatibleCameraIds() 396 if (capability == LOGICAL_MULTI_CAMERA) { in getItsCompatibleCameraIds() 436 for (int capability : physicalActualCapabilities) { in getItsCompatibleCameraIds() 437 if (capability == BACKWARD_COMPAT) { in getItsCompatibleCameraIds()
|
/cts/tests/tests/telephony/current/mockmodem/src/android/telephony/mockmodem/ |
D | MockDataService.java | 434 public synchronized boolean isSupportedCapability(String capability) { in isSupportedCapability() argument 436 Log.d(mTag, "Supported Capability:" + cap + ", Requested Capability:" + capability); in isSupportedCapability() 437 if (cap.contains(capability)) { in isSupportedCapability()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | ConferenceTest.java | 584 private void assertCallCapability(final Call call, final int capability) { in assertCallCapability() argument 594 return call.getDetails().can(capability); in assertCallCapability() 598 "Call should have capability " + capability in assertCallCapability()
|
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/ |
D | InputHidTestCase.java | 167 protected InputDevice getInputDevice(Capability capability) { in getInputDevice() argument 175 && capability.check(inputDevice)) { in getInputDevice()
|
/cts/tests/app/src/android/app/cts/ |
D | SystemFeaturesTest.java | 181 for (int capability : capabilities) { in checkCamera2Features() 182 switch (capability) { in checkCamera2Features()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | SubscriptionManagerTest.java | 1490 for (int capability : capabilities) { in testSubscriptionInfo_getServiceCapabilities() 1491 assertTrue(isValidServiceCapability(capability)); in testSubscriptionInfo_getServiceCapabilities() 1544 private boolean isValidServiceCapability(int capability) { in isValidServiceCapability() argument 1545 return capability >= SubscriptionManager.SERVICE_CAPABILITY_VOICE in isValidServiceCapability() 1546 && capability <= SubscriptionManager.SERVICE_CAPABILITY_MAX; in isValidServiceCapability()
|
/cts/tests/tests/wifi/src/android/net/wifi/mockwifi/cts/ |
D | MockWifiTest.java | 372 scanResult.capability = testCapability; in getMockNativeResults()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | StaticMetadata.java | 2282 public boolean isCapabilitySupported(int capability) { in isCapabilitySupported() argument 2283 if (capability < 0) { in isCapabilitySupported() 2289 return availableCapabilities.contains(capability); in isCapabilitySupported()
|
/cts/hostsidetests/appsecurity/test-apps/tinyapp/ |
D | Android.bp | 388 // key in the lineage that is still granted the permission capability is sufficient 410 // lineages retains its capability from the package declaring the signature permission.
|
/cts/tests/mediapc/requirements/ |
D | requirements.txtpb | 1242 …specification: "MUST support at least 12 channel mixing. This implies the capability to open an Au… 1531 description: "- RAW capability" 1668 …specification: "MUST support LOGICAL_MULTI_CAMERA capability for the primary cameras if there are … 1693 …specification: "MUST support STREAM_14SE_CASE capability for both primary front and primary back c… 1736 specification: "MUST support DYNAMIC_RANGE_TEN_BIT capability for the primary cameras."
|
/cts/tests/tests/wifi/src/android/net/wifi/cts/ |
D | WifiManagerTest.java | 1116 private List<Integer> getSupportedSoftApBand(SoftApCapability capability) { in getSupportedSoftApBand() argument 1118 if (sWifiManager.is24GHzBandSupported() && capability.areFeaturesSupported( in getSupportedSoftApBand() 1122 if (sWifiManager.is5GHzBandSupported() && capability.areFeaturesSupported( in getSupportedSoftApBand() 1126 if (sWifiManager.is6GHzBandSupported() && capability.areFeaturesSupported( in getSupportedSoftApBand() 1130 if (sWifiManager.is60GHzBandSupported() && capability.areFeaturesSupported( in getSupportedSoftApBand() 2864 private boolean shouldFallbackToSingleAp(int[] bands, SoftApCapability capability) { in shouldFallbackToSingleAp() argument 2866 if (capability.getSupportedChannelList(band).length == 0) { in shouldFallbackToSingleAp() 2873 private SparseIntArray getAvailableBandAndChannelForTesting(SoftApCapability capability) { in getAvailableBandAndChannelForTesting() argument 2882 int[] supportedList = capability.getSupportedChannelList(band); in getAvailableBandAndChannelForTesting()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 1345 public static boolean hasCapability(CameraCharacteristics characteristics, int capability) { in hasCapability() argument 1349 if (c == capability) { in hasCapability()
|