/packages/apps/Email/tests/src/com/android/email/service/ |
D | AttachmentServiceTests.java | 51 assertTrue(dq.isEmpty()); in testDownloadQueueEmptyQueue() 61 assertFalse(dq.isEmpty()); in testDownloadQueueAddRequest() 74 assertTrue(dq.isEmpty()); in testDownloadQueueAddRequestNull() 84 assertFalse(dq.isEmpty()); in testDownloadQueueAddRequestExisting() 90 assertFalse(dq.isEmpty()); in testDownloadQueueAddRequestExisting() 100 assertFalse(dq.isEmpty()); in testDownloadQueueRemoveRequest() 108 assertTrue(dq.isEmpty()); in testDownloadQueueRemoveRequest() 118 assertFalse(dq.isEmpty()); in testDownloadQueueRemoveRequestNull() 126 assertFalse(dq.isEmpty()); in testDownloadQueueRemoveRequestNull() 136 assertFalse(dq.isEmpty()); in testDownloadQueueRemoveRequestDoesNotExist() [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 …]
|
D | SearchIndexManager.java | 146 if (TextUtils.isEmpty(value)) { in appendContent() 179 if (TextUtils.isEmpty(token)) { in appendToken() 194 if (TextUtils.isEmpty(name)) { in appendName() 220 if (!TextUtils.isEmpty(namePart)) { in appendName() 296 if (!contactIds.isEmpty()) { in updateIndexForRawContacts() 302 if (!rawContactIds.isEmpty()) { in updateIndexForRawContacts() 303 if (!contactIds.isEmpty()) { in updateIndexForRawContacts() 425 if (!TextUtils.isEmpty(token)) { in splitIntoFtsTokens() 478 if (!TextUtils.isEmpty(normalizedToken)) { in getDigitsQueryBuilder() 512 if (!TextUtils.isEmpty(normalizedToken)) {
|
D | NameSplitter.java | 203 public boolean isEmpty() { in isEmpty() method in NameSplitter.Name 204 return TextUtils.isEmpty(givenNames) in isEmpty() 205 && TextUtils.isEmpty(middleName) in isEmpty() 206 && TextUtils.isEmpty(familyName) in isEmpty() 207 && TextUtils.isEmpty(suffix) in isEmpty() 208 && TextUtils.isEmpty(phoneticFamilyName) in isEmpty() 209 && TextUtils.isEmpty(phoneticMiddleName) in isEmpty() 210 && TextUtils.isEmpty(phoneticGivenName); in isEmpty() 567 boolean hasPrefix = !TextUtils.isEmpty(prefix); in join() 568 boolean hasPart1 = !TextUtils.isEmpty(part1); in join() [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
D | ImportantNoticeUtilsTests.java | 124 assertEquals("Current title before update", false, TextUtils.isEmpty( in testUpdateVersion() 126 assertEquals("Current contents before update", false, TextUtils.isEmpty( in testUpdateVersion() 137 assertEquals("Current title after update", true, TextUtils.isEmpty( in testUpdateVersion() 139 assertEquals("Current contents after update", true, TextUtils.isEmpty( in testUpdateVersion() 168 assertEquals("Current title before timeout 1", false, TextUtils.isEmpty( in testTimeout() 170 assertEquals("Current contents before timeout 1", false, TextUtils.isEmpty( in testTimeout() 185 assertEquals("Current title before timeout 2", false, TextUtils.isEmpty( in testTimeout() 187 assertEquals("Current contents before timeout 2", false, TextUtils.isEmpty( in testTimeout() 201 assertEquals("Current title after timeout 1", true, TextUtils.isEmpty( in testTimeout() 203 assertEquals("Current contents after timeout 1", true, TextUtils.isEmpty( in testTimeout() [all …]
|
/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/apps/Calendar/src/com/android/calendar/ |
D | CalendarEventModel.java | 70 if (TextUtils.isEmpty(mName)) { in getDisplayName() 343 if (!TextUtils.isEmpty(rrule)) { in CalendarEventModel() 348 if (!TextUtils.isEmpty(emails)) { in CalendarEventModel() 351 if (!TextUtils.isEmpty(email) && email.contains("@")) { in CalendarEventModel() 365 if (TextUtils.isEmpty(mOwnerAccount)) { in isValid() 371 public boolean isEmpty() { in isEmpty() method in CalendarEventModel 456 if (TextUtils.isEmpty(attendee.mName)) { in addAttendees() 636 if (TextUtils.isEmpty(mLocation)) { in isUnchanged() 637 if (!TextUtils.isEmpty(originalModel.mLocation)) { in isUnchanged() 644 if (TextUtils.isEmpty(mTitle)) { in isUnchanged() [all …]
|
/packages/apps/Exchange/src/com/android/exchange/provider/ |
D | ExchangeDirectoryProvider.java | 161 if (!TextUtils.isEmpty(address)) { in addEmailAddress() 173 if (!TextUtils.isEmpty(number)) { in addPhoneRow() 460 if (TextUtils.isEmpty(displayName.first)) { in buildGalResultCursor() 522 if (address != null && !TextUtils.isEmpty(address.toString())) { in buildGalResultCursor() 563 if (!TextUtils.isEmpty(displayName)) { in getDisplayName() 570 if (!TextUtils.isEmpty(firstName) || !TextUtils.isEmpty(lastName)) { in getDisplayName() 571 if (!TextUtils.isEmpty(firstName) && !TextUtils.isEmpty(lastName)) { in getDisplayName() 573 } else if (!TextUtils.isEmpty(firstName)) { in getDisplayName() 583 if (!TextUtils.isEmpty(emailAddress)) { in getDisplayName() 590 if (phone != null && !TextUtils.isEmpty(phone.mNumber)) { in getDisplayName() [all …]
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarProvider2.java | 1526 return (!TextUtils.isEmpty(rrule) || in isRecurrenceEvent() 1527 !TextUtils.isEmpty(rdate) || in isRecurrenceEvent() 1528 !TextUtils.isEmpty(originalId) || in isRecurrenceEvent() 1529 !TextUtils.isEmpty(originalSyncId)); in isRecurrenceEvent() 1771 if (!TextUtils.isEmpty(color_index)) { in handleInsertException() 1793 if (TextUtils.isEmpty(cursor.getString(rruleCol))) { in handleInsertException() 1803 if (!TextUtils.isEmpty(cursor.getString(originalIdCol))) { in handleInsertException() 1808 boolean createSingleException = TextUtils.isEmpty(modValues.getAsString(Events.RRULE)); in handleInsertException() 2097 if (TextUtils.isEmpty(syncId) || TextUtils.isEmpty(calendarId) || in backfillExceptionOriginalIds() 2098 (TextUtils.isEmpty(rrule) && TextUtils.isEmpty(rdate))) { in backfillExceptionOriginalIds() [all …]
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
D | RawContactModifier.java | 450 if (RawContactModifier.isEmpty(entry, kind) && !isGooglePhoto) { in trimEmpty() 475 final boolean isRealInsert = entry.isInsert() && !isEmpty(entry, kind); in hasChanges() 488 public static boolean isEmpty(ValuesDelta values, DataKind kind) { in isEmpty() method in RawContactModifier 668 if (!TextUtils.isEmpty(address)) { in parseStructuredPostalExtra() 691 if (TextUtils.isEmpty(mimeType)) { in parseValues() 706 TextUtils.isEmpty(values.getAsString(Phone.LABEL))) { in parseValues() 719 if (isEmpty(entry, kind)) { in parseValues() 759 if (!delta.isDelete() && !isEmpty(delta, kind)) { in parseValues() 781 if (!isEmpty(delta, kind)) { in parseValues() 982 if (entryList != null && !entryList.isEmpty()) { in migrateStateForNewContact() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | StateManager.java | 60 if (!mStack.isEmpty()) { in startState() 90 if (!mStack.isEmpty()) { in startStateForResult() 107 if (mStack.isEmpty()) { in createOptionsMenu() 123 if (!mStack.isEmpty()) getTopState().resume(); in resume() 129 if (!mStack.isEmpty()) getTopState().onPause(); in pause() 137 if (!mStack.isEmpty()) { in clearActivityResult() 147 if (!mStack.isEmpty()) { in itemSelected() 160 if (!mStack.isEmpty()) { in onBackPressed() 207 ActivityState top = !mStack.isEmpty() ? mStack.peek().activityState : null; in finishState() 260 while (!mStack.isEmpty()) { in destroy() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | ConversationSelectionSet.java | 106 boolean initiallyNotEmpty = !mInternalMap.isEmpty(); in clear() 110 if (mInternalMap.isEmpty() && initiallyNotEmpty) { in clear() 176 public boolean isEmpty() { in isEmpty() method in ConversationSelectionSet 178 return mInternalMap.isEmpty(); in isEmpty() 184 final boolean initiallyEmpty = mInternalMap.isEmpty(); in put() 205 final boolean initiallyNotEmpty = !mInternalMap.isEmpty(); in removeAll() 216 if (mInternalMap.isEmpty() && initiallyNotEmpty) { in removeAll() 284 final boolean initiallyEmpty = mInternalMap.isEmpty(); in putAll() 316 if (isEmpty()) { in validateAgainstCursor() 353 if (!batchConversationToCheck.isEmpty() && cursorConversationIds != null) { in validateAgainstCursor()
|
D | AnimatedAdapter.java | 98 if (!mUndoingItems.isEmpty()) { 332 if (!mLastDeletingItems.isEmpty()) { in setUndo() 352 if (!mLastDeletingItems.isEmpty()) { in setSwipeUndo() 460 if (list.isEmpty()) { in delete() 549 return !mLeaveBehindItems.isEmpty(); in hasLeaveBehinds() 553 return !mFadeLeaveBehindItems.isEmpty(); in hasFadeLeaveBehinds() 628 if (!mLastDeletingItems.isEmpty()) { in startFadeOutLeaveBehindItemsAnimations() 676 if (!mLastDeletingItems.isEmpty()) { in commitLeaveBehindItems() 842 if (!items.isEmpty()) { in updateAnimatingConversationItems() 848 if (items.isEmpty()) { in updateAnimatingConversationItems() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ |
D | ComposeActivity.java | 606 if (!TextUtils.isEmpty(wearReply)) { in finishCreate() 772 if (TextUtils.isEmpty(lastAccountUri)) { in obtainAccount() 775 if (!TextUtils.isEmpty(lastAccountUri)) { in obtainAccount() 780 if (accountExtra instanceof String && !TextUtils.isEmpty((String) accountExtra)) { in obtainAccount() 824 boolean showCc = !TextUtils.isEmpty(mCc.getText()) || (savedInstanceState != null && in finishSetup() 826 boolean showBcc = !TextUtils.isEmpty(mBcc.getText()) || (savedInstanceState != null && in finishSetup() 866 if (TextUtils.isEmpty(mTo.getText())) { in setFocus() 1100 if (refMessage != null && !TextUtils.isEmpty(quotedText)) { in createMessage() 1101 if (!TextUtils.isEmpty(refMessage.bodyHtml)) { in createMessage() 1106 } else if (!TextUtils.isEmpty(refMessage.bodyText)) { in createMessage() [all …]
|
/packages/apps/Settings/src/com/android/settings/print/ |
D | PrintServiceSettingsFragment.java | 301 if (!TextUtils.isEmpty(mEnableWarningMessage)) { in initComponents() 339 if (!TextUtils.isEmpty(settingsTitle) && !TextUtils.isEmpty(settingsComponentName)) { in updateUiForArguments() 344 if (!resolvedActivities.isEmpty()) { in updateUiForArguments() 358 if (!TextUtils.isEmpty(addPrintersTitle) in updateUiForArguments() 359 && !TextUtils.isEmpty(addPrintersComponentName)) { in updateUiForArguments() 364 if (!resolvedActivities.isEmpty()) { in updateUiForArguments() 394 if (mServiceEnabled && !TextUtils.isEmpty(mAddPrintersTitle) in onCreateOptionsMenu() 402 if (mServiceEnabled && !TextUtils.isEmpty(mSettingsTitle) in onCreateOptionsMenu() 495 if (TextUtils.isEmpty(constraint)) { in getFilter() 575 if (!TextUtils.isEmpty(subtitle)) { [all …]
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
D | ExpandingEntryCardView.java | 420 if (TextUtils.isEmpty(mTitleTextView.getText()) && in addEntry() 459 if (!TextUtils.isEmpty(mExpandButtonText)) { in getExpandButtonText() 468 if (!TextUtils.isEmpty(mCollapseButtonText)) { in getCollapseButtonText() 603 if (!TextUtils.isEmpty(entry.getPrimaryContentDescription())) { in createEntryView() 613 if (!TextUtils.isEmpty(entry.getHeader())) { in createEntryView() 620 if (!TextUtils.isEmpty(entry.getSubHeader())) { in createEntryView() 634 if (!TextUtils.isEmpty(entry.getText())) { in createEntryView() 673 (!TextUtils.isEmpty(entry.getSubHeader()) || !TextUtils.isEmpty(entry.getText()))) { in createEntryView() 679 } else if (iconVisibility == View.INVISIBLE && TextUtils.isEmpty(entry.getSubHeader()) in createEntryView() 680 && TextUtils.isEmpty(entry.getText())) { in createEntryView() [all …]
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
D | NameConverter.java | 168 if (!TextUtils.isEmpty(value)) { in appendQueryParameter() 191 if (!TextUtils.isEmpty(phoneticName)) { in parsePhoneticName() 222 if (!TextUtils.isEmpty(family) || !TextUtils.isEmpty(middle) in buildPhoneticName() 223 || !TextUtils.isEmpty(given)) { in buildPhoneticName() 225 if (!TextUtils.isEmpty(family)) { in buildPhoneticName() 228 if (!TextUtils.isEmpty(middle)) { in buildPhoneticName() 231 if (!TextUtils.isEmpty(given)) { in buildPhoneticName()
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
D | ContactDisplayUtils.java | 67 if (!TextUtils.isEmpty(displayName)) { in getDisplayName() 76 if (!TextUtils.isEmpty(altDisplayName)) { in getDisplayName() 88 if (!TextUtils.isEmpty(phoneticName)) { in getPhoneticName() 103 if (!TextUtils.isEmpty(directoryDisplayName)) { in getAttribution() 105 } else if (!TextUtils.isEmpty(directoryType)) { in getAttribution() 132 if (TextUtils.isEmpty(company)) { in getCompany() 135 if (TextUtils.isEmpty(title)) { in getCompany() 148 if (!TextUtils.isEmpty(combined)) { in getCompany() 244 if (!TextUtils.isEmpty(textToDisplay)) { in setDataOrHideIfNone()
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
D | Message.java | 365 uri = !TextUtils.isEmpty(messageUriStr) ? Uri.parse(messageUriStr) : null; in Message() 367 conversationUri = !TextUtils.isEmpty(convUriStr) ? Uri.parse(convUriStr) : null; in Message() 382 refMessageUri = !TextUtils.isEmpty(refMessageUriStr) ? in Message() 390 attachmentListUri = hasAttachments && !TextUtils.isEmpty(attachmentsUri) ? Uri in Message() 394 attachmentByCidUri = hasAttachments && !TextUtils.isEmpty(attachmentsByCidUri) ? in Message() 404 accountUri = !TextUtils.isEmpty(accountUriString) ? Uri.parse(accountUriString) : null; in Message() 492 hasAttachments = !mAttachments.isEmpty(); in Message() 626 if (TextUtils.isEmpty(addresses)) { in tokenizeAddresses() 685 (!TextUtils.isEmpty(bodyHtml) && INLINE_IMAGE_PATTERN.matcher(bodyHtml).find())); in shouldShowImagePrompt() 713 if (!TextUtils.isEmpty(bodyHtml)) { in getBodyAsHtml() [all …]
|
/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/Telecomm/src/com/android/server/telecom/ |
D | InCallController.java | 152 if (mInCallServices.isEmpty()) { in onCallAdded() 176 if (CallsManager.getInstance().getCalls().isEmpty()) { in onCallRemoved() 199 if (!mInCallServices.isEmpty()) { in onAudioStateChanged() 212 if (!mInCallServices.isEmpty()) { in onPostDialWait() 230 if (!mInCallServices.isEmpty()) { in bringToForeground() 263 if (mInCallServices.isEmpty()) { in bind() 338 if (!calls.isEmpty()) { in onConnected() 403 if (!mInCallServices.isEmpty()) { in updateCall() 461 if (!childCalls.isEmpty()) { in toParcelableCall()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
D | AttachmentUtilities.java | 227 if (isGenericType || TextUtils.isEmpty(mimeType)) { in inferMimeType() 228 if (!TextUtils.isEmpty(fileExtension)) { in inferMimeType() 231 if (TextUtils.isEmpty(resultType)) { in inferMimeType() 242 if (TextUtils.isEmpty(resultType)) { in inferMimeType() 255 if (!TextUtils.isEmpty(fileName)) { in getFilenameExtension() 333 if (!TextUtils.isEmpty(fileName)) { in deleteAllCachedAttachmentFiles() 411 if (TextUtils.isEmpty(attachment.mFileName)) { in saveAttachment() 432 final String mimeType = TextUtils.isEmpty(attachment.mMimeType) ? in saveAttachment()
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | MessageFooterView.java | 156 message.clipped && !TextUtils.isEmpty(message.permalink) ? VISIBLE : GONE); in bind() 177 if (attachments == null || attachments.isEmpty()) { in renderAttachments() 202 if (tiledAttachments.isEmpty() && barAttachments.isEmpty()) { in renderAttachments() 206 if (!tiledAttachments.isEmpty()) { in renderAttachments() 209 if (!barAttachments.isEmpty()) { in renderAttachments() 304 if (TextUtils.isEmpty(activityName)) { in viewEntireMessage() 311 if (account != null && !TextUtils.isEmpty(message.permalink)) { in viewEntireMessage()
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
D | MessagingNotification.java | 274 if (notificationSet.isEmpty()) { in blockingUpdateNewMessageIndicator() 320 if (TextUtils.isEmpty(ringtoneStr)) { in playInConversationNotificationSound() 424 !TextUtils.isEmpty(mMessage) ? mMessage.replaceAll("\\n\\s+", "\n") : ""; in formatBigMessage() 427 if (!TextUtils.isEmpty(mSubject)) { in formatBigMessage() 456 !TextUtils.isEmpty(mMessage) ? mMessage.replaceAll("\\n\\s+", "\n") : ""; in formatInboxMessage() 460 if (!TextUtils.isEmpty(sender)) { in formatInboxMessage() 466 if (!TextUtils.isEmpty(mSubject)) { in formatInboxMessage() 501 !TextUtils.isEmpty(mMessage) ? mMessage.replaceAll("\\n\\s+", "\n") : ""; in formatPictureMessage() 505 if (!TextUtils.isEmpty(mSubject)) { in formatPictureMessage() 950 noti.setSound(TextUtils.isEmpty(ringtoneStr) ? null : Uri.parse(ringtoneStr)); in updateNotification() [all …]
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/ |
D | ContactPhotoManager.java | 147 if (!TextUtils.isEmpty(request.displayName)) { in getDefaultAvatarUriForContact() 150 if (!TextUtils.isEmpty(request.identifier)) { in getDefaultAvatarUriForContact() 195 if (!TextUtils.isEmpty(encodedFragment)) { in removeContactType() 215 return !TextUtils.isEmpty(encodedFragment) in isBusinessContactUri() 225 if (!TextUtils.isEmpty(contactType)) { in getDefaultImageRequestFromUri() 230 if (!TextUtils.isEmpty(scale)) { in getDefaultImageRequestFromUri() 235 if (!TextUtils.isEmpty(offset)) { in getDefaultImageRequestFromUri() 240 if (!TextUtils.isEmpty(isCircular)) { in getDefaultImageRequestFromUri() 394 if (TextUtils.isEmpty(defaultImageRequest.identifier)) { in getDefaultImageForContact() 1056 if (!mPendingRequests.isEmpty()) { in resume() [all …]
|