Searched refs:isEmpty (Results 1 - 25 of 1646) sorted by relevance

1234567891011>>

/packages/apps/Settings/src/com/android/settings/wifi/
H A DWifiUtils.java30 if (TextUtils.isEmpty(ssid)) {
37 if (TextUtils.isEmpty(ssid)) {
44 if (TextUtils.isEmpty(password)) {
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
H A DMetadataParser.java59 if (!TextUtils.isEmpty(name)) {
64 if (TextUtils.isEmpty(arguments.get(ID_FIELD_NAME))
65 || TextUtils.isEmpty(arguments.get(LOCALE_FIELD_NAME))
66 || TextUtils.isEmpty(arguments.get(DESCRIPTION_FIELD_NAME))
67 || TextUtils.isEmpty(arguments.get(UPDATE_FIELD_NAME))
68 || TextUtils.isEmpty(arguments.get(FILESIZE_FIELD_NAME))
69 || TextUtils.isEmpty(arguments.get(CHECKSUM_FIELD_NAME))
70 || TextUtils.isEmpty(arguments.get(REMOTE_FILENAME_FIELD_NAME))
71 || TextUtils.isEmpty(arguments.get(VERSION_FIELD_NAME))
72 || TextUtils.isEmpty(argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/util/
H A DNameConverter.java85 if (!TextUtils.isEmpty(value)) {
109 if (!TextUtils.isEmpty(phoneticName)) {
140 if (!TextUtils.isEmpty(family) || !TextUtils.isEmpty(middle)
141 || !TextUtils.isEmpty(given)) {
143 if (!TextUtils.isEmpty(family)) {
146 if (!TextUtils.isEmpty(middle)) {
149 if (!TextUtils.isEmpty(given)) {
/packages/apps/Dialer/java/com/android/dialer/calllog/datasources/
H A DCallLogMutations.java78 public boolean isEmpty() { method in class:CallLogMutations
79 return inserts.isEmpty() && updates.isEmpty() && deletes.isEmpty();
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/buffer/
H A DSampleQueue.java58 while (!mQueue.isEmpty()) {
69 return !mQueue.isEmpty() && mQueue.getLast().timeUs - mQueue.getFirst().timeUs > durationUs;
72 public boolean isEmpty() { method in class:SampleQueue
73 return mQueue.isEmpty();
/packages/apps/UnifiedEmail/src/com/android/mail/ui/settings/
H A DSettingsUtils.java26 if (!TextUtils.isEmpty(summary)) {
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DPostalSplitter.java71 if (!TextUtils.isEmpty(formattedAddress)) {
100 final boolean hasStreet = !TextUtils.isEmpty(postal.street);
101 final boolean hasPobox = !TextUtils.isEmpty(postal.pobox);
102 final boolean hasNeighborhood = !TextUtils.isEmpty(postal.neighborhood);
103 final boolean hasCity = !TextUtils.isEmpty(postal.city);
104 final boolean hasRegion = !TextUtils.isEmpty(postal.region);
105 final boolean hasPostcode = !TextUtils.isEmpty(postal.postcode);
106 final boolean hasCountry = !TextUtils.isEmpty(postal.country);
166 final boolean hasStreet = !TextUtils.isEmpty(postal.street);
167 final boolean hasPobox = !TextUtils.isEmpty(posta
[all...]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DTransactionContextTest.java47 assertTrue(newDirty.isEmpty());
48 assertTrue(newChanged.isEmpty());
49 assertTrue(newInserted.isEmpty());
50 assertTrue(newUpdated.isEmpty());
51 assertTrue(newSync.isEmpty());
74 assertTrue(context.getChangedRawContactIds().isEmpty());
87 assertTrue(context.getChangedRawContactIds().isEmpty());
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
H A DTextureUploader.java40 while (!mFgTextures.isEmpty()) {
43 while (!mBgTextures.isEmpty()) {
74 if (deque.isEmpty()) break;
101 mIsQueued = !mFgTextures.isEmpty() || !mBgTextures.isEmpty();
/packages/services/Telephony/src/com/android/phone/
H A DCallGatewayManager.java105 if (!gatewayInfo.isEmpty()) {
146 return !TextUtils.isEmpty(name) && !TextUtils.isEmpty(gatewayUri);
176 return TextUtils.isEmpty(uri) ? null : Uri.parse(uri);
213 public boolean isEmpty() { method in class:CallGatewayManager.RawGatewayInfo
214 return TextUtils.isEmpty(packageName) || gatewayUri == null;
/packages/apps/Settings/src/com/android/settings/display/
H A DScreenZoomPreference.java37 if (TextUtils.isEmpty(getFragment())) {
46 } else if (TextUtils.isEmpty(getSummary())) {
/packages/apps/TV/src/com/android/tv/dvr/data/
H A DSeasonEpisodeNumber.java50 || TextUtils.isEmpty(seasonNumber) || TextUtils.isEmpty(episodeNumber)) {
/packages/services/Telecomm/src/com/android/server/telecom/
H A DProximitySensorManager.java45 if (mCallsManager.getCalls().isEmpty()) {
57 if (mCallsManager.getCalls().isEmpty()) {
/packages/apps/Gallery/src/com/android/camera/gallery/
H A DIImageList.java59 public boolean isEmpty(); method in interface:IImageList
/packages/apps/Nfc/nci/jni/
H A DDataQueue.h86 ** Function: isEmpty
93 bool isEmpty();
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
H A DIntentUtils.java37 if (!TextUtils.isEmpty(inputMethodId)) {
/packages/apps/DeskClock/src/com/android/deskclock/widget/
H A DEmptyViewController.java68 * @param isEmpty Whether or not the controller should transition into empty state.
70 public void setEmpty(boolean isEmpty) { argument
71 if (mIsEmpty == isEmpty) {
74 mIsEmpty = isEmpty;
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
H A DUtils.java63 if (!TextUtils.isEmpty(incomingE16Number)) {
66 if (TextUtils.isEmpty(rawNumber)) {
75 return TextUtils.isEmpty(selection) ? null : "(" + selection + ")";
/packages/services/Car/car-lib/src/com/android/car/internal/
H A DCarRatedListeners.java55 if (mListenersToRate.isEmpty()) {
66 public boolean isEmpty() { method in class:CarRatedListeners
67 return mListenersToRate.isEmpty();
/packages/services/Car/tests/obd2_test/src/com/android/car/obd2/test/
H A DIntegerArrayStreamTest.java66 assertFalse(stream.isEmpty());
68 assertFalse(stream.isEmpty());
70 assertTrue(stream.isEmpty());
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DMimeType.java109 if (!TextUtils.isEmpty(fileName)) {
130 if (TextUtils.isEmpty(extension)) {
140 if (isGenericType || TextUtils.isEmpty(mimeType)) {
143 if (!TextUtils.isEmpty(type)) {
150 return !TextUtils.isEmpty(mimeType) ? mimeType : GENERIC_MIMETYPE;
/packages/apps/Dialer/java/com/android/dialer/oem/
H A DCequintCallerIdManager.java185 TextUtils.isEmpty(displayName)
210 if (!TextUtils.isEmpty(string)) {
224 boolean hasFirstName = !TextUtils.isEmpty(firstName);
225 boolean hasLastName = !TextUtils.isEmpty(lastName);
226 boolean hasCompanyName = !TextUtils.isEmpty(company);
227 boolean hasName = !TextUtils.isEmpty(name);
260 if (TextUtils.isEmpty(city) && !TextUtils.isEmpty(state)) {
262 } else if (!TextUtils.isEmpty(city) && !TextUtils.isEmpty(stateAbb
[all...]
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
H A DDetailsContent.java56 .setDescription(TextUtils.isEmpty(recordedProgram.getLongDescription())
68 .setDescription(TextUtils.isEmpty(seriesRecording.getLongDescription())
79 String description = !TextUtils.isEmpty(scheduledRecording.getProgramDescription()) ?
82 if (TextUtils.isEmpty(description)) {
266 if (TextUtils.isEmpty(title)) {
278 if (!TextUtils.isEmpty(mPosterArtUri) && !TextUtils.isEmpty(mThumbnailUri)) {
281 } else if (!TextUtils.isEmpty(mPosterArtUri)) {
285 } else if (!TextUtils.isEmpty(mThumbnailUri)) {
290 if (TextUtils.isEmpty(mDetailsConten
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DConversationCheckedSet.java106 boolean initiallyNotEmpty = !mInternalMap.isEmpty();
110 if (mInternalMap.isEmpty() && initiallyNotEmpty) {
176 public boolean isEmpty() { method in class:ConversationCheckedSet
178 return mInternalMap.isEmpty();
184 final boolean initiallyEmpty = mInternalMap.isEmpty();
205 final boolean initiallyNotEmpty = !mInternalMap.isEmpty();
216 if (mInternalMap.isEmpty() && initiallyNotEmpty) {
284 final boolean initiallyEmpty = mInternalMap.isEmpty();
316 if (isEmpty()) {
353 if (!batchConversationToCheck.isEmpty()
[all...]
/packages/apps/Email/tests/src/com/android/email/service/
H A DAttachmentServiceTests.java51 assertTrue(dq.isEmpty());
61 assertFalse(dq.isEmpty());
74 assertTrue(dq.isEmpty());
84 assertFalse(dq.isEmpty());
90 assertFalse(dq.isEmpty());
100 assertFalse(dq.isEmpty());
108 assertTrue(dq.isEmpty());
118 assertFalse(dq.isEmpty());
126 assertFalse(dq.isEmpty());
136 assertFalse(dq.isEmpty());
[all...]

Completed in 748 milliseconds

1234567891011>>