/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | DatabaseWrapper.java | 107 private static void printTiming(final long t1, final String msg) { in printTiming() argument 110 final long delta = t2 - t1; in printTiming() 124 final long t1 = System.currentTimeMillis(); in beginTransaction() local 128 f.time = t1; in beginTransaction() 141 long t1 = 0; in endTransaction() local 152 t1 = System.currentTimeMillis(); in endTransaction() 161 printTiming(t1, String.format(Locale.US, in endTransaction() 180 long t1 = 0; in insertWithOnConflict() local 182 t1 = System.currentTimeMillis(); in insertWithOnConflict() 192 printTiming(t1, String.format(Locale.US, in insertWithOnConflict() [all …]
|
/packages/apps/TV/src/com/android/tv/recommendation/ |
D | RoutineWatchEvaluator.java | 157 ProgramTime t1 = ProgramTime.createFromProgram(p1); in calculateTimeMatchScore() local 160 double dupTimeScore = calculateOverlappedIntervalScore(t1, t2); in calculateTimeMatchScore() 163 double precision = dupTimeScore / (t1.endTimeOfDayInSec - t1.startTimeOfDayInSec); in calculateTimeMatchScore() 169 static double calculateOverlappedIntervalScore(ProgramTime t1, ProgramTime t2) { in calculateOverlappedIntervalScore() argument 170 if (t1.dayChanged && !t2.dayChanged) { in calculateOverlappedIntervalScore() 172 return calculateOverlappedIntervalScore(t2, t1); in calculateOverlappedIntervalScore() 180 Math.min(t1.endTimeOfDayInSec, t2.endTimeOfDayInSec) in calculateOverlappedIntervalScore() 181 - Math.max(t1.startTimeOfDayInSec, t2.startTimeOfDayInSec)); in calculateOverlappedIntervalScore() 183 sameDay = (t1.weekDay == t2.weekDay); in calculateOverlappedIntervalScore() 184 } else if (t1.dayChanged != t2.dayChanged) { in calculateOverlappedIntervalScore() [all …]
|
/packages/apps/LegacyCamera/jni/ |
D | feature_mos_jni.cpp | 90 double t0, t1, time_c; in Init() local 115 t1 = now_ms(); in Init() 116 time_c = t1 - t0; in Init() 168 double t0, t1, time_c; in AddFrame() local 194 double t0, t1, time_c; in Finalize() local 199 t1 = now_ms(); in Finalize() 200 time_c = t1 - t0; in Finalize() 367 double t0, t1, time_c; in Java_com_android_camera_panorama_Mosaic_setSourceImageFromGPU() local 419 double t0, t1, time_c; in Java_com_android_camera_panorama_Mosaic_setSourceImage() local 524 double t0, t1, time_c; in Java_com_android_camera_panorama_Mosaic_createMosaic() local [all …]
|
D | mosaic_renderer_jni.cpp | 657 double t0, t1, time_c; in Java_com_android_camera_panorama_MosaicRenderer_transferGPUtoCPU() local
|
/packages/apps/Gallery/tests/src/com/android/camera/ |
D | BitmapManagerUnitTests.java | 123 DecodeThread t1 = new DecodeThread(); in testThreadDecoding() local 125 mBitmapManager.allowThreadDecoding(t1); in testThreadDecoding() 127 t1.start(); in testThreadDecoding() 131 t1.join(); in testThreadDecoding() 135 assertTrue(mBitmapManager.canThreadDecoding(t1)); in testThreadDecoding() 136 assertNotNull(t1.getBitmap()); in testThreadDecoding()
|
/packages/apps/DevCamera/src/com/android/devcamera/ |
D | MediaSaver.java | 87 long t1 = SystemClock.uptimeMillis(); in saveDepth() local 90 bytesWritten, file, (t1 - t0) * 0.001)); in saveDepth() 119 long t1 = SystemClock.uptimeMillis(); in saveJpeg() local 129 jpegData.length, file, (t1 - t0) * 0.001, (t2 - t1) * 0.001) ); in saveJpeg()
|
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/ |
D | RoutineWatchEvaluatorTest.java | 63 private static ScoredItem score(String t1, String t2) { in score() argument 64 return new ScoredItem(t1, t2); in score() 283 int expectedSeconds, boolean overlappedOnSameDay, ProgramTime t1, ProgramTime t2) { in assertOverlappedIntervalScore() argument 292 RoutineWatchEvaluator.calculateOverlappedIntervalScore(t1, t2)); in assertOverlappedIntervalScore() 296 RoutineWatchEvaluator.calculateOverlappedIntervalScore(t2, t1)); in assertOverlappedIntervalScore()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | SlidingWindowTest.java | 29 private static <T> boolean sameContents(Iterator<T> t1, Iterator<T> t2) { in sameContents() argument 30 while(t1.hasNext()) { in sameContents() 34 T e1 = t1.next(); in sameContents()
|
/packages/modules/DnsResolver/ |
D | res_stats.cpp | 27 int res_stats_calculate_rtt(const timespec* t1, const timespec* t0) { in res_stats_calculate_rtt() argument 30 long ms1 = t1->tv_sec * 1000 + t1->tv_nsec / 1000000; in res_stats_calculate_rtt()
|
D | stats.h | 60 int res_stats_calculate_rtt(const timespec* t1, const timespec* t0);
|
/packages/apps/Browser2/src/org/chromium/webview_shell/ |
D | StartupTimeActivity.java | 23 long t1 = SystemClock.elapsedRealtime(); in onCreate() local 27 android.util.Log.i("WebViewShell", "WebViewStartupTimeMillis=" + (t2 - t1)); in onCreate()
|
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/ |
D | BaseOverview.java | 119 (t1, t2) -> Integer.compare(t1.getVisibleBounds().width(), in getCurrentTask()
|
/packages/modules/DnsResolver/tests/ |
D | resolv_stress_test.cpp | 80 auto t1 = std::chrono::steady_clock::now(); in RunGetAddrInfoStressTest() local 82 num_queries, std::chrono::duration<double>(t1 - t0).count()); in RunGetAddrInfoStressTest()
|
D | resolv_integration_test.cpp | 774 std::thread t1([&, this]() { in TEST_F() local 824 t1.join(); in TEST_F() 1598 std::thread t1([&hostname]() { in TEST_F() local 1614 t1.join(); in TEST_F() 4317 std::thread t1([&listen_addr1, &hints, this]() { in TEST_F() local 4349 t1.join(); in TEST_F()
|
/packages/modules/ExtServices/src/android/ext/services/storage/ |
D | CacheQuotaServiceImpl.java | 137 public int compare(CacheQuotaHint o, CacheQuotaHint t1) { 138 long x = t1.getUsageStats().getTotalTimeInForeground();
|
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
D | MosaicFrameProcessor.java | 156 long t1 = System.currentTimeMillis(); in processFrame() local 157 mFrameTimestamp[mFillIn] = t1; in processFrame()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | GestureStrokeDrawingPoints.java | 154 final int t1 = eventTimes.get(d1); in interpolateStrokeAndReturnStartIndexOfLastSegment() local 160 eventTimes.addAt(d1, (int)(dt * t) + t1); in interpolateStrokeAndReturnStartIndexOfLastSegment()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | WallpaperOffsetInterpolator.java | 231 float t1 = mInterpolator.getInterpolation(t0); in handleMessage() local 233 (mFinalOffset - mAnimationStartOffset) * t1; in handleMessage()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | GeometryMathUtils.java | 112 float t1 = a1 - b1; in lineIntersect() local 118 float denom = t1 * t4 - t0 * t5; in lineIntersect() 123 b0 + u * t0, b1 + u * t1 in lineIntersect()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accounts/ |
D | AccountPreferenceController.java | 536 public int compare(AccountTypePreference t1, AccountTypePreference t2) { in getAccountTypePreferences() 537 int result = t1.getSummary().toString().compareTo(t2.getSummary().toString()); in getAccountTypePreferences() 539 ? result : t1.getTitle().toString().compareTo(t2.getTitle().toString()); in getAccountTypePreferences()
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
D | AccountPreferenceController.java | 536 public int compare(AccountTypePreference t1, AccountTypePreference t2) { in getAccountTypePreferences() 537 int result = t1.getSummary().toString().compareTo(t2.getSummary().toString()); in getAccountTypePreferences() 539 ? result : t1.getTitle().toString().compareTo(t2.getTitle().toString()); in getAccountTypePreferences()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | CalendarViewAdapter.java | 391 Time t1 = new Time(mTimeZone); in buildWeekDate() local 394 if (t.month != t1.month) { in buildWeekDate()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | SelectFromListWizardFragment.java | 325 public int compare(ListItem t0, ListItem t1) { in VerticalListAdapter() 326 return comparator.compare(t0, t1); in VerticalListAdapter()
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
D | db_rob_image_homography.cpp | 284 double *t1,*t2; in db_RobImageHomographyFetchJacobian() local 290 t1=JtJ_ref[i]; in db_RobImageHomographyFetchJacobian() 294 t1[j]=t2[fetch_vector[j]]; in db_RobImageHomographyFetchJacobian()
|
/packages/services/BuiltInPrintService/jni/plugins/genPCLm/src/ |
D | genPCLm.cpp | 995 ubyte *head, *tail, t0, t1, t2; in prepImageForBacksideDuplex() local 1000 t1 = *(head + 1); in prepImageForBacksideDuplex() 1007 *(tail - 1) = t1; in prepImageForBacksideDuplex()
|