Home
last modified time | relevance | path

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

12345678910

/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/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/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/map/
DBluetoothMapAccountItem.java35 private final String mId; field in BluetoothMapAccountItem
49 this.mId = id; in BluetoothMapAccountItem()
72 if (mId != null) { in getAccountId()
73 return Long.parseLong(mId); in getAccountId()
99 if (!other.mId.equals(this.mId)) { in compareTo()
101 Log.d(TAG, "Wrong id : " + this.mId + " vs " + other.mId); in compareTo()
144 result = prime * result + ((mId == null) ? 0 : mId.hashCode()); in hashCode()
164 if (mId == null) { in equals()
165 if (other.mId != null) { in equals()
168 } 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/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppService.java654 Log.v(TAG, "Array update: trimming " + mShares.get(arrayPos).mId in run()
674 arrayId = mShares.get(arrayPos).mId; in run()
743 Log.v(TAG, "ID : " + info.mId); in insertShare()
764 Constants.updateShareStatus(this, info.mId, BluetoothShare.STATUS_UNKNOWN_ERROR); in insertShare()
782 Log.e(TAG, "Can't open file for OUTBOUND info " + info.mId); in insertShare()
783 Constants.updateShareStatus(this, info.mId, BluetoothShare.STATUS_BAD_REQUEST); in insertShare()
790 newBatch.mId = mBatchId; in insertShare()
796 "Service create new Batch " + newBatch.mId + " for OUTBOUND info " in insertShare()
797 + info.mId); in insertShare()
802 Log.v(TAG, "Service create new Batch " + newBatch.mId + " for INBOUND info " in insertShare()
[all …]
DBluetoothOppTransfer.java128 + mBatch.mId); in onReceive()
193 return mBatch.mId; in getBatchId()
248 Log.v(TAG, "receive MSG_SHARE_COMPLETE for info " + info.mId); in handleMessage()
256 Log.v(TAG, "continue session for info " + mCurrentShare.mId in handleMessage()
257 + " from batch " + mBatch.mId); in handleMessage()
263 Log.v(TAG, "Batch " + mBatch.mId + " is done"); in handleMessage()
277 Log.v(TAG, "receive MSG_SESSION_COMPLETE for batch " + mBatch.mId); in handleMessage()
289 Log.v(TAG, "receive MSG_SESSION_ERROR for batch " + mBatch.mId); in handleMessage()
308 Log.v(TAG, "receive MSG_SHARE_INTERRUPTED for batch " + mBatch.mId); in handleMessage()
336 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/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/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/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/ThemePicker/src/com/android/customization/model/theme/custom/
DCustomTheme.java40 private final String mId; field in CustomTheme
45 mId = id; in CustomTheme()
49 return mId; in getId()
58 return mId.equals(other.mId); in equals()
63 return mId.hashCode(); in hashCode()
93 private String mId; field in CustomTheme.Builder
97 return new CustomTheme(mId, mTitle, mPackages, createPreviewInfo(context)); in build()
101 mId = id; in setId()
/packages/apps/ThemePicker/src/com/android/customization/model/clock/
DClockface.java30 private final String mId; field in Clockface
36 mId = id; in Clockface()
57 return (TextUtils.isEmpty(currentClock) && TextUtils.isEmpty(mId)) in isActive()
58 || (mId != null && mId.equals(currentClock)); in isActive()
71 return mId; in getId()
76 private String mId; field in Clockface.Builder
81 return new Clockface(mTitle, mId, mPreview, mThumbnail); in build()
90 mId = id; in setId()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DZenModeRuleSettingsBase.java45 protected String mId; field in ZenModeRuleSettingsBase
68 mId = intent.getStringExtra(ConditionProviderService.EXTRA_RULE_ID); in onCreate()
69 if (mId == null) { in onCreate()
75 if (DEBUG) Log.d(TAG, "mId=" + mId); in onCreate()
87 bundle.putString(ZenCustomRuleSettings.RULE_ID, mId); in onCreate()
121 mSwitch.onResume(mRule, mId); in updateHeader()
125 mHeader.onResume(mRule, mId); in updateHeader()
129 mActionButtons.onResume(mRule, mId); in updateHeader()
136 mBackend.updateZenRule(mId, mRule); in updateRule()
165 return NotificationManager.from(mContext).getAutomaticZenRule(mId); in getZenRule()
/packages/apps/Settings/src/com/android/settings/notification/
DZenModeRuleSettingsBase.java45 protected String mId; field in ZenModeRuleSettingsBase
68 mId = intent.getStringExtra(ConditionProviderService.EXTRA_RULE_ID); in onCreate()
69 if (mId == null) { in onCreate()
75 if (DEBUG) Log.d(TAG, "mId=" + mId); in onCreate()
87 bundle.putString(ZenCustomRuleSettings.RULE_ID, mId); in onCreate()
121 mSwitch.onResume(mRule, mId); in updateHeader()
125 mHeader.onResume(mRule, mId); in updateHeader()
129 mActionButtons.onResume(mRule, mId); in updateHeader()
136 mBackend.updateZenRule(mId, mRule); in updateRule()
165 return NotificationManager.from(mContext).getAutomaticZenRule(mId); in getZenRule()
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/
DSortDimension.java68 private final int mId; field in SortDimension
79 mId = id; in SortDimension()
87 return mId; in getId()
129 return mId; in hashCode()
144 return mId == other.mId in equals()
156 .append("id=").append(mId) in toString()
174 out.writeInt(mId); in writeToParcel()
210 private int mId; field in SortDimension.Builder
218 mId = id; in withId()
253 mId, mLabelId, mDataType, mSortCapability, mDefaultSortDirection); in build()
/packages/apps/TV/src/com/android/tv/dvr/data/
DSeriesRecording.java78 value = Long.compare(rhs.mId, lhs.mId);
85 (SeriesRecording lhs, SeriesRecording rhs) -> Long.compare(lhs.mId, rhs.mId);
106 .setId(r.mId) in buildFrom()
241 private long mId = ID_NOT_SET; field in SeriesRecording.Builder
259 mId = id; in setId()
356 mId, in build()
407 private long mId; field in SeriesRecording
437 return mId; in getId()
442 mId = id; in setId()
536 && Objects.equals(mId, that.mId) in equals()
[all …]
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/
DVideo.java25 private final long mId; field in Video
29 mId = id; in Video()
34 return mId; in getId()
43 return obj instanceof Video && mId == ((Video) obj).mId; in equals()
48 return (int) (mId ^ (mId >>> 32)); in hashCode()
/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/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DAbstractPublicApiTest.java48 final long mId; field in AbstractPublicApiTest.Download
51 this.mId = downloadId; in Download()
63 Cursor cursor = mManager.query(new DownloadManager.Query().setFilterById(mId)); in getStatusIfExists()
79 Cursor cursor = mManager.query(new DownloadManager.Query().setFilterById(mId)); in getStringField()
90 Cursor cursor = mManager.query(new DownloadManager.Query().setFilterById(mId)); in getLongField()
101 ParcelFileDescriptor downloadedFile = mManager.openDownloadedFile(mId); in getRawContents()
119 startDownload(mId); in runUntilStatus()
125 startDownload(mId); in runUntilStatus()
173 startDownload(mId); in runUntilProgress()
179 Cursor cursor = mManager.query(new DownloadManager.Query().setFilterById(mId)); in runUntilProgress()
/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 …]
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/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 …]

12345678910