Home
last modified time | relevance | path

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

123

/packages/apps/Launcher3/src/com/android/launcher3/
DItemInfo.java158 itemType = values.getAsInteger(LauncherSettings.Favorites.ITEM_TYPE); in readFromValues()
159 container = values.getAsInteger(LauncherSettings.Favorites.CONTAINER); in readFromValues()
160 screenId = values.getAsInteger(LauncherSettings.Favorites.SCREEN); in readFromValues()
161 cellX = values.getAsInteger(LauncherSettings.Favorites.CELLX); in readFromValues()
162 cellY = values.getAsInteger(LauncherSettings.Favorites.CELLY); in readFromValues()
163 spanX = values.getAsInteger(LauncherSettings.Favorites.SPANX); in readFromValues()
164 spanY = values.getAsInteger(LauncherSettings.Favorites.SPANY); in readFromValues()
165 rank = values.getAsInteger(LauncherSettings.Favorites.RANK); in readFromValues()
DLauncherProvider.java240 Integer itemType = values.getAsInteger(LauncherSettings.Favorites.ITEM_TYPE); in initializeExternalAdd()
955 int id = values.getAsInteger(Favorites._ID); in checkId()
958 Integer screen = values.getAsInteger(Favorites.SCREEN); in checkId()
959 Integer container = values.getAsInteger(Favorites.CONTAINER); in checkId()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
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()
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()
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()
/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/apps/Dialer/java/com/android/contacts/common/model/dataitem/
DDataItem.java121 Integer primary = mContentValues.getAsInteger(Data.IS_PRIMARY); in isPrimary()
126 Integer superPrimary = mContentValues.getAsInteger(Data.IS_SUPER_PRIMARY); in isSuperPrimary()
134 && mContentValues.getAsInteger(key) != null; in hasKindTypeColumn()
139 return mContentValues.getAsInteger(key); in getKindTypeColumn()
149 return mContentValues.getAsInteger(Data.CARRIER_PRESENCE); in getCarrierPresence()
184 return mContentValues.getAsInteger(Entity.TIMES_USED); in getTimesUsed()
DImDataItem.java62 return getContentValues().getAsInteger(Im.PROTOCOL); in getProtocol()
74 Integer result = getContentValues().getAsInteger(Im.CHAT_CAPABILITY); in getChatCapability()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallLogManagerTest.java322 assertEquals(insertedValues.getAsInteger(CallLog.Calls.TYPE), in testLogCallDirectionOutgoing()
347 assertEquals(insertedValues.getAsInteger(CallLog.Calls.TYPE), in testLogCallDirectionIncoming()
373 assertEquals(insertedValues.getAsInteger(CallLog.Calls.TYPE), in testLogCallDirectionMissed()
402 assertEquals(insertedValues.getAsInteger(CallLog.Calls.TYPE), in testLogCallDirectionRejected()
505 assertTrue((insertedValues.getAsInteger(CallLog.Calls.FEATURES) in testLogCallVideoFeatures()
535 assertEquals(insertedValues.getAsInteger(CallLog.Calls.TYPE), in testLogCallDirectionOutgoingWithMultiUserCapability()
538 assertEquals(insertedValues.getAsInteger(CallLog.Calls.TYPE), in testLogCallDirectionOutgoingWithMultiUserCapability()
569 assertEquals(insertedValues.getAsInteger(CallLog.Calls.TYPE), in testLogCallDirectionIncomingWithMultiUserCapability()
572 assertEquals(insertedValues.getAsInteger(CallLog.Calls.TYPE), in testLogCallDirectionIncomingWithMultiUserCapability()
603 assertEquals(insertedValues.getAsInteger(CallLog.Calls.TYPE), in testLogCallDirectionOutgoingWithMultiUserCapabilityFromManagedProfile()
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/model/
DRawContactModifierTests.java947 assertEquals(Event.TYPE_BIRTHDAY, outputValues.getAsInteger(Event.TYPE).intValue()); in testMigrateEventCommon()
979 assertEquals(Event.TYPE_BIRTHDAY, outputValues.getAsInteger(Event.TYPE).intValue()); in testMigrateEventFromGoogleToExchange2()
1019 assertEquals(Email.TYPE_CUSTOM, outputValues.getAsInteger(Email.TYPE).intValue()); in testMigrateEmailFromGoogleToExchange()
1024 assertEquals(Email.TYPE_HOME, outputValues.getAsInteger(Email.TYPE).intValue()); in testMigrateEmailFromGoogleToExchange()
1028 assertEquals(Email.TYPE_WORK, outputValues.getAsInteger(Email.TYPE).intValue()); in testMigrateEmailFromGoogleToExchange()
1077 assertNotNull(kind.defaultValues.getAsInteger(Im.TYPE)); in testMigrateImFromGoogleToExchange()
1079 int defaultType = kind.defaultValues.getAsInteger(Im.TYPE); in testMigrateImFromGoogleToExchange()
1083 assertEquals(defaultType, outputValues.getAsInteger(Im.TYPE).intValue()); in testMigrateImFromGoogleToExchange()
1084 assertEquals(Im.PROTOCOL_JABBER, outputValues.getAsInteger(Im.PROTOCOL).intValue()); in testMigrateImFromGoogleToExchange()
1088 assertEquals(defaultType, outputValues.getAsInteger(Im.TYPE).intValue()); in testMigrateImFromGoogleToExchange()
[all …]
/packages/apps/Contacts/src/com/android/contacts/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 final Integer value = mContentValues.getAsInteger(Data.CARRIER_PRESENCE); in getCarrierPresence()
DImDataItem.java66 return getContentValues().getAsInteger(Im.PROTOCOL); in getProtocol()
78 Integer result = getContentValues().getAsInteger(Im.CHAT_CAPABILITY); in getChatCapability()
/packages/apps/Contacts/src/com/android/contacts/model/
DValuesDelta.java125 public Integer getAsInteger(String key) { in getAsInteger() method in ValuesDelta
126 return getAsInteger(key, null); in getAsInteger()
129 public Integer getAsInteger(String key, Integer defaultValue) { in getAsInteger() method in ValuesDelta
131 return mAfter.getAsInteger(key); in getAsInteger()
133 return mBefore.getAsInteger(key); in getAsInteger()
577 return getAsInteger(ContactsContract.CommonDataKinds.Phone.TYPE); in getPhoneType()
593 return getAsInteger(ContactsContract.CommonDataKinds.Email.TYPE); in getEmailType()
DRawContactModifier.java238 final Integer rawValue = entry.getAsInteger(kind.typeColumn); in getCurrentType()
692 final Integer type = values.getAsInteger(Phone.TYPE); in parseValues()
797 Integer typeInteger = entry.getAsInteger(kind.typeColumn); in adjustType()
858 Integer typeInteger = entry.getAsInteger(typeColumn); in getEntryCountByType()
1102 final Integer oldType = values.getAsInteger(StructuredPostal.TYPE); in migratePostal()
1106 defaultType = newDataKind.defaultValues.getAsInteger(StructuredPostal.TYPE); in migratePostal()
1199 final Integer type = values.getAsInteger(Event.TYPE); in migrateEvent()
1281 defaultType = newDataKind.defaultValues.getAsInteger(COLUMN_FOR_TYPE); in migrateGenericWithTypeColumn()
1325 final Integer oldType = entry.getAsInteger(COLUMN_FOR_TYPE); in migrateGenericWithTypeColumn()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadProvider.java755 Integer dest = values.getAsInteger(Downloads.Impl.COLUMN_DESTINATION); in insert()
804 Integer vis = values.getAsInteger(Downloads.Impl.COLUMN_VISIBILITY); in insert()
824 if (values.getAsInteger(Downloads.Impl.COLUMN_DESTINATION) == in insert()
891 final Integer mediaScanned = values.getAsInteger(Downloads.Impl.COLUMN_MEDIA_SCANNED); in insert()
897 || filteredValues.getAsInteger(COLUMN_MEDIA_SCANNED) == MEDIA_NOT_SCANNED; in insert()
898 if (shouldBeVisibleToUser && filteredValues.getAsInteger(COLUMN_DESTINATION) in insert()
921 + filteredValues.getAsInteger(Constants.UID)); in insert()
924 filteredValues.getAsInteger(Downloads.Impl.COLUMN_OTHER_UID)); in insert()
1041 final boolean isPending = downloadValues.getAsInteger(Downloads.Impl.COLUMN_STATUS) in convertToMediaProviderValues()
1045 Helpers.getPackageForUid(getContext(), downloadValues.getAsInteger(Constants.UID))); in convertToMediaProviderValues()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DAttachment.java308 size = values.getAsInteger(AttachmentColumns.SIZE); in Attachment()
311 state = values.getAsInteger(AttachmentColumns.STATE); in Attachment()
312 destination = values.getAsInteger(AttachmentColumns.DESTINATION); in Attachment()
313 downloadedSize = values.getAsInteger(AttachmentColumns.DOWNLOADED_SIZE); in Attachment()
320 type = values.getAsInteger(AttachmentColumns.TYPE); in Attachment()
321 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/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppProvider.java188 Integer i = from.getAsInteger(key); in copyInteger()
218 if (values.getAsInteger(BluetoothShare.VISIBILITY) == null) { in insert()
221 Integer dir = values.getAsInteger(BluetoothShare.DIRECTION); in insert()
222 Integer con = values.getAsInteger(BluetoothShare.USER_CONFIRMATION); in insert()
/packages/apps/Dialer/java/com/android/dialer/calllog/database/
DAnnotatedCallLogConstraints.java65 Integer value = contentValuesToCheck.getAsInteger(columnName); in checkBooleanColumn()
82 Integer callType = contentValuesToCheck.getAsInteger(AnnotatedCallLog.CALL_TYPE); in checkCallTypeColumn()
/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.java716 if (mSubId2Phone.get(modifiedValues.getAsInteger(Telephony.Sms.SUBSCRIPTION_ID)) in insert()
818 if (mSubId2Phone.get(modifiedValues.getAsInteger(Telephony.Sms.SUBSCRIPTION_ID)) in insert()
824 mMsgId = modifiedValues.getAsInteger(BaseColumns._ID); in insert()
986 assertEquals(values.getAsInteger(Telephony.Threads.ARCHIVED).intValue(), 1); in update()
1027 return rows.get(nextRow).getAsInteger(projection[columnIndex]); in getInt()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java1691 Integer allDayObj = values.getAsInteger(Events.ALL_DAY); in fixAllDayTime()
2068 boolean canceling = (values.getAsInteger(Events.STATUS) == Events.STATUS_CANCELED); in handleInsertException()
2350 && Events.STATUS_CANCELED == values.getAsInteger(Events.STATUS)) { in insertInTransactionInner()
2438 int status = values.getAsInteger(Events.SELF_ATTENDEE_STATUS); in insertInTransactionInner()
2456 Integer syncEvents = values.getAsInteger(Calendars.SYNC_EVENTS); in insertInTransactionInner()
2702 bob.append("\nall_day: ").append(values.getAsInteger(Events.ALL_DAY)); in dumpEventNoPII()
2714 bob.append("\nori_all_day: ").append(values.getAsInteger(Events.ORIGINAL_ALL_DAY)); in dumpEventNoPII()
3089 Integer relationObj = attendeeValues.getAsInteger(Attendees.ATTENDEE_RELATIONSHIP); in updateEventAttendeeStatus()
3098 Integer statusObj = attendeeValues.getAsInteger(Attendees.ATTENDEE_STATUS); in updateEventAttendeeStatus()
3253 Integer allDayInteger = values.getAsInteger(Events.ALL_DAY); in updateEventRawTimesLocked()
[all …]
/packages/apps/TV/partner_support/src/com/google/android/tv/partner/support/
DLineup.java63 int type = contentValues.getAsInteger(EpgContract.Lineups.COLUMN_TYPE); in createLineup()

123