Searched refs:mId (Results 1 - 25 of 182) sorted by relevance

12345678

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DWordListInfo.java23 public final String mId; field in class:WordListInfo
26 mId = id;
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
H A DMockTextAppearanceFactory.java47 private final int mId; field in class:MockTextAppearanceFactory.MockStyleSpan
49 mId = id;
52 return mId;
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/provider/
H A DMailboxUtilitiesTests.java63 if (mAccount != null && mAccount.mId > 0) {
65 ContentUris.withAppendedId(Account.CONTENT_URI, mAccount.mId), null, null);
72 Mailbox box1 = EmailContentSetupUtils.setupMailbox("box1", mAccount.mId, true,
74 Mailbox box2 = EmailContentSetupUtils.setupMailbox("box2", mAccount.mId, true,
76 Mailbox box3 = EmailContentSetupUtils.setupMailbox("box3", mAccount.mId, true,
78 Mailbox box4 = EmailContentSetupUtils.setupMailbox("box4", mAccount.mId, true,
80 Mailbox box5 = EmailContentSetupUtils.setupMailbox("box5", mAccount.mId, true,
88 String accountSelector = MailboxColumns.ACCOUNT_KEY + " IN (" + mAccount.mId + ")";
92 box1 = Mailbox.restoreMailboxWithId(mProviderContext, box1.mId);
93 box2 = Mailbox.restoreMailboxWithId(mProviderContext, box2.mId);
[all...]
/packages/apps/Exchange/tests/src/com/android/exchange/provider/
H A DMailboxUtilitiesTests.java63 if (mAccount != null && mAccount.mId > 0) {
65 ContentUris.withAppendedId(Account.CONTENT_URI, mAccount.mId), null, null);
72 Mailbox box1 = EmailContentSetupUtils.setupMailbox("box1", mAccount.mId, true,
74 Mailbox box2 = EmailContentSetupUtils.setupMailbox("box2", mAccount.mId, true,
76 Mailbox box3 = EmailContentSetupUtils.setupMailbox("box3", mAccount.mId, true,
78 Mailbox box4 = EmailContentSetupUtils.setupMailbox("box4", mAccount.mId, true,
80 Mailbox box5 = EmailContentSetupUtils.setupMailbox("box5", mAccount.mId, true,
88 String accountSelector = MailboxColumns.ACCOUNT_KEY + " IN (" + mAccount.mId + ")";
92 box1 = Mailbox.restoreMailboxWithId(mProviderContext, box1.mId);
93 box2 = Mailbox.restoreMailboxWithId(mProviderContext, box2.mId);
[all...]
/packages/apps/Email/tests/src/com/android/email/activity/
H A DRecentMailboxManagerTest.java95 Mailbox untouchedMailbox = Mailbox.restoreMailboxWithId(mMockContext, mailbox.mId);
101 mManager.touch(1L, mailbox.mId).get();
104 Mailbox touchedMailbox = Mailbox.restoreMailboxWithId(mMockContext, mailbox.mId);
113 Mailbox touchedMailbox = Mailbox.restoreMailboxWithId(mMockContext, mailbox.mId);
132 assertEquals(mMailboxArray[1].mId, (long) testList.get(0)); // Drafts
133 assertEquals(mMailboxArray[3].mId, (long) testList.get(1)); // Sent
140 mMockClock.advance(1000L); mManager.touch(1L, mMailboxArray[7].mId).get(); // costello
145 assertEquals(mMailboxArray[7].mId, (long) testList.get(0)); // costello
146 assertEquals(mMailboxArray[1].mId, (long) testList.get(1)); // Drafts
147 assertEquals(mMailboxArray[3].mId, (lon
[all...]
H A DAccountSelectorAdapterTest.java89 final Mailbox m1 = ProviderTestUtils.setupMailbox("Inbox", a1.mId, true, context,
91 final Mailbox m2 = ProviderTestUtils.setupMailbox("box2", a2.mId, true, context,
100 c.setAccountMailboxInfo(context, a1.mId, Mailbox.NO_MAILBOX);
103 assertEquals(a1.mId, c.getAccountId());
111 c.setAccountMailboxInfo(context, a1.mId, m1.mId);
114 assertEquals(a1.mId, c.getAccountId());
116 assertEquals(m1.mId, c.getMailboxId());
122 c.setAccountMailboxInfo(context, a2.mId, m2.mId);
[all...]
H A DMessagesAdapterTests.java48 acct.mHostAuthKeyRecv = acct.mHostAuthRecv.mId;
50 return acct.mId;
57 return box.mId;
76 assertEquals(accountId, result.mAccount.mId);
77 assertEquals(mailboxId, result.mMailbox.mId);
91 assertEquals(accountId, result.mAccount.mId);
92 assertEquals(mailboxId, result.mMailbox.mId);
106 assertEquals(accountId, result.mAccount.mId);
107 assertEquals(mailboxId, result.mMailbox.mId);
H A DMessageListTests.java49 assertEquals(a1.mId, MessageList.getAccountFromIntent(c,
51 assertEquals(a2.mId, MessageList.getAccountFromIntent(c,
58 assertEquals(a2.mId, MessageList.getAccountFromIntent(c, i));
H A DWelcomeTests.java40 final long id1 = account1.mId;
42 final long id2 = account2.mId;
44 final long id3 = account3.mId;
/packages/apps/Email/tests/src/com/android/emailcommon/provider/
H A DMailboxTests.java81 "1", b.mAccountKey, b.mId, true, false, c, starred, read);
98 long account1Id = account1.mId;
100 long box1Id = box1.mId;
114 long account1Id = account1.mId;
116 long box1Id = box1.mId;
118 long box2Id = box2.mId;
148 Mailbox bi = ProviderTestUtils.setupMailbox("b1", a.mId, true, c, Mailbox.TYPE_INBOX);
149 Mailbox bm = ProviderTestUtils.setupMailbox("b2", a.mId, true, c, Mailbox.TYPE_MAIL);
151 assertEquals(Mailbox.TYPE_INBOX, Mailbox.getMailboxType(c, bi.mId));
152 assertEquals(Mailbox.TYPE_MAIL, Mailbox.getMailboxType(c, bm.mId));
[all...]
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/
H A DExchangeServiceAccountTests.java51 Mailbox box1 = EmailContentSetupUtils.setupMailbox("box1", acct1.mId, true,
53 Mailbox box2 = EmailContentSetupUtils.setupMailbox("box2", acct1.mId, true,
56 Mailbox box3 = EmailContentSetupUtils.setupMailbox("box3", acct2.mId, true,
58 Mailbox box4 = EmailContentSetupUtils.setupMailbox("box4", acct2.mId, true,
63 errorMap.put(box1.mId, securityErrorAccount1);
64 errorMap.put(box2.mId, ioError);
65 errorMap.put(box3.mId, securityErrorAccount2);
66 errorMap.put(box4.mId, securityErrorAccount2);
75 assertNotNull(errorMap.get(box2.mId));
76 assertNotNull(errorMap.get(box1.mId));
[all...]
H A DRequestTests.java31 att1.mId = 1;
33 att2.mId = 2;
39 att3.mId = 1;
/packages/apps/Exchange/tests/src/com/android/exchange/
H A DExchangeServiceAccountTests.java51 Mailbox box1 = EmailContentSetupUtils.setupMailbox("box1", acct1.mId, true,
53 Mailbox box2 = EmailContentSetupUtils.setupMailbox("box2", acct1.mId, true,
56 Mailbox box3 = EmailContentSetupUtils.setupMailbox("box3", acct2.mId, true,
58 Mailbox box4 = EmailContentSetupUtils.setupMailbox("box4", acct2.mId, true,
63 errorMap.put(box1.mId, securityErrorAccount1);
64 errorMap.put(box2.mId, ioError);
65 errorMap.put(box3.mId, securityErrorAccount2);
66 errorMap.put(box4.mId, securityErrorAccount2);
75 assertNotNull(errorMap.get(box2.mId));
76 assertNotNull(errorMap.get(box1.mId));
[all...]
/packages/apps/Exchange/exchange2/src/com/android/exchange/
H A DPartRequest.java45 return ((PartRequest)o).mAttachment.mId == mAttachment.mId;
49 return (int)mAttachment.mId;
/packages/apps/Contacts/src/com/android/contacts/util/
H A DStreamItemPhotoEntry.java29 private final long mId; field in class:StreamItemPhotoEntry
39 mId = id;
51 mId = getLong(cursor, StreamItemPhotos._ID);
61 return mId;
95 return mId == streamItemPhotoEntry.mId ? 0
96 : mId < streamItemPhotoEntry.mId ? -1 : 1;
/packages/apps/Email/tests/src/com/android/emailcommon/utility/
H A DUtilityUnitTests.java294 Mailbox mailbox = ProviderTestUtils.setupMailbox("box", account.mId, true, providerContext);
297 Attachment att = ProviderTestUtils.setupAttachment(mailbox.mId, "name", 123, true,
299 long attachmentId = att.mId;
300 Uri uri = AttachmentUtilities.getAttachmentUri(account.mId, attachmentId);
306 Uri notExistUri = AttachmentUtilities.getAttachmentUri(account.mId, 123456789);
325 Mailbox mailbox1_1 = ProviderTestUtils.setupMailbox("mbox1_1", account1.mId, true,
327 Mailbox mailbox1_2 = ProviderTestUtils.setupMailbox("mbox1_2", account1.mId, true,
329 Mailbox mailbox1_3 = ProviderTestUtils.setupMailbox("mbox1_3", account1.mId, true,
331 Mailbox mailbox1_4 = ProviderTestUtils.setupMailbox("mbox1_4", account1.mId, true,
333 Mailbox mailbox1_5 = ProviderTestUtils.setupMailbox("mbox1_5", account1.mId, tru
[all...]
/packages/apps/Email/tests/src/com/android/email/service/
H A DAttachmentDownloadServiceTests.java64 mAccountId = mAccount.mId;
67 mMailboxId = mMailbox.mId;
97 Attachment att1 = ProviderTestUtils.setupAttachment(message.mId, "filename1", 1000,
99 Attachment att2 = ProviderTestUtils.setupAttachment(message.mId, "filename2", 1000,
101 Attachment att3 = ProviderTestUtils.setupAttachment(message.mId, "filename3", 1000,
103 Attachment att4 = ProviderTestUtils.setupAttachment(message.mId, "filename4", 1000,
113 long[] expectedAttachmentIds = new long[] {att1.mId, att4.mId, att2.mId, att3.mId};
[all...]
/packages/apps/Email/tests/src/com/android/email/
H A DControllerProviderOpsTests.java151 long accountId = account.mId;
156 long boxId = box.mId;
182 long account1Id = account1.mId;
184 long box1Id = box1.mId;
186 long box2Id = box2.mId;
188 long boxDestId = boxDest.mId;
194 long message1Id = message1.mId;
195 long message2Id = message2.mId;
214 long account1Id = account1.mId;
216 long boxId = box.mId;
[all...]
H A DNotificationControllerTest.java174 Mailbox b1 = ProviderTestUtils.setupMailbox("inbox", a1.mId, true, c, Mailbox.TYPE_INBOX);
175 Message m1 = ProviderTestUtils.setupMessage("message", a1.mId, b1.mId, true, true, c);
177 n = mTarget.createNewMessageNotification(a1.mId, b1.mId, null, m1.mId, 1, 1);
187 n = mTarget.createNewMessageNotification(a1.mId, b1.mId, null, m1.mId, 2, 2);
205 Mailbox b1 = ProviderTestUtils.setupMailbox("inbox", a1.mId, tru
[all...]
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
H A DMockTask.java26 private final int mId; field in class:MockTask
31 mId = id;
55 return mName + mId;
/packages/apps/Email/tests/src/com/android/email/provider/
H A DAttachmentProviderTests.java105 Uri attachment1Uri = AttachmentUtilities.getAttachmentUri(account1.mId,
107 Uri attachment2Uri = AttachmentUtilities.getAttachmentUri(account1.mId,
109 Uri attachment3Uri = AttachmentUtilities.getAttachmentUri(account1.mId,
121 AttachmentUtilities.getAttachmentUri(account1.mId, attachment1Id).toString();
128 AttachmentUtilities.getAttachmentUri(account1.mId, attachment2Id).toString();
135 AttachmentUtilities.getAttachmentUri(account1.mId, attachment3Id).toString();
140 attachment2Uri = AttachmentUtilities.getAttachmentUri(account1.mId, attachment2Id);
156 attachment3Uri = AttachmentUtilities.getAttachmentUri(account1.mId, attachment3Id);
173 Message m = ProviderTestUtils.setupMessage("1", b.mAccountKey, b.mId, true, false, c, false,
187 "box1", a1.mId, tru
[all...]
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/adapter/
H A DEmailSyncAdapterTests.java107 Mailbox box1 = EmailContentSetupUtils.setupMailbox("box1", mAccount.mId, true,
112 Message msg1 = EmailContentSetupUtils.setupMessage("message1", mAccount.mId, box1.mId,
114 ids.add(msg1.mId);
115 Message msg2 = EmailContentSetupUtils.setupMessage("message2", mAccount.mId, box1.mId,
117 ids.add(msg2.mId);
118 Message msg3 = EmailContentSetupUtils.setupMessage("message3", mAccount.mId, box1.mId,
120 ids.add(msg3.mId);
[all...]
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/
H A DEmailSyncAdapterTests.java107 Mailbox box1 = EmailContentSetupUtils.setupMailbox("box1", mAccount.mId, true,
112 Message msg1 = EmailContentSetupUtils.setupMessage("message1", mAccount.mId, box1.mId,
114 ids.add(msg1.mId);
115 Message msg2 = EmailContentSetupUtils.setupMessage("message2", mAccount.mId, box1.mId,
117 ids.add(msg2.mId);
118 Message msg3 = EmailContentSetupUtils.setupMessage("message3", mAccount.mId, box1.mId,
120 ids.add(msg3.mId);
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppBatch.java66 public int mId; field in class:BluetoothOppBatch
115 if (V) Log.v(TAG, "New Batch created for info " + info.mId);
128 mListener.onShareAdded(info.mId);
147 mListener.onShareDeleted(info.mId);
159 if (V) Log.v(TAG, "batch " + this.mId + " is canceled");
172 if (V) Log.v(TAG, "Cancel batch for info " + info.mId);
174 Constants.updateShareStatus(mContext, info.mId, BluetoothShare.STATUS_CANCELED);
/packages/apps/Contacts/tests/src/com/android/contacts/util/
H A DStreamItemEntryBuilder.java25 private long mId; field in class:StreamItemEntryBuilder
64 StreamItemEntry ret = StreamItemEntry.createForTest(mId, mText, mComment, mTimestamp,

Completed in 527 milliseconds

12345678