Home
last modified time | relevance | path

Searched refs:EMPTY (Results 1 – 25 of 77) sorted by relevance

1234

/packages/apps/Email/tests/src/com/android/email/mail/store/imap/
DImapListTest.java60 assertTrue(ImapList.EMPTY.isEmpty()); in testEmpty()
65 ImapList list = buildList(ImapList.EMPTY, ABC, LIST_1, ImapString.EMPTY); in testIs()
92 assertFalse(ImapList.EMPTY.is(0, "abc")); in testIs()
96 ImapList list = buildList(ImapList.EMPTY, STRING_1, LIST_1, ImapString.EMPTY); in testGetElementOrNone()
98 assertElement(ImapList.EMPTY, list.getElementOrNone(0)); in testGetElementOrNone()
101 assertElement(ImapString.EMPTY, list.getElementOrNone(3)); in testGetElementOrNone()
105 assertElement(ImapElement.NONE, ImapList.EMPTY.getElementOrNone(0)); in testGetElementOrNone()
109 ImapList list = buildList(ImapList.EMPTY, STRING_1, LIST_1, ImapString.EMPTY); in testGetListOrEmpty()
111 assertElement(ImapList.EMPTY, list.getListOrEmpty(0)); in testGetListOrEmpty()
112 assertElement(ImapList.EMPTY, list.getListOrEmpty(1)); in testGetListOrEmpty()
[all …]
DImapStringTest.java47 assertTrue(ImapString.EMPTY.isEmpty()); in testEmpty()
48 assertEquals("", ImapString.EMPTY.getString()); in testEmpty()
49 assertEquals("", Utility.fromAscii(IOUtils.toByteArray(ImapString.EMPTY.getAsStream()))); in testEmpty()
50 assertFalse(ImapString.EMPTY.isNumber()); in testEmpty()
51 assertFalse(ImapString.EMPTY.isDate()); in testEmpty()
53 assertTrue(ImapString.EMPTY.is("")); in testEmpty()
54 assertTrue(ImapString.EMPTY.startsWith("")); in testEmpty()
55 assertFalse(ImapString.EMPTY.is("a")); in testEmpty()
56 assertFalse(ImapString.EMPTY.startsWith("a")); in testEmpty()
DImapResponseParserTest.java155 ImapString.EMPTY, in testNil()
156 ImapString.EMPTY, in testNil()
157 ImapString.EMPTY, in testNil()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyboardTextsTable.java264 private static final String EMPTY = ""; field in KeyboardTextsTable
269 EMPTY, EMPTY, EMPTY, EMPTY,
274 EMPTY, EMPTY, EMPTY,
277 /* morekeys_s */ EMPTY,
281 EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
286 EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
301 EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
304 /* morekeys_nordic_row2_11 */ EMPTY,
312 EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
342 /* morekeys_tablet_comma */ EMPTY,
[all …]
/packages/services/Telephony/src/com/android/phone/common/mail/store/imap/
DImapList.java28 public static final ImapList EMPTY = new ImapList() { field in ImapList
99 return el.isList() ? (ImapList) el : EMPTY; in getListOrEmpty()
108 return el.isString() ? (ImapString) el : ImapString.EMPTY; in getStringOrEmpty()
138 return (e != null) ? ((ImapList) e) : ImapList.EMPTY; in getKeyedListOrEmpty()
155 return (e != null) ? ((ImapString) e) : ImapString.EMPTY; in getKeyedStringOrEmpty()
DImapResponse.java94 return ImapString.EMPTY; // Not a status response. in getResponseCodeOrEmpty()
106 return ImapString.EMPTY; // Not an ALERT in getAlertTextOrEmpty()
117 return ImapString.EMPTY; in getStatusResponseTextOrEmpty()
124 return ImapString.EMPTY; in getStatusOrEmpty()
/packages/apps/Email/provider_src/com/android/email/mail/store/imap/
DImapList.java28 public static final ImapList EMPTY = new ImapList() { field in ImapList
99 return el.isList() ? (ImapList) el : EMPTY; in getListOrEmpty()
108 return el.isString() ? (ImapString) el : ImapString.EMPTY; in getStringOrEmpty()
138 return (e != null) ? ((ImapList) e) : ImapList.EMPTY; in getKeyedListOrEmpty()
155 return (e != null) ? ((ImapString) e) : ImapString.EMPTY; in getKeyedStringOrEmpty()
DImapResponse.java95 return ImapString.EMPTY; // Not a status response. in getResponseCodeOrEmpty()
107 return ImapString.EMPTY; // Not an ALERT in getAlertTextOrEmpty()
118 return ImapString.EMPTY; in getStatusResponseTextOrEmpty()
125 return ImapString.EMPTY; in getStatusOrEmpty()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/
DMockUiProvider.java345 accountMap.put(AccountColumns.SETTINGS_INTENT_URI, Uri.EMPTY); in createAccountDetailsMap()
346 accountMap.put(AccountColumns.HELP_INTENT_URI, Uri.EMPTY); in createAccountDetailsMap()
347 accountMap.put(AccountColumns.SEND_FEEDBACK_INTENT_URI, Uri.EMPTY); in createAccountDetailsMap()
348 accountMap.put(AccountColumns.REAUTHENTICATION_INTENT_URI, Uri.EMPTY); in createAccountDetailsMap()
355 accountMap.put(AccountColumns.RECENT_FOLDER_LIST_URI, Uri.EMPTY); in createAccountDetailsMap()
356 accountMap.put(AccountColumns.DEFAULT_RECENT_FOLDER_LIST_URI, Uri.EMPTY); in createAccountDetailsMap()
357 accountMap.put(AccountColumns.MANUAL_SYNC_URI, Uri.EMPTY); in createAccountDetailsMap()
358 accountMap.put(AccountColumns.VIEW_INTENT_PROXY_URI, Uri.EMPTY); in createAccountDetailsMap()
359 accountMap.put(AccountColumns.ACCOUNT_COOKIE_QUERY_URI, Uri.EMPTY); in createAccountDetailsMap()
360 accountMap.put(AccountColumns.UPDATE_SETTINGS_URI, Uri.EMPTY); in createAccountDetailsMap()
[all …]
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/account/
DAccountTypeTest.java90 final AccountTypeForDisplayLabelTest EMPTY = new AccountTypeForDisplayLabelTest(""); in testDisplayLabelComparator() local
102 assertTrue(compareDisplayLabel(EMPTY, AA) < 0); in testDisplayLabelComparator()
103 assertTrue(compareDisplayLabel(EMPTY, NULL) == 0); in testDisplayLabelComparator()
/packages/apps/UnifiedEmail/src/org/apache/commons/io/filefilter/
DEmptyFileFilter.java57 public static final IOFileFilter EMPTY = new EmptyFileFilter(); field in EmptyFileFilter
60 public static final IOFileFilter NOT_EMPTY = new NotFileFilter(EMPTY);
/packages/apps/Dialer/src/com/android/dialer/contactinfo/
DContactInfoCache.java153 mCache.put(numberCountryIso, ContactInfo.EMPTY); in getValue()
173 if (info == ContactInfo.EMPTY) { in getValue()
213 boolean updated = (existingInfo != ContactInfo.EMPTY || isRemoteSource) && in queryContactInfo()
/packages/apps/Camera2/src/com/android/camera/data/
DFilmstripItemData.java181 public static final Date EMPTY = new Date(0); field in FilmstripItemData.Builder
187 private Date mCreationDate = EMPTY;
188 private Date mLastModifiedDate = EMPTY;
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DFolderUri.java26 public static final FolderUri EMPTY = new FolderUri(Uri.EMPTY); field in FolderUri
/packages/apps/Dialer/src/com/android/dialer/calllog/
DContactInfoHelper.java88 if (info == null || info == ContactInfo.EMPTY) { in lookupNumber()
106 if (info == ContactInfo.EMPTY) { in lookupNumber()
163 return ContactInfo.EMPTY; in lookupContactFromUri()
181 return ContactInfo.EMPTY; in lookupContactFromUri()
254 if (info != null && info != ContactInfo.EMPTY) { in queryContactInfoForPhoneNumber()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DFolderList.java18 private static final FolderList EMPTY = new FolderList(Collections.<Folder> emptyList()); field in FolderList
71 return EMPTY; in fromBlob()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DFolderOperation.java34 public static final Collection<FolderOperation> EMPTY = Collections.emptyList(); field in FolderOperation
64 final Collection<FolderOperation> target = (in == null) ? EMPTY : ImmutableList.of(in); in listOf()
DFolderListFragment.java138 private FolderUri mSelectedFolderUri = FolderUri.EMPTY;
1082 && mSelectedFolderUri != FolderUri.EMPTY in recalculateDividedListFolders()
1364 return mCurrentAccount == null ? Uri.EMPTY : mCurrentAccount.uri; in getCurrentAccountUri()
1461 mSelectedFolderUri = FolderUri.EMPTY; in setSelectedFolder()
1518 manager.restartLoader(FOLDER_LIST_LOADER_ID, Bundle.EMPTY, this); in setSelectedAccount()
1520 manager.restartLoader(ALL_FOLDER_LIST_LOADER_ID, Bundle.EMPTY, this); in setSelectedAccount()
1524 mSelectedFolderUri = FolderUri.EMPTY; in setSelectedAccount()
DRecentFolderList.java227 ? FolderUri.EMPTY in getRecentFolderList()
229 if (!defaultInbox.equals(FolderUri.EMPTY)) { in getRecentFolderList()
/packages/apps/Email/tests/src/com/android/email/
DVendorPolicyLoaderTest.java51 assertEquals(Bundle.EMPTY, pl.getPolicy(null, null)); in testPackageNotExist()
100 assertEquals(Bundle.EMPTY, pl.getPolicy("policy1", null)); in testGetPolicyNonSystem()
/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DHostAuthTests.java233 json.put(HostAuth.JSON_TAG_CREDENTIAL, Credential.EMPTY.toJson()); in testDeserializeFromJSON()
247 assertEquals(Credential.EMPTY, ha.mCredential); in testDeserializeFromJSON()
264 before.mCredential = Credential.EMPTY; in testSerializeAndDeserializeWithJSON()
/packages/apps/Music/src/com/android/music/
DQueryBrowserActivity.java113 i.setDataAndType(Uri.EMPTY, "vnd.android.cursor.dir/track"); in onServiceConnected()
121 i.setDataAndType(Uri.EMPTY, "vnd.android.cursor.dir/album"); in onServiceConnected()
288 intent.setDataAndType(Uri.EMPTY, "vnd.android.cursor.dir/album"); in onListItemClick()
294 intent.setDataAndType(Uri.EMPTY, "vnd.android.cursor.dir/track"); in onListItemClick()
DPlaylistBrowserActivity.java380 shortcut.setDataAndType(Uri.EMPTY, "vnd.android.cursor.dir/playlist"); in onListItemClick()
395 intent.setDataAndType(Uri.EMPTY, "vnd.android.cursor.dir/track"); in onListItemClick()
400 intent.setDataAndType(Uri.EMPTY, "vnd.android.cursor.dir/track"); in onListItemClick()
405 intent.setDataAndType(Uri.EMPTY, "vnd.android.cursor.dir/track"); in onListItemClick()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationItemViewModel.java320 ? sCachedModelsFolder.folderUri : FolderUri.EMPTY; in onFolderUpdated()
321 final FolderUri newUri = folder != null ? folder.folderUri : FolderUri.EMPTY; in onFolderUpdated()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DSuggestedWords.java52 private static final SuggestedWords EMPTY = new SuggestedWords( field in SuggestedWords
207 return SuggestedWords.EMPTY; in getEmptyInstance()

1234