/cts/hostsidetests/monkey/src/com/android/cts/monkey/ |
D | VerbosityTest.java | 23 assertTrue(v0.contains("Events injected")); in testVerbosity() 24 assertFalse(v0.contains("Sending Touch")); in testVerbosity() 25 assertFalse(v0.contains("Sending Trackball")); in testVerbosity() 26 assertFalse(v0.contains("Switch")); in testVerbosity() 27 assertFalse(v0.contains("Sleeping")); in testVerbosity() 30 assertTrue(v1.contains("Events injected")); in testVerbosity() 31 assertTrue(v1.contains("Sending Touch")); in testVerbosity() 32 assertTrue(v1.contains("Sending Trackball")); in testVerbosity() 33 assertTrue(v1.contains("Switch")); in testVerbosity() 34 assertFalse(v1.contains("Sleeping")); in testVerbosity() [all …]
|
D | CategoryTest.java | 33 assertTrue(out.contains("cmp=com.android.cts.monkey/.MonkeyActivity")); in testDefaultCategories() 34 assertTrue(out.contains("cmp=com.android.cts.monkey/.BaboonActivity")); in testDefaultCategories() 49 assertTrue(out.contains("cmp=com.android.cts.monkey/.MonkeyActivity")); in testSingleCategory() 50 assertFalse(out.contains("cmp=com.android.cts.monkey/.BaboonActivity")); in testSingleCategory() 63 assertFalse(out.contains("cmp=com.android.cts.monkey/.MonkeyActivity")); in testSingleCategory() 64 assertTrue(out.contains("cmp=com.android.cts.monkey/.BaboonActivity")); in testSingleCategory() 80 assertTrue(out.contains("cmp=com.android.cts.monkey/.MonkeyActivity")); in testMultipleCategories() 81 assertTrue(out.contains("cmp=com.android.cts.monkey/.BaboonActivity")); in testMultipleCategories()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | CookieTest.java | 80 assertTrue(cookie.contains("a=b;")); in testDomain() 81 assertTrue(cookie.contains("c=d")); in testDomain() 91 assertTrue(cookie.contains("a=b")); in testDomain() 92 assertTrue(cookie.contains("c=d")); in testDomain() 93 assertTrue(cookie.contains("e=f")); in testDomain() 96 assertTrue(cookie.contains("c=d")); in testDomain() 97 assertTrue(cookie.contains("e=f")); in testDomain() 118 assertTrue(cookie.contains("a=1")); in testSubDomain() 119 assertTrue(cookie.contains("b=2")); in testSubDomain() 120 assertTrue(cookie.contains("c=3")); in testSubDomain() [all …]
|
D | CookieManagerTest.java | 171 return mCookieManager.getCookie(url).contains(cookie); in testSetCookieNullCallback() 207 assertTrue(allCookies.contains(sessionCookie)); in testRemoveCookies() 208 assertTrue(allCookies.contains(longCookie)); in testRemoveCookies() 209 assertTrue(allCookies.contains(quickCookie)); in testRemoveCookies() 213 assertFalse(allCookies.contains(sessionCookie)); in testRemoveCookies() 214 assertTrue(allCookies.contains(longCookie)); in testRemoveCookies() 215 assertTrue(allCookies.contains(quickCookie)); in testRemoveCookies() 220 assertFalse(allCookies.contains(sessionCookie)); in testRemoveCookies() 221 assertTrue(allCookies.contains(longCookie)); in testRemoveCookies() 222 assertFalse(allCookies.contains(quickCookie)); in testRemoveCookies() [all …]
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaFormatTest.java | 279 assertTrue(keySet.contains(key)); in testSingleKeyRemoval() 285 assertFalse(keySet.contains(key)); in testSingleKeyRemoval() 311 assertTrue(keySet.contains("int")); in testKeySetContainsAndRemove() 312 assertTrue(keySet.contains("long")); in testKeySetContainsAndRemove() 313 assertTrue(keySet.contains("float")); in testKeySetContainsAndRemove() 314 assertFalse(keySet.contains("string")); in testKeySetContainsAndRemove() 322 assertTrue(keySet.contains("int")); in testKeySetContainsAndRemove() 323 assertTrue(keySet.contains("long")); in testKeySetContainsAndRemove() 324 assertTrue(keySet.contains("float")); in testKeySetContainsAndRemove() 325 assertTrue(keySet.contains("string")); in testKeySetContainsAndRemove() [all …]
|
D | MediaCodecListTest.java | 519 assertTrue(supportedTypes.contains(MediaFormat.MIMETYPE_VIDEO_MPEG2) in testMediaTypeInCodecNamesIsMeaningful() 520 || supportedTypes.contains(MediaFormat.MIMETYPE_AUDIO_MPEG + "-L2")); in testMediaTypeInCodecNamesIsMeaningful() 523 assertTrue(supportedTypes.contains(MediaFormat.MIMETYPE_VIDEO_H263)); in testMediaTypeInCodecNamesIsMeaningful() 526 assertTrue(supportedTypes.contains(MediaFormat.MIMETYPE_VIDEO_MPEG4)); in testMediaTypeInCodecNamesIsMeaningful() 529 assertTrue(supportedTypes.contains(MediaFormat.MIMETYPE_VIDEO_AVC)); in testMediaTypeInCodecNamesIsMeaningful() 532 assertTrue(supportedTypes.contains(MediaFormat.MIMETYPE_VIDEO_VP8)); in testMediaTypeInCodecNamesIsMeaningful() 535 assertTrue(supportedTypes.contains(MediaFormat.MIMETYPE_VIDEO_HEVC)); in testMediaTypeInCodecNamesIsMeaningful() 538 assertTrue(supportedTypes.contains(MediaFormat.MIMETYPE_VIDEO_VP9)); in testMediaTypeInCodecNamesIsMeaningful() 541 assertTrue(supportedTypes.contains(MediaFormat.MIMETYPE_VIDEO_AV1)); in testMediaTypeInCodecNamesIsMeaningful() 546 assertTrue(supportedTypes.contains(MediaFormat.MIMETYPE_AUDIO_MPEG)); in testMediaTypeInCodecNamesIsMeaningful() [all …]
|
/cts/hostsidetests/security/src/android/cts/security/ |
D | KernelConfigTest.java | 115 configSet.contains("CONFIG_STACKPROTECTOR_STRONG=y") || in testConfigStackProtectorStrong() 116 configSet.contains("CONFIG_CC_STACKPROTECTOR_STRONG=y")); in testConfigStackProtectorStrong() 127 if (configSet.contains("CONFIG_UH_RKP=y")) in testConfigROData() 132 configSet.contains("CONFIG_DEBUG_RODATA=y") || in testConfigROData() 133 configSet.contains("CONFIG_STRICT_KERNEL_RWX=y")); in testConfigROData() 135 if (configSet.contains("CONFIG_MODULES=y")) { in testConfigROData() 138 configSet.contains("CONFIG_DEBUG_SET_MODULE_RONX=y") || in testConfigROData() 139 configSet.contains("CONFIG_STRICT_MODULE_RWX=y")); in testConfigROData() 156 configSet.contains("CONFIG_HARDENED_USERCOPY=y")); in testConfigHardenedUsercopy() 173 (configSet.contains("CONFIG_ARM64_SW_TTBR0_PAN=y") || in testConfigPAN() [all …]
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvContentRatingTest.java | 47 subRatings.contains(SUB_RATING_1)); in testCreateRating() 49 subRatings.contains(SUB_RATING_2)); in testCreateRating() 63 subRatings.contains(SUB_RATING_1)); in testFlattenAndUnflatten() 65 subRatings.contains(SUB_RATING_2)); in testFlattenAndUnflatten() 72 assertTrue(rating.contains(TvContentRating.createRating(DOMAIN, RATING_SYSTEM, in testContains() 74 assertTrue(rating.contains(TvContentRating.createRating(DOMAIN, RATING_SYSTEM, in testContains() 76 assertFalse(rating.contains(TvContentRating.createRating(DOMAIN, RATING_SYSTEM, in testContains() 78 assertFalse(rating.contains(TvContentRating.createRating(DOMAIN, RATING_SYSTEM, in testContains() 80 assertFalse(rating.contains(TvContentRating.createRating(DOMAIN, RATING_SYSTEM, in testContains() 82 assertFalse(rating.contains(TvContentRating.createRating(DOMAIN, RATING_SYSTEM, in testContains()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | RegionTest.java | 117 assertTrue(mRegion.contains(area[i][0], area[i][1])); in verifyPointsInsideRegion() 123 assertFalse(mRegion.contains(area[i][0], area[i][1])); in verifyPointsOutsideRegion() 239 assertTrue(mRegion.contains(6, 6)); in testUnion() 241 assertTrue(mRegion.contains(6, 6)); in testUnion() 245 assertTrue(mRegion.contains(2, 2)); in testUnion() 246 assertTrue(mRegion.contains(6, 6)); in testUnion() 253 assertTrue(mRegion.contains(2, 2)); in testUnion() 254 assertFalse(mRegion.contains(21, 21)); in testUnion() 261 assertTrue(mRegion.contains(2, 2)); in testUnion() 262 assertFalse(mRegion.contains(41, 41)); in testUnion() [all …]
|
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
D | ScanRecordTest.java | 50 assertTrue(data.getServiceUuids().contains(uuid1)); in testParser() 51 assertTrue(data.getServiceUuids().contains(uuid2)); in testParser() 52 assertFalse(data.getServiceUuids().contains(uuid3)); in testParser() 53 assertFalse(data.getServiceUuids().contains(uuid4)); in testParser() 54 assertFalse(data.getServiceSolicitationUuids().contains(uuid1)); in testParser() 55 assertFalse(data.getServiceSolicitationUuids().contains(uuid2)); in testParser() 56 assertTrue(data.getServiceSolicitationUuids().contains(uuid3)); in testParser() 57 assertTrue(data.getServiceSolicitationUuids().contains(uuid4)); in testParser()
|
/cts/tests/tests/net/src/android/net/cts/ |
D | MailToTest.java | 65 assertTrue(stringUrl.contains("to=infobot%40example.com&")); in testParseMailToURI() 66 assertTrue(stringUrl.contains("subject=current-issue&")); in testParseMailToURI() 78 assertTrue(stringUrl.contains("to=infobot%40example.com&")); in testParseMailToURI() 79 assertTrue(stringUrl.contains("body=send%20current-issue&")); in testParseMailToURI() 91 assertTrue(stringUrl.contains("to=infobot%40example.com&")); in testParseMailToURI() 92 assertTrue(stringUrl.contains("body=send%20current-issue%0D%0Asend%20index&")); in testParseMailToURI() 106 assertTrue(stringUrl.contains("cc=bob%40example.com&")); in testParseMailToURI() 107 assertTrue(stringUrl.contains("body=hello&")); in testParseMailToURI() 108 assertTrue(stringUrl.contains("to=joe%40example.com&")); in testParseMailToURI() 121 assertTrue(stringUrl.contains("cc=bob%40example.com&")); in testParseMailToURI() [all …]
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | CurrentApiHelperTest.java | 54 assertTrue(mPublicApis.contains(publicMethod)); in testGetPublicApisIncludeMethods() 56 assertTrue(mPublicApis.contains(publicMethod)); in testGetPublicApisIncludeMethods() 58 assertTrue(mPublicApis.contains(publicMethod)); in testGetPublicApisIncludeMethods() 60 assertTrue(mPublicApis.contains(publicMethod)); in testGetPublicApisIncludeMethods() 62 assertTrue(mPublicApis.contains(publicMethod)); in testGetPublicApisIncludeMethods() 71 assertFalse(mPublicApis.contains(privateMethod)); in testGetPublicApisExcludeMethods() 73 assertFalse(mPublicApis.contains(hiddenMethod)); in testGetPublicApisExcludeMethods() 75 assertFalse(mPublicApis.contains(systemMethod)); in testGetPublicApisExcludeMethods()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | MajorVersionTest.java | 64 assertTrue(getDevice().getInstalledPackageNames().contains(PKG)); in testInstallMinorVersion() 80 assertTrue(getDevice().getInstalledPackageNames().contains(PKG)); in testInstallMajorVersion() 96 assertTrue(getDevice().getInstalledPackageNames().contains(PKG)); in testInstallUpdateAcrossMinorMajorVersion() 99 assertTrue(getDevice().getInstalledPackageNames().contains(PKG)); in testInstallUpdateAcrossMinorMajorVersion() 102 assertTrue(getDevice().getInstalledPackageNames().contains(PKG)); in testInstallUpdateAcrossMinorMajorVersion() 105 assertTrue(getDevice().getInstalledPackageNames().contains(PKG)); in testInstallUpdateAcrossMinorMajorVersion() 121 assertTrue(getDevice().getInstalledPackageNames().contains(PKG)); in testInstallDowngradeAcrossMajorMinorVersion() 125 assertTrue(getDevice().getInstalledPackageNames().contains(PKG)); in testInstallDowngradeAcrossMajorMinorVersion() 129 assertTrue(getDevice().getInstalledPackageNames().contains(PKG)); in testInstallDowngradeAcrossMajorMinorVersion() 133 assertTrue(getDevice().getInstalledPackageNames().contains(PKG)); in testInstallDowngradeAcrossMajorMinorVersion()
|
D | OverlayHostTest.java | 118 assertFalse(getDevice().getInstalledPackageNames().contains(OVERLAY_ALL_PACKAGE)); 119 assertFalse(getDevice().getInstalledPackageNames().contains(overlayPackage)); 139 assertFalse(getDevice().getInstalledPackageNames().contains(TARGET_PACKAGE)); 140 assertFalse(getDevice().getInstalledPackageNames().contains(overlayPackage)); 164 assertFalse(getDevice().getInstalledPackageNames().contains(OVERLAY_ANDROID_PACKAGE)); 170 assertFalse(getDevice().getInstalledPackageNames().contains(OVERLAY_ANDROID_PACKAGE)); 174 .contains(" " + OVERLAY_ANDROID_PACKAGE + "\n")); 188 assertFalse(getDevice().getInstalledPackageNames().contains(OVERLAY_ALL_PACKAGE)); 194 assertFalse(getDevice().getInstalledPackageNames().contains(OVERLAY_ALL_PACKAGE)); 198 .contains(" " + OVERLAY_ALL_PACKAGE + "\n")); [all …]
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | AppOpsUtils.java | 82 if (opState.contains(" allow")) { in getOpMode() 84 } else if (opState.contains(" deny")) { in getOpMode() 86 } else if (opState.contains(" ignore")) { in getOpMode() 88 } else if (opState.contains(" default")) { in getOpMode() 104 return getOpState(packageName, opStr).contains(" time="); in allowedOperationLogged() 116 return getOpState(packageName, opStr).contains(" rejectTime="); in rejectedOperationLogged()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | AppOpsUtils.java | 83 if (opState.contains(" allow")) { in getOpMode() 85 } else if (opState.contains(" deny")) { in getOpMode() 87 } else if (opState.contains(" ignore")) { in getOpMode() 89 } else if (opState.contains(" default")) { in getOpMode() 105 return getOpState(packageName, opStr).contains(" time="); in allowedOperationLogged() 117 return getOpState(packageName, opStr).contains(" rejectTime="); in rejectedOperationLogged()
|
/cts/tests/tests/appop/src/android/app/appops/cts/ |
D | AppOpsUtils.kt | 71 opState.contains(" allow") -> return MODE_ALLOWED in getOpMode() 72 opState.contains(" deny") -> return MODE_ERRORED in getOpMode() 73 opState.contains(" ignore") -> return MODE_IGNORED in getOpMode() 74 opState.contains(" default") -> return MODE_DEFAULT in getOpMode() 87 return getOpState(packageName, opStr).contains(" time=") in allowedOperationLogged() 98 return getOpState(packageName, opStr).contains(" rejectTime=") in rejectedOperationLogged()
|
/cts/tests/tests/appcomponentfactory/src/android/app/componentfactory/cts/ |
D | MyFactory.java | 30 if (className.contains(".inject")) { in instantiateApplication() 39 if (className.contains(".inject")) { in instantiateActivity() 48 if (className.contains(".inject")) { in instantiateReceiver() 57 if (className.contains(".inject")) { in instantiateProvider() 66 if (className.contains(".inject")) { in instantiateService()
|
/cts/tests/sensor/src/android/hardware/cts/helpers/sensoroperations/ |
D | SensorOperationTest.java | 66 assertTrue(op.getStats().flatten().keySet().contains(SensorStats.ERROR)); in testFakeSensorOperation() 121 assertTrue(statsKeys.contains(String.format("%s_%03d%sexecuted", 154 assertTrue(statsKeys.contains(String.format("%s_%03d%sexecuted", 157 assertTrue(statsKeys.contains(String.format("%s_%03d%s%s", 163 assertTrue(statsKeys.contains(SensorStats.ERROR)); 195 assertTrue(statsKeys.contains(String.format("%s_%03d%sexecuted", 222 assertTrue(statsKeys.contains(String.format("%s_%03d%sexecuted", 277 assertTrue(statsKeys.contains(String.format("%s_%03d%sexecuted", 280 assertTrue(statsKeys.contains(String.format("%s_%03d%s%s", 283 assertTrue(statsKeys.contains(SensorStats.ERROR)); [all …]
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | StaticMetadata.java | 597 return antiBandingModes.contains(CameraMetadata.CONTROL_AE_ANTIBANDING_MODE_OFF); in isAntiBandingOffModeSupported() 624 Arrays.asList(boxedModes).contains(expectValue)); in getAvailableTestPatternModesChecked() 640 checkTrueForKey(key, "size should contain (0, 0)", sizeList.contains(new Size(0, 0))); in getAvailableThumbnailSizesChecked() 715 modeList.contains(CameraMetadata.HOT_PIXEL_MODE_FAST)); in getAvailableHotPixelModesChecked() 750 modeList.contains(CameraMetadata.STATISTICS_FACE_DETECT_MODE_OFF)); in getAvailableFaceDetectModesChecked() 773 if (faceDetectModes.contains(CameraMetadata.STATISTICS_FACE_DETECT_MODE_OFF) && in getMaxFaceCountChecked() 807 modeList.contains(CameraMetadata.TONEMAP_MODE_FAST)); in getAvailableToneMapModesChecked() 839 modeList.contains(CameraMetadata.TONEMAP_MODE_CONTRAST_CURVE) || in getMaxTonemapCurvePointChecked() 840 modeList.contains(CameraMetadata.TONEMAP_MODE_GAMMA_VALUE) || in getMaxTonemapCurvePointChecked() 841 modeList.contains(CameraMetadata.TONEMAP_MODE_PRESET_CURVE); in getMaxTonemapCurvePointChecked() [all …]
|
/cts/tests/tests/gesture/src/android/gesture/cts/ |
D | GestureStorageTester.java | 60 assertTrue(mFixture.getGestureEntries().contains(TEST_GESTURE_NAME)); in testGetGestureEntries() 86 assertFalse(mFixture.getGestures(TEST_GESTURE_NAME).contains(mAnotherGesture)); in testRemoveGesture() 90 assertFalse(mFixture.getGestureEntries().contains(TEST_GESTURE_NAME)); in testRemoveGesture() 100 assertFalse(mFixture.getGestureEntries().contains(TEST_GESTURE_NAME)); in testRemoveEntry() 111 assertTrue(mFixture.getGestures(TEST_GESTURE_NAME).contains(mLineGesture)); in testGetGestures()
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | NotificationIncidentTest.java | 75 if (record.getKey().contains("android")) { in testNotificationRecords() 91 .contains(record.getState().getValueDescriptor())); in testNotificationRecords() 137 … ZenMode.getDescriptor().getValues().contains(zenProto.getZenMode().getValueDescriptor())); in verifyZenModeProto() 162 .contains(cp.getState().getValueDescriptor())); in verifyZenModeProto() 168 .contains(c.getValueDescriptor())); in verifyZenModeProto() 171 .contains(policy.getPriorityCallSender().getValueDescriptor())); in verifyZenModeProto() 173 .contains(policy.getPriorityMessageSender().getValueDescriptor())); in verifyZenModeProto() 176 .contains(sve.getValueDescriptor())); in verifyZenModeProto() 217 .contains(record.getState().getValueDescriptor())); in verifyNotificationRecordProto()
|
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/ |
D | EventOrderingVerificationTest.java | 67 assertTrue(indices.contains(2)); in testSingleOutofOrder() 84 assertTrue(indices.contains(1)); in testMultipleOutOfOrder() 85 assertTrue(indices.contains(2)); in testMultipleOutOfOrder() 86 assertTrue(indices.contains(3)); in testMultipleOutOfOrder() 87 assertTrue(indices.contains(4)); in testMultipleOutOfOrder()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | DelegationTest.java | 170 .contains(DELEGATE_PKG)); in testCanRetrieveDelegates() 172 .contains(TEST_PKG)); in testCanRetrieveDelegates() 174 .contains(DELEGATE_PKG)); in testCanRetrieveDelegates() 176 .contains(TEST_PKG)); in testCanRetrieveDelegates() 180 .contains(TEST_PKG)); in testCanRetrieveDelegates() 182 .contains(DELEGATE_PKG)); in testCanRetrieveDelegates() 184 .contains(DELEGATE_PKG)); in testCanRetrieveDelegates() 186 .contains(TEST_PKG)); in testCanRetrieveDelegates()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifi/ |
D | TestUtils.java | 99 return !capabilities.contains("PSK") && !capabilities.contains("EAP") in isScanResultForOpenNetwork() 100 && !capabilities.contains("WEP") && !capabilities.contains("SAE") in isScanResultForOpenNetwork() 101 && !capabilities.contains("SUITE-B-192") && !capabilities.contains("OWE"); in isScanResultForOpenNetwork()
|