Home
last modified time | relevance | path

Searched refs:getAsInteger (Results 1 – 25 of 55) sorted by relevance

123

/packages/apps/Contacts/src/com/android/contacts/interactions/
DCalendarInteraction.java114 return mValues.getAsInteger(Attendees.ATTENDEE_RELATIONSHIP); in getAttendeeRelationship()
118 return mValues.getAsInteger(Attendees.ATTENDEE_STATUS); in getAttendeeStatus()
122 return mValues.getAsInteger(Attendees.ATTENDEE_TYPE); in getAttendeeType()
126 return mValues.getAsInteger(Attendees.EVENT_ID); in getEventId()
130 return mValues.getAsInteger(Attendees.ACCESS_LEVEL); in getAccessLevel()
134 return mValues.getAsInteger(Attendees.ALL_DAY) == 1 ? true : false; in getAllDay()
138 return mValues.getAsInteger(Attendees.AVAILABILITY); in getAvailability()
142 return mValues.getAsInteger(Attendees.CALENDAR_ID); in getCalendarId()
162 return mValues.getAsInteger(Attendees.DISPLAY_COLOR); in getDisplayColor()
178 return mValues.getAsInteger(Attendees.EVENT_COLOR); in getEventColor()
[all …]
DSmsInteraction.java116 return mValues.getAsInteger(Sms.ERROR_CODE); in getErrorCode()
124 return mValues.getAsInteger(Sms.PERSON); in getPerson()
128 return mValues.getAsInteger(Sms.PROTOCOL); in getProtocol()
148 return mValues.getAsInteger(Sms.STATUS); in getStatus()
156 return mValues.getAsInteger(Sms.THREAD_ID); in getThreadId()
160 return mValues.getAsInteger(Sms.TYPE); in getType()
DCallLogInteraction.java142 return mValues.getAsInteger(Calls.CACHED_NUMBER_TYPE); in getCachedNumberType()
158 return mValues.getAsInteger(Calls.LIMIT_PARAM_KEY); in getLimitParamKey()
172 return mValues.getAsInteger(Calls.NUMBER_PRESENTATION); in getNumberPresentation()
176 return mValues.getAsInteger(Calls.OFFSET_PARAM_KEY); in getOffsetParamKey()
180 return mValues.getAsInteger(Calls.TYPE); in getType()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DWordListMetadata.java84 final Integer type = values.getAsInteger(MetadataDbHelper.TYPE_COLUMN); in createFromContentValues()
90 final int retryCount = values.getAsInteger(MetadataDbHelper.RETRY_COUNT_COLUMN); in createFromContentValues()
93 final Integer version = values.getAsInteger(MetadataDbHelper.VERSION_COLUMN); in createFromContentValues()
94 final Integer formatVersion = values.getAsInteger(MetadataDbHelper.FORMATVERSION_COLUMN); in createFromContentValues()
95 final Integer flags = values.getAsInteger(MetadataDbHelper.FLAGS_COLUMN); in createFromContentValues()
DActionBatch.java116 final int status = values.getAsInteger(MetadataDbHelper.STATUS_COLUMN); in execute()
181 final int status = mWordListValues.getAsInteger(MetadataDbHelper.STATUS_COLUMN); in execute()
227 final int status = values.getAsInteger(MetadataDbHelper.STATUS_COLUMN); in execute()
262 final int status = values.getAsInteger(MetadataDbHelper.STATUS_COLUMN); in execute()
401 oldValues.getAsInteger(MetadataDbHelper.PENDINGID_COLUMN), in execute()
402 oldValues.getAsInteger(MetadataDbHelper.TYPE_COLUMN), in execute()
403 oldValues.getAsInteger(MetadataDbHelper.STATUS_COLUMN), in execute()
454 final int status = values.getAsInteger(MetadataDbHelper.STATUS_COLUMN); in execute()
525 final int status = values.getAsInteger(MetadataDbHelper.STATUS_COLUMN); in execute()
564 final int status = values.getAsInteger(MetadataDbHelper.STATUS_COLUMN); in execute()
DDictionaryProvider.java307 final int status = wordList.getAsInteger(MetadataDbHelper.STATUS_COLUMN); in openAssetFile()
458 final int status = wordList.getAsInteger(MetadataDbHelper.STATUS_COLUMN); in deleteDataFile()
459 final int version = wordList.getAsInteger(MetadataDbHelper.VERSION_COLUMN); in deleteDataFile()
DUpdateHandler.java530 final int wordListStatus = downloadRecord.mAttributes.getAsInteger( in handleDownloadedFile()
809 final int status = values.getAsInteger(MetadataDbHelper.STATUS_COLUMN); in compareMetadataForUpgrade()
861 installCandidate.getAsInteger(MetadataDbHelper.FILESIZE_COLUMN)); in showDictionaryAvailableNotification()
937 != installCandidate.getAsInteger(MetadataDbHelper.STATUS_COLUMN)) { in installIfNeverRequested()
DDictionaryDownloadProgressBar.java64 return wordlistValues.getAsInteger(MetadataDbHelper.PENDINGID_COLUMN); in getDownloadManagerPendingIdFromWordlistId()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/dataitem/
DDataItem.java128 Integer primary = mContentValues.getAsInteger(Data.IS_PRIMARY); in isPrimary()
133 Integer superPrimary = mContentValues.getAsInteger(Data.IS_SUPER_PRIMARY); in isSuperPrimary()
140 mContentValues.getAsInteger(key) != null; in hasKindTypeColumn()
145 return mContentValues.getAsInteger(key); in getKindTypeColumn()
155 return mContentValues.getAsInteger(Data.CARRIER_PRESENCE); in getCarrierPresence()
190 return mContentValues.getAsInteger(Entity.TIMES_USED); in getTimesUsed()
DImDataItem.java66 return getContentValues().getAsInteger(Im.PROTOCOL); in getProtocol()
78 Integer result = getContentValues().getAsInteger(Im.CHAT_CAPABILITY); in getChatCapability()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDataRowHandler.java119 final Integer primary = values.getAsInteger(Data.IS_PRIMARY); in insert()
120 final Integer superPrimary = values.getAsInteger(Data.IS_SUPER_PRIMARY); in insert()
255 final boolean hasPrimary = values.getAsInteger(Data.IS_PRIMARY) != null; in handlePrimaryAndSuperPrimary()
256 final boolean hasSuperPrimary = values.getAsInteger(Data.IS_SUPER_PRIMARY) != null; in handlePrimaryAndSuperPrimary()
267 values.getAsInteger(Data.IS_PRIMARY) == 0; in handlePrimaryAndSuperPrimary()
269 values.getAsInteger(Data.IS_SUPER_PRIMARY) == 0; in handlePrimaryAndSuperPrimary()
295 values.getAsInteger(Data.IS_PRIMARY) != 0; in handlePrimaryAndSuperPrimary()
297 values.getAsInteger(Data.IS_SUPER_PRIMARY) != 0; in handlePrimaryAndSuperPrimary()
DDataRowHandlerForStructuredName.java54 Integer fullNameStyle = values.getAsInteger(StructuredName.FULL_NAME_STYLE); in insert()
82 Integer fullNameStyle = augmented.getAsInteger(StructuredName.FULL_NAME_STYLE); in update()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallLogManagerTest.java237 assertEquals(insertedValues.getAsInteger(CallLog.Calls.TYPE), in testLogCallDirectionOutgoing()
261 assertEquals(insertedValues.getAsInteger(CallLog.Calls.TYPE), in testLogCallDirectionIncoming()
286 assertEquals(insertedValues.getAsInteger(CallLog.Calls.TYPE), in testLogCallDirectionMissed()
386 assertTrue((insertedValues.getAsInteger(CallLog.Calls.FEATURES) in testLogCallVideoFeatures()
414 assertEquals(insertedValues.getAsInteger(CallLog.Calls.TYPE), in testLogCallDirectionOutgoingWithMultiUserCapability()
417 assertEquals(insertedValues.getAsInteger(CallLog.Calls.TYPE), in testLogCallDirectionOutgoingWithMultiUserCapability()
446 assertEquals(insertedValues.getAsInteger(CallLog.Calls.TYPE), in testLogCallDirectionIncomingWithMultiUserCapability()
449 assertEquals(insertedValues.getAsInteger(CallLog.Calls.TYPE), in testLogCallDirectionIncomingWithMultiUserCapability()
479 assertEquals(insertedValues.getAsInteger(CallLog.Calls.TYPE), in testLogCallDirectionOutgoingWithMultiUserCapabilityFromManagedProfile()
508 assertEquals(insertedValues.getAsInteger(CallLog.Calls.TYPE), in testLogCallDirectionOutgoingFromManagedProfile()
[all …]
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DValuesDelta.java123 public Integer getAsInteger(String key) { in getAsInteger() method in ValuesDelta
124 return getAsInteger(key, null); in getAsInteger()
127 public Integer getAsInteger(String key, Integer defaultValue) { in getAsInteger() method in ValuesDelta
129 return mAfter.getAsInteger(key); in getAsInteger()
131 return mBefore.getAsInteger(key); in getAsInteger()
575 return getAsInteger(ContactsContract.CommonDataKinds.Phone.TYPE); in getPhoneType()
591 return getAsInteger(ContactsContract.CommonDataKinds.Email.TYPE); in getEmailType()
DRawContactModifier.java240 final Integer rawValue = entry.getAsInteger(kind.typeColumn); in getCurrentType()
694 final Integer type = values.getAsInteger(Phone.TYPE); in parseValues()
799 Integer typeInteger = entry.getAsInteger(kind.typeColumn); in adjustType()
860 Integer typeInteger = entry.getAsInteger(typeColumn); in getEntryCountByType()
1170 final Integer oldType = values.getAsInteger(StructuredPostal.TYPE); in migratePostal()
1174 defaultType = newDataKind.defaultValues.getAsInteger(StructuredPostal.TYPE); in migratePostal()
1267 final Integer type = values.getAsInteger(Event.TYPE); in migrateEvent()
1349 defaultType = newDataKind.defaultValues.getAsInteger(COLUMN_FOR_TYPE); in migrateGenericWithTypeColumn()
1393 final Integer oldType = entry.getAsInteger(COLUMN_FOR_TYPE); in migrateGenericWithTypeColumn()
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/
DRawContactModifierTests.java1040 assertEquals(Event.TYPE_BIRTHDAY, outputValues.getAsInteger(Event.TYPE).intValue()); in testMigrateEventCommon()
1072 assertEquals(Event.TYPE_BIRTHDAY, outputValues.getAsInteger(Event.TYPE).intValue()); in testMigrateEventFromGoogleToExchange2()
1112 assertEquals(Email.TYPE_CUSTOM, outputValues.getAsInteger(Email.TYPE).intValue()); in testMigrateEmailFromGoogleToExchange()
1117 assertEquals(Email.TYPE_HOME, outputValues.getAsInteger(Email.TYPE).intValue()); in testMigrateEmailFromGoogleToExchange()
1121 assertEquals(Email.TYPE_WORK, outputValues.getAsInteger(Email.TYPE).intValue()); in testMigrateEmailFromGoogleToExchange()
1170 assertNotNull(kind.defaultValues.getAsInteger(Im.TYPE)); in testMigrateImFromGoogleToExchange()
1172 int defaultType = kind.defaultValues.getAsInteger(Im.TYPE); in testMigrateImFromGoogleToExchange()
1176 assertEquals(defaultType, outputValues.getAsInteger(Im.TYPE).intValue()); in testMigrateImFromGoogleToExchange()
1177 assertEquals(Im.PROTOCOL_JABBER, outputValues.getAsInteger(Im.PROTOCOL).intValue()); in testMigrateImFromGoogleToExchange()
1181 assertEquals(defaultType, outputValues.getAsInteger(Im.TYPE).intValue()); in testMigrateImFromGoogleToExchange()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppProvider.java212 Integer i = from.getAsInteger(key); in copyInteger()
243 if (values.getAsInteger(BluetoothShare.VISIBILITY) == null) { in insert()
246 Integer dir = values.getAsInteger(BluetoothShare.DIRECTION); in insert()
247 Integer con = values.getAsInteger(BluetoothShare.USER_CONFIRMATION); in insert()
250 if (values.getAsInteger(BluetoothShare.DIRECTION) == null) { in insert()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DAttachment.java291 size = values.getAsInteger(AttachmentColumns.SIZE); in Attachment()
294 state = values.getAsInteger(AttachmentColumns.STATE); in Attachment()
295 destination = values.getAsInteger(AttachmentColumns.DESTINATION); in Attachment()
296 downloadedSize = values.getAsInteger(AttachmentColumns.DOWNLOADED_SIZE); in Attachment()
303 type = values.getAsInteger(AttachmentColumns.TYPE); in Attachment()
304 flags = values.getAsInteger(AttachmentColumns.FLAGS); in Attachment()
DEmlAttachmentProvider.java284 final Integer newState = values.getAsInteger(UIProvider.AttachmentColumns.STATE); in copyAttachment()
286 values.getAsInteger(UIProvider.AttachmentColumns.DESTINATION); in copyAttachment()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadProvider.java539 Integer dest = values.getAsInteger(Downloads.Impl.COLUMN_DESTINATION); in insert()
583 Integer vis = values.getAsInteger(Downloads.Impl.COLUMN_VISIBILITY); in insert()
603 if (values.getAsInteger(Downloads.Impl.COLUMN_DESTINATION) == in insert()
679 + filteredValues.getAsInteger(Constants.UID)); in insert()
682 filteredValues.getAsInteger(Downloads.Impl.COLUMN_OTHER_UID)); in insert()
702 if (values.getAsInteger(COLUMN_DESTINATION) == DESTINATION_NON_DOWNLOADMANAGER_DOWNLOAD in insert()
703 && values.getAsInteger(COLUMN_MEDIA_SCANNED) == 0) { in insert()
782 if (values.getAsInteger(Downloads.Impl.COLUMN_DESTINATION) == in checkInsertPermissions()
1076 Integer i = values.getAsInteger(Downloads.Impl.COLUMN_CONTROL); in update()
1103 Integer status = values.getAsInteger(Downloads.Impl.COLUMN_STATUS); in update()
[all …]
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
DEntityDelta.java565 public Integer getAsInteger(String key) { in getAsInteger() method in EntityDelta.ValuesDelta
566 return getAsInteger(key, null); in getAsInteger()
569 public Integer getAsInteger(String key, Integer defaultValue) { in getAsInteger() method in EntityDelta.ValuesDelta
571 return mAfter.getAsInteger(key); in getAsInteger()
573 return mBefore.getAsInteger(key); in getAsInteger()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DReceiveSmsMessageAction.java62 Integer subId = messageValues.getAsInteger(Sms.SUBSCRIPTION_ID); in executeAction()
128 final Integer pathPresent = messageValues.getAsInteger(Sms.REPLY_PATH_PRESENT); in executeAction()
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyBackupAgentTest.java594 if (mSubId2Phone.get(modifiedValues.getAsInteger(Telephony.Sms.SUBSCRIPTION_ID)) in insert()
665 if (mSubId2Phone.get(modifiedValues.getAsInteger(Telephony.Sms.SUBSCRIPTION_ID)) in insert()
672 mMsgId = modifiedValues.getAsInteger(BaseColumns._ID); in insert()
822 assertEquals(values.getAsInteger(Telephony.Threads.ARCHIVED).intValue(), 1); in update()
863 return rows.get(nextRow).getAsInteger(projection[columnIndex]); in getInt()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java1532 Integer allDayObj = values.getAsInteger(Events.ALL_DAY); in fixAllDayTime()
1909 boolean canceling = (values.getAsInteger(Events.STATUS) == Events.STATUS_CANCELED); in handleInsertException()
2123 && Events.STATUS_CANCELED == values.getAsInteger(Events.STATUS)) { in insertInTransaction()
2211 int status = values.getAsInteger(Events.SELF_ATTENDEE_STATUS); in insertInTransaction()
2229 Integer syncEvents = values.getAsInteger(Calendars.SYNC_EVENTS); in insertInTransaction()
2475 bob.append("\nall_day: ").append(values.getAsInteger(Events.ALL_DAY)); in dumpEventNoPII()
2487 bob.append("\nori_all_day: ").append(values.getAsInteger(Events.ORIGINAL_ALL_DAY)); in dumpEventNoPII()
2862 Integer relationObj = attendeeValues.getAsInteger(Attendees.ATTENDEE_RELATIONSHIP); in updateEventAttendeeStatus()
2871 Integer statusObj = attendeeValues.getAsInteger(Attendees.ATTENDEE_STATUS); in updateEventAttendeeStatus()
3026 Integer allDayInteger = values.getAsInteger(Events.ALL_DAY); in updateEventRawTimesLocked()
[all …]
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DCustomContactListFilterActivity.java315 return getAsInteger(mUngrouped ? Settings.SHOULD_SYNC : Groups.SHOULD_SYNC, in getShouldSync()
320 return getAsInteger(mUngrouped ? Settings.UNGROUPED_VISIBLE : Groups.GROUP_VISIBLE, in getVisible()
349 final Integer titleRes = getAsInteger(Groups.TITLE_RES); in getTitle()

123