/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiLinkLayerStats.java | 133 sbuf.append(" BE : ").append(" rx=").append(Long.toString(this.rxmpdu_be)) in toString() 134 .append(" tx=").append(Long.toString(this.txmpdu_be)) in toString() 135 .append(" lost=").append(Long.toString(this.lostmpdu_be)) in toString() 136 .append(" retries=").append(Long.toString(this.retries_be)).append('\n'); in toString() 137 sbuf.append(" BK : ").append(" rx=").append(Long.toString(this.rxmpdu_bk)) in toString() 138 .append(" tx=").append(Long.toString(this.txmpdu_bk)) in toString() 139 .append(" lost=").append(Long.toString(this.lostmpdu_bk)) in toString() 140 .append(" retries=").append(Long.toString(this.retries_bk)).append('\n'); in toString() 141 sbuf.append(" VI : ").append(" rx=").append(Long.toString(this.rxmpdu_vi)) in toString() 142 .append(" tx=").append(Long.toString(this.txmpdu_vi)) in toString() [all …]
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | SmsProviderTest.java | 42 Long.toString(new GregorianCalendar(1970, 1, 1, 0, 0, 0).getTimeInMillis()), in testProvider() 43 Long.toString(new GregorianCalendar(1971, 2, 13, 16, 35, 3).getTimeInMillis()), in testProvider() 44 Long.toString(new GregorianCalendar(1978, 10, 22, 0, 1, 0).getTimeInMillis()), in testProvider() 45 Long.toString(new GregorianCalendar(1980, 1, 11, 10, 22, 30).getTimeInMillis()), in testProvider() 46 Long.toString(now - (5 * 24 * 60 * 60 * 1000)), in testProvider() 47 Long.toString(now - (2 * 24 * 60 * 60 * 1000)), in testProvider() 48 Long.toString(now - (5 * 60 * 60 * 1000)), in testProvider() 49 Long.toString(now - (30 * 60 * 1000)), in testProvider() 50 Long.toString(now - (5 * 60 * 1000)), in testProvider() 51 Long.toString(now) in testProvider()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | KeySetManagerService.java | 58 protected final LongSparseArray<ArraySet<Long>> mKeySetMapping; 69 mKeySetMapping = new LongSparseArray<ArraySet<Long>>(); in KeySetManagerService() 173 ArraySet<Long> publicKeyIds = mKeySetMapping.get(id); in addSigningKeySetToPackageLPw() 187 ArraySet<Long> definedKeys = mKeySetMapping.get(keySetID); in addSigningKeySetToPackageLPw() 228 Long keySetId = p.keySetData.getAliases().get(alias); in getKeySetByAliasAndPackageNameLPr() 314 ArraySet<Long> addedKeyIds = new ArraySet<Long>(keys.size()); in addKeySetLPw() 340 ArraySet<Long> pSigningKeys = mKeySetMapping.get(pProperSigning); in addKeySetLPw() 373 private long getIdFromKeyIdsLPr(Set<Long> publicKeyIds) { in getIdFromKeyIdsLPr() 375 ArraySet<Long> value = mKeySetMapping.valueAt(keyMapIndex); in getIdFromKeyIdsLPr() 416 ArraySet<Long> deletableKeySets = getOriginalKeySetsByPackageNameLPr(packageName); in removeAppKeySetDataLPw() [all …]
|
D | PackageKeySetData.java | 36 private final ArrayMap<String, Long> mKeySetAliases = new ArrayMap<String, Long>(); 79 Long ks = mKeySetAliases.get(alias); in addUpgradeKeySet() 134 protected ArrayMap<String, Long> getAliases() { in getAliases()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiLogger.java | 52 private final HashMap<String, Pair<Long, Integer>> mWarningTimingCache = new HashMap<>(); 54 private final HashMap<String, Pair<Long, Integer>> mErrorTimingCache = new HashMap<>(); 109 private static String updateLog(HashMap<String, Pair<Long, Integer>> cache, String logMessage) { in updateLog() argument 111 Pair<Long, Integer> timing = cache.get(logMessage); in updateLog() 122 private static String buildMessage(String message, @Nullable Pair<Long, Integer> timing) { in buildMessage() argument 128 private static void increaseLogCount(HashMap<String, Pair<Long, Integer>> cache, in increaseLogCount() argument 130 Pair<Long, Integer> timing = cache.get(message); in increaseLogCount() 136 private static boolean shouldLogNow(@Nullable Pair<Long, Integer> timing, long curTime) { in shouldLogNow() argument
|
/frameworks/base/obex/javax/obex/ |
D | HeaderSet.java | 181 private Long mCount; // 4 byte unsigned integer 189 private Long mLength; // 4 byte unsigend integer 213 private Long[] mIntegerUserDefined; // 4 byte unsigned integer 235 mIntegerUserDefined = new Long[16]; in HeaderSet() 277 if (!(headerValue instanceof Long)) { in setHeader() 284 temp = ((Long)headerValue).longValue(); in setHeader() 288 mCount = (Long)headerValue; in setHeader() 304 if (!(headerValue instanceof Long)) { in setHeader() 311 temp = ((Long)headerValue).longValue(); in setHeader() 315 mLength = (Long)headerValue; in setHeader() [all …]
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | NetworkStatsHistoryTest.java | 82 entry = history.getValues(Long.MIN_VALUE, Long.MAX_VALUE, entry); in testReadOriginalVersion() 406 assertEquals(Long.MIN_VALUE, performVarLong(Long.MIN_VALUE)); in testVarLong() 407 assertEquals(Long.MAX_VALUE, performVarLong(Long.MAX_VALUE)); in testVarLong() 408 assertEquals(Long.MIN_VALUE + 40, performVarLong(Long.MIN_VALUE + 40)); in testVarLong() 409 assertEquals(Long.MAX_VALUE - 40, performVarLong(Long.MAX_VALUE - 40)); in testVarLong() 433 assertIndexBeforeAfter(stats, 0, 0, Long.MIN_VALUE); in testIndexBeforeAfter() 451 assertIndexBeforeAfter(stats, 4, 4, Long.MAX_VALUE); in testIndexBeforeAfter() 474 assertFalse(stats.intersects(Long.MAX_VALUE, Long.MIN_VALUE)); in testIntersects() 476 assertTrue(stats.intersects(Long.MIN_VALUE, Long.MAX_VALUE)); in testIntersects() 480 assertTrue(stats.intersects(TEST_START + DAY_IN_MILLIS, Long.MAX_VALUE)); in testIntersects() [all …]
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | LongSparseLongArrayTest.java | 77 final HashMap<Long, Long> map = new HashMap<Long, Long>(); in testFuzz() 97 for (Map.Entry<Long, Long> e : map.entrySet()) { in testFuzz()
|
/frameworks/ex/common/java/com/android/common/contacts/ |
D | DataUsageStatUpdater.java | 127 final Set<Long> contactIds = new HashSet<Long>(cursor.getCount()); in updateWithAddress() 128 final Set<Long> dataIds = new HashSet<Long>(cursor.getCount()); in updateWithAddress() 177 final Set<Long> contactIds = new HashSet<Long>(cursor.getCount()); in updateWithPhoneNumber() 178 final Set<Long> dataIds = new HashSet<Long>(cursor.getCount()); in updateWithPhoneNumber() 198 private boolean update(Collection<Long> contactIds, Collection<Long> dataIds, String type) { in update()
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | RequestQueue.java | 42 private final List<Long> mJpegSurfaceIds; 44 public RequestQueue(List<Long> jpegSurfaceIds) { in RequestQueue() 55 public synchronized Pair<BurstHolder, Long> getNext() { in getNext() 67 Pair<BurstHolder, Long> ret = new Pair<BurstHolder, Long>(next, mCurrentFrameNumber); in getNext()
|
D | PerfMeasurement.java | 66 private ArrayList<Long> mCollectedGpuDurations = new ArrayList<>(); 67 private ArrayList<Long> mCollectedCpuDurations = new ArrayList<>(); 68 private ArrayList<Long> mCollectedTimestamps = new ArrayList<>(); 73 private Queue<Long> mTimestampQueue = new LinkedList<>(); 74 private Queue<Long> mCpuDurationsQueue = new LinkedList<>();
|
/frameworks/base/media/java/android/media/ |
D | SubtitleTrack.java | 134 for(Iterator<Pair<Long, Cue> > it = in updateActiveCues() 136 Pair<Long, Cue> event = it.next(); in updateActiveCues() 396 private SortedMap<Long, Vector<Cue> > mCues; 455 public Iterable<Pair<Long, Cue>> entriesBetween( in entriesBetween() 457 return new Iterable<Pair<Long, Cue> >() { in entriesBetween() 459 public Iterator<Pair<Long, Cue> > iterator() { in entriesBetween() 472 SortedMap<Long, Vector<Cue>> tail = null; in nextTimeAfter() 487 class EntryIterator implements Iterator<Pair<Long, Cue> > { 494 public Pair<Long, Cue> next() { in next() 498 mLastEntry = new Pair<Long, Cue>( in next() [all …]
|
D | Utils.java | 144 static Range<Long>factorRange(Range<Long> range, long factor) { 197 static Range<Long> longRangeFor(double v) { 247 static Range<Long> parseLongRange(Object o, Range<Long> fallback) { 253 Long.parseLong(s.substring(0, ix), 10), 254 Long.parseLong(s.substring(ix + 1), 10)); 256 long value = Long.parseLong(s);
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | ChildHelper.java | 351 final static int BITS_PER_WORD = Long.SIZE; 353 final static long LAST_BIT = 1L << (Long.SIZE - 1); 434 final long after = Long.rotateRight(mData & ~mask, 1); in remove() 449 return Long.bitCount(mData); in countOnesBefore() 451 return Long.bitCount(mData & ((1L << index) - 1)); in countOnesBefore() 454 return Long.bitCount(mData & ((1L << index) - 1)); in countOnesBefore() 456 return next.countOnesBefore(index - BITS_PER_WORD) + Long.bitCount(mData); in countOnesBefore() 462 return next == null ? Long.toBinaryString(mData) in toString() 463 : next.toString() + "xx" + Long.toBinaryString(mData); in toString()
|
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
D | ObjectViewer.java | 126 view.setText(Long.toString(info.getCompressedSize())); in onResume() 128 view.setText(Long.toString(info.getThumbPixWidth())); in onResume() 130 view.setText(Long.toString(info.getThumbPixHeight())); in onResume() 132 view.setText(Long.toString(info.getThumbCompressedSize())); in onResume() 134 view.setText(Long.toString(info.getImagePixWidth())); in onResume() 136 view.setText(Long.toString(info.getImagePixHeight())); in onResume() 138 view.setText(Long.toString(info.getImagePixDepth())); in onResume() 140 view.setText(Long.toString(info.getSequenceNumber())); in onResume()
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | TimeController.java | 77 mNextJobExpiredElapsedMillis = Long.MAX_VALUE; in TimeController() 78 mNextDelayExpiredElapsedMillis = Long.MAX_VALUE; in TimeController() 104 job.hasTimingDelayConstraint() ? job.getEarliestRunTime() : Long.MAX_VALUE, in maybeStartTrackingJob() 105 job.hasDeadlineConstraint() ? job.getLatestRunTimeElapsed() : Long.MAX_VALUE); in maybeStartTrackingJob() 146 long nextExpiryTime = Long.MAX_VALUE; in checkExpiredDeadlinesAndResetAlarm() 175 long nextDelayTime = Long.MAX_VALUE; in checkExpiredDelaysAndResetAlarm() 245 if (alarmTimeElapsed == Long.MAX_VALUE) { in updateAlarmWithPendingIntent()
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | CaptureResult.java | 2166 public static final Key<Long> JPEG_GPS_TIMESTAMP = 2167 new Key<Long>("android.jpeg.gpsTimestamp", long.class); 2644 public static final Key<Long> SENSOR_EXPOSURE_TIME = 2645 new Key<Long>("android.sensor.exposureTime", long.class); 2738 public static final Key<Long> SENSOR_FRAME_DURATION = 2739 new Key<Long>("android.sensor.frameDuration", long.class); 2793 public static final Key<Long> SENSOR_TIMESTAMP = 2794 new Key<Long>("android.sensor.timestamp", long.class); 2952 public static final Key<Long> SENSOR_ROLLING_SHUTTER_SKEW = 2953 new Key<Long>("android.sensor.rollingShutterSkew", long.class); [all …]
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | RecipientEntry.java | 65 private final Long mDirectoryId; 83 int destinationType, String destinationLabel, long contactId, Long directoryId, in RecipientEntry() 163 Long directoryId, long dataId, Uri photoThumbnailUri, boolean isValid, in constructTopLevelEntry() 172 Long directoryId, long dataId, String thumbnailUriAsString, boolean isValid, in constructTopLevelEntry() 182 String destinationLabel, long contactId, Long directoryId, long dataId, in constructSecondLevelEntry() 214 public Long getDirectoryId() { in getDirectoryId()
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
D | BaseCluster.java | 39 protected HashMap<String, Long> mHistogram = new HashMap<String, Long>(); 139 for (Map.Entry<String, Long> entry : cluster.mHistogram.entrySet()) { in absorbHistogram() 156 public final HashMap<String, Long> getHistogram() { in getHistogram() 160 public void setHistogram(Map<String, Long> histogram) { in setHistogram() 177 for (Map.Entry<String, Long> entry : mHistogram.entrySet()) { in forgetPastHistory()
|
/frameworks/base/core/java/android/os/ |
D | BatteryManager.java | 182 return Long.MIN_VALUE; in queryProperty() 191 ret = Long.MIN_VALUE; in queryProperty() 193 ret = Long.MIN_VALUE; in queryProperty()
|
/frameworks/base/tools/layoutlib/bridge/src/libcore/io/ |
D | MemoryMappedFile_Delegate.java | 42 private static final Map<MemoryMappedFile, Long> sMemoryMappedFileMap = 43 new HashMap<MemoryMappedFile, Long>(); 86 Long index = sMemoryMappedFileMap.get(thisFile); in close() 114 Long index = sMemoryMappedFileMap.get(file); in getDelegate()
|
/frameworks/ex/common/tests/src/com/android/common/ |
D | OperationSchedulerTest.java | 48 assertEquals(Long.MAX_VALUE, scheduler.getNextTimeMillis(options)); in testScheduler() 64 assertEquals(Long.MAX_VALUE, scheduler.getNextTimeMillis(options)); in testScheduler() 93 assertEquals(Long.MAX_VALUE, scheduler.getNextTimeMillis(options)); in testScheduler() 95 assertEquals(Long.MAX_VALUE, scheduler.getNextTimeMillis(options)); in testScheduler() 104 assertEquals(Long.MAX_VALUE, scheduler.getNextTimeMillis(options)); in testScheduler() 114 scheduler.setTriggerTimeMillis(Long.MAX_VALUE); in testScheduler() 201 options.maxMoratoriumMillis = Long.MAX_VALUE / 2; in testMoratoriumWithHttpDate()
|
/frameworks/base/core/java/android/net/ |
D | SamplingDataTracker.java | 82 ss.mTxByteCount = Long.parseLong(tokens[1]); in getSamplingSnapshots() 83 ss.mTxPacketCount = Long.parseLong(tokens[2]); in getSamplingSnapshots() 84 ss.mTxPacketErrorCount = Long.parseLong(tokens[3]); in getSamplingSnapshots() 85 ss.mRxByteCount = Long.parseLong(tokens[9]); in getSamplingSnapshots() 86 ss.mRxPacketCount = Long.parseLong(tokens[10]); in getSamplingSnapshots() 87 ss.mRxPacketErrorCount = Long.parseLong(tokens[11]); in getSamplingSnapshots()
|
/frameworks/base/core/java/android/animation/ |
D | PropertyValuesHolder.java | 1081 private static final HashMap<Class, HashMap<String, Long>> sJNISetterPropertyMap = 1082 new HashMap<Class, HashMap<String, Long>>(); 1182 HashMap<String, Long> propertyMap = sJNISetterPropertyMap.get(targetClass); in setupSetter() 1187 Long jniSetter = propertyMap.get(mPropertyName); in setupSetter() 1203 propertyMap = new HashMap<String, Long>(); in setupSetter() 1219 private static final HashMap<Class, HashMap<String, Long>> sJNISetterPropertyMap = 1220 new HashMap<Class, HashMap<String, Long>>(); 1320 HashMap<String, Long> propertyMap = sJNISetterPropertyMap.get(targetClass); in setupSetter() 1325 Long jniSetter = propertyMap.get(mPropertyName); in setupSetter() 1341 propertyMap = new HashMap<String, Long>(); in setupSetter() [all …]
|
/frameworks/opt/net/voip/src/java/android/net/rtp/ |
D | AudioGroup.java | 94 private final Map<AudioStream, Long> mStreams; 106 mStreams = new HashMap<AudioStream, Long>(); in AudioGroup() 167 Long id = mStreams.remove(stream); in remove()
|