/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 | 179 return mCookieManager.getCookie(url).contains(cookie); in testSetCookieNullCallback() 215 assertTrue(allCookies.contains(sessionCookie)); in testRemoveCookies() 216 assertTrue(allCookies.contains(longCookie)); in testRemoveCookies() 217 assertTrue(allCookies.contains(quickCookie)); in testRemoveCookies() 221 assertFalse(allCookies.contains(sessionCookie)); in testRemoveCookies() 222 assertTrue(allCookies.contains(longCookie)); in testRemoveCookies() 223 assertTrue(allCookies.contains(quickCookie)); in testRemoveCookies() 228 assertFalse(allCookies.contains(sessionCookie)); in testRemoveCookies() 229 assertTrue(allCookies.contains(longCookie)); in testRemoveCookies() 230 assertFalse(allCookies.contains(quickCookie)); in testRemoveCookies() [all …]
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvContentRatingTest.java | 49 subRatings.contains(SUB_RATING_1)); in testCreateRating() 51 subRatings.contains(SUB_RATING_2)); in testCreateRating() 65 subRatings.contains(SUB_RATING_1)); in testFlattenAndUnflatten() 67 subRatings.contains(SUB_RATING_2)); in testFlattenAndUnflatten() 74 assertTrue(rating.contains(TvContentRating.createRating(DOMAIN, RATING_SYSTEM, in testContains() 76 assertTrue(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() 84 assertFalse(rating.contains(TvContentRating.createRating(DOMAIN, RATING_SYSTEM, in testContains()
|
/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/media/src/android/media/cts/ |
D | MediaFormatTest.java | 293 assertTrue(keySet.contains(key)); in testSingleKeyRemoval() 299 assertFalse(keySet.contains(key)); in testSingleKeyRemoval() 325 assertTrue(keySet.contains("int")); in testKeySetContainsAndRemove() 326 assertTrue(keySet.contains("long")); in testKeySetContainsAndRemove() 327 assertTrue(keySet.contains("float")); in testKeySetContainsAndRemove() 328 assertFalse(keySet.contains("string")); in testKeySetContainsAndRemove() 336 assertTrue(keySet.contains("int")); in testKeySetContainsAndRemove() 337 assertTrue(keySet.contains("long")); in testKeySetContainsAndRemove() 338 assertTrue(keySet.contains("float")); in testKeySetContainsAndRemove() 339 assertTrue(keySet.contains("string")); in testKeySetContainsAndRemove() [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/security/src/android/security/cts/ |
D | KernelConfigTest.java | 109 configSet.contains("CONFIG_STACKPROTECTOR_STRONG=y") || in testConfigStackProtectorStrong() 110 configSet.contains("CONFIG_CC_STACKPROTECTOR_STRONG=y")); in testConfigStackProtectorStrong() 122 if (configSet.contains("CONFIG_UH_RKP=y")) in testConfigROData() 127 configSet.contains("CONFIG_DEBUG_RODATA=y") || in testConfigROData() 128 configSet.contains("CONFIG_STRICT_KERNEL_RWX=y")); in testConfigROData() 130 if (configSet.contains("CONFIG_MODULES=y")) { in testConfigROData() 133 configSet.contains("CONFIG_DEBUG_SET_MODULE_RONX=y") || in testConfigROData() 134 configSet.contains("CONFIG_STRICT_MODULE_RWX=y")); in testConfigROData() 152 configSet.contains("CONFIG_HARDENED_USERCOPY=y")); in testConfigHardenedUsercopy() 170 (configSet.contains("CONFIG_ARM64_SW_TTBR0_PAN=y") || in testConfigPAN() [all …]
|
/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 | 122 assertFalse(getDevice().getInstalledPackageNames().contains(OVERLAY_ALL_PACKAGE)); 123 assertFalse(getDevice().getInstalledPackageNames().contains(overlayPackage)); 143 assertFalse(getDevice().getInstalledPackageNames().contains(TARGET_PACKAGE)); 144 assertFalse(getDevice().getInstalledPackageNames().contains(overlayPackage)); 168 assertFalse(getDevice().getInstalledPackageNames().contains(OVERLAY_ANDROID_PACKAGE)); 174 assertFalse(getDevice().getInstalledPackageNames().contains(OVERLAY_ANDROID_PACKAGE)); 178 .contains(" " + OVERLAY_ANDROID_PACKAGE + "\n")); 192 assertFalse(getDevice().getInstalledPackageNames().contains(OVERLAY_ALL_PACKAGE)); 198 assertFalse(getDevice().getInstalledPackageNames().contains(OVERLAY_ALL_PACKAGE)); 202 .contains(" " + OVERLAY_ALL_PACKAGE + "\n")); [all …]
|
D | UseProcessTest.java | 70 assertTrue(getDevice().getInstalledPackageNames().contains(PKG)); in testInstallUsePackageSuccess() 89 assertTrue(!getDevice().getInstalledPackageNames().contains(PKG)); in testInstallUsePackageFailApplication() 106 assertTrue(!getDevice().getInstalledPackageNames().contains(PKG)); in testInstallUsePackageFailActivity() 123 assertTrue(!getDevice().getInstalledPackageNames().contains(PKG)); in testInstallUsePackageFailService() 140 assertTrue(!getDevice().getInstalledPackageNames().contains(PKG)); in testInstallUsePackageFailReceiver() 157 assertTrue(!getDevice().getInstalledPackageNames().contains(PKG)); in testInstallUsePackageFailProvider()
|
/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/hardware/src/android/hardware/hdmi/cts/ |
D | HdmiControlManagerTest.java | 103 if (deviceTypes.contains(String.valueOf(HdmiDeviceInfo.DEVICE_TV)) in testGetHdmiClient() 104 || deviceTypes.contains(STRING_DEVICE_TYPE_TV)) { in testGetHdmiClient() 109 if (deviceTypes.contains(String.valueOf(HdmiDeviceInfo.DEVICE_PLAYBACK)) in testGetHdmiClient() 110 || deviceTypes.contains(STRING_DEVICE_TYPE_PLAYBACK_DEVICE)) { in testGetHdmiClient() 116 if (deviceTypes.contains(String.valueOf(HdmiDeviceInfo.DEVICE_AUDIO_SYSTEM)) in testGetHdmiClient() 117 || deviceTypes.contains(STRING_DEVICE_TYPE_AUDIO_SYSTEM)) { in testGetHdmiClient() 124 if (deviceTypes.contains(String.valueOf(DEVICE_TYPE_SWITCH)) in testGetHdmiClient() 125 || deviceTypes.contains(STRING_DEVICE_TYPE_PURE_CEC_SWITCH) in testGetHdmiClient() 141 if (deviceTypes.contains(String.valueOf(HdmiDeviceInfo.DEVICE_TV)) in testHdmiClientType() 142 || deviceTypes.contains(STRING_DEVICE_TYPE_TV)) { in testHdmiClientType() [all …]
|
/cts/tests/tests/util/src/android/util/cts/ |
D | SparseArrayMapTest.java | 97 assertTrue(sam.contains(0, KEYS_1[i])); in testContains() 98 assertFalse(sam.contains(1, KEYS_1[i])); in testContains() 101 assertFalse(sam.contains(0, KEYS_2[i])); in testContains() 102 assertFalse(sam.contains(1, KEYS_2[i])); in testContains() 116 assertTrue(sam.contains(0, KEYS_1[i])); in testDelete() 117 assertTrue(sam.contains(1, KEYS_1[i])); in testDelete() 118 assertTrue(sam.contains(2, KEYS_1[i])); in testDelete() 121 assertFalse(sam.contains(0, KEYS_1[i])); in testDelete() 122 assertTrue(sam.contains(1, KEYS_1[i])); in testDelete() 123 assertTrue(sam.contains(2, KEYS_1[i])); in testDelete() [all …]
|
/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/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/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | DelegatedCertInstallerHelper.java | 43 DELEGATION_CERT_INSTALL).contains(CERT_INSTALLER_PACKAGE)); in testManualSetCertInstallerDelegate() 45 DELEGATION_CERT_SELECTION).contains(CERT_INSTALLER_PACKAGE)); in testManualSetCertInstallerDelegate() 51 DELEGATION_CERT_INSTALL).contains(CERT_INSTALLER_PACKAGE)); in testManualClearCertInstallerDelegate() 53 DELEGATION_CERT_SELECTION).contains(CERT_INSTALLER_PACKAGE)); in testManualClearCertInstallerDelegate()
|
/cts/tests/tests/appop/appopsTestUtilLib/src/android/app/appops/cts/ |
D | AppOpsUtils.kt | 71 opState.contains(" allow") -> MODE_ALLOWED in getOpMode() 72 opState.contains(" deny") -> MODE_ERRORED in getOpMode() 73 opState.contains(" ignore") -> MODE_IGNORED in getOpMode() 74 opState.contains(" default") -> 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/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/securitybulletin/src/android/security/cts/ |
D | Poc20_06.java | 36 if (isApplicable.contains("com.qualcomm.qti.IPerfManager")) { in testPocCVE_2020_3635() 57 assertTrue(result.contains("com.qti.permission.USE_UIM_LPA_SERVICE")); in testPocCVE_2020_3626() 69 assertFalse(result.contains("com.qualcomm.qti.logkit")); in testPocCVE_2020_3628() 79 if (isApplicable.contains("com.qualcomm.qti.IPerfManager")) { in testPocCVE_2020_3676()
|
/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/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/apps/CtsVerifier/src/com/android/cts/verifier/wifi/ |
D | TestUtils.java | 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() 125 return capabilities.contains("PSK"); in isScanResultForWpa2Network() 133 return capabilities.contains("SAE"); in isScanResultForWpa3Network()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | StaticMetadata.java | 599 return antiBandingModes.contains(CameraMetadata.CONTROL_AE_ANTIBANDING_MODE_OFF); in isAntiBandingOffModeSupported() 626 Arrays.asList(boxedModes).contains(expectValue)); in getAvailableTestPatternModesChecked() 642 checkTrueForKey(key, "size should contain (0, 0)", sizeList.contains(new Size(0, 0))); in getAvailableThumbnailSizesChecked() 717 modeList.contains(CameraMetadata.HOT_PIXEL_MODE_FAST)); in getAvailableHotPixelModesChecked() 752 modeList.contains(CameraMetadata.STATISTICS_FACE_DETECT_MODE_OFF)); in getAvailableFaceDetectModesChecked() 775 if (faceDetectModes.contains(CameraMetadata.STATISTICS_FACE_DETECT_MODE_OFF) && in getMaxFaceCountChecked() 809 modeList.contains(CameraMetadata.TONEMAP_MODE_FAST)); in getAvailableToneMapModesChecked() 841 modeList.contains(CameraMetadata.TONEMAP_MODE_CONTRAST_CURVE) || in getMaxTonemapCurvePointChecked() 842 modeList.contains(CameraMetadata.TONEMAP_MODE_GAMMA_VALUE) || in getMaxTonemapCurvePointChecked() 843 modeList.contains(CameraMetadata.TONEMAP_MODE_PRESET_CURVE); in getMaxTonemapCurvePointChecked() [all …]
|