Home
last modified time | relevance | path

Searched refs:mParentKey (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Exchange/tests/src/com/android/exchange/provider/
DMailboxUtilitiesTests.java101 assertEquals(-1, box1.mParentKey); in testSetupParentKeyAndFlag()
104 assertEquals(box1.mId, box2.mParentKey); in testSetupParentKeyAndFlag()
107 assertEquals(box1.mId, box3.mParentKey); in testSetupParentKeyAndFlag()
110 assertEquals(box3.mId, box4.mParentKey); in testSetupParentKeyAndFlag()
113 assertEquals(box3.mId, box5.mParentKey); in testSetupParentKeyAndFlag()
149 assertEquals(-1, box1.mParentKey); in testParentKeyAddFolder1()
152 assertEquals(box1.mId, box2.mParentKey); in testParentKeyAddFolder1()
158 box3.mParentKey = Mailbox.PARENT_KEY_UNINITIALIZED; in testParentKeyAddFolder1()
168 assertEquals(-1, box1.mParentKey); in testParentKeyAddFolder1()
171 assertEquals(box1.mId, box2.mParentKey); in testParentKeyAddFolder1()
[all …]
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/provider/
DMailboxUtilitiesTests.java101 assertEquals(-1, box1.mParentKey); in testSetupParentKeyAndFlag()
104 assertEquals(box1.mId, box2.mParentKey); in testSetupParentKeyAndFlag()
107 assertEquals(box1.mId, box3.mParentKey); in testSetupParentKeyAndFlag()
110 assertEquals(box3.mId, box4.mParentKey); in testSetupParentKeyAndFlag()
113 assertEquals(box3.mId, box5.mParentKey); in testSetupParentKeyAndFlag()
149 assertEquals(-1, box1.mParentKey); in testParentKeyAddFolder1()
152 assertEquals(box1.mId, box2.mParentKey); in testParentKeyAddFolder1()
158 box3.mParentKey = Mailbox.PARENT_KEY_UNINITIALIZED; in testParentKeyAddFolder1()
168 assertEquals(-1, box1.mParentKey); in testParentKeyAddFolder1()
171 assertEquals(box1.mId, box2.mParentKey); in testParentKeyAddFolder1()
[all …]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DMailbox.java46 public long mParentKey; field in Mailbox
261 box.mParentKey = Mailbox.NO_MAILBOX; in newSystemMailbox()
317 mParentKey = cursor.getLong(CONTENT_PARENT_KEY_COLUMN); in restore()
344 values.put(MailboxColumns.PARENT_KEY, mParentKey); in toContentValues()
579 = mParentKey; in getHashes()
609 dest.writeLong(mParentKey); in writeToParcel()
636 mParentKey = in.readLong(); in Mailbox()
/packages/apps/Email/tests/src/com/android/email/mail/store/
DImapStoreUnitTests.java2348 assertEquals(-1L, folders[0].mMailbox.mParentKey); in testCreateHierarchy()
2351 assertEquals(1L, folders[1].mMailbox.mParentKey); in testCreateHierarchy()
2354 assertEquals(-1L, folders[2].mMailbox.mParentKey); in testCreateHierarchy()
2357 assertEquals(3L, folders[3].mMailbox.mParentKey); in testCreateHierarchy()
2360 assertEquals(3L, folders[4].mMailbox.mParentKey); in testCreateHierarchy()
2363 assertEquals(3L, folders[5].mMailbox.mParentKey); in testCreateHierarchy()
2366 assertEquals(6L, folders[6].mMailbox.mParentKey); in testCreateHierarchy()
2369 assertEquals(7L, folders[7].mMailbox.mParentKey); in testCreateHierarchy()
2372 assertEquals(-1L, folders[8].mMailbox.mParentKey); in testCreateHierarchy()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DMoreKeysKeyboard.java256 private final Key mParentKey; field in MoreKeysKeyboard.Builder
279 mParentKey = parentKey; in Builder()
346 final int moreKeyFlags = mParentKey.getMoreKeyLabelFlags(); in build()
347 final MoreKeySpec[] moreKeys = mParentKey.mMoreKeys; in build()
/packages/apps/Email/src/com/android/email/activity/
DMailboxFragmentAdapter.java515 private final long mParentKey; field in MailboxFragmentAdapter.MailboxFragmentLoader
527 mParentKey = parentKey; in MailboxFragmentLoader()
546 if (mParentKey != Mailbox.NO_MAILBOX) { in loadInBackground()
550 new String[] { Long.toString(mAccountId), Long.toString(mParentKey) }, in loadInBackground()
DMailboxListFragment.java651 : parentMailbox.mParentKey; in doInBackground()
/packages/apps/Email/tests/src/com/android/email/provider/
DProviderTestUtils.java136 box.mParentKey = 4; in setupMailbox()
367 assertEquals(caller + " mParentKey", expect.mParentKey, actual.mParentKey); in assertMailboxEqual()
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/
DFolderSyncParserTests.java344 return m.mParentKey == Mailbox.NO_MAILBOX; in isTopLevel()
353 return child.mParentKey == parent.mId; in isSubfolder()
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/adapter/
DFolderSyncParserTests.java344 return m.mParentKey == Mailbox.NO_MAILBOX; in isTopLevel()
353 return child.mParentKey == parent.mId; in isSubfolder()
/packages/apps/Email/tests/src/com/android/email/
DControllerProviderOpsTests.java129 assertEquals(-1L, testMailbox.mParentKey); // Parent is off the top-level in testCreateMailbox()
138 assertEquals(-1L, testMailbox.mParentKey); // Parent is off the top-level in testCreateMailbox()
/packages/apps/Email/tests/src/com/android/email/activity/
DFindParentMailboxTaskTest.java84 m.mParentKey = parentMailboxId; in createMailboxAndGetId()
/packages/apps/Email/src/com/android/email/mail/store/
DImapStore.java339 mailbox.mParentKey = parentKey; in createHierarchy()
DPop3Store.java167 mailbox.mParentKey = Mailbox.NO_MAILBOX; in updateFolders()
/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DMailboxTests.java517 testMailbox.mParentKey = 3L; in buildTestMailbox()
/packages/apps/Email/src/com/android/email/
DController.java284 m.mParentKey = Mailbox.NO_MAILBOX; in getSearchMailbox()