Home
last modified time | relevance | path

Searched refs:intValue (Results 1 – 25 of 35) sorted by relevance

12

/packages/apps/Contacts/tests/src/com/android/contacts/util/
DExpirableCacheTest.java50 assertEquals(1, mCache.getPossiblyExpired("a").intValue()); in testPut()
51 assertEquals(2, mCache.getPossiblyExpired("b").intValue()); in testPut()
53 assertEquals(3, mCache.getPossiblyExpired("a").intValue()); in testPut()
64 assertEquals(1, mCache.getPossiblyExpired("a").intValue()); in testGet_Expired()
66 assertEquals(1, mCache.getPossiblyExpired("a").intValue()); in testGet_Expired()
77 assertEquals(1, mCache.get("a").intValue()); in testGetNotExpired_Expired()
115 assertEquals(0, cachedValue.getValue().intValue()); in testComputingCache()
122 assertEquals(0, expiredCachedValue.getValue().intValue()); in testComputingCache()
/packages/apps/Email/src/org/apache/james/mime4j/field/address/parser/
DJJTAddressListParserState.java52 mk = marks.pop().intValue(); in popNode()
73 mk = marks.pop().intValue(); in clearNodeScope()
89 mk = marks.pop().intValue(); in closeNodeScope()
109 mk = marks.pop().intValue(); in closeNodeScope()
119 mk = marks.pop().intValue(); in closeNodeScope()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactLocaleUtils.java168 int nameStyleInt = nameStyle.intValue(); in getForNameLookup()
179 if (nameStyle.intValue() == FullNameStyle.CHINESE) { in get()
194 return get(Integer.valueOf(getAdjustedStyle(nameStyle.intValue()))); in getForSort()
/packages/apps/Phone/src/com/android/phone/
DCdmaSubscriptionListPreference.java81 int buttonCdmaSubscriptionMode = Integer.valueOf(getValue()).intValue(); in onDialogClosed()
122 int cdmaSubscriptionMode = Integer.valueOf((String) ar.userObj).intValue(); in handleSetCdmaSubscriptionMode()
DCdmaSystemSelectListPreference.java69 int buttonCdmaRoamingMode = Integer.valueOf(getValue()).intValue(); in onDialogClosed()
149 int cdmaRoamingMode = Integer.valueOf(getValue()).intValue(); in handleSetCdmaRoamingPreference()
DCarrierLogo.java50 return res.intValue(); in getLogo()
DMobileNetworkSettings.java328 buttonNetworkMode = Integer.valueOf((String) objValue).intValue(); in onPreferenceChange()
477 mButtonPreferredNetworkMode.getValue()).intValue(); in handleSetPreferredNetworkTypeResponse()
/packages/apps/Contacts/tests/src/com/android/contacts/
DEntityModifierTests.java976 assertEquals(Event.TYPE_BIRTHDAY, outputValues.getAsInteger(Event.TYPE).intValue()); in testMigrateEventCommon()
1008 assertEquals(Event.TYPE_BIRTHDAY, outputValues.getAsInteger(Event.TYPE).intValue()); in testMigrateEventFromGoogleToExchange2()
1048 assertEquals(Email.TYPE_CUSTOM, outputValues.getAsInteger(Email.TYPE).intValue()); in testMigrateEmailFromGoogleToExchange()
1053 assertEquals(Email.TYPE_HOME, outputValues.getAsInteger(Email.TYPE).intValue()); in testMigrateEmailFromGoogleToExchange()
1057 assertEquals(Email.TYPE_WORK, outputValues.getAsInteger(Email.TYPE).intValue()); in testMigrateEmailFromGoogleToExchange()
1112 assertEquals(defaultType, outputValues.getAsInteger(Im.TYPE).intValue()); in testMigrateImFromGoogleToExchange()
1113 assertEquals(Im.PROTOCOL_JABBER, outputValues.getAsInteger(Im.PROTOCOL).intValue()); in testMigrateImFromGoogleToExchange()
1117 assertEquals(defaultType, outputValues.getAsInteger(Im.TYPE).intValue()); in testMigrateImFromGoogleToExchange()
1118 assertEquals(Im.PROTOCOL_YAHOO, outputValues.getAsInteger(Im.PROTOCOL).intValue()); in testMigrateImFromGoogleToExchange()
1122 assertEquals(defaultType, outputValues.getAsInteger(Im.TYPE).intValue()); in testMigrateImFromGoogleToExchange()
[all …]
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
DPriorityThreadFactoryTest.java57 return mPriority.intValue(); in getPriority()
/packages/apps/Contacts/src/com/android/contacts/calllog/
DCallLogQueryHandler.java275 int requestId = ((Integer) cookie).intValue(); in onQueryComplete()
286 int requestId = ((Integer) cookie).intValue(); in onQueryComplete()
/packages/experimental/LoaderApp/src/com/android/loaderapp/
DContactHeaderWidget.java337 setPresence(presence.intValue()); in setPresence()
499 labelDisplayValue = resources.getString(statusLabel.intValue()); in setStatus()
502 + statusLabel.intValue()); in setStatus()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DInputMethodAndLanguageSettings.java355 int intValue = Integer.valueOf(value); in saveInputMethodSelectorVisibility() local
357 Settings.Secure.INPUT_METHOD_SELECTOR_VISIBILITY, intValue); in saveInputMethodSelectorVisibility() local
358 updateInputMethodSelectorSummary(intValue); in saveInputMethodSelectorVisibility()
/packages/apps/Email/tests/src/com/android/email/activity/setup/
DAccountSetupOptionsTests.java155 if (so != null && ((Integer)so.value).intValue() == value) { in frequencySpinnerHasValue()
/packages/apps/Contacts/tests/src/com/android/contacts/tests/mocks/
DMockSharedPreferences.java64 return ((Integer)mValues.get(key)).intValue(); in getInt()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/
DMockSharedPreferences.java64 return ((Integer)mValues.get(key)).intValue(); in getInt()
/packages/apps/Email/tests/src/com/android/email/
DMockSharedPreferences.java66 return ((Integer)mValues.get(key)).intValue(); in getInt()
/packages/apps/Calendar/src/com/android/calendar/
DCalendarViewAdapter.java170 if (convertView == null || ((Integer) convertView.getTag()).intValue() in getView()
211 if (convertView == null || ((Integer) convertView.getTag()).intValue() in getView()
/packages/apps/Calendar/tests/src/com/android/calendar/
DFakeSharedPreferences.java66 return ((Integer)mValues.get(key)).intValue(); in getInt()
/packages/apps/Contacts/src/com/android/contacts/
DPhoneCallDetailsHelper.java170 R.string.call_log_item_count_and_date, callCount.intValue(), dateText); in setCallCountAndDate()
/packages/apps/Email/src/com/android/email/provider/
DContentCache.java132 if (refCount == null || refCount.intValue() == 0) { in subtract()
160 return (refCount == null) ? 0 : refCount.intValue(); in getCount()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DGalleryActionBar.java215 clusterRunner.doCluster(actions.get(which).intValue()); in showClusterDialog()
/packages/apps/Contacts/src/com/android/contacts/model/
DEntityModifier.java243 return getType(kind, rawValue.intValue()); in getCurrentType()
1380 typeForNewAccount = defaultType.intValue(); in migrateGenericWithTypeColumn()
1381 values.put(COLUMN_FOR_TYPE, defaultType.intValue()); in migrateGenericWithTypeColumn()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DUserHistoryDictionary.java532 pairId = pairIdLong.intValue(); in doLoadTaskLocked()
/packages/apps/Exchange/exchange2/src/com/android/exchange/utility/
DCalendarUtilities.java1962 Integer intValue = values.getAsInteger(columnName); in getIntegerValueAsBoolean() local
1963 return (intValue != null && intValue != 0); in getIntegerValueAsBoolean()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppObexServerSession.java269 values.put(BluetoothShare.TOTAL_BYTES, length.intValue()); in onPut()

12