Home
last modified time | relevance | path

Searched refs:re (Results 1 – 25 of 58) 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/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/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/apps/Settings/src/com/android/settings/display/
DThemePreferenceController.java119 } catch (RemoteException re) { in onPreferenceChange()
120 throw re.rethrowFromSystemServer(); in onPreferenceChange()
167 } catch (RemoteException re) { in getAvailableThemes()
168 throw re.rethrowFromSystemServer(); in getAvailableThemes()
/packages/apps/Settings/src/com/android/settings/development/
DOverlayCategoryPreferenceController.java129 } catch (RemoteException re) { in setOverlay()
130 Log.w(TAG, "Error enabling overlay.", re); in setOverlay()
191 } catch (RemoteException re) { in getOverlayInfos()
192 throw re.rethrowFromSystemServer(); in getOverlayInfos()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/
DOverlayCategoryPreferenceController.java129 } catch (RemoteException re) { in setOverlay()
130 Log.w(TAG, "Error enabling overlay.", re); in setOverlay()
191 } catch (RemoteException re) { in getOverlayInfos()
192 throw re.rethrowFromSystemServer(); in getOverlayInfos()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DThemePreferenceController.java119 } catch (RemoteException re) { in onPreferenceChange()
120 throw re.rethrowFromSystemServer(); in onPreferenceChange()
167 } catch (RemoteException re) { in getAvailableThemes()
168 throw re.rethrowFromSystemServer(); in getAvailableThemes()
/packages/services/Car/tests/BugReportApp/utils/
Dbugreport_app_tester.py42 import re
75 PROP_LINE_RE = re.compile(r'^\[(.+)\]: \[(.+)\]$')
145 lines = re.split(r'\r?\n', converted)
198 pids_raw = [pid.strip() for pid in re.split(r'\s+', ' '.join(lines))]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DAbstractContactsProvider.java232 } catch (RuntimeException re) { in bulkInsert()
234 throw re; in bulkInsert()
280 } catch (RuntimeException re) { in applyBatch()
282 throw re; in applyBatch()
/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()
DDelaunay.h64 void build(int lo, int hi, EdgePointer *le, EdgePointer *re, int rows);
/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/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.java101 } catch (RemoteException re) { in switchUserNow()
102 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.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...
/packages/apps/DocumentsUI/src/com/android/documentsui/theme/
DThemeOverlayManager.java134 } catch (RuntimeException re) { in setEnabledOverlayPackages()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DUtility.java690 } catch (RuntimeException re) {
691 LogUtils.w(LogUtils.TAG, re, "attachmentExists RuntimeException");
/packages/providers/CalendarProvider/tests/
DEMMA_README9 # Also, since we're doing this "the hard way", it's necessary to have
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DOverlayCategoryPreferenceControllerTest.java83 } catch (RemoteException re) { in mockCurrentOverlays()
/packages/services/Mms/src/com/android/mms/service/
DDownloadRequest.java204 } catch (RemoteException re) { in notifyOfDownload()
/packages/apps/Settings/src/com/android/settings/security/
DCredentialStorage.java368 } catch (RemoteException re) { in checkCallerIsCertInstallerOrSelfInProfile()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/security/
DCredentialStorage.java368 } catch (RemoteException re) { in checkCallerIsCertInstallerOrSelfInProfile()

123