/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/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/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/Dialer/src/com/android/dialer/calllog/ |
D | PhoneCallDetailsHelper.java | 119 if (!TextUtils.isEmpty(details.viaNumber)) { in setPhoneCallDetails() 120 if (!TextUtils.isEmpty(accountLabel)) { in setPhoneCallDetails() 128 if (!TextUtils.isEmpty(accountLabel)) { in setPhoneCallDetails() 144 if (TextUtils.isEmpty(details.getPreferredName())) { in setPhoneCallDetails() 155 views.voicemailTranscriptionView.setText(TextUtils.isEmpty(details.transcription) ? null in setPhoneCallDetails() 184 if (!TextUtils.isEmpty(callTypeOrLocation)) { in getCallLocationAndDate() 207 if (!TextUtils.isEmpty(details.number) in getCallTypeOrLocation() 211 if (TextUtils.isEmpty(details.namePrimary) && !TextUtils.isEmpty(details.geocode)) { in getCallTypeOrLocation() 214 && TextUtils.isEmpty(details.numberLabel))) { in getCallTypeOrLocation() 221 if (!TextUtils.isEmpty(details.namePrimary) && TextUtils.isEmpty(numberFormattedLabel)) { in getCallTypeOrLocation() [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/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | ConversationCheckedSet.java | 106 boolean initiallyNotEmpty = !mInternalMap.isEmpty(); in clear() 110 if (mInternalMap.isEmpty() && initiallyNotEmpty) { in clear() 176 public boolean isEmpty() { in isEmpty() method in ConversationCheckedSet 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()
|
/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/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/PackageInstaller/src/com/android/packageinstaller/permission/ui/television/ |
D | PermissionsFrameFragment.java | 169 boolean isEmpty = isPreferenceListEmpty(); in onCreateAdapter() 170 emptyView.setVisibility(isEmpty ? View.VISIBLE : View.GONE); in onCreateAdapter() 171 recyclerView.setVisibility(isEmpty && adapter.getItemCount() == 0 ? in onCreateAdapter() 173 if (!isEmpty && mGridView != null) { in onCreateAdapter() 179 boolean isEmpty = isPreferenceListEmpty(); in onCreateAdapter() 180 emptyView.setVisibility(isEmpty ? View.VISIBLE : View.GONE); in onCreateAdapter() 181 recyclerView.setVisibility(isEmpty && adapter.getItemCount() == 0 ? in onCreateAdapter() 183 if (!isEmpty && mGridView != null) { in onCreateAdapter()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/ |
D | NewStorageActivity.java | 84 if (TextUtils.isEmpty(volumeId) && TextUtils.isEmpty(diskId)) { in onCreate() 94 if (TextUtils.isEmpty(fsUuid)) { in onCreate() 143 if (TextUtils.isEmpty(mVolumeId) && TextUtils.isEmpty(mDiskId)) { in onCreate() 147 if (!TextUtils.isEmpty(mVolumeId)) { in onCreate() 185 if (TextUtils.isEmpty(mVolumeId)) { in onCreateActions() 220 if (!TextUtils.isEmpty(mVolumeId)) { in onGuidedActionClicked() 237 if (!TextUtils.isEmpty(mDiskId)) { in checkForUnmount() 250 } else if (!TextUtils.isEmpty(mVolumeId)) { in checkForUnmount() 292 if (TextUtils.isEmpty(mFsUuid)) { in onCreate() 399 if (TextUtils.isEmpty(diskId)) { in handleScan() [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/TV/usbtuner/src/com/android/usbtuner/exoplayer/cache/ |
D | SampleQueue.java | 55 while (!mQueue.isEmpty()) { in clear() 61 if (mQueue.isEmpty()) { in getEndPositionUs() 68 if (mQueue.isEmpty()) { in isDurationGreaterThan() 74 public boolean isEmpty() { in isEmpty() method in SampleQueue 75 return mQueue.isEmpty(); in isEmpty()
|
/packages/services/Telephony/src/com/android/phone/ |
D | CallGatewayManager.java | 105 if (!gatewayInfo.isEmpty()) { in setGatewayInfoForConnection() 146 return !TextUtils.isEmpty(name) && !TextUtils.isEmpty(gatewayUri); in hasPhoneProviderExtras() 176 return TextUtils.isEmpty(uri) ? null : Uri.parse(uri); in getProviderGatewayUri() 213 public boolean isEmpty() { in isEmpty() method in CallGatewayManager.RawGatewayInfo 214 return TextUtils.isEmpty(packageName) || gatewayUri == null; in isEmpty()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
D | SortedArrayAdapter.java | 46 return mItems.isEmpty() ? 1 : mItems.size(); in size() 51 return isEmpty() ? EmptyHolder.EMPTY_HOLDER : getItem(position); in get() 56 if (isEmpty()) { in getId() 86 final boolean isEmpty() { in isEmpty() method in SortedArrayAdapter 87 return mItems.isEmpty(); in isEmpty() 137 if (mItems.isEmpty()) { in remove()
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
D | TextureUploader.java | 40 while (!mFgTextures.isEmpty()) { in clear() 43 while (!mBgTextures.isEmpty()) { in clear() 74 if (deque.isEmpty()) break; in upload() 101 mIsQueued = !mFgTextures.isEmpty() || !mBgTextures.isEmpty(); in onGLIdle()
|
/packages/services/Mms/src/com/android/mms/service/ |
D | ApnSettings.java | 98 if (!TextUtils.isEmpty(apnName)) { in load() 123 if (TextUtils.isEmpty(mmscUrl)) { in load() 133 if (!TextUtils.isEmpty(proxyAddress)) { in load() 137 if (!TextUtils.isEmpty(portString)) { in load() 165 if (TextUtils.isEmpty(value)) { in getDebugText() 201 return !TextUtils.isEmpty(mProxyAddress); in isProxySet() 206 if (TextUtils.isEmpty(types)) { in isValidApnType()
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
D | Folder.java | 365 if (!TextUtils.isEmpty(bgColor)) { in Folder() 368 if (!TextUtils.isEmpty(fgColor)) { in Folder() 389 conversationListUri = !TextUtils.isEmpty(convList) ? Uri.parse(convList) : null; in Folder() 391 childFoldersListUri = (hasChildren && !TextUtils.isEmpty(childList)) ? Uri.parse(childList) in Folder() 397 refreshUri = !TextUtils.isEmpty(refresh) ? Uri.parse(refresh) : null; in Folder() 404 if (!TextUtils.isEmpty(bgColor)) { in Folder() 407 if (!TextUtils.isEmpty(fgColor)) { in Folder() 411 loadMoreUri = !TextUtils.isEmpty(loadMore) ? Uri.parse(loadMore) : null; in Folder() 462 if (!TextUtils.isEmpty(bgColor)) { in Folder() 465 if (!TextUtils.isEmpty(fgColor)) { in Folder() [all …]
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/ |
D | AccountWithDataSet.java | 67 return TextUtils.isEmpty(text) ? null : text; in emptyToNull() 122 if (TextUtils.isEmpty(dataSet)) { in hasData() 163 if (!TextUtils.isEmpty(account.name)) sb.append(account.name); in addStringified() 165 if (!TextUtils.isEmpty(account.type)) sb.append(account.type); in addStringified() 167 if (!TextUtils.isEmpty(account.dataSet)) sb.append(account.dataSet); in addStringified() 190 TextUtils.isEmpty(array[2]) ? null : array[2]); in unstringify() 216 if (TextUtils.isEmpty(s)) { in unstringifyList()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | AvatarUriUtil.java | 99 Assert.isTrue(!participants.isEmpty()); in createAvatarUri() 121 Assert.isTrue(!avatarUris.isEmpty()); in joinAvatarUriToGroup() 164 if (!TextUtils.isEmpty(name) && isValidFirstCharacter(name)) { in createAvatarUri() 167 final String identifier = TextUtils.isEmpty(contactLookupKey) in createAvatarUri() 200 Assert.isTrue(!TextUtils.isEmpty(slotIdentifier) || in createAvatarUri() 201 !TextUtils.isEmpty(participantData.getProfilePhotoUri())); in createAvatarUri() 202 if (TextUtils.isEmpty(slotIdentifier)) { in createAvatarUri() 253 TextUtils.isEmpty(contactLookupKey) ? nameString : contactLookupKey; in fromName() 276 return path.isEmpty() ? null : path.get(0); in getAvatarType()
|
/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/ManagedProvisioning/src/com/android/managedprovisioning/ |
D | WifiConfig.java | 57 if (type == null || TextUtils.isEmpty(type)) { in addNetwork() 69 if (securityType.equals(SecurityType.NONE) && !TextUtils.isEmpty(password)) { in addNetwork() 112 if (!TextUtils.isEmpty(wifiPassword)) { in updateForWPAConfiguration() 136 if (TextUtils.isEmpty(proxyHost) && TextUtils.isEmpty(pacUrl)) { in updateForProxy() 139 if (!TextUtils.isEmpty(proxyHost)) { in updateForProxy()
|
/packages/apps/Dialer/src/com/android/dialer/ |
D | PhoneCallDetails.java | 152 || TextUtils.isEmpty(nameAlternative)) { in getPreferredName() 168 if((!TextUtils.isEmpty(viaNumber)) && !TextUtils.isEmpty(accountLabel)) { in createAccountLabelDescription() 174 } else if (!TextUtils.isEmpty(viaNumber)) { in createAccountLabelDescription() 178 } else if (!TextUtils.isEmpty(accountLabel)) { in createAccountLabelDescription()
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | MimeType.java | 109 if (!TextUtils.isEmpty(fileName)) { in getFilenameExtension() 130 if (TextUtils.isEmpty(extension)) { in inferMimeType() 140 if (isGenericType || TextUtils.isEmpty(mimeType)) { in inferMimeType() 143 if (!TextUtils.isEmpty(type)) { in inferMimeType() 150 return !TextUtils.isEmpty(mimeType) ? mimeType : GENERIC_MIMETYPE; in inferMimeType()
|
/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()
|