Home
last modified time | relevance | path

Searched refs:toLong (Results 1 – 19 of 19) sorted by relevance

/packages/services/BuiltInPrintService/src/com/android/bips/p2p/
DP2pUtils.java93 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/
DExpandedAlarmViewHolder.kt333 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>()
DCollapsedAlarmViewHolder.kt180 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/
DAlarmActivity.kt210 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/
DUiDataModel.kt182 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/
DNetworkAgentTest.kt865 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()
DProxyTest.kt52 assertEquals(-1, defaultPort.toLong()) in testAccessProperties()
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DLapsAdapter.kt103 (laps.size + 1).toLong() in getItemId()
105 laps[position - 1].lapNumber.toLong() in getItemId()
DStopwatchFragment.kt535 }).toLong() in <lambda>()
537 val delay: Long = max(0, startTime + period - endTime).toLong() in <lambda>()
/packages/apps/DeskClock/src/com/android/deskclock/widget/
DEmptyViewController.kt50 .setDuration(ANIMATION_DURATION.toLong())
/packages/apps/DeskClock/src/com/android/deskclock/data/
DCustomRingtoneDAO.kt88 val idLong = id.toLong() in getCustomRingtones()
/packages/apps/DeskClock/src/com/android/deskclock/
DClockFragment.kt418 val currentUtcOffset = currentTimeZone.getOffset(currentTimeMillis).toLong() in bind()
419 val cityUtcOffset = cityTimeZone.getOffset(currentTimeMillis).toLong() in bind()
DUtils.kt466 val localizedQuantity = NumberFormat.getInstance().format(quantity.toLong()) in getNumberFormattedQuantityString()
/packages/modules/Connectivity/tests/integration/src/com/android/server/net/integrationtests/
DTestNetworkStackService.kt79 doReturn(responseBytes.size.toLong()).`when`(connection).contentLengthLong in openConnection()
/packages/apps/DeskClock/src/com/android/alarmclock/
DDigitalAppWidgetCityViewsFactory.kt126 return position.toLong() in getItemId()
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/
DDownloadServiceTest.kt219 doReturn(TEST_FILESIZE.toLong()).`when`(connection).contentLengthLong in setUp()
/packages/apps/DeskClock/src/com/android/deskclock/provider/
DAlarmInstance.kt500 contentResolver.update(getContentUri(instance.mId), values, null, null).toLong() in updateInstance()
DAlarm.kt465 contentResolver.update(getContentUri(alarm.id), values, null, null).toLong() in updateAlarm()
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/
DCitySelectionActivity.kt287 return position.toLong() in getItemId()