Searched defs:endTime (Results 1 - 25 of 25) sorted by relevance

/frameworks/base/services/core/jni/
H A Dcom_android_server_GraphicsStatsService.cpp42 jlong versionCode, jlong startTime, jlong endTime, jbyteArray jdata) {
64 GraphicsStatsService::addToDump(dump, path, package, versionCode, startTime, endTime, data);
81 jlong versionCode, jlong startTime, jlong endTime, jbyteArray jdata) {
93 GraphicsStatsService::saveBuffer(path, package, versionCode, startTime, endTime, data);
41 addToDump(JNIEnv* env, jobject, jlong dumpPtr, jstring jpath, jstring jpackage, jlong versionCode, jlong startTime, jlong endTime, jbyteArray jdata) argument
80 saveBuffer(JNIEnv* env, jobject clazz, jstring jpath, jstring jpackage, jlong versionCode, jlong startTime, jlong endTime, jbyteArray jdata) argument
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
H A DGestureDescriptionTest.java280 float startX, float startY, float endX, float endY, long startTime, long endTime) {
285 new StrokeDescription(swipePath, startTime, endTime - startTime);
279 createSwipeStroke( float startX, float startY, float endX, float endY, long startTime, long endTime) argument
/frameworks/support/dynamic-animation/src/androidTest/java/androidx/dynamicanimation/tests/
H A DSpringTests.java227 assertTrue(l1.endTime > 0);
228 assertTrue(l2.endTime > l1.endTime);
229 assertTrue(l3.endTime > l2.endTime);
290 assertTrue(l3.endTime > 0);
291 assertTrue(l2.endTime > l3.endTime);
299 assertTrue(l1.endTime > l2.endTime);
784 public long endTime = -1; field in class:SpringTests.MyEndListener
[all...]
/frameworks/base/cmds/incidentd/src/
H A DReporter.cpp200 int64_t endTime = uptimeMillis(); local
202 stats->set_exec_duration_ms(endTime - startTime);
/frameworks/base/core/java/android/app/usage/
H A DNetworkStatsManager.java167 long startTime, long endTime) throws SecurityException, RemoteException {
169 NetworkStats stats = new NetworkStats(mContext, template, mFlags, startTime, endTime,
181 * 'startTime' and 'endTime' parameters. State is going to be
194 * @param endTime End of period. Defined in terms of "Unix time", see
200 long startTime, long endTime) throws SecurityException, RemoteException {
209 return querySummaryForDevice(template, startTime, endTime);
216 * and 'endTime' parameters. State is going to be {@link NetworkStats.Bucket#STATE_ALL},
227 * @param endTime End of period. Defined in terms of "Unix time", see
233 long endTime) throws SecurityException, RemoteException {
243 stats = new NetworkStats(mContext, template, mFlags, startTime, endTime, mServic
166 querySummaryForDevice(NetworkTemplate template, long startTime, long endTime) argument
199 querySummaryForDevice(int networkType, String subscriberId, long startTime, long endTime) argument
232 querySummaryForUser(int networkType, String subscriberId, long startTime, long endTime) argument
269 querySummary(int networkType, String subscriberId, long startTime, long endTime) argument
291 queryDetailsForUid(int networkType, String subscriberId, long startTime, long endTime, int uid) argument
302 queryDetailsForUidTag(int networkType, String subscriberId, long startTime, long endTime, int uid, int tag) argument
336 queryDetailsForUidTagState(int networkType, String subscriberId, long startTime, long endTime, int uid, int tag, int state) argument
379 queryDetails(int networkType, String subscriberId, long startTime, long endTime) argument
[all...]
H A DUsageStatsManagerInternal.java209 long beginTime, long endTime, boolean obfuscateInstantApps);
208 queryUsageStatsForUser(@serIdInt int userId, int interval, long beginTime, long endTime, boolean obfuscateInstantApps) argument
H A DUsageStatsManager.java254 * endTime = 2015 (exclusive)
268 * @param endTime The exclusive end of the range of stats to include in the results.
277 public List<UsageStats> queryUsageStats(int intervalType, long beginTime, long endTime) { argument
281 endTime, mContext.getOpPackageName());
299 * @param endTime The exclusive end of the range of stats to include in the results.
303 long endTime) {
307 intervalType, beginTime, endTime, mContext.getOpPackageName());
334 * @param endTime The exclusive end of the range of stats to include in the results.
343 public List<EventStats> queryEventStats(int intervalType, long beginTime, long endTime) { argument
347 endTime, mContex
302 queryConfigurations(int intervalType, long beginTime, long endTime) argument
366 queryEvents(long beginTime, long endTime) argument
388 queryEventsForSelf(long beginTime, long endTime) argument
411 queryAndAggregateUsageStats(long beginTime, long endTime) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DDateTimeView.java330 long endTime) {
331 return getJulianDay(endTime, timeZone.getOffset(endTime) / 1000)
329 dayDistance(TimeZone timeZone, long startTime, long endTime) argument
/frameworks/base/core/jni/
H A Dandroid_hardware_UsbDeviceConnection.cpp236 steady_clock::time_point endTime = currentTime + std::chrono::milliseconds(timeoutMillis); local
242 request = usb_request_wait(device, duration_cast<std::chrono::milliseconds>(endTime
251 if (currentTime >= endTime) {
/frameworks/base/libs/hwui/service/
H A DGraphicsStatsService.cpp46 int64_t startTime, int64_t endTime, const ProfileData* data);
157 int64_t versionCode, int64_t startTime, int64_t endTime,
162 if (proto->stats_end() == 0 || proto->stats_end() < endTime) {
163 proto->set_stats_end(endTime);
260 int64_t versionCode, int64_t startTime, int64_t endTime,
266 if (!mergeProfileDataIntoProto(&statsProto, package, versionCode, startTime, endTime, data)) {
327 int64_t startTime, int64_t endTime, const ProfileData* data) {
333 !mergeProfileDataIntoProto(&statsProto, package, versionCode, startTime, endTime, data)) {
156 mergeProfileDataIntoProto(protos::GraphicsStatsProto* proto, const std::string& package, int64_t versionCode, int64_t startTime, int64_t endTime, const ProfileData* data) argument
259 saveBuffer(const std::string& path, const std::string& package, int64_t versionCode, int64_t startTime, int64_t endTime, const ProfileData* data) argument
325 addToDump(Dump* dump, const std::string& path, const std::string& package, int64_t versionCode, int64_t startTime, int64_t endTime, const ProfileData* data) argument
/frameworks/base/services/usage/java/com/android/server/usage/
H A DIntervalStats.java32 public long endTime; field in class:IntervalStats
72 void addToEventStats(List<EventStats> out, int event, long beginTime, long endTime) { argument
80 ev.mEndTimeStamp = endTime;
96 usageStats.mEndTimeStamp = endTime;
111 configStats.mEndTimeStamp = endTime;
178 endTime = timeStamp;
212 endTime = timeStamp;
249 beginTime, endTime);
251 beginTime, endTime);
253 beginTime, endTime);
[all...]
H A DUsageStatsDatabase.java392 public <T> List<T> queryUsageStats(int intervalType, long beginTime, long endTime, argument
401 if (endTime <= beginTime) {
403 Slog.d(TAG, "endTime(" + endTime + ") <= beginTime(" + beginTime + ")");
415 int endIndex = intervalStats.closestIndexOnOrBefore(endTime);
424 if (intervalStats.keyAt(endIndex) == endTime) {
425 // The endTime is exclusive, so if we matched exactly take the one before.
447 if (beginTime < stats.endTime) {
H A DUserUsageStatsService.java279 private <T> List<T> queryStats(int intervalType, final long beginTime, final long endTime, argument
282 intervalType = mDatabase.findBestFitBucket(beginTime, endTime);
301 + beginTime + " AND endTime < " + endTime);
304 if (beginTime >= currentStats.endTime) {
307 + currentStats.endTime);
313 // Truncate the endTime to just before the in-memory stats. Then, we'll append the
316 final long truncatedEndTime = Math.min(currentStats.beginTime, endTime);
324 " endTime=" + currentStats.endTime);
345 queryUsageStats(int bucketType, long beginTime, long endTime) argument
349 queryConfigurationStats(int bucketType, long beginTime, long endTime) argument
353 queryEventStats(int bucketType, long beginTime, long endTime) argument
357 queryEvents(final long beginTime, final long endTime, boolean obfuscateInstantApps) argument
398 queryEventsForPackage(final long beginTime, final long endTime, final String packageName) argument
[all...]
H A DUsageStatsService.java451 List<UsageStats> queryUsageStats(int userId, int bucketType, long beginTime, long endTime, argument
455 if (!validRange(timeNow, beginTime, endTime)) {
461 List<UsageStats> list = service.queryUsageStats(bucketType, beginTime, endTime);
485 long endTime) {
488 if (!validRange(timeNow, beginTime, endTime)) {
494 return service.queryConfigurationStats(bucketType, beginTime, endTime);
502 long endTime) {
505 if (!validRange(timeNow, beginTime, endTime)) {
511 return service.queryEventStats(bucketType, beginTime, endTime);
518 UsageEvents queryEvents(int userId, long beginTime, long endTime, argument
484 queryConfigurationStats(int userId, int bucketType, long beginTime, long endTime) argument
501 queryEventStats(int userId, int bucketType, long beginTime, long endTime) argument
535 queryEventsForPackage(int userId, long beginTime, long endTime, String packageName) argument
549 validRange(long currentTime, long beginTime, long endTime) argument
726 queryUsageStats(int bucketType, long beginTime, long endTime, String callingPackage) argument
750 queryConfigurationStats(int bucketType, long beginTime, long endTime, String callingPackage) argument
772 queryEventStats(int bucketType, long beginTime, long endTime, String callingPackage) argument
794 queryEvents(long beginTime, long endTime, String callingPackage) argument
813 queryEventsForPackage(long beginTime, long endTime, String callingPackage) argument
829 queryEventsForUser(long beginTime, long endTime, int userId, String callingPackage) argument
854 queryEventsForPackageForUser(long beginTime, long endTime, int userId, String pkg, String callingPackage) argument
1335 queryUsageStatsForUser( int userId, int intervalType, long beginTime, long endTime, boolean obfuscateInstantApps) argument
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DColorDisplayController.java314 * @param endTime the local time to automatically deactivate Night display
317 public boolean setCustomEndTime(@NonNull LocalTime endTime) { argument
318 if (endTime == null) {
319 throw new IllegalArgumentException("endTime cannot be null");
326 Secure.NIGHT_DISPLAY_CUSTOM_END_TIME, endTime.toSecondOfDay() * 1000, mUserId);
592 * @param endTime the local time to automatically deactivate Night display
594 default void onCustomEndTimeChanged(LocalTime endTime) {} argument
/frameworks/base/core/tests/coretests/src/android/animation/
H A DValueAnimatorTests.java575 assertTrue(listener.endTime > 0);
578 assertTrue(listener.endTime >= l1.lastUpdateTime);
579 assertTrue(listener.endTime - l1.lastUpdateTime < 2 * provider.getFrameDelay());
882 assertTrue(l1.endTime >= l1.startTime);
887 assertTrue(l2.endTime >= l1.startTime);
1100 long endTime = -1; field in class:ValueAnimatorTests.MyListener
1111 endTime = SystemClock.uptimeMillis();
/frameworks/base/services/core/java/com/android/server/
H A DGraphicsStatsService.java236 buffer.mInfo.startTime, buffer.mInfo.endTime, buffer.mData);
329 buffer.mInfo.versionCode, buffer.mInfo.startTime, buffer.mInfo.endTime,
385 long versionCode, long startTime, long endTime, byte[] data);
389 long startTime, long endTime, byte[] data);
395 long endTime; field in class:GraphicsStatsService.BufferInfo
444 mInfo.endTime = System.currentTimeMillis();
384 nAddToDump(long dump, String path, String packageName, long versionCode, long startTime, long endTime, byte[] data) argument
388 nSaveBuffer(String path, String packageName, long versionCode, long startTime, long endTime, byte[] data) argument
/frameworks/base/services/core/java/com/android/server/display/
H A DColorDisplayService.java277 public void onCustomEndTimeChanged(LocalTime endTime) { argument
278 Slog.d(TAG, "onCustomEndTimeChanged: endTime=" + endTime);
281 mAutoMode.onCustomEndTimeChanged(endTime);
530 public void onCustomEndTimeChanged(LocalTime endTime) { argument
531 mEndTime = endTime;
/frameworks/base/core/java/android/app/admin/
H A DSystemUpdatePolicy.java338 * @param endTime the end of the maintenance window, measured as the number of minutes from
340 * @throws IllegalArgumentException If the {@code startTime} or {@code endTime} isn't in the
345 public static SystemUpdatePolicy createWindowedInstallPolicy(int startTime, int endTime) { argument
347 || endTime < 0 || endTime >= WINDOW_BOUNDARY) {
348 throw new IllegalArgumentException("startTime and endTime must be inside [0, 1440)");
353 policy.mMaintenanceWindowEnd = endTime;
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
H A DBatterySavingStats.java105 public long endTime; field in class:BatterySavingStats.Stat
340 stat.endTime = now;
342 final long deltaTime = stat.endTime - stat.startTime;
387 stat.endTime = 0;
/frameworks/native/cmds/flatland/
H A DMain.cpp499 nsecs_t endTime = endFence->getSignalTime(); local
501 return endTime - startTime;
/frameworks/support/tv-provider/src/main/java/androidx/tvprovider/media/tv/
H A DBasePreviewProgram.java1018 * @param endTime The end time for the program.
1022 public T setEndTimeUtcMillis(long endTime) { argument
1023 mValues.put(PreviewPrograms.COLUMN_END_TIME_UTC_MILLIS, endTime);
H A DTvContractCompat.java428 * @param endTime The end time used to filter programs. The returned programs should have
432 long endTime) {
433 return TvContract.buildProgramsUriForChannel(channelId, startTime, endTime);
443 * @param endTime The end time used to filter programs. The returned programs should have
447 long endTime) {
448 return TvContract.buildProgramsUriForChannel(channelUri, startTime, endTime);
431 buildProgramsUriForChannel(long channelId, long startTime, long endTime) argument
446 buildProgramsUriForChannel(Uri channelUri, long startTime, long endTime) argument
/frameworks/base/media/java/android/media/tv/
H A DTvContract.java607 * @param endTime The end time used to filter programs. The returned programs will have
609 * {@code endTime}.
612 long endTime) {
615 .appendQueryParameter(PARAM_END_TIME, String.valueOf(endTime)).build();
625 * @param endTime The end time used to filter programs. The returned programs should have
629 long endTime) {
633 return buildProgramsUriForChannel(ContentUris.parseId(channelUri), startTime, endTime);
611 buildProgramsUriForChannel(long channelId, long startTime, long endTime) argument
628 buildProgramsUriForChannel(Uri channelUri, long startTime, long endTime) argument
/frameworks/native/services/inputflinger/
H A DInputDispatcher.cpp2655 nsecs_t endTime = now() + milliseconds_to_nanoseconds(timeoutMillis); local
2786 nsecs_t remainingTimeout = endTime - now();
2806 nsecs_t remainingTimeout = endTime - now();

Completed in 211 milliseconds