/development/samples/AndroidBeamDemo/src/com/example/android/beam/ |
Beam.java | 32 import android.text.format.Time; 73 Time time = new Time(); local 74 time.setToNow(); 76 "Beam Time: " + time.format("%H:%M:%S"));
|
/external/apache-http/android/src/android/net/http/ |
LegacyHttpDateTime.java | 19 import android.text.format.Time; 118 Time time = new Time(Time.TIMEZONE_UTC); local 119 time.set(timeOfDay.second, timeOfDay.minute, timeOfDay.hour, date, 121 return time.toMillis(false /* use isDst */);
|
/frameworks/base/core/java/com/android/internal/http/ |
HttpDateTime.java | 19 import android.text.format.Time; 118 Time time = new Time(Time.TIMEZONE_UTC); local 119 time.set(timeOfDay.second, timeOfDay.minute, timeOfDay.hour, date, 121 return time.toMillis(false /* use isDst */);
|
/frameworks/ex/common/java/com/android/common/ |
LegacyHttpDateTime.java | 19 import android.text.format.Time; 118 Time time = new Time(Time.TIMEZONE_UTC); local 119 time.set(timeOfDay.second, timeOfDay.minute, timeOfDay.hour, date, 121 return time.toMillis(false /* use isDst */);
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
TCKLocalizedPrinterParser.java | 60 package tck.java.time.format; 66 import java.time.LocalDate; 67 import java.time.LocalTime; 68 import java.time.format.DateTimeFormatter; 69 import java.time.format.DateTimeFormatterBuilder; 70 import java.time.format.FormatStyle; 71 import java.time.temporal.TemporalAccessor; 169 @DataProvider(name="time") 196 @Test(dataProvider="time") 197 public void test_time_print(LocalTime time, FormatStyle timeStyle, int timeStyleOld, Locale locale) 218 assertEquals(LocalTime.from(parsed), time); local [all...] |
/packages/experimental/NotificationLog/src/com/android/notificationlog/ |
NotificationLogActivity.java | 86 TextView time = (TextView)view.findViewById(R.id.time); local 107 time.setText(new Date(evt.getTimeNanos()/1000000).toString());
|
/art/tools/ahat/src/test/com/android/ahat/ |
PerformanceTest.java | 54 long time = System.currentTimeMillis() - start; local 55 assertTrue("bigArray took too long: " + time + "ms", time < 1000);
|
/cts/tests/tests/nativemedia/aaudio/jni/ |
utils.cpp | 29 struct timespec time; local 30 int result = clock_gettime(clockId, &time); 34 return (time.tv_sec * NANOS_PER_SECOND) + time.tv_nsec;
|
/developers/build/prebuilts/gradle/CustomNotifications/Application/src/main/java/com/example/android/customnotifications/ |
MainActivity.java | 79 final String time = DateFormat.getTimeInstance().format(new Date()).toString(); local 80 final String text = getResources().getString(R.string.collapsed, time);
|
/developers/samples/android/notification/CustomNotifications/Application/src/main/java/com/example/android/customnotifications/ |
MainActivity.java | 79 final String time = DateFormat.getTimeInstance().format(new Date()).toString(); local 80 final String text = getResources().getString(R.string.collapsed, time);
|
/development/samples/browseable/CustomNotifications/src/com.example.android.customnotifications/ |
MainActivity.java | 79 final String time = DateFormat.getTimeInstance().format(new Date()).toString(); local 80 final String text = getResources().getString(R.string.collapsed, time);
|
/development/tools/bugreport/src/com/android/bugreport/logcat/ |
LogLine.java | 50 public GregorianCalendar time; field in class:LogLine
|
/external/blktrace/ |
blkiomon.h | 34 __u64 time; member in struct:blkiomon_stat 81 bstat->time = cpu_to_be64(bstat->time); 104 fprintf(fp, "\ntime: %s", ctime((void *)&p->time));
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/ |
Time.java | 25 * Time ::= CHOICE { 36 public class Time 40 ASN1Primitive time; field in class:Time 42 public static Time getInstance( 52 public Time( 53 ASN1Primitive time) 55 if (!(time instanceof ASN1UTCTime) 56 && !(time instanceof ASN1GeneralizedTime)) 58 throw new IllegalArgumentException("unknown object passed to Time"); 61 this.time = time; [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
Time.java | 20 public class Time 24 ASN1Primitive time; field in class:Time 26 public static Time getInstance( 33 public Time( 34 ASN1Primitive time) 36 if (!(time instanceof ASN1UTCTime) 37 && !(time instanceof ASN1GeneralizedTime)) 39 throw new IllegalArgumentException("unknown object passed to Time"); 42 this.time = time; [all...] |
/external/conscrypt/benchmark-android/src/main/java/org/conscrypt/ |
CaliperClientSocketBenchmark.java | 58 public final void time(int numMessages) throws Exception { method in class:CaliperClientSocketBenchmark 59 benchmark.time(numMessages);
|
/external/conscrypt/common/src/jni/main/include/conscrypt/ |
compat.h | 97 uint64_t time; local 101 time = ((uint64_t)file_time.dwLowDateTime); 102 time += ((uint64_t)file_time.dwHighDateTime) << 32; 104 tp->tv_sec = static_cast<long>((time - EPOCH) / 10000000L); // NOLINT(runtime/int)
|
/external/eigen/bench/btl/actions/ |
action_matrix_matrix_product_bis.hh | 99 // Time measurement 115 double time=chronos.calculated_time/2000.0; local 133 // deallocation and return time 143 return time;
|
/external/eigen/bench/btl/generic_bench/timers/ |
portable_timer.hh | 28 #include <time.h> 36 // A timer object measures CPU time. 69 LARGE_INTEGER time; local 70 time.QuadPart = stopVal.QuadPart - startVal.QuadPart; 71 return LIToSecs(time); 134 #include <sys/time.h>
|
/external/gemmlowp/meta/ |
test_transform_benchmark.cc | 17 #include <sys/time.h> 34 double time() { function 60 double start = time(); 66 double wall_time = time() - start; 80 start = time(); 86 wall_time = time() - start;
|
/external/guava/guava-tests/benchmark/com/google/common/cache/ |
SegmentBenchmark.java | 55 @Benchmark int time(int reps) { method in class:SegmentBenchmark
|
/external/ltp/utils/ffsb-6.0-rc2/ |
rand.c | 22 #include <sys/time.h> 104 struct timeval time; local 120 gettimeofday(&time, NULL); 122 srand48_r(time.tv_sec, &state->data);
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/ |
TwoSecondIntersectionFinder.java | 62 long time = 0; local 66 int currentFragment = (int) (time / track.getTrackMetaData().getTimescale() / 2) + 1; 71 time += entry.getDelta();
|
/external/pdfium/core/fpdfapi/render/ |
cpdf_pagerendercache.cpp | 20 CacheInfo(uint32_t t, CPDF_Stream* stream) : time(t), pStream(stream) {} 22 uint32_t time; member in struct:__anon31050::CacheInfo 25 bool operator<(const CacheInfo& other) const { return time < other.time; } 55 // Check if time value is about to roll over and reset all entries.
|
/external/python/cpython3/Lib/test/ |
test_sched.py | 3 import time 19 def time(self): member in class:Timer 23 # increase the time but not beyond the established limit 33 # advance time limit for user code 46 scheduler = sched.scheduler(time.time, time.sleep) 55 scheduler = sched.scheduler(time.time, time.sleep [all...] |