Home
last modified time | relevance | path

Searched refs:longValue (Results 1 – 25 of 36) sorted by relevance

12

/packages/modules/StatsD/framework/test/src/android/os/
DStatsDimensionsValueTest.java35 long longValue = 123456789L; in testConversionFromStructuredParcel() local
58 sdvp.tupleValue[2].longValue = longValue; in testConversionFromStructuredParcel()
87 assertThat(sdvChildren.get(2).getLongValue()).isEqualTo(longValue); in testConversionFromStructuredParcel()
/packages/apps/Camera2/src/com/android/camera/settings/
DAppUpgrader.java373 long longValue = (Long) value; in copyPreferences() local
374 if (longValue <= Integer.MAX_VALUE && longValue >= Integer.MIN_VALUE) { in copyPreferences()
375 String intValue = SettingsManager.convert((int) longValue); in copyPreferences()
379 key + " : " + longValue); in copyPreferences()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DDictionaryStats.java65 if (kb.longValue() == 0) { in getFileSizeString()
69 if (mb.longValue() == 0) { in getFileSizeString()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DUtilsTest.java78 long longValue = 1234567890L; in testLongToBytes() local
81 assertThat(Utils.longToBytes(longValue)).isEqualTo(expected); in testLongToBytes()
/packages/modules/StatsD/framework/java/android/os/
DStatsDimensionsValue.java140 return mInner.longValue; in getLongValue()
246 sb.append(String.valueOf(mInner.longValue)); in toString()
/packages/modules/Connectivity/tests/unit/java/android/net/nsd/
DNsdServiceInfoTest.java87 String longValue = "loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo" + in testLimits() local
91 info.setAttribute("longcat", longValue); // Key + value == 255 characters. in testLimits()
/packages/modules/StatsD/aidl/android/os/
DStatsDimensionsValueParcel.aidl17 long longValue;
/packages/services/Car/car-lib/src/com/android/car/internal/
DCarRatedFloatListeners.java125 nextUpdateTime = eventTimeStamp + cycle.longValue(); in needUpdateForSelectedListener()
/packages/apps/Messaging/src/com/android/messaging/util/exif/
DExifTag.java477 return setValue(((Long) obj).longValue()); in setValue()
501 fin[i] = (arr[i] == null) ? 0 : arr[i].longValue(); in setValue()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DExifTag.java477 return setValue(((Long) obj).longValue()); in setValue()
501 fin[i] = (arr[i] == null) ? 0 : arr[i].longValue(); in setValue()
/packages/apps/Camera2/src/com/android/camera/exif/
DExifTag.java477 return setValue(((Long) obj).longValue()); in setValue()
501 fin[i] = (arr[i] == null) ? 0 : arr[i].longValue(); in setValue()
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/
DMockSharedPreferences.java71 return ((Long)mValues.get(key)).longValue(); in getLong()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/
DMockSharedPreferences.java71 return ((Long)mValues.get(key)).longValue(); in getLong()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DFakeSharedPreferences.java76 return ((Long) mValues.get(key)).longValue(); in getLong()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DDatabaseUtils.java115 res.append(((Number) arg).longValue()); in bindSelection()
484 st.bindLong(i + 1, ((Number) bindArg).longValue()); in bindArgs()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsDatabaseHelperTest.java217 assertEquals(mDbHelper.mCommonMimeTypeIdsCache.get(commonMimeType).longValue(), in testGetCommonMimeTypeIds()
225 assertEquals(mDbHelper.mCommonMimeTypeIdsCache.get(commonMimeType).longValue(), in testGetCommonMimeTypeIds()
/packages/apps/Calendar/tests/src/com/android/calendar/
DFakeSharedPreferences.java74 return ((Long)mValues.get(key)).longValue(); in getLong()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
DRoamingConsortiumElementTest.java60 stream.write((byte) ((oi.second.longValue() >> i * Byte.SIZE) & 0xFF)); in appendOI()
DANQPParserTest.java93 stream.write((byte) ((ois[i].longValue() >> l * Byte.SIZE) & 0xFF)); in getRoamingConsortiumPayload()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/audio/
DMediaCodecAudioDecoder.java175 if (mDecodeOnlyPresentationTimestamps.get(i).longValue() == presentationTimeUs) { in getDecodeOnlyIndex()
/packages/apps/Messaging/src/android/support/v7/mms/pdu/
DPduHeaders.java687 return longInteger.longValue(); in getLongInteger()
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DPduHeaders.java707 return longInteger.longValue(); in getLongInteger()
/packages/modules/StatsD/statsd/src/
DHashableDimensionKey.cpp65 child.longValue = dim.mValue.long_value; in populateStatsDimensionsValueParcelChildren()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsDatabaseHelper.java3509 stmt.bindLong(index, value.longValue()); in bindLong()
4418 long longValue; in copyLongValue() local
4421 longValue = (Boolean) value ? 1 : 0; in copyLongValue()
4423 longValue = Long.parseLong((String)value); in copyLongValue()
4425 longValue = ((Number)value).longValue(); in copyLongValue()
4427 toValues.put(toKey, longValue); in copyLongValue()
/packages/services/Car/service/src/com/android/car/
DCarDiagnosticService.java654 return mEvents.keySet().stream().mapToLong(Long::longValue).toArray(); in getFreezeFrameTimestamps()

12