Home
last modified time | relevance | path

Searched refs:mPathPrefix (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Email/tests/src/com/android/email/mail/store/
DImapStoreUnitTests.java1387 mStore.mPathPrefix = null; in testEnsurePrefixIsValid()
1389 assertNull(mStore.mPathPrefix); in testEnsurePrefixIsValid()
1391 mStore.mPathPrefix = ""; in testEnsurePrefixIsValid()
1393 assertEquals("", mStore.mPathPrefix); in testEnsurePrefixIsValid()
1395 mStore.mPathPrefix = "foo"; in testEnsurePrefixIsValid()
1397 assertEquals("foo", mStore.mPathPrefix); in testEnsurePrefixIsValid()
1399 mStore.mPathPrefix = "foo."; in testEnsurePrefixIsValid()
1401 assertEquals("foo.", mStore.mPathPrefix); in testEnsurePrefixIsValid()
1405 mStore.mPathPrefix = null; in testEnsurePrefixIsValid()
1407 assertNull(mStore.mPathPrefix); in testEnsurePrefixIsValid()
[all …]
/packages/apps/Email/provider_src/com/android/email/mail/store/
DImapStore.java88 @VisibleForTesting String mPathPrefix; field in ImapStore
122 mPathPrefix = recvAuth.mDomain; in ImapStore()
429 if (mPathPrefix != null) { in updateFolders()
430 imapCommand = ImapConstants.LIST + " \"\" \"" + mPathPrefix + "*\""; in updateFolders()
440 String folderName = decodeFolderName(encodedFolder.getString(), mPathPrefix); in updateFolders()
512 return TextUtils.isEmpty(mPathSeparator) && !TextUtils.isEmpty(mPathPrefix); in isUserPrefixSet()
522 mPathPrefix = pathPrefix; in setPathPrefix()
541 if (!TextUtils.isEmpty(mPathPrefix) && !TextUtils.isEmpty(mPathSeparator)) { in ensurePrefixIsValid()
542 if (!mPathPrefix.endsWith(mPathSeparator)) { in ensurePrefixIsValid()
543 mPathPrefix = mPathPrefix + mPathSeparator; in ensurePrefixIsValid()
DImapFolder.java200 ImapStore.encodeFolderName(mName, mStore.mPathPrefix))); in exists()
246 ImapStore.encodeFolderName(mName, mStore.mPathPrefix))); in create()
271 ImapStore.encodeFolderName(folder.getName(), mStore.mPathPrefix))); in copyMessages()
360 ImapStore.encodeFolderName(mName, mStore.mPathPrefix))); in getUnreadMessageCount()
1085 ImapStore.encodeFolderName(mName, mStore.mPathPrefix), in appendMessage()
1234 ImapStore.encodeFolderName(mName, mStore.mPathPrefix))); in doSelect()