Home
last modified time | relevance | path

Searched refs:mId (Results 1 – 25 of 180) sorted by relevance

12345678

/packages/apps/Email/tests/src/com/android/email/provider/
DProviderTests.java172 b.mId, in createMessage()
193 long account1Id = account1.mId; in testAccountSave()
212 long account1Id = account1.mId; in testAccountSaveHostAuth()
318 return Account.CONTENT_URI.buildUpon().appendEncodedPath("" + account.mId).build(); in getEclairStyleShortcutUri()
332 assertEquals("eas", Account.getProtocol(mMockContext, account1.mId)); in testGetProtocol()
338 assertNull(Account.getProtocol(mMockContext, account2.mId)); in testGetProtocol()
348 assertTrue(Account.isValidId(mMockContext, account1.mId)); in testAccountIsValidId()
349 assertTrue(Account.isValidId(mMockContext, account2.mId)); in testAccountIsValidId()
409 long account1Id = account1.mId; in testMessageSave()
411 long box1Id = box1.mId; in testMessageSave()
[all …]
DAttachmentProviderTests.java94 Uri attachment1Uri = AttachmentUtilities.getAttachmentUri(account1.mId, in testQuery()
96 Uri attachment2Uri = AttachmentUtilities.getAttachmentUri(account1.mId, in testQuery()
98 Uri attachment3Uri = AttachmentUtilities.getAttachmentUri(account1.mId, in testQuery()
110 AttachmentUtilities.getAttachmentUri(account1.mId, attachment1Id).toString()); in testQuery()
117 AttachmentUtilities.getAttachmentUri(account1.mId, attachment2Id).toString()); in testQuery()
124 AttachmentUtilities.getAttachmentUri(account1.mId, attachment3Id).toString()); in testQuery()
129 attachment2Uri = AttachmentUtilities.getAttachmentUri(account1.mId, attachment2Id); in testQuery()
145 attachment3Uri = AttachmentUtilities.getAttachmentUri(account1.mId, attachment3Id); in testQuery()
162 Message m = ProviderTestUtils.setupMessage("1", b.mAccountKey, b.mId, true, false, c, false, in createMessage()
176 "box1", a1.mId, true, mMockContext, Mailbox.TYPE_INBOX); in testInboxQuery()
[all …]
DPolicyTests.java84 assertEquals(account1.mId, Policy.getAccountIdWithPolicyKey(mMockContext, in testGetAccountIdWithPolicyKey()
86 assertEquals(account2.mId, Policy.getAccountIdWithPolicyKey(mMockContext, in testGetAccountIdWithPolicyKey()
120 att.mAccountKey = acct.mId; in setupSimpleAttachment()
128 Mailbox box = ProviderTestUtils.setupMailbox("box1", acct.mId, true, mMockContext); in testSetAttachmentFlagsForNewPolicy()
129 Message msg1 = ProviderTestUtils.setupMessage("message1", acct.mId, box.mId, false, false, in testSetAttachmentFlagsForNewPolicy()
138 Message msg2 = ProviderTestUtils.setupMessage("message2", acct.mId, box.mId, false, false, in testSetAttachmentFlagsForNewPolicy()
166 att2 = Attachment.restoreAttachmentWithId(mMockContext, att2.mId); in testSetAttachmentFlagsForNewPolicy()
168 att3 = Attachment.restoreAttachmentWithId(mMockContext, att3.mId); in testSetAttachmentFlagsForNewPolicy()
179 att4 = Attachment.restoreAttachmentWithId(mMockContext, att4.mId); in testSetAttachmentFlagsForNewPolicy()
/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DMailboxTests.java83 "1", b.mAccountKey, b.mId, true, false, c, starred, read); in createMessage()
100 long account1Id = account1.mId; in testSave()
102 long box1Id = box1.mId; in testSave()
116 long account1Id = account1.mId; in testDelete()
118 long box1Id = box1.mId; in testDelete()
120 long box2Id = box2.mId; in testDelete()
150 Mailbox bi = ProviderTestUtils.setupMailbox("b1", a.mId, true, c, Mailbox.TYPE_INBOX); in testGetMailboxType()
151 Mailbox bm = ProviderTestUtils.setupMailbox("b2", a.mId, true, c, Mailbox.TYPE_MAIL); in testGetMailboxType()
153 assertEquals(Mailbox.TYPE_INBOX, Mailbox.getMailboxType(c, bi.mId)); in testGetMailboxType()
154 assertEquals(Mailbox.TYPE_MAIL, Mailbox.getMailboxType(c, bm.mId)); in testGetMailboxType()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DActionBatch.java115 mWordList.mId, mWordList.mVersion); in execute()
122 MetadataDbHelper.markEntryAsAvailable(db, mWordList.mId, mWordList.mVersion); in execute()
126 Log.e(TAG, "Unexpected state of the word list '" + mWordList.mId + "' : " + status in execute()
149 mWordList.mId, mWordList.mVersion); in execute()
226 mWordList.mId, mWordList.mVersion); in execute()
230 Log.e(TAG, "Unexpected state of the word list '" + mWordList.mId + " : " + status in execute()
234 MetadataDbHelper.markEntryAsEnabled(db, mWordList.mId, mWordList.mVersion); in execute()
261 mWordList.mId, mWordList.mVersion); in execute()
265 MetadataDbHelper.markEntryAsDisabled(db, mWordList.mId, mWordList.mVersion); in execute()
268 Log.e(TAG, "Unexpected state of the word list '" + mWordList.mId + "' : " in execute()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppService.java515 mShares.get(arrayPos).mId + " @ " + arrayPos); in run()
543 arrayId = mShares.get(arrayPos).mId; in run()
628 Log.v(TAG, "ID : " + info.mId); in insertShare()
649 Constants.updateShareStatus(this, info.mId, BluetoothShare.STATUS_UNKNOWN_ERROR); in insertShare()
667 Log.e(TAG, "Can't open file for OUTBOUND info " + info.mId); in insertShare()
668 Constants.updateShareStatus(this, info.mId, BluetoothShare.STATUS_BAD_REQUEST); in insertShare()
675 newBatch.mId = mBatchId; in insertShare()
679 if (V) Log.v(TAG, "Service create new Batch " + newBatch.mId in insertShare()
680 + " for OUTBOUND info " + info.mId); in insertShare()
683 if (V) Log.v(TAG, "Service create new Batch " + newBatch.mId in insertShare()
[all …]
DBluetoothOppTransfer.java131 + mBatch.mId); in onReceive()
194 return mBatch.mId; in getBatchId()
245 if (V) Log.v(TAG, "receive MSG_SHARE_COMPLETE for info " + info.mId); in handleMessage()
251 if (V) Log.v(TAG, "continue session for info " + mCurrentShare.mId + in handleMessage()
252 " from batch " + mBatch.mId); in handleMessage()
256 if (V) Log.v(TAG, "Batch " + mBatch.mId + " is done"); in handleMessage()
268 if (V) Log.v(TAG, "receive MSG_SESSION_COMPLETE for batch " + mBatch.mId); in handleMessage()
278 if (V) Log.v(TAG, "receive MSG_SESSION_ERROR for batch " + mBatch.mId); in handleMessage()
295 if (V) Log.v(TAG, "receive MSG_SHARE_INTERRUPTED for batch " + mBatch.mId); in handleMessage()
319 if (V) Log.v(TAG, "receive MSG_CONNECT_TIMEOUT for batch " + mBatch.mId); in handleMessage()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/provider/
DAlarmInstance.java92 if (instance.mId != INVALID_ID) { in createContentValues()
93 values.put(_ID, instance.mId); in createContentValues()
250 instance.mId = otherInstances.mId; in addInstance()
258 instance.mId = getId(uri); in addInstance()
263 if (instance.mId == INVALID_ID) return false; in updateInstance()
265 long rowsUpdated = contentResolver.update(getContentUri(instance.mId), values, null, null); in updateInstance()
279 if (instance.mId != instanceId) { in deleteOtherInstances()
281 deleteInstance(contentResolver, instance.mId); in deleteOtherInstances()
287 public long mId; field in AlarmInstance
305 mId = INVALID_ID; in AlarmInstance()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapAccountItem.java35 private final String mId; field in BluetoothMapAccountItem
49 this.mId = id; in BluetoothMapAccountItem()
71 if(mId != null) { in getAccountId()
72 return Long.parseLong(mId); in getAccountId()
96 if(!other.mId.equals(this.mId)){ in compareTo()
97 if(V) Log.d(TAG, "Wrong id : " + this.mId + " vs " + other.mId); in compareTo()
129 result = prime * result + ((mId == null) ? 0 : mId.hashCode()); in hashCode()
147 if (mId == null) { in equals()
148 if (other.mId != null) in equals()
150 } else if (!mId.equals(other.mId)) in equals()
[all …]
DMapContact.java25 private final long mId; field in MapContact
28 mId = id; in MapContact()
41 return mId; in getId()
45 if(mId > 0) { in getXBtUidString()
46 return BluetoothMapUtils.getLongLongAsString(mId, 0); in getXBtUidString()
52 if(mId > 0) { in getXBtUid()
53 return new SignedLongLong(mId, 0); in getXBtUid()
/packages/apps/Email/tests/src/com/android/email/
DSecurityPolicyTests.java219 assertEquals(account.mPolicyKey, policy.mId); in assertAccountPolicyConsistent()
222 Policy.getAccountIdWithPolicyKey(mMockContext, policy.mId)); in assertAccountPolicyConsistent()
236 long accountId = account.mId; in testSettingAccountPolicy()
241 long oldKey = assertAccountPolicyConsistent(account.mId, 0); in testSettingAccountPolicy()
246 oldKey = assertAccountPolicyConsistent(account.mId, oldKey); in testSettingAccountPolicy()
283 Account a2a = Account.restoreAccountWithId(mMockContext, a2.mId); in testSetClearHoldFlag()
291 Account a2b = Account.restoreAccountWithId(mMockContext, a2.mId); in testSetClearHoldFlag()
319 Account a1a = Account.restoreAccountWithId(mMockContext, a1.mId); in testDisableAdmin()
322 Account a2a = Account.restoreAccountWithId(mMockContext, a2.mId); in testDisableAdmin()
325 Account a3a = Account.restoreAccountWithId(mMockContext, a3.mId); in testDisableAdmin()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/data/
DTimer.java82 private final int mId; field in Timer
110 mId = id; in Timer()
121 public int getId() { return mId; } in getId()
198 return new Timer(mId, RUNNING, mLength, mTotalLength, now(), wallClock(), mRemainingTime, in start()
213 return new Timer(mId, PAUSED, mLength, mTotalLength, UNUSED, UNUSED, remainingTime, mLabel, in pause()
226 return new Timer(mId, EXPIRED, mLength, 0L, now(), wallClock(), remainingTime, mLabel, in expire()
239 return new Timer(mId, MISSED, mLength, 0L, now(), wallClock(), remainingTime, mLabel, in miss()
251 return new Timer(mId, RESET, mLength, mLength, UNUSED, UNUSED, mLength, mLabel, in reset()
269 return new Timer(mId, mState, mLength, mTotalLength, timeSinceBoot, wallClockTime, in updateAfterReboot()
291 return new Timer(mId, mState, mLength, mTotalLength, timeSinceBoot, wallClockTime, in updateAfterTimeSet()
[all …]
/packages/apps/Contacts/src/com/android/contacts/model/
DSimContact.java46 private final long mId; field in SimContact
56 mId = id; in SimContact()
63 this(other.mId, other.mName, other.mPhone, other.mEmails); in SimContact()
67 return mId; in getId()
120 cursor.newRow().add(ContactsContract.Contacts._ID, mId) in appendAsContactRow()
155 "mId=" + mId + in toString()
169 return mId == that.mId && Objects.equals(mName, that.mName) && in equals()
175 int result = (int) (mId ^ (mId >>> 32)); in hashCode()
189 dest.writeLong(mId); in writeToParcel()
256 return Long.compare(lhs.mId, rhs.mId);
/packages/apps/Calendar/tests/src/com/android/calendar/
DAsyncQueryServiceTest.java67 private static int mId = 0; field in AsyncQueryServiceTest
113 work[index].token = ++mId; in testQuery()
114 work[index].cookie = ++mId; in testQuery()
142 work[index].token = ++mId; in testInsert()
143 work[index].cookie = ++mId; in testInsert()
146 work[index].values.put("key", ++mId); in testInsert()
149 work[index].result = Uri.parse(AUTHORITY_URI + "Result=" + ++mId); in testInsert()
168 work[index].token = ++mId; in testUpdate()
169 work[index].cookie = ++mId; in testUpdate()
170 work[index].uri = Uri.parse(AUTHORITY_URI + ++mId); in testUpdate()
[all …]
/packages/apps/Email/provider_src/com/android/email/service/
DAttachmentService.java202 mAttachmentId = attachment.mId; in DownloadRequest()
206 mMessageId = msg.mId; in DownloadRequest()
677 debugTrace("Attempting to download attachment #%d again.", attachment.mId); in run()
750 debugTrace("onChange() for Attachment: #%d", att.mId); in onChange()
751 DownloadRequest req = mDownloadQueue.findRequestById(att.mId); in onChange()
755 att.mId); in onChange()
764 if (mDownloadsInProgress.containsKey(att.mId)) { in onChange()
765 debugTrace("Attachment #%d was already in the queue", att.mId); in onChange()
770 LogUtils.d(LOG_TAG, "Attachment #%d is a new download request", att.mId); in onChange()
774 LogUtils.w(LOG_TAG, "Attachment #%d is not eligible for download", att.mId); in onChange()
[all …]
DImapService.java176 nc.cancelLoginFailedNotification(account.mId); in synchronizeMailboxSynchronous()
183 nc.showLoginFailedNotificationSynchronous(account.mId, true /* incoming */); in synchronizeMailboxSynchronous()
219 final long mId; field in ImapService.LocalMessageInfo
228 mId = c.getLong(COLUMN_ID); in LocalMessageInfo()
318 context, localMessageInfo.mId); in downloadFlagAndEnvelope()
325 message, account.mId, mailbox.mId); in downloadFlagAndEnvelope()
330 unseenMessages.add(localMessage.mId); in downloadFlagAndEnvelope()
408 new String[] {String.valueOf(account.mId), String.valueOf(mailbox.mId)}, in synchronizeMailboxGeneric()
564 String.valueOf(account.mId), in synchronizeMailboxGeneric()
565 String.valueOf(mailbox.mId), in synchronizeMailboxGeneric()
[all …]
DPop3Service.java117 nc.cancelLoginFailedNotification(account.mId); in synchronizeMailboxSynchronous()
125 nc.showLoginFailedNotificationSynchronous(account.mId, true /* incoming */); in synchronizeMailboxSynchronous()
147 final long mId; field in Pop3Service.LocalMessageInfo
152 mId = c.getLong(COLUMN_ID); in LocalMessageInfo()
251 String.valueOf(mailbox.mId) in synchronizePop3Mailbox()
276 String[] accountIdArgs = new String[] { Long.toString(account.mId) }; in synchronizePop3Mailbox()
277 long trashMailboxId = Mailbox.findMailboxOfType(context, account.mId, Mailbox.TYPE_TRASH); in synchronizePop3Mailbox()
396 new String[] {Long.toString(account.mId)}, null); in synchronizePop3Mailbox()
406 resolver.update(ContentUris.withAppendedId(Attachment.CONTENT_URI, att.mId), in synchronizePop3Mailbox()
413 Uri attUri = ContentUris.withAppendedId(Attachment.CONTENT_URI, att.mId); in synchronizePop3Mailbox()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/
DSortDimension.java67 private final int mId; field in SortDimension
78 mId = id; in SortDimension()
86 return mId; in getId()
128 return mId; in hashCode()
143 return mId == other.mId in equals()
155 .append("id=").append(mId) in toString()
173 out.writeInt(mId); in writeToParcel()
209 private int mId; field in SortDimension.Builder
217 mId = id; in withId()
252 mId, mLabelId, mDataType, mSortCapability, mDefaultSortDirection); in build()
/packages/apps/TV/src/com/android/tv/dvr/data/
DSeriesRecording.java96 value = Long.compare(rhs.mId, lhs.mId);
109 return Long.compare(lhs.mId, rhs.mId);
134 .setId(r.mId) in buildFrom()
271 private long mId = ID_NOT_SET; field in SeriesRecording.Builder
291 mId = id; in setId()
419 return new SeriesRecording(mId, mPriority, mTitle, mDescription, mLongDescription, in build()
458 private long mId; field in SeriesRecording
492 return mId; in getId()
499 mId = id; in setId()
609 && Objects.equals(mId, that.mId) in equals()
[all …]
DScheduledRecording.java89 return Long.compare(lhs.mId, rhs.mId);
164 private long mId = ID_NOT_SET; field in ScheduledRecording.Builder
186 mId = id; in setId()
276 return new ScheduledRecording(mId, mPriority, mInputId, mChannelId, mProgramId, in build()
288 .setId(orig.mId) in buildFrom()
454 private long mId; field in ScheduledRecording
489 mId = id; in ScheduledRecording()
634 return mId; in getId()
641 mId = id; in setId()
780 return "ScheduledRecording[" + mId in toString()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmStateManager.java239 LogUtils.i("Setting upcoming AlarmClockInfo for alarm: " + nextAlarm.mId); in updateNextAlarmInAlarmManager()
313 Intent intent = AlarmInstance.createIntent(context, AlarmService.class, instance.mId); in createStateChangeIntent()
356 LogUtils.i("Setting silent state to instance " + instance.mId); in setSilentState()
378 LogUtils.i("Setting low notification state to instance " + instance.mId); in setLowNotificationState()
400 LogUtils.i("Setting hide notification state to instance " + instance.mId); in setHideNotificationState()
422 LogUtils.i("Setting high notification state to instance " + instance.mId); in setHighNotificationState()
444 LogUtils.i("Setting fire state to instance " + instance.mId); in setFiredState()
455 instance.mId); in setFiredState()
488 LogUtils.i("Setting snoozed state to instance " + instance.mId + " for " in setSnoozeState()
527 LogUtils.i("Setting missed state to instance " + instance.mId); in setMissedState()
[all …]
/packages/apps/TV/src/com/android/tv/data/
DChannel.java119 channel.mId = cursor.getLong(index++); in fromCursor()
161 private long mId; field in Channel
191 return mId; in getId()
198 return TvContract.buildChannelUri(mId); in getUri()
292 return mId == other.mId && TextUtils.equals(mInputId, other.mInputId) in equals()
298 return Objects.hash(mId, mInputId, mIsPassthrough); in hashCode()
336 && Objects.equals(mId, other.mId) in hasSameReadOnlyInfo()
356 + "id=" + mId in toString()
376 mId = other.mId; in copyFrom()
424 return channel != null && (channel.mId != INVALID_ID || channel.mIsPassthrough); in isValid()
[all …]
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DAbstractPublicApiTest.java47 final long mId; field in AbstractPublicApiTest.Download
50 this.mId = downloadId; in Download()
62 Cursor cursor = mManager.query(new DownloadManager.Query().setFilterById(mId)); in getStatusIfExists()
78 Cursor cursor = mManager.query(new DownloadManager.Query().setFilterById(mId)); in getStringField()
89 Cursor cursor = mManager.query(new DownloadManager.Query().setFilterById(mId)); in getLongField()
100 ParcelFileDescriptor downloadedFile = mManager.openDownloadedFile(mId); in getRawContents()
118 startDownload(mId); in runUntilStatus()
124 startDownload(mId); in runUntilStatus()
172 startDownload(mId); in runUntilProgress()
178 Cursor cursor = mManager.query(new DownloadManager.Query().setFilterById(mId)); in runUntilProgress()
/packages/apps/Email/provider_src/com/android/email/
DAttachmentInfo.java75 public final long mId; field in AttachmentInfo
92 this(context, attachment.mId, attachment.mSize, attachment.mFileName, attachment.mMimeType, in AttachmentInfo()
103 this(context, info.mId, info.mSize, info.mName, info.mContentType, info.mAccountKey, in AttachmentInfo()
112 mId = id; in AttachmentInfo()
210 Uri contentUri = AttachmentUtilities.getAttachmentUri(accountId, mId); in getUriForIntent()
229 return (int) (mId ^ (mId >>> 32)); in hashCode()
242 return ((AttachmentInfo) o).mId == mId; in equals()
247 return "{Attachment " + mId + ":" + mName + "," + mContentType + "," + mSize + "}"; in toString()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
DMainKeyboardAccessibilityDelegate.java85 mLastKeyboardMode = keyboard.mId.mMode; in setKeyboard()
93 if (lastKeyboard == null || !keyboard.mId.mSubtype.equals(lastKeyboard.mId.mSubtype)) { in setKeyboard()
98 if (keyboard.mId.mMode != lastKeyboardMode) { in setKeyboard()
103 if (keyboard.mId.mElementId != lastKeyboard.mId.mElementId) { in setKeyboard()
126 keyboard.mId.mSubtype.getRawSubtype()); in announceKeyboardLanguage()
138 final int modeTextResId = KEYBOARD_MODE_RES_IDS.get(keyboard.mId.mMode); in announceKeyboardMode()
154 final int lastElementId = lastKeyboard.mId.mElementId; in announceKeyboardType()
156 switch (keyboard.mId.mElementId) { in announceKeyboardType()

12345678