/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/ |
D | SipSessionTrackerTest.java | 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() 214 assertTrue(mTrackerUT.getConfirmedDialogs().isEmpty()); in testMetricsCloseClearAllSessions() [all …]
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | WifiSsidTest.java | 72 assertThat(wifiSsidEmpty.getBytes()).isEmpty(); in testFromByteArray() 73 assertThat(wifiSsidEmpty.getUtf8Text().toString()).isEmpty(); in testFromByteArray() 74 assertThat(wifiSsidEmpty.toString()).isEmpty(); in testFromByteArray() 78 assertThat(wifiSsidNull.getBytes()).isEmpty(); in testFromByteArray() 79 assertThat(wifiSsidNull.getUtf8Text().toString()).isEmpty(); in testFromByteArray() 80 assertThat(wifiSsidNull.toString()).isEmpty(); in testFromByteArray() 96 assertThat(wifiSsidEmpty.getBytes()).isEmpty(); in testFromUtf8String() 97 assertThat(wifiSsidEmpty.getUtf8Text().toString()).isEmpty(); in testFromUtf8String() 98 assertThat(wifiSsidEmpty.toString()).isEmpty(); in testFromUtf8String() 102 assertThat(wifiSsidNull.getBytes()).isEmpty(); in testFromUtf8String() [all …]
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | PostalSplitter.java | 71 if (!TextUtils.isEmpty(formattedAddress)) { in split() 100 final boolean hasStreet = !TextUtils.isEmpty(postal.street); in joinJaJp() 101 final boolean hasPobox = !TextUtils.isEmpty(postal.pobox); in joinJaJp() 102 final boolean hasNeighborhood = !TextUtils.isEmpty(postal.neighborhood); in joinJaJp() 103 final boolean hasCity = !TextUtils.isEmpty(postal.city); in joinJaJp() 104 final boolean hasRegion = !TextUtils.isEmpty(postal.region); in joinJaJp() 105 final boolean hasPostcode = !TextUtils.isEmpty(postal.postcode); in joinJaJp() 106 final boolean hasCountry = !TextUtils.isEmpty(postal.country); in joinJaJp() 166 final boolean hasStreet = !TextUtils.isEmpty(postal.street); in joinEnUs() 167 final boolean hasPobox = !TextUtils.isEmpty(postal.pobox); in joinEnUs() [all …]
|
/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/ |
D | SendGsmCmasMessages.java | 76 TextUtils.isEmpty(languageCode) ? "en" : languageCode, in testSendCmasAlertWithServiceCategory() 77 TextUtils.isEmpty(messageBody) ? "This is an alert" : messageBody, in testSendCmasAlertWithServiceCategory() 95 TextUtils.isEmpty(languageCode) ? "en" : languageCode, in testSendCmasPresAlert() 96 TextUtils.isEmpty(messageBody) ? PRES_ALERT : messageBody, in testSendCmasPresAlert() 115 TextUtils.isEmpty(languageCode) ? "en" : languageCode, in testSendCmasExtremeAlert() 116 TextUtils.isEmpty(messageBody) ? EXTREME_ALERT : messageBody, in testSendCmasExtremeAlert() 135 TextUtils.isEmpty(languageCode) ? "en" : languageCode, in testSendCmasSevereAlert() 136 TextUtils.isEmpty(messageBody) ? SEVERE_ALERT : messageBody, in testSendCmasSevereAlert() 155 TextUtils.isEmpty(languageCode) ? "en" : languageCode, in testSendCmasAmberAlert() 156 TextUtils.isEmpty(messageBody) ? AMBER_ALERT : messageBody, in testSendCmasAmberAlert() [all …]
|
D | SendCdmaCmasMessages.java | 68 TextUtils.isEmpty(languageCode) ? "en" : languageCode, in testSendCmasPresAlert() 69 TextUtils.isEmpty(messageBody) ? PRES_ALERT : messageBody, in testSendCmasPresAlert() 81 TextUtils.isEmpty(languageCode) ? "en" : languageCode, in testSendCmasExtremeAlert() 82 TextUtils.isEmpty(messageBody) ? EXTREME_ALERT : messageBody, in testSendCmasExtremeAlert() 94 TextUtils.isEmpty(languageCode) ? "en" : languageCode, in testSendCmasSevereAlert() 95 TextUtils.isEmpty(messageBody) ? SEVERE_ALERT : messageBody, in testSendCmasSevereAlert() 107 TextUtils.isEmpty(languageCode) ? "en" : languageCode, in testSendCmasAmberAlert() 108 TextUtils.isEmpty(messageBody) ? AMBER_ALERT : messageBody, in testSendCmasAmberAlert() 120 TextUtils.isEmpty(languageCode) ? "en" : languageCode, in testSendCmasMonthlyTest() 121 TextUtils.isEmpty(messageBody) ? MONTHLY_TEST_ALERT : messageBody, in testSendCmasMonthlyTest()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | MetadataParser.java | 59 if (!TextUtils.isEmpty(name)) { in parseOneWordList() 64 if (TextUtils.isEmpty(arguments.get(ID_FIELD_NAME)) in parseOneWordList() 65 || TextUtils.isEmpty(arguments.get(LOCALE_FIELD_NAME)) in parseOneWordList() 66 || TextUtils.isEmpty(arguments.get(DESCRIPTION_FIELD_NAME)) in parseOneWordList() 67 || TextUtils.isEmpty(arguments.get(UPDATE_FIELD_NAME)) in parseOneWordList() 68 || TextUtils.isEmpty(arguments.get(FILESIZE_FIELD_NAME)) in parseOneWordList() 69 || TextUtils.isEmpty(arguments.get(CHECKSUM_FIELD_NAME)) in parseOneWordList() 70 || TextUtils.isEmpty(arguments.get(REMOTE_FILENAME_FIELD_NAME)) in parseOneWordList() 71 || TextUtils.isEmpty(arguments.get(VERSION_FIELD_NAME)) in parseOneWordList() 72 || TextUtils.isEmpty(arguments.get(FORMATVERSION_FIELD_NAME))) { in parseOneWordList() [all …]
|
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/utils/ |
D | InsertOrUpdateRecords.kt | 478 if (!mFieldNameToFieldInput["mNotes"]!!.isEmpty()) { in createRecordObjectHelper() 481 if (!mFieldNameToFieldInput["mTitle"]!!.isEmpty()) { in createRecordObjectHelper() 484 if (!mFieldNameToFieldInput["mStages"]!!.isEmpty()) { in createRecordObjectHelper() 523 if (!mFieldNameToFieldInput["mNotes"]!!.isEmpty()) { in createRecordObjectHelper() 526 if (!mFieldNameToFieldInput["mTitle"]!!.isEmpty()) { in createRecordObjectHelper() 529 if (!mFieldNameToFieldInput["mExerciseRoute"]!!.isEmpty()) { in createRecordObjectHelper() 538 if (!mFieldNameToFieldInput["mSegments"]!!.isEmpty()) { in createRecordObjectHelper() 543 if (!mFieldNameToFieldInput["mLaps"]!!.isEmpty()) { in createRecordObjectHelper() 558 if (!mFieldNameToFieldInput["mBiotin"]!!.isEmpty()) { in createRecordObjectHelper() 561 if (!mFieldNameToFieldInput["mCaffeine"]!!.isEmpty()) { in createRecordObjectHelper() [all …]
|
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/ |
D | RecommenderTest.java | 96 assertThat(mRecommender.recommendChannels()).isEmpty(); in testRecommendChannels_includeRecommendedOnly_allChannelsHaveNoScore() 97 assertThat(mRecommender.recommendChannels(-5)).isEmpty(); in testRecommendChannels_includeRecommendedOnly_allChannelsHaveNoScore() 98 assertThat(mRecommender.recommendChannels(0)).isEmpty(); in testRecommendChannels_includeRecommendedOnly_allChannelsHaveNoScore() 99 assertThat(mRecommender.recommendChannels(3)).isEmpty(); in testRecommendChannels_includeRecommendedOnly_allChannelsHaveNoScore() 100 assertThat(mRecommender.recommendChannels(4)).isEmpty(); in testRecommendChannels_includeRecommendedOnly_allChannelsHaveNoScore() 101 assertThat(mRecommender.recommendChannels(5)).isEmpty(); in testRecommendChannels_includeRecommendedOnly_allChannelsHaveNoScore() 110 assertThat(mRecommender.recommendChannels(-5)).isEmpty(); in testRecommendChannels_notIncludeRecommendedOnly_allChannelsHaveNoScore() 111 assertThat(mRecommender.recommendChannels(0)).isEmpty(); in testRecommendChannels_notIncludeRecommendedOnly_allChannelsHaveNoScore() 127 assertThat(mRecommender.recommendChannels(-5)).isEmpty(); in testRecommendChannels_includeRecommendedOnly_allChannelsHaveScore() 128 assertThat(mRecommender.recommendChannels(0)).isEmpty(); in testRecommendChannels_includeRecommendedOnly_allChannelsHaveScore() [all …]
|
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/ |
D | DvrScheduleManagerTest.java | 50 assertThat(DvrScheduleManager.getConflictingSchedules(schedules, 1)).isEmpty(); in testGetConflictingSchedules_emptySchedule() 62 assertThat(DvrScheduleManager.getConflictingSchedules(schedules, 1)).isEmpty(); in testGetConflictingSchedules_noConflict() 67 assertThat(DvrScheduleManager.getConflictingSchedules(schedules, 2)).isEmpty(); in testGetConflictingSchedules_noConflict() 72 assertThat(DvrScheduleManager.getConflictingSchedules(schedules, 2)).isEmpty(); in testGetConflictingSchedules_noConflict() 77 assertThat(DvrScheduleManager.getConflictingSchedules(schedules, 3)).isEmpty(); in testGetConflictingSchedules_noConflict() 82 assertThat(DvrScheduleManager.getConflictingSchedules(schedules, 3)).isEmpty(); in testGetConflictingSchedules_noConflict() 90 assertThat(DvrScheduleManager.getConflictingSchedules(schedules, 0)).isEmpty(); in testGetConflictingSchedules_noTuner() 113 assertThat(DvrScheduleManager.getConflictingSchedules(schedules, 1)).isEmpty(); in testGetConflictingSchedules_conflict() 122 assertThat(DvrScheduleManager.getConflictingSchedules(schedules, 2)).isEmpty(); in testGetConflictingSchedules_conflict() 131 assertThat(DvrScheduleManager.getConflictingSchedules(schedules, 2)).isEmpty(); in testGetConflictingSchedules_conflict() [all …]
|
/packages/modules/Permission/SafetyLabel/tests/java/com/android/permission/safetylabel/ |
D | DataCategoryTest.kt | 44 assertThat(dataCategoryMap).isEmpty() in getDataCategoryMap_dataUsageCollected_nullPersistableBundle_emptyMap() 54 assertThat(dataCategoryMap).isEmpty() in getDataCategoryMap_dataUsageCollected_emptyPersistableBundle_emptyMap() 64 assertThat(dataCategoryMap).isEmpty() in getDataCategoryMap_dataUsageCollected_invalidBundle_emptyMap() 96 assertThat(dataCategoryMap).isEmpty() in getDataCategoryMap_dataUsageShared_nullPersistableBundle_emptyMap() 106 assertThat(dataCategoryMap).isEmpty() in getDataCategoryMap_dataUsageShared_emptyPersistableBundle_emptyMap() 116 assertThat(dataCategoryMap).isEmpty() in getDataCategoryMap_dataUsageShared_invalidBundle_emptyMap() 146 assertThat(dataCategoryMap).isEmpty() in getDataCategoryMap_dataUsageInvalid_nullPersistableBundle_emptyMap() 155 assertThat(dataCategoryMap).isEmpty() in getDataCategoryMap_dataUsageInvalid_emptyPersistableBundle_emptyMap() 165 assertThat(dataCategoryMap).isEmpty() in getDataCategoryMap_dataUsageInvalid_invalidBundle_emptyMap() 175 assertThat(dataCategoryMap).isEmpty() in getDataCategoryMap_dataUsageInvalid_validBundle_emptyMap() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/ |
D | CacheManagerTest.java | 126 assertThat(topics).isEmpty(); in testGetTopics_emptyCache() 204 .isEmpty(); in testGetTopics() 208 .isEmpty(); in testGetTopics() 212 .isEmpty(); in testGetTopics() 217 .isEmpty(); in testGetTopics() 222 .isEmpty(); in testGetTopics() 227 .isEmpty(); in testGetTopics() 251 .isEmpty(); in testGetTopics() 285 .isEmpty(); in testGetTopics() 380 .isEmpty(); in testGetTopics_someTopicsBlocked() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/calllogutils/ |
D | CallLogEntryText.java | 62 if (row.getIsVoicemailCall() && !TextUtils.isEmpty(row.getVoicemailCallTag())) { in buildPrimaryText() 67 if (!TextUtils.isEmpty(row.getNumberAttributes().getName())) { in buildPrimaryText() 72 if (!TextUtils.isEmpty(row.getFormattedNumber())) { in buildPrimaryText() 200 return !row.getFormattedNumber().isEmpty() in buildSecondaryTextForBottomSheet() 224 if (TextUtils.isEmpty(row.getNumberAttributes().getName())) { in buildSecondaryTextForBottomSheet() 228 if (TextUtils.isEmpty(row.getFormattedNumber())) { in buildSecondaryTextForBottomSheet() 267 if (TextUtils.isEmpty(numberTypeLabel) in getNumberTypeLabel() 272 !TextUtils.isEmpty(row.getNumberAttributes().getGeolocation()) in getNumberTypeLabel() 275 if (!TextUtils.isEmpty(location)) { in getNumberTypeLabel() 288 " • ", Collections2.filter(components, (text) -> !TextUtils.isEmpty(text))); in joinSecondaryTextComponents()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | NameConverter.java | 85 if (!TextUtils.isEmpty(value)) { in appendQueryParameter() 109 if (!TextUtils.isEmpty(phoneticName)) { in parsePhoneticName() 140 if (!TextUtils.isEmpty(family) || !TextUtils.isEmpty(middle) in buildPhoneticName() 141 || !TextUtils.isEmpty(given)) { in buildPhoneticName() 143 if (!TextUtils.isEmpty(family)) { in buildPhoneticName() 146 if (!TextUtils.isEmpty(middle)) { in buildPhoneticName() 149 if (!TextUtils.isEmpty(given)) { in buildPhoneticName()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | ArrayUtils.java | 60 public static boolean isEmpty(@Nullable Collection<?> array) { in isEmpty() method in ArrayUtils 61 return array == null || array.isEmpty(); in isEmpty() 67 public static <T> boolean isEmpty(@Nullable T[] array) { in isEmpty() method in ArrayUtils 74 public static boolean isEmpty(@Nullable int[] array) { in isEmpty() method in ArrayUtils 81 public static boolean isEmpty(@Nullable long[] array) { in isEmpty() method in ArrayUtils 88 public static boolean isEmpty(@Nullable byte[] array) { in isEmpty() method in ArrayUtils 95 public static boolean isEmpty(@Nullable boolean[] array) { in isEmpty() method in ArrayUtils
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | TransactionContextTest.java | 47 assertTrue(newDirty.isEmpty()); in testClearExceptSearchIndexUpdates_returnsNewSets() 48 assertTrue(newChanged.isEmpty()); in testClearExceptSearchIndexUpdates_returnsNewSets() 49 assertTrue(newInserted.isEmpty()); in testClearExceptSearchIndexUpdates_returnsNewSets() 50 assertTrue(newUpdated.isEmpty()); in testClearExceptSearchIndexUpdates_returnsNewSets() 51 assertTrue(newSync.isEmpty()); in testClearExceptSearchIndexUpdates_returnsNewSets() 74 assertTrue(context.getChangedRawContactIds().isEmpty()); in testRawContactInserted_affectsChangedContacts() 87 assertTrue(context.getChangedRawContactIds().isEmpty()); in testMarkRawContactChangedOrDeletedOrInserted_affectsChangedContacts()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/internal/util/ |
D | ArrayUtilsTest.java | 76 assertThat(ArrayUtils.isEmpty(array1)).isTrue(); in testEmptyArray() 77 assertThat(ArrayUtils.isEmpty(array2)).isTrue(); in testEmptyArray() 78 assertThat(ArrayUtils.isEmpty(array3)).isTrue(); in testEmptyArray() 86 assertThat(ArrayUtils.isEmpty(array1)).isTrue(); in testEmptyIfNull() 87 assertThat(ArrayUtils.isEmpty(array2)).isFalse(); in testEmptyIfNull() 92 assertThat(ArrayUtils.isEmpty((ArrayList<Integer>) null)).isTrue(); in testIsEmptyAndSize() 95 assertThat(ArrayUtils.isEmpty(list)).isTrue(); in testIsEmptyAndSize() 97 assertThat(ArrayUtils.isEmpty(list)).isFalse(); in testIsEmptyAndSize() 101 assertThat(ArrayUtils.isEmpty(map)).isTrue(); in testIsEmptyAndSize() 103 assertThat(ArrayUtils.isEmpty(map)).isFalse(); in testIsEmptyAndSize() [all …]
|
/packages/modules/Connectivity/Tethering/tests/privileged/src/com/android/net/module/util/ |
D | BpfBitmapTest.java | 51 assertTrue(mTestBitmap.isEmpty()); in setUp() 58 assertFalse(mTestBitmap.isEmpty()); in testSet() 70 assertFalse(mTestBitmap.isEmpty()); in testSetThenUnset() 88 assertFalse(mTestBitmap.isEmpty()); in testSetAllThenUnsetAll() 91 assertTrue(mTestBitmap.isEmpty()); in testSetAllThenUnsetAll() 99 assertFalse(mTestBitmap.isEmpty()); in testClear() 101 assertTrue(mTestBitmap.isEmpty()); in testClear()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/util/ |
D | Filter.java | 48 if (sourceFilter.getAttributionFilterMap().isEmpty() || triggerFilters.isEmpty()) { in isFilterMatch() 77 if (triggerValues.isEmpty()) { in matchFilterValues() 78 return isFilter ? sourceValues.isEmpty() : !sourceValues.isEmpty(); in matchFilterValues() 82 return isFilter ? !intersection.isEmpty() : intersection.isEmpty(); in matchFilterValues()
|
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/ |
D | AppSearchImplTest.java | 212 assertThat(rewrittenSchemaResults.mDeletedPrefixedTypes).isEmpty(); in testRewriteSchema_addType() 293 assertThat(rewrittenSchemaResults.mDeletedPrefixedTypes).isEmpty(); in testRewriteSchema_rewriteType() 613 .isEmpty(); in testReset() 620 assertThat(results.getResults()).isEmpty(); in testReset() 659 assertThat(searchResultPage.getResults()).isEmpty(); in testQueryEmptyDatabase() 711 assertThat(searchResultPage.getResults()).isEmpty(); in testQueryWithMultiplePackages_noPackageFilters() 783 assertThat(searchResultPage.getResults()).isEmpty(); in testQueryWithMultiplePackages_withPackageFilters() 817 assertThat(searchResultPage.getResults()).isEmpty(); in testGlobalQuery_emptyPackage() 941 assertThat(suggestions).isEmpty(); in testSearchSuggestion_removeDocument() 1122 assertThat(suggestions).isEmpty(); in testSearchSuggestion_invalidPrefix() [all …]
|
/packages/services/Car/tools/GenericCarApiBuilder/src/com/android/car/tool/apibuilder/tests/ |
D | ParsedDataBuilderTest.java | 129 assertThat(annotationData.addedInPlatformVersion).isEmpty(); in testFieldDataAndAnnotationData() 131 assertThat(annotationData.minPlatformVersion).isEmpty(); in testFieldDataAndAnnotationData() 132 assertThat(annotationData.minCarVersion).isEmpty(); in testFieldDataAndAnnotationData() 134 assertThat(annotationData.requiresApiVersion).isEmpty(); in testFieldDataAndAnnotationData() 149 assertThat(annotationData.addedInPlatformVersion).isEmpty(); in testFieldDataAndAnnotationData() 151 assertThat(annotationData.minPlatformVersion).isEmpty(); in testFieldDataAndAnnotationData() 152 assertThat(annotationData.minCarVersion).isEmpty(); in testFieldDataAndAnnotationData() 154 assertThat(annotationData.requiresApiVersion).isEmpty(); in testFieldDataAndAnnotationData() 158 assertThat(fieldData.fieldInitializedValue).isEmpty(); in testFieldDataAndAnnotationData() 169 assertThat(annotationData.addedInPlatformVersion).isEmpty(); in testFieldDataAndAnnotationData() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/classifier/ |
D | PreprocessorTest.java | 81 assertThat(preprocessAppDescription("https://www.tensorflow.org/lite/tutorials")).isEmpty(); in testPreprocessing_forHttpsURLRemoval() 90 assertThat(preprocessAppDescription("http://google.com")).isEmpty(); in testPreprocessing_forHttpURLRemoval() 99 assertThat(preprocessAppDescription("www.tensorflow.org/lite/tutorials")).isEmpty(); in testPreprocessing_forNotHttpURLRemoval() 109 assertThat(preprocessAppDescription("@xyz123")).isEmpty(); in testPreprocessing_forMentionsRemoval() 122 assertThat(preprocessAppDescription("<p></p>")).isEmpty(); in testPreprocessing_forHtmlTagsRemoval() 206 assertThat(preprocessAppDescription("")).isEmpty(); in testPreprocessing_forEmptyDescription() 207 assertThat(preprocessAppDescription(" ")).isEmpty(); in testPreprocessing_forEmptyDescription() 208 assertThat(preprocessAppDescription(" \n \n \n")).isEmpty(); in testPreprocessing_forEmptyDescription()
|
/packages/apps/Dialer/java/com/android/dialer/oem/ |
D | CequintCallerIdManager.java | 228 TextUtils.isEmpty(displayName) in lookup() 257 if (!TextUtils.isEmpty(string)) { in getString() 271 boolean hasFirstName = !TextUtils.isEmpty(firstName); in generateDisplayName() 272 boolean hasLastName = !TextUtils.isEmpty(lastName); in generateDisplayName() 273 boolean hasCompanyName = !TextUtils.isEmpty(company); in generateDisplayName() 274 boolean hasName = !TextUtils.isEmpty(name); in generateDisplayName() 307 if (TextUtils.isEmpty(city) && !TextUtils.isEmpty(state)) { in getGeolocation() 309 } else if (!TextUtils.isEmpty(city) && !TextUtils.isEmpty(stateAbbr)) { in getGeolocation() 311 } else if (!TextUtils.isEmpty(country)) { in getGeolocation()
|
/packages/modules/OnDevicePersonalization/tests/chronicletests/src/com/android/libraries/pcc/chronicle/test/ |
D | ChronicleApiPolicyFieldBuilderTest.kt | 80 assertThat(actual.annotations).isEmpty() in <lambda>() 82 assertThat(actual.rawUsages).isEmpty() in <lambda>() 90 assertThat(actual.subfields).isEmpty() in <lambda>() 99 assertThat(actual.annotations).isEmpty() in <lambda>() 101 assertThat(actual.rawUsages).isEmpty() in <lambda>() 102 assertThat(actual.redactedUsages).isEmpty() in <lambda>() 116 assertThat(actual.annotations).isEmpty() in <lambda>() 118 assertThat(actual.rawUsages).isEmpty() in <lambda>() 119 assertThat(actual.redactedUsages).isEmpty() in <lambda>()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/conditional/ |
D | ConditionContextualCardControllerTest.java | 127 assertThat(conditionalCards.get(cardType)).isEmpty(); in getConditionalCards_hasEmptyConditionCards_shouldReturnThreeEmptyList() 141 assertThat(conditionalCards.get(CardType.CONDITIONAL_HEADER)).isEmpty(); in getConditionalCards_hasOneConditionCardAndExpanded_shouldGetOneFullWidthCard() 152 assertThat(conditionalCards.get(CardType.CONDITIONAL)).isEmpty(); in getConditionalCards_hasOneConditionCardAndCollapsed_shouldGetConditionalHeader() 154 assertThat(conditionalCards.get(CardType.CONDITIONAL_FOOTER)).isEmpty(); in getConditionalCards_hasOneConditionCardAndCollapsed_shouldGetConditionalHeader() 169 assertThat(conditionalCards.get(CardType.CONDITIONAL_HEADER)).isEmpty(); in getConditionalCards_hasTwoConditionCardsAndExpanded_shouldGetTwoHalfWidthCards() 180 assertThat(conditionalCards.get(CardType.CONDITIONAL)).isEmpty(); in getConditionalCards_hasTwoConditionCardsAndCollapsed_shouldGetConditionalHeader() 182 assertThat(conditionalCards.get(CardType.CONDITIONAL_FOOTER)).isEmpty(); in getConditionalCards_hasTwoConditionCardsAndCollapsed_shouldGetConditionalHeader() 193 assertThat(conditionalCards.get(CardType.CONDITIONAL_HEADER)).isEmpty(); in getConditionalCards_hasThreeCardsAndExpanded_shouldGetThreeCardsWithFooter() 204 assertThat(conditionalCards.get(CardType.CONDITIONAL)).isEmpty(); in getConditionalCards_hasThreeCardsAndCollapsed_shouldGetOneConditionalHeader() 206 assertThat(conditionalCards.get(CardType.CONDITIONAL_FOOTER)).isEmpty(); in getConditionalCards_hasThreeCardsAndCollapsed_shouldGetOneConditionalHeader()
|
/packages/apps/CellBroadcastReceiver/tests/compliancetests/src/com/android/cellbroadcastreceiver/compliancetests/ |
D | CellBroadcastChannelTestConfig.java | 48 if (!TextUtils.isEmpty(defaultValue) && defaultValue.equals("false")) { in CellBroadcastChannelTestConfig() 54 if (!TextUtils.isEmpty(mFilteredLanguage) in CellBroadcastChannelTestConfig() 57 } else if (!TextUtils.isEmpty(mFilteredLanguage) in CellBroadcastChannelTestConfig() 63 if (!TextUtils.isEmpty(alertType) && alertType.equals("notification")) { in CellBroadcastChannelTestConfig() 67 if (!TextUtils.isEmpty(testModeString) && testModeString.equals("true")) { in CellBroadcastChannelTestConfig() 71 if (!TextUtils.isEmpty(displayString) && displayString.equals("false")) { in CellBroadcastChannelTestConfig()
|