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

1234567891011>>

/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/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/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)) {
H A DCompletionInfoUtils.java36 if (null != src[i] && !TextUtils.isEmpty(src[i].getText())) {
/packages/apps/Camera2/src/com/android/camera/processing/
H A DProcessingServiceManager.java100 if (!mQueue.isEmpty() && !mHoldProcessing) {
115 return mServiceRunning || !mQueue.isEmpty();
144 if (!mQueue.isEmpty()) {
/packages/apps/Dialer/src/com/android/dialer/calllog/
H A DPhoneNumberDisplayHelper.java72 if (!TextUtils.isEmpty(displayName)) {
76 if (TextUtils.isEmpty(number)) {
80 if (TextUtils.isEmpty(formattedNumber)) {
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
H A DImportantNoticeUtilsTests.java124 assertEquals("Current title before update", false, TextUtils.isEmpty(
126 assertEquals("Current contents before update", false, TextUtils.isEmpty(
137 assertEquals("Current title after update", true, TextUtils.isEmpty(
139 assertEquals("Current contents after update", true, TextUtils.isEmpty(
168 assertEquals("Current title before timeout 1", false, TextUtils.isEmpty(
170 assertEquals("Current contents before timeout 1", false, TextUtils.isEmpty(
185 assertEquals("Current title before timeout 2", false, TextUtils.isEmpty(
187 assertEquals("Current contents before timeout 2", false, TextUtils.isEmpty(
201 assertEquals("Current title after timeout 1", true, TextUtils.isEmpty(
203 assertEquals("Current contents after timeout 1", true, TextUtils.isEmpty(
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DMimeType.java107 if (!TextUtils.isEmpty(fileName)) {
128 if (TextUtils.isEmpty(extension)) {
138 if (isGenericType || TextUtils.isEmpty(mimeType)) {
141 if (!TextUtils.isEmpty(type)) {
148 return !TextUtils.isEmpty(mimeType) ? mimeType : GENERIC_MIMETYPE;
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DConversationSelectionSet.java106 boolean initiallyNotEmpty = !mInternalMap.isEmpty();
110 if (mInternalMap.isEmpty() && initiallyNotEmpty) {
176 public boolean isEmpty() { method in class:ConversationSelectionSet
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...]
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
H A DWifiConfig.java53 if (type == null || TextUtils.isEmpty(type)) {
60 if (securityType.equals(SecurityType.NONE) && !TextUtils.isEmpty(password)) {
102 if (!TextUtils.isEmpty(wifiPassword)) {
126 if (TextUtils.isEmpty(proxyHost) && TextUtils.isEmpty(pacUrl)) {
129 if (!TextUtils.isEmpty(proxyHost)) {
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
H A DAccountTypeWithDataSet.java46 this.accountType = TextUtils.isEmpty(accountType) ? null : accountType;
47 this.dataSet = TextUtils.isEmpty(dataSet) ? null : dataSet;
62 if (TextUtils.isEmpty(dataSet)) {
/packages/apps/Settings/src/com/android/settings/inputmethod/
H A DInputMethodSubtypePreference.java48 if (TextUtils.isEmpty(subtypeLocaleString)) {
83 if (TextUtils.isEmpty(t0)) {
86 if (TextUtils.isEmpty(t1)) {
H A DUserDictionarySettingsUtils.java32 if (TextUtils.isEmpty(localeStr)) {
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/decoder/
H A DUnboundedFifoByteBuffer.java111 public boolean isEmpty() { method in class:UnboundedFifoByteBuffer
158 if (isEmpty()) {
172 if (isEmpty()) {
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DConstants.java89 final boolean validRelease = !TextUtils.isEmpty(Build.VERSION.RELEASE);
90 final boolean validId = !TextUtils.isEmpty(Build.ID);
92 && !TextUtils.isEmpty(Build.MODEL);
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
H A DSuggestionsAdapter.java52 boolean isEmpty(); method in interface:SuggestionsAdapter
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
H A DMockExecutor.java52 if (mQueue.isEmpty()) {
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
H A DUserDictionarySettingsUtils.java33 if (TextUtils.isEmpty(localeStr)) {

Completed in 2436 milliseconds

1234567891011>>