/external/google-breakpad/src/client/windows/sender/ |
crash_report_sender.cc | 63 int today = GetCurrentDate(); local 64 if (today == last_sent_date_ && 76 ReportSent(today); 102 void CrashReportSender::ReportSent(int today) { 104 if (today != last_sent_date_) { 105 last_sent_date_ = today;
|
crash_report_sender.h | 100 void ReportSent(int today); 102 // Returns today's date (UTC) formatted as YYYYMMDD.
|
/external/chromium-trace/catapult/dashboard/dashboard/ |
bisect_stats.py | 122 today = datetime.date.today() 123 monday = today - datetime.timedelta(days=today.weekday())
|
/external/autotest/frontend/health/ |
passing_experimental_unittest.py | 67 self.mox.StubOutWithMock(MockDatetime, 'today') 84 datetime.datetime.today().AndReturn(self._datetime(2013, 3, 20)) 85 datetime.datetime.today().AndReturn(self._datetime(2013, 3, 20)) 103 datetime.datetime.today().AndReturn(self._datetime(2013, 3, 20)) 104 datetime.datetime.today().AndReturn(self._datetime(2013, 3, 20)) 122 datetime.datetime.today().AndReturn(self._datetime(2013, 3, 20)) 123 datetime.datetime.today().AndReturn(self._datetime(2013, 3, 20)) 141 datetime.datetime.today().AndReturn(self._datetime(2013, 3, 20)) 142 datetime.datetime.today().AndReturn(self._datetime(2013, 3, 20)) 160 datetime.datetime.today().AndReturn(self._datetime(2013, 3, 20) [all...] |
complete_failures.py | 73 cutoff_date = datetime.datetime.today() - cutoff_delta 138 cutoff = (datetime.datetime.today() -
|
passing_experimental.py | 49 failure_cutoff_date = (datetime.datetime.today() - 51 pass_cutoff_date = (datetime.datetime.today() -
|
complete_failures_unittest.py | 153 self.mox.StubOutWithMock(MockDatetime, 'today') 185 datetime.datetime.today().AndReturn(self.datetime(2012, 1, 4)) 212 datetime.datetime.today().AndReturn(self.datetime(2012, 1, 3)) 257 self.mox.StubOutWithMock(MockDatetime, 'today') 273 datetime.datetime.today().AndReturn(self.datetime(2012, 1, 21)) 286 datetime.datetime.today().AndReturn(self.datetime(2012, 1, 21))
|
manual_check_passing_experimental.py | 61 started_time=datetime.datetime.today())
|
complete_failures_functional_test.py | 58 # so that the today class method can be directly mocked out. It is necesarry 78 # All of our tests will involve mocking out the datetime.today() class 80 self.mox.StubOutWithMock(MockDatetime, 'today') 122 MockDatetime.today().AndReturn(self.datetime(2012, 1, 21)) 123 MockDatetime.today().AndReturn(self.datetime(2012, 1, 21))
|
passing_experimental_functional_test.py | 30 # so that the today class method can be directly mocked out. It is necesarry 51 # All of our tests will involve mocking out the datetime.today() class 53 self.mox.StubOutWithMock(MockDatetime, 'today') 104 MockDatetime.today().AndReturn(self.datetime(2012, 1, 21)) 105 MockDatetime.today().AndReturn(self.datetime(2012, 1, 21))
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
DateUtils.java | 233 final Calendar today = Calendar.getInstance(); local 234 today.setTime(new Date()); 236 // Round the current time to the exact start of today so that when we compare 237 // today against the target date, both dates are set to exactly 0000H. 238 today.set(Calendar.HOUR_OF_DAY, 0); 239 today.set(Calendar.MINUTE, 0); 240 today.set(Calendar.SECOND, 0); 241 today.set(Calendar.MILLISECOND, 0); 249 // Convert from the UTC date to the local date. Set the year to today's year if the 251 anniversary.set(!isYearSet ? today.get(Calendar.YEAR) : targetYear [all...] |
/frameworks/base/libs/hwui/tests/macrobench/ |
TestSceneRunner.cpp | 46 T add(T today) { 48 mAverage = today; 50 mAverage = (((mWeight - 1) * mAverage) + today) / mWeight;
|
/development/samples/Wiktionary/src/com/example/android/wiktionary/ |
WordWidget.java | 53 // Build the widget update for today 84 Time today = new Time(); local 85 today.setToNow(); 87 // Build the page title for today, such as "March 21" 89 monthNames[today.month], today.monthDay); 93 // Try querying the Wiktionary API for today's word
|
/development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/ |
WordWidget.java | 54 // Build the widget update for today 73 Time today = new Time(); local 74 today.setToNow(); 76 // Build today's page title, like "Wiktionary:Word of the day/March 21" 78 monthNames[today.month], today.monthDay); 83 // Try querying the Wiktionary API for today's word
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
DateFormatRegressionTestJ.java | 182 Date today = cal.getTime(); local 185 logln(sdf.format(today)); 187 logln(sdf.format(today)); 190 logln(sdf.format(today)); 193 logln(sdf.format(today)); 196 logln(sdf.format(today));
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
DateFormatRegressionTestJ.java | 178 Date today = cal.getTime(); local 181 logln(sdf.format(today)); 183 logln(sdf.format(today)); 186 logln(sdf.format(today)); 189 logln(sdf.format(today)); 192 logln(sdf.format(today));
|
/external/autotest/server/cros/ |
repair_utils_unittest.py | 48 self.mox.StubOutWithMock(MockDatetime, 'today') 86 datetime.datetime.today().AndReturn(datetime.datetime(2012,1,1)) 121 datetime.datetime.today().AndReturn(datetime.datetime(2012,1,1)) 147 datetime.datetime.today().AndReturn(datetime.datetime(2012, 1, 2, 0,
|
/external/autotest/site_utils/ |
collect_host_stats.py | 108 today = datetime.combine(date.today(), datetime.min.time()) 109 end_time = time_utils.to_epoch_time(today)
|
/libcore/luni/src/test/java/libcore/icu/ |
LocaleDataTest.java | 26 // System.err.format("%20s %s %s %s\n", l, d.yesterday, d.today, d.tomorrow); 55 assertEquals("Today", l.today); 63 assertEquals("Heute", l.today); 84 assertEquals("??", l.today);
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
Utils.java | 100 * Default seed of the random is today's date. 132 String today = dateFormat.format(new Date()); local 133 Log.d(TAG, "Today's random seed is " + today); 134 return Long.valueOf(today);
|
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/src/ |
deprecation.js | 21 var today = new Date(); 25 if (today < expiry) {
|
/external/clang/docs/ |
conf.py | 45 copyright = u'2007-%d, The Clang Team' % date.today().year 60 # There are two options for replacing |today|: either, you set today to some 62 #today = ''
|
/external/llvm/docs/ |
conf.py | 44 copyright = u'2003-%d, LLVM Project' % date.today().year 59 # There are two options for replacing |today|: either, you set today to some 61 #today = ''
|
/external/skia/tools/copyright/ |
fileparser.py | 61 DEFAULT_YEAR = datetime.date.today().year
|
/external/chromium-trace/catapult/third_party/Paste/tests/test_util/ |
test_datetimeutil.py | 58 assert(date.today() == parse_date("today")) 59 assert(date.today() == parse_date("now"))
|