/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
D | IccIoResultTest.java | 29 Assert.assertTrue(resultStr != null && (!resultStr.contains("Error"))); in check0x90_ErrorCodeParsing() 37 Assert.assertTrue(resultStr != null && (!resultStr.contains("Error"))); in check0x91_ErrorCodeParsing() 45 Assert.assertTrue(resultStr != null && (!resultStr.contains("Error"))); in check0x9E_ErrorCodeParsing() 53 Assert.assertTrue(resultStr != null && (!resultStr.contains("Error"))); in check0x9F_ErrorCodeParsing() 61 Assert.assertTrue(resultStr != null && (resultStr.contains("no EF selected"))); in check0x94_ErrorCodeParsing() 67 resultStr != null && (resultStr.contains("out f range (invalid address)"))); in check0x94_ErrorCodeParsing() 73 resultStr != null && (resultStr.contains("file ID not found/pattern not found"))); in check0x94_ErrorCodeParsing() 79 resultStr != null && (resultStr.contains("file is inconsistent with the command"))); in check0x94_ErrorCodeParsing() 86 Assert.assertTrue(resultStr != null && (resultStr.contains("unknown"))); in check0x98_ErrorCodeParsing() 90 Assert.assertTrue(resultStr != null && (resultStr.contains("no CHV initialized"))); in check0x98_ErrorCodeParsing() [all …]
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | PackageTagsListTest.java | 48 assertTrue(list.contains(builder.build())); in testPackageTagsList() 49 assertTrue(list.contains("package1", "attr1")); in testPackageTagsList() 50 assertTrue(list.contains("package1", "attr2")); in testPackageTagsList() 51 assertTrue(list.contains("package2", "attr1")); in testPackageTagsList() 52 assertTrue(list.contains("package2", "attr2")); in testPackageTagsList() 53 assertTrue(list.contains("package2", "attr3")); in testPackageTagsList() 54 assertTrue(list.contains("package4", "attr1")); in testPackageTagsList() 55 assertTrue(list.contains("package4", "attr2")); in testPackageTagsList() 59 assertFalse(list.contains("package1", "attr3")); in testPackageTagsList() 60 assertFalse(list.contains("package4", "attr3")); in testPackageTagsList() [all …]
|
/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger_middleware/ |
D | SoundTriggerMiddlewareLoggingTest.java | 43 assertThat(stringRep).contains(SERVICE_TYPE.name()); in serviceEventException_getStringContainsInfo() 44 assertThat(stringRep).contains(packageName); in serviceEventException_getStringContainsInfo() 45 assertThat(stringRep).contains(exception.toString()); in serviceEventException_getStringContainsInfo() 46 assertThat(stringRep).contains(param1.toString()); in serviceEventException_getStringContainsInfo() 47 assertThat(stringRep).contains(param2.toString()); in serviceEventException_getStringContainsInfo() 48 assertThat(stringRep).ignoringCase().contains("error"); in serviceEventException_getStringContainsInfo() 57 assertThat(stringRep).contains(SERVICE_TYPE.name()); in serviceEventExceptionNoArgs_getStringContainsInfo() 58 assertThat(stringRep).contains(packageName); in serviceEventExceptionNoArgs_getStringContainsInfo() 59 assertThat(stringRep).contains(exception.toString()); in serviceEventExceptionNoArgs_getStringContainsInfo() 60 assertThat(stringRep).ignoringCase().contains("error"); in serviceEventExceptionNoArgs_getStringContainsInfo() [all …]
|
/frameworks/av/services/mediaresourcemanager/test/ |
D | ServiceLog_test.cpp | 41 EXPECT_TRUE(logString.contains("log1")); in TEST_F() 46 EXPECT_TRUE(logString.contains(kTestLogPrefix)); in TEST_F() 47 EXPECT_TRUE(logString.contains("log1")); in TEST_F() 52 EXPECT_TRUE(logString.contains("log1")); in TEST_F() 53 EXPECT_TRUE(logString.contains("log2")); in TEST_F() 58 EXPECT_TRUE(logString.contains("log1")); in TEST_F() 59 EXPECT_TRUE(logString.contains("log2")); in TEST_F() 60 EXPECT_TRUE(logString.contains("log3")); in TEST_F() 65 EXPECT_FALSE(logString.contains("log1")); in TEST_F() 66 EXPECT_TRUE(logString.contains("log2")); in TEST_F() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | RadioConfigResponseTest.java | 37 caps.contains(TelephonyManager.CAPABILITY_SECONDARY_LINK_BANDWIDTH_VISIBLE)); in testVersion_1_5() 39 caps.contains(TelephonyManager.CAPABILITY_USES_ALLOWED_NETWORK_TYPES_BITMASK)); in testVersion_1_5() 41 caps.contains( in testVersion_1_5() 44 caps.contains(TelephonyManager.CAPABILITY_THERMAL_MITIGATION_DATA_THROTTLING)); in testVersion_1_5() 46 caps.contains(TelephonyManager.CAPABILITY_SLICING_CONFIG_SUPPORTED)); in testVersion_1_5() 53 caps.contains(TelephonyManager.CAPABILITY_SECONDARY_LINK_BANDWIDTH_VISIBLE)); in testReducedFeatureSet() 55 caps.contains(TelephonyManager.CAPABILITY_USES_ALLOWED_NETWORK_TYPES_BITMASK)); in testReducedFeatureSet() 57 caps.contains( in testReducedFeatureSet() 60 caps.contains(TelephonyManager.CAPABILITY_THERMAL_MITIGATION_DATA_THROTTLING)); in testReducedFeatureSet() 62 caps.contains(TelephonyManager.CAPABILITY_SLICING_CONFIG_SUPPORTED)); in testReducedFeatureSet() [all …]
|
D | CbGeoUtilsTest.java | 129 assertThat(polygon.contains(new LatLng(0, 0))).isTrue(); in testPointInPolygon() 131 assertThat(polygon.contains(new LatLng(0.5, 0.5))).isTrue(); in testPointInPolygon() 133 assertThat(polygon.contains(new LatLng(-2, -1))).isFalse(); in testPointInPolygon() 135 assertThat(polygon.contains(new LatLng(1.0001, 1.0001))).isFalse(); in testPointInPolygon() 152 assertThat(polygon.contains(new LatLng(68.65294, 177.16205))).isTrue(); in testPointInPolygon_crossing180thMeridian() 153 assertThat(polygon.contains(new LatLng(68.60522, 178.83294))).isTrue(); in testPointInPolygon_crossing180thMeridian() 154 assertThat(polygon.contains(new LatLng(68.63098, -179.90943))).isTrue(); in testPointInPolygon_crossing180thMeridian() 155 assertThat(polygon.contains(new LatLng(67.51219, -179.74427))).isTrue(); in testPointInPolygon_crossing180thMeridian() 156 assertThat(polygon.contains(new LatLng(67.91933, 179.46802))).isTrue(); in testPointInPolygon_crossing180thMeridian() 159 assertThat(polygon.contains(new LatLng(67.50498, -179.48277))).isFalse(); in testPointInPolygon_crossing180thMeridian() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/wifi/shared/model/ |
D | WifiNetworkModelTest.kt | 104 assertThat(logger.changes).contains(Pair(COL_NETWORK_TYPE, TYPE_INACTIVE)) in <lambda>() 105 assertThat(logger.changes).contains(Pair(COL_NETWORK_ID, NETWORK_ID_DEFAULT.toString())) in <lambda>() 106 assertThat(logger.changes).contains(Pair(COL_VALIDATED, "false")) in <lambda>() 107 assertThat(logger.changes).contains(Pair(COL_LEVEL, LEVEL_DEFAULT.toString())) in <lambda>() 108 assertThat(logger.changes).contains(Pair(COL_SSID, "null")) in <lambda>() 123 assertThat(logger.changes).contains(Pair(COL_NETWORK_TYPE, TYPE_CARRIER_MERGED)) in <lambda>() 124 assertThat(logger.changes).contains(Pair(COL_NETWORK_ID, "6")) in <lambda>() 125 assertThat(logger.changes).contains(Pair(COL_SUB_ID, "3")) in <lambda>() 126 assertThat(logger.changes).contains(Pair(COL_VALIDATED, "true")) in <lambda>() 127 assertThat(logger.changes).contains(Pair(COL_LEVEL, "2")) in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/log/ |
D | LogBufferTest.kt | 41 assertThat(dumpedString).contains("Some test message") in <lambda>() 52 assertThat(dumpedString).contains("New test message") in <lambda>() 64 assertThat(dumpedString).contains("Extra message") in <lambda>() 65 assertThat(dumpedString).contains("java.lang.RuntimeException: Exception message") in <lambda>() 66 assertThat(dumpedString).contains("at TestClass.TestMethod(TestClass.java:1)") in <lambda>() 67 assertThat(dumpedString).contains("at TestClass.TestMethod(TestClass.java:2)") in <lambda>() 84 assertThat(dumpedString).contains("Caused by: java.lang.RuntimeException: The real cause!") in <lambda>() 85 assertThat(dumpedString).contains("at TestClass.TestMethod(TestClass.java:1)") in <lambda>() 86 assertThat(dumpedString).contains("at TestClass.TestMethod(TestClass.java:2)") in <lambda>() 108 .contains("Suppressed: " + "java.lang.RuntimeException: First suppressed exception") in <lambda>() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest12.java | 90 assertTrue(shortcutIds.contains("s1")); in testSetDynamicShortcuts_PersistsShortcutsToDisk() 91 assertTrue(shortcutIds.contains("s2")); in testSetDynamicShortcuts_PersistsShortcutsToDisk() 92 assertTrue(shortcutIds.contains("s3")); in testSetDynamicShortcuts_PersistsShortcutsToDisk() 118 assertTrue(shortcutIds.contains("s1")); in testAddDynamicShortcuts_PersistsShortcutsToDisk() 119 assertTrue(shortcutIds.contains("s2")); in testAddDynamicShortcuts_PersistsShortcutsToDisk() 120 assertTrue(shortcutIds.contains("s3")); in testAddDynamicShortcuts_PersistsShortcutsToDisk() 121 assertTrue(shortcutIds.contains("s4")); in testAddDynamicShortcuts_PersistsShortcutsToDisk() 122 assertTrue(shortcutIds.contains("s5")); in testAddDynamicShortcuts_PersistsShortcutsToDisk() 142 assertTrue(shortcutIds.contains("s1")); in testPushDynamicShortcuts_PersistsShortcutsToDisk() 143 assertTrue(shortcutIds.contains("s2")); in testPushDynamicShortcuts_PersistsShortcutsToDisk() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/log/table/ |
D | LogDiffsForTableTest.kt | 100 .contains( in boolean_logsInitialWhenCollected() 135 .contains( in boolean_logsUpdates() 144 .contains( in boolean_logsUpdates() 148 .contains( in boolean_logsUpdates() 152 .contains( in boolean_logsUpdates() 194 assertThat(logs).contains(expected1) in boolean_doesNotLogIfSameValue() 195 assertThat(logs).contains(expected4) in boolean_doesNotLogIfSameValue() 196 assertThat(logs).contains(expected6) in boolean_doesNotLogIfSameValue() 227 .contains( in boolean_worksForStateFlows() 239 .contains( in boolean_worksForStateFlows() [all …]
|
D | TableLogBufferTest.kt | 184 assertThat(dumpedString).contains(expected) in <lambda>() 214 assertThat(dumpedString).contains(expected) in <lambda>() 245 assertThat(dumpedString).contains(expected) in <lambda>() 276 assertThat(dumpedString).contains(expected) in <lambda>() 305 assertThat(dumpedString).contains(expected) in <lambda>() 361 assertThat(dumpedString).contains(expected1) in <lambda>() 362 assertThat(dumpedString).contains(expected2) in <lambda>() 363 assertThat(dumpedString).contains(expected3) in <lambda>() 364 assertThat(dumpedString).contains(expected4) in <lambda>() 387 assertThat(dumpedString).contains(expected1) in <lambda>() [all …]
|
D | TableChangeTest.kt | 136 assertThat(underTest.getName()).contains("fakePrefix") in getName_hasPrefix() 137 assertThat(underTest.getName()).contains("fakeName") in getName_hasPrefix() 144 assertThat(underTest.getName()).contains("fakeName") in getName_noPrefix() 178 assertThat(underTest.getName()).contains("updated") in resetThenSet_hasNewValue() 215 assertThat(underTest.getVal()).contains(IS_INITIAL_PREFIX) in reset_notInitialToInitial_valHasInitial() 227 assertThat(underTest.getName()).contains("newPrefix") in updateTo_emptyToString_isString() 228 assertThat(underTest.getName()).contains("newName") in updateTo_emptyToString_isString() 241 assertThat(underTest.getName()).contains("newPrefix") in updateTo_intToEmpty_isEmpty() 242 assertThat(underTest.getName()).contains("newName") in updateTo_intToEmpty_isEmpty() 256 assertThat(underTest.getName()).contains("newPrefix") in updateTo_stringToBool_isBool() [all …]
|
/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger/ |
D | SoundTriggerEventTest.java | 40 assertThat(stringRep).contains(serviceEventType.name()); in serviceEventNoPackageNoError_getStringContainsType() 49 assertThat(stringRep).contains(serviceEventType.name()); in serviceEventPackageNoError_getStringContainsTypeAndPackage() 50 assertThat(stringRep).contains(packageName); in serviceEventPackageNoError_getStringContainsTypeAndPackage() 60 assertThat(stringRep).contains(serviceEventType.name()); in serviceEventPackageError_getStringContainsTypeAndPackageAndErrorAndMessage() 61 assertThat(stringRep).contains(packageName); in serviceEventPackageError_getStringContainsTypeAndPackageAndErrorAndMessage() 62 assertThat(stringRep).contains(errorString); in serviceEventPackageError_getStringContainsTypeAndPackageAndErrorAndMessage() 63 assertThat(stringRep).ignoringCase().contains("error"); in serviceEventPackageError_getStringContainsTypeAndPackageAndErrorAndMessage() 71 assertThat(stringRep).contains(sessionEventType.name()); in sessionEventUUIDNoError_getStringContainsUUID() 72 assertThat(stringRep).contains(uuid.toString()); in sessionEventUUIDNoError_getStringContainsUUID() 82 assertThat(stringRep).contains(sessionEventType.name()); in sessionEventUUIDError_getStringContainsUUIDAndError() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/shared/data/model/ |
D | DefaultConnectionModelTest.kt | 42 assertThat(messageString).contains("wifi.isDefault=false") in messageInitializerAndPrinter_isValidatedFalse_hasCorrectInfo() 43 assertThat(messageString).contains("mobile.isDefault=true") in messageInitializerAndPrinter_isValidatedFalse_hasCorrectInfo() 44 assertThat(messageString).contains("carrierMerged.isDefault=true") in messageInitializerAndPrinter_isValidatedFalse_hasCorrectInfo() 45 assertThat(messageString).contains("ethernet.isDefault=false") in messageInitializerAndPrinter_isValidatedFalse_hasCorrectInfo() 46 assertThat(messageString).contains("isValidated=false") in messageInitializerAndPrinter_isValidatedFalse_hasCorrectInfo() 64 assertThat(messageString).contains("wifi.isDefault=true") in messageInitializerAndPrinter_isValidatedTrue_hasCorrectInfo() 65 assertThat(messageString).contains("mobile.isDefault=false") in messageInitializerAndPrinter_isValidatedTrue_hasCorrectInfo() 66 assertThat(messageString).contains("carrierMerged.isDefault=false") in messageInitializerAndPrinter_isValidatedTrue_hasCorrectInfo() 67 assertThat(messageString).contains("ethernet.isDefault=false") in messageInitializerAndPrinter_isValidatedTrue_hasCorrectInfo() 68 assertThat(messageString).contains("isValidated=true") in messageInitializerAndPrinter_isValidatedTrue_hasCorrectInfo()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/taptotransfer/sender/ |
D | MediaTttSenderLoggerTest.kt | 56 assertThat(actualString).contains(stateName) in logStateChange_bufferHasDeviceTypeTagAndParamInfo() 57 assertThat(actualString).contains(id) in logStateChange_bufferHasDeviceTypeTagAndParamInfo() 58 assertThat(actualString).contains(packageName) in logStateChange_bufferHasDeviceTypeTagAndParamInfo() 66 assertThat(actualString).contains("3456") in logStateChangeError_hasState() 76 assertThat(actualString).contains(packageName) in logPackageNotFound_bufferHasPackageName() 87 assertThat(actualString).contains(removalReason) in logRemovalBypass_bufferHasReasons() 88 assertThat(actualString).contains(bypassReason) in logRemovalBypass_bufferHasReasons() 110 assertThat(actualString).contains("123") in logStateMap_bufferHasInfo() 111 assertThat(actualString).contains(ChipStateSender.ALMOST_CLOSE_TO_START_CAST.name) in logStateMap_bufferHasInfo() 112 assertThat(actualString).contains("456") in logStateMap_bufferHasInfo() [all …]
|
/frameworks/native/libs/ftl/ |
D | non_null_test.cpp | 112 EXPECT_FALSE(ftl::contains(vpi, nullptr)); in TEST() 113 EXPECT_TRUE(ftl::contains(vpi, &i)); in TEST() 114 EXPECT_TRUE(ftl::contains(vpi, vpi.front())); in TEST() 120 EXPECT_FALSE(ftl::contains(vpi, nullptr)); in TEST() 121 EXPECT_TRUE(ftl::contains(vpi, vpi.front().get())); in TEST() 122 EXPECT_TRUE(ftl::contains(vpi, vpi.front())); in TEST() 129 EXPECT_FALSE(ftl::contains(spi, nullptr)); in TEST() 130 EXPECT_TRUE(ftl::contains(spi, &i)); in TEST() 131 EXPECT_TRUE(ftl::contains(spi, *spi.begin())); in TEST() 137 EXPECT_FALSE(ftl::contains(spi, nullptr)); in TEST() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/decor/ |
D | RoundedCornerDecorProviderFactoryTest.kt | 71 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_TOP) in <lambda>() 72 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_LEFT)) in <lambda>() 76 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_TOP) in <lambda>() 77 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_RIGHT)) in <lambda>() 96 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_BOTTOM) in <lambda>() 97 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_LEFT)) in <lambda>() 101 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_BOTTOM) in <lambda>() 102 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_RIGHT)) in <lambda>() 122 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_TOP) in <lambda>() 123 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_LEFT)) in <lambda>() [all …]
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/ |
D | HPRecommendationPlugin.java | 58 if (modelToUpper.contains(TAG_DESIGNJET)) { in isPrintSupported() 61 …!(modelToUpper.contains(TAG_LATEX) || modelToUpper.contains(TAG_SCITEX)) && !(modelToUpper.contain… in isPrintSupported() 74 if (modelToUpper.contains(supportedPrinter)) { in isSupportedDesignjet() 95 && (pdls.contains(PDL__PCL) in matchesCriteria() 96 || pdls.contains(PDL__PDF) in matchesCriteria() 97 || pdls.contains(PDL__PCLM) in matchesCriteria() 98 || pdls.contains(PDL__PWG_RASTER))); in matchesCriteria()
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | ArrayUtilsTest.java | 48 assertTrue(ArrayUtils.contains(new Object[] { A, B, C }, A)); in testContains() 49 assertTrue(ArrayUtils.contains(new Object[] { A, B, C }, B)); in testContains() 50 assertTrue(ArrayUtils.contains(new Object[] { A, B, C }, C)); in testContains() 51 assertTrue(ArrayUtils.contains(new Object[] { A, null, C }, null)); in testContains() 53 assertFalse(ArrayUtils.contains(new Object[] { A, B, C }, null)); in testContains() 54 assertFalse(ArrayUtils.contains(new Object[] { }, null)); in testContains() 55 assertFalse(ArrayUtils.contains(new Object[] { null }, A)); in testContains() 102 assertTrue(ArrayUtils.contains(new int[] { 1, 2, 3 }, 1)); in testContainsInt() 103 assertTrue(ArrayUtils.contains(new int[] { 1, 2, 3 }, 2)); in testContainsInt() 104 assertTrue(ArrayUtils.contains(new int[] { 1, 2, 3 }, 3)); in testContainsInt() [all …]
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/ |
D | PerformanceTracker.java | 35 if (!sTrackers.contains(sensorId)) { in getInstanceForSensorId() 63 if (!mAllUsersInfo.contains(userId)) { in createUserEntryIfNecessary() 120 return mAllUsersInfo.contains(userId) ? mAllUsersInfo.get(userId).mAccept : 0; in getAcceptForUser() 124 return mAllUsersInfo.contains(userId) ? mAllUsersInfo.get(userId).mReject : 0; in getRejectForUser() 128 return mAllUsersInfo.contains(userId) ? mAllUsersInfo.get(userId).mAcquire : 0; in getAcquireForUser() 132 return mAllUsersInfo.contains(userId) ? mAllUsersInfo.get(userId).mAcceptCrypto : 0; in getAcceptCryptoForUser() 136 return mAllUsersInfo.contains(userId) ? mAllUsersInfo.get(userId).mRejectCrypto : 0; in getRejectCryptoForUser() 140 return mAllUsersInfo.contains(userId) ? mAllUsersInfo.get(userId).mAcquireCrypto : 0; in getAcquireCryptoForUser() 144 return mAllUsersInfo.contains(userId) ? mAllUsersInfo.get(userId).mTimedLockout : 0; in getTimedLockoutForUser() 148 return mAllUsersInfo.contains(userId) ? mAllUsersInfo.get(userId).mPermanentLockout : 0; in getPermanentLockoutForUser()
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | FontScaleConverterFactoryTest.kt | 120 assertThat(FontScaleConverterFactory.sLookupTables.contains((1.6F * 100).toInt())).isTrue() in <lambda>() 122 assertThat(FontScaleConverterFactory.sLookupTables.contains((1.5F * 100).toInt())).isTrue() in <lambda>() 123 assertThat(FontScaleConverterFactory.sLookupTables.contains((1.7F * 100).toInt())).isFalse() in <lambda>() 131 assertThat(FontScaleConverterFactory.sLookupTables.contains((3F * 100).toInt())).isTrue() in <lambda>() 133 assertThat(FontScaleConverterFactory.sLookupTables.contains((1.5F * 100).toInt())).isTrue() in <lambda>() 134 assertThat(FontScaleConverterFactory.sLookupTables.contains((1.7F * 100).toInt())).isFalse() in <lambda>() 227 assertThat(fractions).contains(100f) in <lambda>() 228 assertThat(fractions).contains(500.1f) in <lambda>() 229 assertThat(fractions).contains(500.2f) in <lambda>() 230 assertThat(fractions).contains(0.2f) in <lambda>() [all …]
|
/frameworks/native/libs/input/rust/ |
D | keyboard_classifier.rs | 116 if !device.classes.contains(DeviceClass::Keyboard) { in classify_keyboard() 120 if !device.classes.contains(DeviceClass::External) in classify_keyboard() 121 || device.classes.contains(DeviceClass::Virtual) in classify_keyboard() 123 return if device.classes.contains(DeviceClass::AlphabeticKey) { in classify_keyboard() 131 if device.classes.contains(DeviceClass::Touch) in classify_keyboard() 132 || device.classes.contains(DeviceClass::Cursor) in classify_keyboard() 133 || device.classes.contains(DeviceClass::MultiTouch) in classify_keyboard() 134 || device.classes.contains(DeviceClass::ExternalStylus) in classify_keyboard() 135 || device.classes.contains(DeviceClass::Touchpad) in classify_keyboard() 136 || device.classes.contains(DeviceClass::Dpad) in classify_keyboard() [all …]
|
/frameworks/base/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/filters/ |
D | FilterPolicyWithReason.kt | 70 return reason.contains("anonymous-inner-class") 71 || reason.contains("is-annotation") 72 || reason.contains("is-enum") 73 || reason.contains("is-synthetic-method") 74 || reason.contains("special-class") 75 || reason.contains("substitute-to")
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/taptotransfer/common/ |
D | MediaTttLoggerUtilsTest.kt | 53 assertThat(actualString).contains(TAG) in logStateChange_bufferHasDeviceTypeTagAndParamInfo() 54 assertThat(actualString).contains(stateName) in logStateChange_bufferHasDeviceTypeTagAndParamInfo() 55 assertThat(actualString).contains(id) in logStateChange_bufferHasDeviceTypeTagAndParamInfo() 56 assertThat(actualString).contains(packageName) in logStateChange_bufferHasDeviceTypeTagAndParamInfo() 64 assertThat(actualString).contains(TAG) in logStateChangeError_hasState() 65 assertThat(actualString).contains("3456") in logStateChangeError_hasState() 75 assertThat(actualString).contains(TAG) in logPackageNotFound_bufferHasPackageName() 76 assertThat(actualString).contains(packageName) in logPackageNotFound_bufferHasPackageName()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | BatteryControllerTest.java | 392 assertTrue(trackedJobs.contains(batteryJob)); in testControllerOnlyTracksPowerJobs() 393 assertTrue(trackedJobs.contains(chargingJob)); in testControllerOnlyTracksPowerJobs() 394 assertTrue(trackedJobs.contains(bothPowerJob)); in testControllerOnlyTracksPowerJobs() 395 assertFalse(trackedJobs.contains(unrelatedJob)); in testControllerOnlyTracksPowerJobs() 396 assertFalse(topStartedJobs.contains(batteryJob)); in testControllerOnlyTracksPowerJobs() 397 assertFalse(topStartedJobs.contains(chargingJob)); in testControllerOnlyTracksPowerJobs() 398 assertFalse(topStartedJobs.contains(bothPowerJob)); in testControllerOnlyTracksPowerJobs() 399 assertFalse(topStartedJobs.contains(unrelatedJob)); in testControllerOnlyTracksPowerJobs() 403 assertTrue(trackedJobs.contains(batteryJob)); in testControllerOnlyTracksPowerJobs() 404 assertTrue(trackedJobs.contains(chargingJob)); in testControllerOnlyTracksPowerJobs() [all …]
|