/development/tools/idegen/src/ |
D | Stopwatch.java | 22 long last = System.currentTimeMillis(); 25 long now = System.currentTimeMillis(); in reset()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | AlarmService_Service.java | 75 long endTime = System.currentTimeMillis() + 15*1000; 76 while (System.currentTimeMillis() < endTime) { 79 mBinder.wait(endTime - System.currentTimeMillis()); 110 .setWhen(System.currentTimeMillis()) // the time stamp in showNotification()
|
D | ServiceStartArguments.java | 84 long endTime = System.currentTimeMillis() + 5*1000; in handleMessage() 85 while (System.currentTimeMillis() < endTime) { in handleMessage() 88 wait(endTime - System.currentTimeMillis()); in handleMessage() 185 .setWhen(System.currentTimeMillis()) // the time stamp in showNotification()
|
D | IncomingMessage.java | 128 .setWhen(System.currentTimeMillis()) // the time stamp in showAppNotification() 183 .setWhen(System.currentTimeMillis()) // the time stamp in showInterstitialNotification()
|
D | LocalService.java | 111 .setWhen(System.currentTimeMillis()) // the time stamp in showNotification()
|
D | NotificationBackgroundService.java | 80 .setWhen(System.currentTimeMillis()) // the time stamp in showNotification()
|
D | NotifyingService.java | 109 .setWhen(System.currentTimeMillis()) in showNotification()
|
/development/samples/Alarm/src/com/example/android/newalarm/ |
D | AlarmService.java | 87 long waitTime = System.currentTimeMillis() + WAIT_TIME_SECONDS * MILLISECS_PER_SEC; 91 while (System.currentTimeMillis() < waitTime) { 98 mBinder.wait(waitTime - System.currentTimeMillis()); 196 .setWhen(System.currentTimeMillis()) // the time stamp in showNotification()
|
/development/samples/ToyVpn/src/com/example/android/toyvpn/ |
D | ToyVpnConnection.java | 198 long lastSendTime = System.currentTimeMillis(); in run() 199 long lastReceiveTime = System.currentTimeMillis(); in run() 216 lastReceiveTime = System.currentTimeMillis(); in run() 231 lastSendTime = System.currentTimeMillis(); in run() 238 final long timeNow = System.currentTimeMillis(); in run()
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | Sweep.java | 71 long now = System.currentTimeMillis(); in onDraw() 75 now = System.currentTimeMillis() - now; in onDraw()
|
/development/samples/devbytes/graphics/BitmapAllocation/src/com/example/android/bitmapallocation/ |
D | BitmapAllocation.java | 83 long startTime = System.currentTimeMillis(); in onCreate() 94 (System.currentTimeMillis() - startTime)); in onCreate()
|
/development/apps/SettingInjectorSample/src/com/example/android/injector/ |
D | UpdatingInjectorService.java | 42 return String.valueOf(System.currentTimeMillis()); in onGetSummary()
|
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
D | ComplicationSimpleWatchFaceService.java | 163 long timeMs = System.currentTimeMillis(); 314 long currentTimeMillis = System.currentTimeMillis(); in getTappedComplicationId() local 320 && (complicationData.isActive(currentTimeMillis)) in getTappedComplicationId() 546 long now = System.currentTimeMillis(); in onDraw() 566 private void drawComplications(Canvas canvas, long currentTimeMillis) { in drawComplications() argument 574 && (complicationData.isActive(currentTimeMillis))) { in drawComplications() 587 mainText.getText(getApplicationContext(), currentTimeMillis); in drawComplications() 597 subText.getText(getApplicationContext(), currentTimeMillis)); in drawComplications()
|
/development/samples/ShortcutDemo/publisher/src/com/example/android/pm/shortcutdemo/ |
D | ShortcutPublishingService.java | 52 this, new ShortcutInfo.Builder(this, ("shortcut-" + System.currentTimeMillis()))) in addShortcut()
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
D | MonkeyGetFrameRateEvent.java | 128 mStartTime = System.currentTimeMillis(); in injectEvent() 131 mEndTime = System.currentTimeMillis(); in injectEvent()
|
D | MonkeyGetAppFrameRateEvent.java | 141 sStartTime = System.currentTimeMillis(); in injectEvent() 144 sEndTime = System.currentTimeMillis(); in injectEvent()
|
/development/samples/browseable/MessagingService/src/com.example.android.messagingservice/ |
D | MessageLogger.java | 41 message = DATE_FORMAT.format(new Date(System.currentTimeMillis())) + ": " + message; in logMessage()
|
D | Conversations.java | 72 this.timestamp = System.currentTimeMillis(); in Conversation()
|
/development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/ |
D | PhoneMainActivity.java | 69 calendar.setTimeInMillis(System.currentTimeMillis()); in onClick() 81 calendar.setTimeInMillis(System.currentTimeMillis()); in onDateSet()
|
/development/samples/JetBoy/src/com/example/android/jetboy/ |
D | JetBoyView.java | 73 eventTime = System.currentTimeMillis(); in GameEvent() 582 long frameDelta = System.currentTimeMillis() - mLastBeatTime; in doAsteroidAnimation() 639 mPassedTime = System.currentTimeMillis(); in run() 716 mLastBeatTime = System.currentTimeMillis(); in updateGameState() 787 if (mLaserOn && System.currentTimeMillis() - mLaserFireTime > 400) { in updateLaser() 792 else if (System.currentTimeMillis() - mLaserFireTime > 300) { in updateLaser() 803 if (!mLaserOn && System.currentTimeMillis() - keyTime <= 400) { in updateLaser() 1020 _as.mStartTime = System.currentTimeMillis(); in doAsteroidCreation()
|
/development/samples/browseable/Timer/src/com.example.android.wearable.timer/ |
D | SetTimerActivity.java | 119 long wakeupTime = System.currentTimeMillis() + duration; in registerWithAlarmManager() 151 .setWhen(System.currentTimeMillis() + duration) in buildNotification()
|
/development/samples/browseable/AppShortcuts/src/com.example.android.appshortcuts/ |
D | ShortcutHelper.java | 121 final long now = System.currentTimeMillis(); in refreshShortcuts() 191 extras.putLong(EXTRA_LAST_REFRESH, System.currentTimeMillis()); in setExtras()
|
/development/samples/browseable/AlwaysOn/src/com.example.android.wearable.wear.alwayson/ |
D | MainActivity.java | 255 long timeMs = System.currentTimeMillis(); in refreshDisplayAndSetNextUpdate() 287 long currentTimeMs = System.currentTimeMillis(); in loadDataAndUpdateScreen()
|
/development/samples/RenderScript/Levels/src/com/android/rs/levels/ |
D | LevelsRSActivity.java | 205 long t = java.lang.System.currentTimeMillis(); in benchmark() 207 t = java.lang.System.currentTimeMillis() - t; in benchmark()
|
/development/samples/devbytes/graphics/ImagePixelization/src/com/example/android/imagepixelization/ |
D | ImagePixelization.java | 108 if ((System.currentTimeMillis() - mLastTime) > TIME_BETWEEN_TASKS) { in checkIfShouldPixelize() 262 mLastTime = System.currentTimeMillis(); in invokePixelization()
|