/packages/apps/Launcher3/tests/src/com/android/launcher3/search/ |
D | StringMatcherUtilityTest.java | 23 import static org.junit.Assert.assertTrue; 46 assertTrue(matches("white", "white cow", MATCHER)); in testMatches() 47 assertTrue(matches("white ", "white cow", MATCHER)); in testMatches() 48 assertTrue(matches("white c", "white cow", MATCHER)); in testMatches() 49 assertTrue(matches("cow", "white cow", MATCHER)); in testMatches() 50 assertTrue(matches("cow", "whiteCow", MATCHER)); in testMatches() 51 assertTrue(matches("cow", "whiteCOW", MATCHER)); in testMatches() 52 assertTrue(matches("cow", "whitecowCOW", MATCHER)); in testMatches() 53 assertTrue(matches("cow", "white2cow", MATCHER)); in testMatches() 58 assertTrue(matches("cow", "whitecowCow", MATCHER)); in testMatches() [all …]
|
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/ |
D | CleanupTest.kt | 26 import kotlin.test.assertTrue 45 assertTrue(x == 2) in testNotThrow() 49 assertTrue(x == 3) in testNotThrow() 50 assertTrue(result == 6) in testNotThrow() 62 assertTrue(x == 2) in testThrowTry() 67 assertTrue(thrown.suppressedExceptions.isEmpty()) in testThrowTry() 68 assertTrue(x == 3) in testThrowTry() 79 assertTrue(x == 2) in testThrowCleanup() 85 assertTrue(thrown.suppressedExceptions.isEmpty()) in testThrowCleanup() 86 assertTrue(x == 3) in testThrowCleanup() [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/settings/ |
D | SpacingAndPunctuationsTests.java | 21 import static org.junit.Assert.assertTrue; 121 assertTrue("Tab", sp.isWordSeparator('\t')); in testingStandardWordSeparator() 122 assertTrue("Newline", sp.isWordSeparator('\n')); in testingStandardWordSeparator() 123 assertTrue("Space", sp.isWordSeparator(' ')); in testingStandardWordSeparator() 124 assertTrue("Exclamation", sp.isWordSeparator('!')); in testingStandardWordSeparator() 125 assertTrue("Quotation", sp.isWordSeparator('"')); in testingStandardWordSeparator() 129 assertTrue("Ampersand", sp.isWordSeparator('&')); in testingStandardWordSeparator() 131 assertTrue("L Paren", sp.isWordSeparator('(')); in testingStandardWordSeparator() 132 assertTrue("R Paren", sp.isWordSeparator(')')); in testingStandardWordSeparator() 133 assertTrue("Asterisk", sp.isWordSeparator('*')); in testingStandardWordSeparator() [all …]
|
/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/ |
D | SipSessionTrackerTest.java | 23 import static junit.framework.Assert.assertTrue; 155 assertTrue(mTrackerUT.getConfirmedDialogs().isEmpty()); in testMetricsEndedGracefullyBye() 162 assertTrue(mTrackerUT.getEarlyDialogs().isEmpty()); in testMetricsEndedGracefullyBye() 169 assertTrue(mTrackerUT.getEarlyDialogs().isEmpty()); in testMetricsEndedGracefullyBye() 170 assertTrue(mTrackerUT.getConfirmedDialogs().isEmpty()); in testMetricsEndedGracefullyBye() 185 assertTrue(mTrackerUT.getConfirmedDialogs().isEmpty()); in testMetricsCloseCleanupSession() 192 assertTrue(mTrackerUT.getEarlyDialogs().isEmpty()); in testMetricsCloseCleanupSession() 197 assertTrue(mTrackerUT.getEarlyDialogs().isEmpty()); in testMetricsCloseCleanupSession() 198 assertTrue(mTrackerUT.getConfirmedDialogs().isEmpty()); in testMetricsCloseCleanupSession() 199 assertTrue(mTrackerUT.getClosedDialogs().isEmpty()); in testMetricsCloseCleanupSession() [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/ |
D | BipTransformationTest.java | 40 Assert.assertTrue(trans.isSupported(BipTransformation.CROP)); in testAddTransformation() 46 Assert.assertTrue(trans.isSupported(BipTransformation.CROP)); in testAddTransformation() 47 Assert.assertTrue(trans.isSupported(BipTransformation.STRETCH)); in testAddTransformation() 56 Assert.assertTrue(trans.isSupported(BipTransformation.CROP)); in testAddExistingTransformation() 62 Assert.assertTrue(trans.isSupported(BipTransformation.CROP)); in testAddExistingTransformation() 85 Assert.assertTrue(trans.isSupported(BipTransformation.CROP)); in testRemoveOnlyTransformation() 103 Assert.assertTrue(trans.isSupported(BipTransformation.CROP)); in testRemoveOneTransformation() 104 Assert.assertTrue(trans.isSupported(BipTransformation.STRETCH)); in testRemoveOneTransformation() 110 Assert.assertTrue(trans.isSupported(BipTransformation.STRETCH)); in testRemoveOneTransformation() 121 Assert.assertTrue(trans.isSupported(BipTransformation.CROP)); in testRemoveInvalidTransformation() [all …]
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/selectabledeletion/ |
D | DeletionTypeTest.kt | 9 import junit.framework.Assert.assertTrue 29 assertTrue( in deletionTypeHealthPermissionTypeData_isParcelable() 31 assertTrue(recreatedDeletionType.hasPermissionTypes) in deletionTypeHealthPermissionTypeData_isParcelable() 32 assertTrue(!recreatedDeletionType.hasAppData) in deletionTypeHealthPermissionTypeData_isParcelable() 33 assertTrue(!recreatedDeletionType.hasEntryIds) in deletionTypeHealthPermissionTypeData_isParcelable() 49 assertTrue(recreatedDeletionType.appName == deletionType.appName) in deletionTypeAppData_isParcelable() 50 assertTrue(recreatedDeletionType.packageName == deletionType.packageName) in deletionTypeAppData_isParcelable() 51 assertTrue(!recreatedDeletionType.hasPermissionTypes) in deletionTypeAppData_isParcelable() 52 assertTrue(recreatedDeletionType.hasAppData) in deletionTypeAppData_isParcelable() 53 assertTrue(!recreatedDeletionType.hasEntryIds) in deletionTypeAppData_isParcelable() [all …]
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | MailToTest.java | 45 assertTrue(MailTo.isMailTo(MAILTOURI_1)); in testParseMailToURI() 55 assertTrue(MailTo.isMailTo(MAILTOURI_2)); in testParseMailToURI() 64 assertTrue(stringUrl.startsWith("mailto:?")); in testParseMailToURI() 65 assertTrue(stringUrl.contains("to=infobot%40example.com&")); in testParseMailToURI() 66 assertTrue(stringUrl.contains("subject=current-issue&")); in testParseMailToURI() 68 assertTrue(MailTo.isMailTo(MAILTOURI_3)); in testParseMailToURI() 77 assertTrue(stringUrl.startsWith("mailto:?")); in testParseMailToURI() 78 assertTrue(stringUrl.contains("to=infobot%40example.com&")); in testParseMailToURI() 79 assertTrue(stringUrl.contains("body=send%20current-issue&")); in testParseMailToURI() 81 assertTrue(MailTo.isMailTo(MAILTOURI_4)); in testParseMailToURI() [all …]
|
D | TrafficStatsTest.java | 44 assertTrue(tag + ": " + value + " is not within range [" + lower + ", " + upper + "]", in assertInRange() 52 assertTrue(TrafficStats.getMobileTxPackets() >= 0); in testValidMobileStats() 53 assertTrue(TrafficStats.getMobileRxPackets() >= 0); in testValidMobileStats() 54 assertTrue(TrafficStats.getMobileTxBytes() >= 0); in testValidMobileStats() 55 assertTrue(TrafficStats.getMobileRxBytes() >= 0); in testValidMobileStats() 59 assertTrue(TrafficStats.getTotalTxPackets() >= 0); in testValidTotalStats() 60 assertTrue(TrafficStats.getTotalRxPackets() >= 0); in testValidTotalStats() 61 assertTrue(TrafficStats.getTotalTxBytes() >= 0); in testValidTotalStats() 62 assertTrue(TrafficStats.getTotalRxBytes() >= 0); in testValidTotalStats() 66 assertTrue(TrafficStats.getTxPackets("lo") >= 0); in testValidIfaceStats() [all …]
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | ConfigStoreTest.java | 22 import static org.junit.Assert.assertTrue; 64 assertTrue(mConfigStore.getAllowedCloudProviderPackages().isEmpty()); in test_defaultValueConfigStore_allCorrect_TPlus() 67 assertTrue(mConfigStore.isCloudMediaInPhotoPickerEnabled()); in test_defaultValueConfigStore_allCorrect_TPlus() 69 assertTrue(mConfigStore.isPickerChoiceManagedSelectionEnabled()); in test_defaultValueConfigStore_allCorrect_TPlus() 72 assertTrue(mConfigStore.isTranscodeEnabled()); in test_defaultValueConfigStore_allCorrect_TPlus() 73 assertTrue(mConfigStore.isUserSelectForAppEnabled()); in test_defaultValueConfigStore_allCorrect_TPlus() 74 assertTrue(mConfigStore.shouldEnforceCloudProviderAllowlist()); in test_defaultValueConfigStore_allCorrect_TPlus() 75 assertTrue(mConfigStore.shouldPickerPreloadForGetContent()); in test_defaultValueConfigStore_allCorrect_TPlus() 76 assertTrue(mConfigStore.shouldPickerPreloadForPickImages()); in test_defaultValueConfigStore_allCorrect_TPlus() 79 assertTrue(mConfigStore.isPrivateSpaceInPhotoPickerEnabled()); in test_defaultValueConfigStore_allCorrect_TPlus() [all …]
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/deletion/ |
D | DeletionParametersTest.kt | 15 import junit.framework.Assert.assertTrue 35 assertTrue(outValue != null) in deletionToParcel() 36 assertTrue(deletionParameters.chosenRange == outValue?.chosenRange) in deletionToParcel() 37 assertTrue(deletionParameters.deletionType == outValue?.deletionType) in deletionToParcel() 61 assertTrue(outValue != null) in deletionTypeHealthPermissionTypeData_toParcel() 62 assertTrue(deletionParameters.chosenRange == outValue?.chosenRange) in deletionTypeHealthPermissionTypeData_toParcel() 63 assertTrue(deletionParameters.startTimeMs == outValue?.startTimeMs) in deletionTypeHealthPermissionTypeData_toParcel() 64 assertTrue(deletionParameters.endTimeMs == outValue?.endTimeMs) in deletionTypeHealthPermissionTypeData_toParcel() 65 assertTrue(deletionParameters.deletionType == outValue?.deletionType) in deletionTypeHealthPermissionTypeData_toParcel() 66 assertTrue( in deletionTypeHealthPermissionTypeData_toParcel() [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | SarInfoTest.java | 20 import static org.junit.Assert.assertTrue; 55 assertTrue(mSarInfo.resetSarScenarioNeeded()); in testSarInfo_resetSarScenarioNeed_atStart() 63 assertTrue(mSarInfo.setSarScenarioNeeded(SAR_SCENARIO_1)); in testSarInfo_setSarScenarioNeeded_atStart() 73 assertTrue(mSarInfo.resetSarScenarioNeeded()); in testSarInfo_repeat_reset_scenario() 86 assertTrue(mSarInfo.resetSarScenarioNeeded()); in testSarInfo_set_after_reset_scenario() 90 assertTrue(mSarInfo.setSarScenarioNeeded(SAR_SCENARIO_1)); in testSarInfo_set_after_reset_scenario() 99 assertTrue(mSarInfo.setSarScenarioNeeded(SAR_SCENARIO_1)); in testSarInfo_set_twice_same_value_scenario() 112 assertTrue(mSarInfo.setSarScenarioNeeded(SAR_SCENARIO_1)); in testSarInfo_set_twice_different_values_scenario() 116 assertTrue(mSarInfo.setSarScenarioNeeded(SAR_SCENARIO_2)); in testSarInfo_set_twice_different_values_scenario() 125 assertTrue(mSarInfo.setSarScenarioNeeded(SAR_SCENARIO_1)); in testSarInfo_reset_after_set_scenario() [all …]
|
D | ScanResultMatchInfoTest.java | 25 import static org.junit.Assert.assertTrue; 113 assertTrue(ScanResultMatchInfo.fromWifiConfiguration(conf) in testScanResultMatchesWifiConfiguration() 158 assertTrue(ScanResultMatchInfo.fromScanResult(scanOpen1.getScanResult()) in testDifferentNetworkScanResultsDontMatch() 160 assertTrue(ScanResultMatchInfo.fromScanResult(scanOpen1.getScanResult()) in testDifferentNetworkScanResultsDontMatch() 180 assertTrue(key1.equals(key1)); in testEqualityRulesForTransitionMode() 183 assertTrue(key1.equals(key2)); in testEqualityRulesForTransitionMode() 184 assertTrue(key2.equals(key1)); in testEqualityRulesForTransitionMode() 187 assertTrue(key1.equals(key2)); in testEqualityRulesForTransitionMode() 188 assertTrue(key2.equals(key3)); in testEqualityRulesForTransitionMode() 189 assertTrue(key1.equals(key3)); in testEqualityRulesForTransitionMode() [all …]
|
/packages/services/Telephony/tests/src/com/android/phone/satellite/entitlement/ |
D | SatelliteEntitlementResponseTest.java | 25 import static org.junit.Assert.assertTrue; 75 assertTrue(response.getPlmnAllowed().size() == 2); in testGetSatelliteEntitlementResponse() 84 assertTrue(response.getPlmnBarredList().size() == 2); in testGetSatelliteEntitlementResponse() 90 assertTrue(response.getPlmnAllowed().size() == 0); in testGetSatelliteEntitlementResponse() 91 assertTrue(response.getPlmnBarredList().size() == 0); in testGetSatelliteEntitlementResponse() 96 assertTrue(response.getPlmnAllowed().size() == 0); in testGetSatelliteEntitlementResponse() 97 assertTrue(response.getPlmnBarredList().size() == 0); in testGetSatelliteEntitlementResponse() 102 assertTrue(response.getPlmnAllowed().size() == 0); in testGetSatelliteEntitlementResponse() 103 assertTrue(response.getPlmnBarredList().size() == 0); in testGetSatelliteEntitlementResponse() 109 assertTrue(response.getPlmnAllowed().size() == 0); in testGetSatelliteEntitlementResponse() [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/ |
D | ByteArrayRingBufferTest.java | 22 import static org.junit.Assert.assertTrue; 47 assertTrue(rb.appendBuffer(data)); in canAddAndRetrieveSingleElement() 57 assertTrue(rb.appendBuffer(data1)); in canAddAndRetrieveMultipleElements() 58 assertTrue(rb.appendBuffer(data2)); in canAddAndRetrieveMultipleElements() 70 assertTrue(rb.appendBuffer(data1)); in canFillToCapacityWithMultipleElements() 71 assertTrue(rb.appendBuffer(data2)); in canFillToCapacityWithMultipleElements() 80 assertTrue(rb.appendBuffer(data)); in canFillToCapacityWithSingleElement() 87 assertTrue(data.length > MAX_BYTES); in canNotOverfillWithSingleElement() 96 assertTrue(rb.appendBuffer(data1)); in appendPrunesBufferIfNecessary() 99 assertTrue(rb.appendBuffer(data2)); in appendPrunesBufferIfNecessary() [all …]
|
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/ |
D | TaplTestsQuickstep.java | 26 import static org.junit.Assert.assertTrue; 97 executeOnLauncher(launcher -> assertTrue( in startTestAppsWithCheck() 109 assertTrue("Launcher internal state is not All Apps", in testWorkspaceSwitchToAllApps() 119 assertTrue("Launcher internal state didn't switch to Overview", in testOverview() 122 launcher -> assertTrue("Don't have at least 3 tasks", getTaskCount(launcher) >= 3)); in testOverview() 129 assertTrue("Launcher internal state is not Overview", in testOverview() 133 executeOnLauncher(launcher -> assertTrue("Current task in Overview is still 0", in testOverview() 137 assertTrue("Launcher internal state is not Overview", in testOverview() 139 executeOnLauncher(launcher -> assertTrue("Flinging back in Overview did nothing", in testOverview() 146 assertTrue("Test activity didn't open from Overview", mDevice.wait(Until.hasObject( in testOverview() [all …]
|
/packages/modules/GeoTZ/s2storage/src/test/java/com/android/storage/s2/ |
D | S2LevelRangeTest.java | 25 import static org.junit.Assert.assertTrue; 50 assertTrue(range1.contains(cellId(12, 1, 1))); in contains() 51 assertTrue(range1.contains(cellId(12, 1, 2))); in contains() 57 assertTrue(range2.contains(cellId(12, 1, 0))); in contains() 60 assertTrue(range2.contains(cellId(12, 1, 3))); in contains() 61 assertTrue(range2.contains(cellId(12, 1, 4))); in contains() 68 assertTrue(range1.overlaps(range1)); in overlaps() 71 assertTrue(range1.overlaps(new S2LevelRange(cellId(12, 1, 0), cellId(12, 1, 2)))); in overlaps() 72 assertTrue(range1.overlaps(new S2LevelRange(cellId(12, 1, 1), cellId(12, 1, 2)))); in overlaps() 73 assertTrue(range1.overlaps(new S2LevelRange(cellId(12, 1, 2), cellId(12, 1, 3)))); in overlaps() [all …]
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | WifiNetworkSuggestionTest.java | 25 import static org.junit.Assert.assertTrue; 75 assertTrue(suggestion.wifiConfiguration.allowedKeyManagement in testWifiNetworkSuggestionBuilderForOpenNetworkWithReqAppInteraction() 77 assertTrue(suggestion.isAppInteractionRequired); in testWifiNetworkSuggestionBuilderForOpenNetworkWithReqAppInteraction() 83 assertTrue(suggestion.isInitialAutoJoinEnabled); in testWifiNetworkSuggestionBuilderForOpenNetworkWithReqAppInteraction() 104 assertTrue(suggestion.wifiConfiguration.allowedKeyManagement in testWifiNetworkSuggestionBuilderForWpa2EapNetworkWithPriorityAndReqAppInteraction() 108 assertTrue(suggestion.isAppInteractionRequired); in testWifiNetworkSuggestionBuilderForWpa2EapNetworkWithPriorityAndReqAppInteraction() 114 assertTrue(suggestion.isInitialAutoJoinEnabled); in testWifiNetworkSuggestionBuilderForWpa2EapNetworkWithPriorityAndReqAppInteraction() 135 assertTrue(suggestion.wifiConfiguration.allowedKeyManagement in testWifiNetworkSuggestionBuilderForWpa2PskNetworkWithMeteredAndReqUserInteraction() 140 assertTrue(suggestion.isUserInteractionRequired); in testWifiNetworkSuggestionBuilderForWpa2PskNetworkWithMeteredAndReqUserInteraction() 144 assertTrue(suggestion.isUserAllowedToManuallyConnect); in testWifiNetworkSuggestionBuilderForWpa2PskNetworkWithMeteredAndReqUserInteraction() [all …]
|
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/util/ |
D | AllowListUtilsTest.java | 20 import static org.junit.Assert.assertTrue; 30 assertTrue(AllowListUtils.isAllowListed(null, null, "*")); in testIsAllowListed() 31 assertTrue(AllowListUtils.isAllowListed("", null, "*")); in testIsAllowListed() 32 assertTrue(AllowListUtils.isAllowListed("com.android.app", null, "*")); in testIsAllowListed() 41 assertTrue(AllowListUtils.isAllowListed("com.android.app", null, "com.android.app")); in testIsAllowListed() 42 assertTrue(AllowListUtils.isAllowListed("com.android.app", null, in testIsAllowListed() 46 assertTrue(AllowListUtils.isAllowListed("com.android.app", null, in testIsAllowListed() 49 assertTrue(AllowListUtils.isAllowListed("com.android.app", "certificate", "*")); in testIsAllowListed() 58 assertTrue(AllowListUtils.isAllowListed( in testIsAllowListed() 60 assertTrue(AllowListUtils.isAllowListed( in testIsAllowListed() [all …]
|
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | IpPrefixTest.java | 27 import static org.junit.Assert.assertTrue; 235 assertTrue(p.contains(address("2001:db8:f00::ace:d00c"))); in testContainsInetAddress() 236 assertTrue(p.contains(address("2001:db8:f00::ace:d00d"))); in testContainsInetAddress() 243 assertTrue(p.contains(address("192.0.2.43"))); in testContainsInetAddress() 244 assertTrue(p.contains(address("192.0.3.21"))); in testContainsInetAddress() 250 assertTrue(ipv6Default.contains(address("2001:db8::f00"))); in testContainsInetAddress() 254 assertTrue(ipv4Default.contains(address("255.255.255.255"))); in testContainsInetAddress() 255 assertTrue(ipv4Default.contains(address("192.0.2.1"))); in testContainsInetAddress() 261 assertTrue(new IpPrefix("0.0.0.0/0").containsPrefix(new IpPrefix("0.0.0.0/0"))); in testContainsIpPrefix() 262 assertTrue(new IpPrefix("0.0.0.0/0").containsPrefix(new IpPrefix("1.2.3.4/0"))); in testContainsIpPrefix() [all …]
|
D | LinkPropertiesTest.java | 30 import static org.junit.Assert.assertTrue; 171 assertTrue(source.isIdenticalInterfaceName(target)); in assertLinkPropertiesEqual() 172 assertTrue(target.isIdenticalInterfaceName(source)); in assertLinkPropertiesEqual() 174 assertTrue(source.isIdenticalAddresses(target)); in assertLinkPropertiesEqual() 175 assertTrue(target.isIdenticalAddresses(source)); in assertLinkPropertiesEqual() 177 assertTrue(source.isIdenticalDnses(target)); in assertLinkPropertiesEqual() 178 assertTrue(target.isIdenticalDnses(source)); in assertLinkPropertiesEqual() 180 assertTrue(source.isIdenticalPrivateDns(target)); in assertLinkPropertiesEqual() 181 assertTrue(target.isIdenticalPrivateDns(source)); in assertLinkPropertiesEqual() 183 assertTrue(source.isIdenticalValidatedPrivateDnses(target)); in assertLinkPropertiesEqual() [all …]
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | LocaleSetTest.java | 46 assertTrue(LocaleSet.isLanguageChinese(Locale.CHINESE)); in testIsLanguageChinese() 47 assertTrue(LocaleSet.isLanguageChinese(Locale.TRADITIONAL_CHINESE)); in testIsLanguageChinese() 48 assertTrue(LocaleSet.isLanguageChinese(Locale.SIMPLIFIED_CHINESE)); in testIsLanguageChinese() 67 assertTrue(LocaleSet.isLocaleSimplifiedChinese(Locale.SIMPLIFIED_CHINESE)); in testIsLocaleSimplifiedChinese() 68 assertTrue(LocaleSet.isLocaleSimplifiedChinese(Locale.forLanguageTag("zh-SG"))); in testIsLocaleSimplifiedChinese() 80 assertTrue(LocaleSet.isLocaleTraditionalChinese(Locale.TRADITIONAL_CHINESE)); in testIsLocaleTraditionalChinese() 81 assertTrue(LocaleSet.isLocaleTraditionalChinese(Locale.forLanguageTag("zh-TW"))); in testIsLocaleTraditionalChinese() 93 assertTrue(LocaleSet.isLanguageJapanese(Locale.JAPANESE)); in testIsLanguageJapanese() 94 assertTrue(LocaleSet.isLanguageJapanese(Locale.JAPAN)); in testIsLanguageJapanese() 102 assertTrue(LocaleSet.isLanguageKorean(Locale.KOREAN)); in testIsLanguageKorean() [all …]
|
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/ |
D | OnDevicePersonalizationBroadcastReceiverTests.java | 24 import static org.junit.Assert.assertTrue; 99 assertTrue( in testOnReceive() 103 assertTrue( in testOnReceive() 107 assertTrue( in testOnReceive() 111 assertTrue( in testOnReceive() 115 assertTrue( in testOnReceive() 120 assertTrue( in testOnReceive() 140 assertTrue( in testOnReceiveKillSwitchOn() 144 assertTrue( in testOnReceiveKillSwitchOn() 148 assertTrue( in testOnReceiveKillSwitchOn() [all …]
|
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/atoms/ |
D | AtomsQnsFallbackRestrictionChangedInfoTest.java | 23 import static org.junit.Assert.assertTrue; 104 assertTrue(mInfoDefault.getRestrictionOnWlanByRtpThresholdBreached()); in testGetSetRestrictionWlanRtpThresholdBreached() 105 assertTrue(mInfoCopy.getRestrictionOnWlanByRtpThresholdBreached()); in testGetSetRestrictionWlanRtpThresholdBreached() 111 assertTrue(mInfoEmpty.getRestrictionOnWlanByRtpThresholdBreached()); in testGetSetRestrictionWlanRtpThresholdBreached() 112 assertTrue(mInfoDefault.getRestrictionOnWlanByRtpThresholdBreached()); in testGetSetRestrictionWlanRtpThresholdBreached() 113 assertTrue(mInfoCopy.getRestrictionOnWlanByRtpThresholdBreached()); in testGetSetRestrictionWlanRtpThresholdBreached() 119 assertTrue(mInfoDefault.getRestrictionOnWwanByRtpThresholdBreached()); in testGetSetRestrictionWwanRtpThresholdBreached() 120 assertTrue(mInfoCopy.getRestrictionOnWwanByRtpThresholdBreached()); in testGetSetRestrictionWwanRtpThresholdBreached() 126 assertTrue(mInfoEmpty.getRestrictionOnWwanByRtpThresholdBreached()); in testGetSetRestrictionWwanRtpThresholdBreached() 127 assertTrue(mInfoDefault.getRestrictionOnWwanByRtpThresholdBreached()); in testGetSetRestrictionWwanRtpThresholdBreached() [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | WordComposerTests.java | 21 import static org.junit.Assert.assertTrue; 58 assertTrue(wc.isCursorFrontOrMiddleOfComposingWord()); in testMoveCursor() 60 assertTrue(wc.moveCursorByAndReturnIfInsideComposingWord(2)); in testMoveCursor() 61 assertTrue(wc.isCursorFrontOrMiddleOfComposingWord()); in testMoveCursor() 63 assertTrue(wc.moveCursorByAndReturnIfInsideComposingWord(1)); in testMoveCursor() 64 assertTrue(wc.isCursorFrontOrMiddleOfComposingWord()); in testMoveCursor() 67 assertTrue(wc.moveCursorByAndReturnIfInsideComposingWord(1)); in testMoveCursor() 88 assertTrue(wc.isCursorFrontOrMiddleOfComposingWord()); in testMoveCursor() 89 assertTrue(wc.moveCursorByAndReturnIfInsideComposingWord(6)); in testMoveCursor() 90 assertTrue(wc.isCursorFrontOrMiddleOfComposingWord()); in testMoveCursor() [all …]
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallExtrasTest.java | 22 import static org.junit.Assert.assertTrue; 91 assertTrue(mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().containsKey( in testCsPutExtras() 93 assertTrue(mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().containsKey( in testCsPutExtras() 116 assertTrue(mInCallServiceFixtureX.getCall(ids.mCallId).getExtras() in testCsPutBooleanExtra() 118 assertTrue( in testCsPutBooleanExtra() 140 assertTrue( in testCsPutIntExtra() 165 assertTrue( in testCsPutStringExtra() 191 assertTrue( in testCsRemoveExtra() 201 assertTrue(mInCallServiceFixtureX.getCall(ids.mCallId).getExtras() in testCsRemoveExtra() 225 assertTrue( in testCsUpdateExisting() [all …]
|