/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/companion/core/src/android/companion/cts/core/ |
D | DumpSysTest.kt | 45 assertTrue(out[0].contains("Companion Device Associations: <empty>")) in test_dump_noAssociation() 46 assertTrue(out[1].contains("Companion Device Present: <empty>")) in test_dump_noAssociation() 47 assertFalse(out[2].contains("u/$userId")) in test_dump_noAssociation() 56 assertTrue(out[0].contains("mId=$associationId")) // Device is associated in test_dump_singleDevice() 57 assertFalse(out[1].contains("id=$associationId")) // But not present yet in test_dump_singleDevice() 58 assertFalse(out[2].contains("u$userId\\$targetPackageName")) // App is not bound yet in test_dump_singleDevice() 67 assertTrue(out[0].contains("mId=$associationId")) // Device is still associated in test_dump_singleDevice() 68 assertTrue(out[1].contains("id=$associationId")) // And also present in test_dump_singleDevice() 69 assertTrue(out[2].contains("u$userId, $targetPackageName")) // App is now bound in test_dump_singleDevice() 85 assertTrue(out[0].contains("mId=$idA")) // Device A associated in test_dump_multiDevice() [all …]
|
/cts/tests/tests/car_permission_tests/src/android/car/cts/permissiontest/user/ |
D | CarUserManagerPermissionTest.java | 73 assertThat(e).hasMessageThat().contains(CREATE_USERS); in testSwitchUser() 74 assertThat(e).hasMessageThat().contains(MANAGE_USERS); in testSwitchUser() 85 assertThat(e).hasMessageThat().contains(CREATE_USERS); in testSwitchUserIgnoringUxRestriction() 86 assertThat(e).hasMessageThat().contains(MANAGE_USERS); in testSwitchUserIgnoringUxRestriction() 92 assertThat(e).hasMessageThat().contains(CREATE_USERS); in testSwitchUserId() 93 assertThat(e).hasMessageThat().contains(MANAGE_USERS); in testSwitchUserId() 103 assertThat(e).hasMessageThat().contains(CREATE_USERS); in testCreateUser() 104 assertThat(e).hasMessageThat().contains(MANAGE_USERS); in testCreateUser() 111 assertThat(e).hasMessageThat().contains(CREATE_USERS); in testCreateUserId() 112 assertThat(e).hasMessageThat().contains(MANAGE_USERS); in testCreateUserId() [all …]
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | CookieTest.java | 114 assertTrue(cookie.contains("a=b;")); in testDomain() 115 assertTrue(cookie.contains("c=d")); in testDomain() 125 assertTrue(cookie.contains("a=b")); in testDomain() 126 assertTrue(cookie.contains("c=d")); in testDomain() 127 assertTrue(cookie.contains("e=f")); in testDomain() 130 assertTrue(cookie.contains("c=d")); in testDomain() 131 assertTrue(cookie.contains("e=f")); in testDomain() 150 assertTrue(cookie.contains("a=1")); in testSubDomain() 151 assertTrue(cookie.contains("b=2")); in testSubDomain() 152 assertTrue(cookie.contains("c=3")); in testSubDomain() [all …]
|
/cts/tests/tests/car_permission_tests/src/android/car/cts/permissiontest/media/ |
D | CarAudioManagerPermissionTest.java | 77 assertThat(e.getMessage()).contains(PERMISSION_CAR_CONTROL_AUDIO_VOLUME); in setGroupVolumePermission() 84 assertThat(e.getMessage()).contains(PERMISSION_CAR_CONTROL_AUDIO_VOLUME); in setGroupVolumeWithZonePermission() 91 assertThat(e.getMessage()).contains(PERMISSION_CAR_CONTROL_AUDIO_VOLUME); in getGroupMaxVolumePermission() 98 assertThat(e.getMessage()).contains(PERMISSION_CAR_CONTROL_AUDIO_VOLUME); in getGroupMaxVolumeWithZonePermission() 105 assertThat(e.getMessage()).contains(PERMISSION_CAR_CONTROL_AUDIO_VOLUME); in getGroupMinVolumePermission() 112 assertThat(e.getMessage()).contains(PERMISSION_CAR_CONTROL_AUDIO_VOLUME); in getGroupMinVolumeWithZonePermission() 119 assertThat(e.getMessage()).contains(PERMISSION_CAR_CONTROL_AUDIO_VOLUME); in getGroupVolumePermission() 126 assertThat(e.getMessage()).contains(PERMISSION_CAR_CONTROL_AUDIO_VOLUME); in getGroupVolumeWithZonePermission() 133 assertThat(e.getMessage()).contains(PERMISSION_CAR_CONTROL_AUDIO_VOLUME); in setFadeTowardFrontPermission() 140 assertThat(e.getMessage()).contains(PERMISSION_CAR_CONTROL_AUDIO_VOLUME); in setBalanceTowardRightPermission() [all …]
|
/cts/common/device-side/bedstead/testapp/src/testapps/main/java/com/android/bedstead/testapp/ |
D | Utils.java | 43 l -> l.contains(activityClassName) || l.contains("ActivityTaskManager")), t); in dealWithNoExistingActivityException() 51 if (t.getMessage().contains("Profile not available")) { in dealWithConnectedAppsSdkException() 70 l -> l.contains("TestAppBinder") in dealWithConnectedAppsSdkException() 71 || l.contains("CrossProfileSender") in dealWithConnectedAppsSdkException() 72 || l.contains("TestAppConnector") in dealWithConnectedAppsSdkException() 73 || l.contains(pkg.packageName()))); in dealWithConnectedAppsSdkException()
|
/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/media/misc/src/android/media/misc/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/tests/tests/car_permission_tests/src/android/car/cts/permissiontest/admin/ |
D | CarDevicePolicyManagerPermissionTest.java | 56 assertThat(e.getMessage()).contains(CREATE_USERS); in testRemoveUserPermission() 57 assertThat(e.getMessage()).contains(MANAGE_USERS); in testRemoveUserPermission() 64 assertThat(e.getMessage()).contains(CREATE_USERS); in testCreateUserPermission() 65 assertThat(e.getMessage()).contains(MANAGE_USERS); in testCreateUserPermission() 72 assertThat(e.getMessage()).contains(CREATE_USERS); in testStartUserInBackgroundPermission() 73 assertThat(e.getMessage()).contains(MANAGE_USERS); in testStartUserInBackgroundPermission() 80 assertThat(e.getMessage()).contains(CREATE_USERS); in testStopUserPermission() 81 assertThat(e.getMessage()).contains(MANAGE_USERS); in testStopUserPermission()
|
/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()
|
/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/common/device-side/bedstead/harrier/src/test/java/com/android/bedstead/harrier/ |
D | DeviceStateInternalTest.java | 109 .whereActivities().contains( in requirePackageRespondsToIntentAnnotation_packageRespondsToIntent() 110 activity().where().intentFilters().contains( in requirePackageRespondsToIntentAnnotation_packageRespondsToIntent() 111 intentFilter().where().actions().contains(INTENT_ACTION) in requirePackageRespondsToIntentAnnotation_packageRespondsToIntent() 132 mDeviceState.testApps().query().whereActivities().contains( in requirePackageRespondsToIntentAnnotation_workProfile_packageRespondsToIntent() 133 activity().where().intentFilters().contains( in requirePackageRespondsToIntentAnnotation_workProfile_packageRespondsToIntent() 134 … intentFilter().where().actions().contains(INTENT_ACTION))) in requirePackageRespondsToIntentAnnotation_workProfile_packageRespondsToIntent() 174 .whereActivities().contains( in requireNoPackageRespondsToIntentAnnotation_packageRespondsToIntent() 175 activity().where().intentFilters().contains( in requireNoPackageRespondsToIntentAnnotation_packageRespondsToIntent() 176 intentFilter().where().actions().contains(INTENT_ACTION) in requireNoPackageRespondsToIntentAnnotation_packageRespondsToIntent() 212 .whereActivities().contains( in ensureNoPackageRespondsToIntentAnnotation() [all …]
|
/cts/tests/tests/car_permission_tests/src/android/car/cts/permissiontest/power/ |
D | CarPowerManagerPermissionTest.java | 62 assertThat(e.getMessage()).contains(PERMISSION_CAR_POWER); in testGetPowerState() 70 assertThat(e.getMessage()).contains(PERMISSION_CAR_POWER); in testRequestShutdownOnNextSuspend() 78 assertThat(e.getMessage()).contains(PERMISSION_CAR_POWER); in testScheduleNextWakeupTime() 86 assertThat(e.getMessage()).contains(PERMISSION_CAR_POWER); in testSetListener() 95 assertThat(e.getMessage()).contains(PERMISSION_CONTROL_SHUTDOWN_PROCESS); in testSetListenerWithCompletion() 103 assertThat(e.getMessage()).contains(PERMISSION_READ_CAR_POWER_POLICY); in testGetCurrentPowerPolicy() 111 assertThat(e.getMessage()).contains(PERMISSION_CONTROL_CAR_POWER_POLICY); in testApplyPowerPolicy() 122 assertThat(e.getMessage()).contains(PERMISSION_READ_CAR_POWER_POLICY); in testAddPowerPolicyChangeListener() 130 assertThat(e.getMessage()).contains(PERMISSION_CAR_POWER); in testNotifyUserActivity()
|
/cts/tests/tests/car_permission_tests/src/android/car/cts/permissiontest/am/ |
D | CarActivityManagerPermissionTest.java | 67 assertThat(e).hasMessageThat().contains(Car.PERMISSION_CONTROL_CAR_APP_LAUNCH); in testSetPersistentActivity_requiresPermission() 77 assertThat(e).hasMessageThat().contains(Car.PERMISSION_CONTROL_CAR_APP_LAUNCH); in testSetPersistentActivities_requiresPermission() 85 assertThat(e).hasMessageThat().contains(android.Manifest.permission.MANAGE_ACTIVITY_TASKS); in testRegisterTaskMonitor_requiresPermission() 93 assertThat(e).hasMessageThat().contains(android.Manifest.permission.MANAGE_ACTIVITY_TASKS); in testGetVisibleTasks_requiresPermission() 102 assertThat(e).hasMessageThat().contains(android.Manifest.permission.MANAGE_ACTIVITY_TASKS); in testCreateTaskMirroringToken_requiresPermission() 111 assertThat(e).hasMessageThat().contains(Car.PERMISSION_MIRROR_DISPLAY); in testCreateDisplayMirroringToken_requiresPermission() 120 assertThat(e).hasMessageThat().contains(Car.PERMISSION_ACCESS_MIRRORRED_SURFACE); in testGetMirroredSurface_requiresPermission() 130 assertThat(e).hasMessageThat().contains(Car.PERMISSION_CONTROL_CAR_APP_LAUNCH); in testMoveRootTaskToDisplay_requiresPermission() 138 assertThat(e).hasMessageThat().contains(Car.PERMISSION_REGISTER_CAR_SYSTEM_UI_PROXY); in registerCarSystemUIProxy_requiresPermission() 148 assertThat(e).hasMessageThat().contains(android.Manifest.permission.INTERACT_ACROSS_USERS); in getCarTaskViewController_requiresPermission_INTERACT_ACROSS_USERS() [all …]
|
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
D | ScanRecordTest.java | 77 assertTrue(data.getServiceUuids().contains(uuid1)); in parser() 78 assertTrue(data.getServiceUuids().contains(uuid2)); in parser() 79 assertFalse(data.getServiceUuids().contains(uuid3)); in parser() 80 assertFalse(data.getServiceUuids().contains(uuid4)); in parser() 81 assertFalse(data.getServiceSolicitationUuids().contains(uuid1)); in parser() 82 assertFalse(data.getServiceSolicitationUuids().contains(uuid2)); in parser() 83 assertTrue(data.getServiceSolicitationUuids().contains(uuid3)); in parser() 84 assertTrue(data.getServiceSolicitationUuids().contains(uuid4)); in parser()
|
/cts/tests/app/src/android/app/cts/ |
D | ActivityDumpTest.java | 60 assertWithMessage("dump() (expected to have name)").that(dump).contains(DEFAULT_NAME); in testAddDumpable_oneOnly() 61 assertWithMessage("dump() (expected to have content)").that(dump).contains(DEFAULT_CONTENT); in testAddDumpable_oneOnly() 71 assertWithMessage("dump() (expected to have name1)").that(dump).contains("dump1"); in testAddDumpable_twoWithDistinctNames() 72 assertWithMessage("dump() (expected to have content1)").that(dump).contains("able1"); in testAddDumpable_twoWithDistinctNames() 73 assertWithMessage("dump() (expected to have name2)").that(dump).contains("dump2"); in testAddDumpable_twoWithDistinctNames() 74 assertWithMessage("dump() (expected to have content2)").that(dump).contains("able2"); in testAddDumpable_twoWithDistinctNames() 84 assertWithMessage("dump() (expected to have name)").that(dump).contains("dump"); in testAddDumpable_twoWithSameName() 85 assertWithMessage("dump() (expected to have content1)").that(dump).contains("able1"); in testAddDumpable_twoWithSameName() 114 assertWithMessage("dump([%s])", arg).that(legacyArgDump).contains(arg); in legacyArgDumpTest() 115 assertWithMessage("dump([%s])", arg).that(legacyArgDump).contains("deprecated"); in legacyArgDumpTest() [all …]
|
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/activities/ |
D | ActivitiesTest.kt | 38 .whereActivities().contains( in activityNameOfIntent_returnsActivityNameOfIntent() 39 activity().where().intentFilters().contains( in activityNameOfIntent_returnsActivityNameOfIntent() 40 intentFilter().where().actions().contains(intent.action) in activityNameOfIntent_returnsActivityNameOfIntent() 56 .whereActivityAliases().contains( in getActivityNameOfIntent_isAlias_returnsTargetActivity() 57 activity().where().intentFilters().contains( in getActivityNameOfIntent_isAlias_returnsTargetActivity() 58 intentFilter().where().actions().contains(intent.action) in getActivityNameOfIntent_isAlias_returnsTargetActivity()
|
/cts/tests/tests/car_permission_tests/src/android/car/cts/permissiontest/telemetry/ |
D | CarTelemetryManagerPermissionTest.java | 60 assertThat(e.getMessage()).contains(Car.PERMISSION_USE_CAR_TELEMETRY_SERVICE); in testAddMetricsConfig() 68 assertThat(e.getMessage()).contains(Car.PERMISSION_USE_CAR_TELEMETRY_SERVICE); in testRemoveMetricsConfig() 76 assertThat(e.getMessage()).contains(Car.PERMISSION_USE_CAR_TELEMETRY_SERVICE); in testRemoveAllMetricsConfigs() 85 assertThat(e.getMessage()).contains(Car.PERMISSION_USE_CAR_TELEMETRY_SERVICE); in testGetFinishedReport() 94 assertThat(e.getMessage()).contains(Car.PERMISSION_USE_CAR_TELEMETRY_SERVICE); in testGetAllFinishedReports() 103 assertThat(e.getMessage()).contains(Car.PERMISSION_USE_CAR_TELEMETRY_SERVICE); in testSetReportReadyListener() 111 assertThat(e.getMessage()).contains(Car.PERMISSION_USE_CAR_TELEMETRY_SERVICE); in testClearReportReadyListener()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | AppOpsUtils.java | 96 if (opState.contains(" allow")) { in getOpMode() 98 } else if (opState.contains(" deny")) { in getOpMode() 100 } else if (opState.contains(" ignore")) { in getOpMode() 102 } else if (opState.contains(" default")) { in getOpMode() 118 return getOpState(packageName, opStr).contains(" time="); in allowedOperationLogged() 130 return getOpState(packageName, opStr).contains(" rejectTime="); in rejectedOperationLogged()
|
/cts/tests/tests/util/src/android/util/cts/ |
D | SparseArrayMapTest.java | 127 assertTrue(sam.contains(0, KEYS_1[i])); in testContains() 128 assertFalse(sam.contains(1, KEYS_1[i])); in testContains() 131 assertFalse(sam.contains(0, KEYS_2[i])); in testContains() 132 assertFalse(sam.contains(1, KEYS_2[i])); in testContains() 146 assertTrue(sam.contains(0, KEYS_1[i])); in testDelete() 147 assertTrue(sam.contains(1, KEYS_1[i])); in testDelete() 148 assertTrue(sam.contains(2, KEYS_1[i])); in testDelete() 151 assertFalse(sam.contains(0, KEYS_1[i])); in testDelete() 152 assertTrue(sam.contains(1, KEYS_1[i])); in testDelete() 153 assertTrue(sam.contains(2, KEYS_1[i])); in testDelete() [all …]
|
/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/tests/hardware/src/android/hardware/hdmi/cts/ |
D | HdmiControlManagerTest.java | 108 if (deviceTypes.contains(String.valueOf(HdmiDeviceInfo.DEVICE_TV)) in testGetHdmiClient() 109 || deviceTypes.contains(STRING_DEVICE_TYPE_TV)) { in testGetHdmiClient() 114 if (deviceTypes.contains(String.valueOf(HdmiDeviceInfo.DEVICE_PLAYBACK)) in testGetHdmiClient() 115 || deviceTypes.contains(STRING_DEVICE_TYPE_PLAYBACK_DEVICE)) { in testGetHdmiClient() 121 if (deviceTypes.contains(String.valueOf(HdmiDeviceInfo.DEVICE_AUDIO_SYSTEM)) in testGetHdmiClient() 122 || deviceTypes.contains(STRING_DEVICE_TYPE_AUDIO_SYSTEM)) { in testGetHdmiClient() 129 if (deviceTypes.contains(String.valueOf(DEVICE_TYPE_SWITCH)) in testGetHdmiClient() 130 || deviceTypes.contains(STRING_DEVICE_TYPE_PURE_CEC_SWITCH) in testGetHdmiClient() 194 if (deviceTypes.contains(String.valueOf(HdmiDeviceInfo.DEVICE_TV)) in testHdmiClientType() 195 || deviceTypes.contains(STRING_DEVICE_TYPE_TV)) { in testHdmiClientType() [all …]
|