/packages/services/BuiltInPrintService/src/com/android/bips/p2p/ |
D | P2pUtils.java | 93 long addressLong = toLong(address); in isOnInterface() 104 if ((toLong(networkAddress) & netMask) == (addressLong & netMask)) { in isOnInterface() 111 private static long toLong(Inet4Address address) { in toLong() method in P2pUtils
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/ |
D | ExpandedAlarmViewHolder.kt | 333 val shortDuration = (duration * ANIM_SHORT_DURATION_MULTIPLIER).toLong() in <lambda>() 355 val delayIncrement = (duration * ANIM_LONG_DELAY_INCREMENT_MULTIPLIER).toLong() / in <lambda>() 405 val longDuration = (duration * ANIM_LONG_DURATION_MULTIPLIER).toLong() in <lambda>() 428 var startDelay = (duration * ANIM_STANDARD_DELAY_MULTIPLIER).toLong() in <lambda>() 430 val delayIncrement = (duration * ANIM_SHORT_DELAY_INCREMENT_MULTIPLIER).toLong() / in <lambda>()
|
D | CollapsedAlarmViewHolder.kt | 180 alphaAnimatorSet.setDuration((duration * ANIM_SHORT_DURATION_MULTIPLIER).toLong()) in <lambda>() 201 val standardDelay = (duration * ANIM_STANDARD_DELAY_MULTIPLIER).toLong() in <lambda>()
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
D | AlarmActivity.kt | 210 mPulseAnimator.setDuration(PULSE_DURATION_MILLIS.toLong()) in onCreate() 561 bounceAnimator.setDuration(ALARM_BOUNCE_DURATION_MILLIS.toLong()) in getAlarmBounceAnimator() 606 revealAnimator.setDuration(ALERT_REVEAL_DURATION_MILLIS.toLong()) in getAlertAnimator() 622 fadeAnimator.setDuration(ALERT_FADE_DURATION_MILLIS.toLong()) in getAlertAnimator() 634 mHandler.postDelayed(Runnable { finish() }, ALERT_DISMISS_DELAY_MILLIS.toLong()) in getAlertAnimator()
|
/packages/apps/DeskClock/src/com/android/deskclock/uidata/ |
D | UiDataModel.kt | 182 return mContext!!.resources.getInteger(android.R.integer.config_shortAnimTime).toLong() 191 return mContext!!.resources.getInteger(android.R.integer.config_longAnimTime).toLong()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | NetworkAgentTest.kt | 865 agentWeaker.setLingerDuration(Duration.ofMillis(Integer.MIN_VALUE.toLong())) in testSetLingerDuration() 868 agentWeaker.setLingerDuration(Duration.ofMillis(Integer.MAX_VALUE.toLong() + 1)) in testSetLingerDuration() 872 NetworkAgent.MIN_LINGER_TIMER_MS.toLong() - 1)) in testSetLingerDuration() 876 agentWeaker.setLingerDuration(Duration.ofMillis(Integer.MAX_VALUE.toLong())) in testSetLingerDuration() 879 agentWeaker.setLingerDuration(Duration.ofMillis(NetworkAgent.MIN_LINGER_TIMER_MS.toLong())) in testSetLingerDuration() 901 NetworkAgent.MIN_LINGER_TIMER_MS.toLong() - SystemClock.elapsedRealtime() in testSetLingerDuration()
|
D | ProxyTest.kt | 52 assertEquals(-1, defaultPort.toLong()) in testAccessProperties()
|
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
D | LapsAdapter.kt | 103 (laps.size + 1).toLong() in getItemId() 105 laps[position - 1].lapNumber.toLong() in getItemId()
|
D | StopwatchFragment.kt | 535 }).toLong() in <lambda>() 537 val delay: Long = max(0, startTime + period - endTime).toLong() in <lambda>()
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/ |
D | EmptyViewController.kt | 50 .setDuration(ANIMATION_DURATION.toLong())
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | CustomRingtoneDAO.kt | 88 val idLong = id.toLong() in getCustomRingtones()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | ClockFragment.kt | 418 val currentUtcOffset = currentTimeZone.getOffset(currentTimeMillis).toLong() in bind() 419 val cityUtcOffset = cityTimeZone.getOffset(currentTimeMillis).toLong() in bind()
|
D | Utils.kt | 466 val localizedQuantity = NumberFormat.getInstance().format(quantity.toLong()) in getNumberFormattedQuantityString()
|
/packages/modules/Connectivity/tests/integration/src/com/android/server/net/integrationtests/ |
D | TestNetworkStackService.kt | 79 doReturn(responseBytes.size.toLong()).`when`(connection).contentLengthLong in openConnection()
|
/packages/apps/DeskClock/src/com/android/alarmclock/ |
D | DigitalAppWidgetCityViewsFactory.kt | 126 return position.toLong() in getItemId()
|
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/ |
D | DownloadServiceTest.kt | 219 doReturn(TEST_FILESIZE.toLong()).`when`(connection).contentLengthLong in setUp()
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
D | AlarmInstance.kt | 500 contentResolver.update(getContentUri(instance.mId), values, null, null).toLong() in updateInstance()
|
D | Alarm.kt | 465 contentResolver.update(getContentUri(alarm.id), values, null, null).toLong() in updateAlarm()
|
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/ |
D | CitySelectionActivity.kt | 287 return position.toLong() in getItemId()
|