Home
last modified time | relevance | path

Searched refs:re (Results 1 – 25 of 61) sorted by relevance

123

/packages/apps/Camera2/tests/exiftool_parser/
Dparser.py17 import re
35 p = re.compile(
38 , re.M)
67 _id = re.search("0x[0-9a-f]{4}", s)
71 name = re.search("[0-9]*?\).*?(?:(?: = )|(?: \(SubDirectory\) -->))", s)
75 value = re.search("\(SubDirectory\) -->", s)
79 value = re.search("\(.*\)\n", s)
83 value = re.search("=.*\n", s)
/packages/services/Car/tools/bootanalyze/
Dbugreport_anayze.py25 import re
138 self.re_log_start = re.compile(LOG_START_PATTERN)
139 self.re_log_end = re.compile(LOG_END_PATTERN)
142 self.event_patterns = {key: re.compile(pattern)
144 self.timing_patterns = {key: re.compile(pattern)
146 self.shutdown_event_patterns = {key: re.compile(pattern)
154 self.re_time_dmesg = re.compile(TIME_DMESG)
155 self.re_time_logcat = re.compile(TIME_LOGCAT)
156 self.re_native_crash_start = re.compile(NATIVE_CRASH_START_PATTERN)
157 self.re_native_crash = re.compile(NATIVE_CRASH_PATTERN)
[all …]
Dbootanalyze.py28 import re
96 search_events_pattern = {key: re.compile(pattern)
98 timing_events_pattern = {key: re.compile(pattern)
100 shutdown_events_pattern = {key: re.compile(pattern)
454 m = re.search(fs_stat_pattern, logcat_events.get("FsStat"))
685 pattern = re.compile(BOOT_PROP)
686 pattern_bootloader = re.compile(BOOTLOADER_TIME_PROP)
719 found = re.findall(pattern, line)
/packages/providers/CalendarProvider/
Dmaketests.py13 import sys, urllib, re
35 DTSTART_TZID = re.compile("DTSTART;TZID=(.*):(.*)")
36 DTSTART = re.compile("DTSTART:(.*)")
37 DURATION = re.compile("DURATION:(.*)")
38 RRULE = re.compile("RRULE:(.*)")
39 TIME = re.compile("(....)-(..)-(..)T(..):(..):(..)....([+-])(..):(..)")
40 TIMEZ = re.compile("(....)-(..)-(..)T(..):(..):(..)....Z")
/packages/apps/Calendar/src/com/android/calendar/
DCalendarEventModel.java151 ReminderEntry re = (ReminderEntry) obj; in equals() local
153 if (re.mMinutes != mMinutes) { in equals()
160 return re.mMethod == mMethod || in equals()
161 (re.mMethod == Reminders.METHOD_DEFAULT && mMethod == Reminders.METHOD_ALERT) || in equals()
162 (re.mMethod == Reminders.METHOD_ALERT && mMethod == Reminders.METHOD_DEFAULT); in equals()
175 public int compareTo(ReminderEntry re) { in compareTo() argument
176 if (re.mMinutes != mMinutes) { in compareTo()
177 return re.mMinutes - mMinutes; in compareTo()
179 if (re.mMethod != mMethod) { in compareTo()
180 return mMethod - re.mMethod; in compareTo()
/packages/apps/Messaging/build/
Dcolorize_errors.py20 import re
27 ERROR = re.compile(r"^Error:")
28 WARNING = re.compile(r"^Warning:")
29 STARTS_WITH_WS = re.compile(r"^\s")
Dprocess_style_output.py20 import re
26 PATTERN = re.compile(r"(?P<file>[^:]+):(?P<line>\d+)(?P<column>:\d+)?:\s(?P<message>.*)")
/packages/services/Car/tools/io_analysis/
Dcheck_verity.py21 import re
80 self.re = re.compile(RE_VERITY)
83 match = self.re.match(line)
Dcheck_file_read.py21 import re
231 self.re_open = re.compile(RE_DO_SYS_OPEN)
232 self.re_ext4_access = re.compile(RE_EXT4_MA_BLOCKS_EXIT)
233 self.re_bio_remap = re.compile(RE_BLOCK_BIO_REMAP)
234 self.re_block_issue = re.compile(RE_BLOCK_RQ_ISSUE)
Dcheck_io_trace.py21 import re
61 self.re_block_queue = re.compile(RE_BLOCK_BIO_QUEUE)
184 prog = re.compile(RE_BLOCK)
Dcheck_io_trace_all.py21 import re
123 self.re_block = re.compile(RE_BLOCK)
304 self.re_switch = re.compile(RE_SCHED_SWITCH)
305 self.re_reason = re.compile(RE_SCHED_BLOCKED_READSON)
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DDelaunay.cpp73 void CDelaunay::build(int lo, int hi, EdgePointer *le, EdgePointer *re, int rows) in build() argument
103 *re = rdo; in build()
108 *re = (EdgePointer) sym(a); in build()
117 *re = c; in build()
120 *re = (EdgePointer) sym(b); in build()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DAbstractContactsProvider.java273 } catch (RuntimeException re) { in bulkInsert()
275 throw re; in bulkInsert()
320 } catch (RuntimeException re) { in applyBatch()
322 throw re; in applyBatch()
/packages/apps/Email/provider_src/com/android/email/mail/store/imap/
DImapTempFileLiteral.java108 } catch (RuntimeException re) { in destroy()
110 LogUtils.w(Logging.LOG_TAG, "Failed to remove temp file: " + re.getMessage()); in destroy()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/imap/
DImapTempFileLiteral.java104 } catch (RuntimeException re) { in destroy()
106 LogUtils.w(TAG, "Failed to remove temp file: " + re.getMessage()); in destroy()
/packages/apps/Calendar/src/com/android/calendar/event/
DEditEventHelper.java844 ReminderEntry re = reminders.get(i); in saveReminders() local
847 values.put(Reminders.MINUTES, re.getMinutes()); in saveReminders()
848 values.put(Reminders.METHOD, re.getMethod()); in saveReminders()
888 ReminderEntry re = reminders.get(i); in saveRemindersWithBackRef() local
891 values.put(Reminders.MINUTES, re.getMinutes()); in saveRemindersWithBackRef()
892 values.put(Reminders.METHOD, re.getMethod()); in saveRemindersWithBackRef()
DEditEventView.java1018 for (ReminderEntry re : reminders) { in prepareReminders()
1019 if (mReminderMethodValues.contains(re.getMethod())) { in prepareReminders()
1021 mReminderMinuteLabels, re.getMinutes()); in prepareReminders()
1029 for (ReminderEntry re : reminders) { in prepareReminders()
1030 if (mReminderMethodValues.contains(re.getMethod()) in prepareReminders()
1031 || re.getMethod() == Reminders.METHOD_DEFAULT) { in prepareReminders()
1034 mReminderMethodLabels, re, Integer.MAX_VALUE, null); in prepareReminders()
1037 mUnsupportedReminders.add(re); in prepareReminders()
DEditEventFragment.java313 ReminderEntry re = ReminderEntry.valueOf(minutes, method); in onQueryComplete() local
314 mModel.mReminders.add(re); in onQueryComplete()
315 mOriginalModel.mReminders.add(re); in onQueryComplete()
/packages/apps/Email/provider_src/com/android/email/service/
DImapTempFileLiteral.java111 } catch (RuntimeException re) { in destroy()
113 LogUtils.w(Logging.LOG_TAG, "Failed to remove temp file: " + re.getMessage()); in destroy()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DUserSwitchListenerService.java102 } catch (RemoteException re) { in switchUserNow()
103 Log.e(TAG, "Caught exception while switching user! ", re); in switchUserNow()
/packages/apps/Launcher3/
Dprint_db.py7 import re
292 match = re.search(r"(\d+)x(\d+)", str)
/packages/inputmethods/LatinIME/dictionaries/
Dfr_wordlist.combined.gz
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DSecurityFragment.java429 } catch (RemoteException re) { in switchUserNow()
430 Log.e(TAG, "Caught exception while switching user! ", re); in switchUserNow()
/packages/services/Car/tools/bootio/
DREADME.md20 forget to delete it when you're done collecting data.
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DUtility.java690 } catch (RuntimeException re) {
691 LogUtils.w(LogUtils.TAG, re, "attachmentExists RuntimeException");

123