Home
last modified time | relevance | path

Searched refs:re (Results 1 – 25 of 62) 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/Telecomm/scripts/
Daosp_tag_preupload.py3 import re
44 if re.search(AOSP_COMMIT_TAG_REGEX, commit_line, re.IGNORECASE):
52 return re.search(AOSP_BRANCH_REGEX, branch_info) is not None
55 if re.search(AOSP_COMMIT_LINK_REGEX, aosp_line):
58 if re.search(AOSP_INFEASIBLE_REGEX, aosp_line, re.IGNORECASE):
/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/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/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/BugReportApp/utils/
Dbugreport_app_tester.py45 import re
82 PROP_LINE_RE = re.compile(r'^\[(.+)\]: \[(.+)\]$')
160 lines = re.split(r'\r?\n', converted)
213 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/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/modules/NetworkStack/src/com/android/networkstack/metrics/
Dstats.proto66 // The discover packet (re)transmit count
69 // The request packet (re)transmit count
121 // The request packet (re)transmit count
/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/modules/DnsResolver/tests/
Dresolv_stats_test_utils.cpp61 std::regex re(": "); in fromNetworkDnsEventReportedStr() local
62 std::string s = std::regex_replace(str, re, ":"); in fromNetworkDnsEventReportedStr()
/packages/apps/Car/libs/car-ui-lib/tests/tools/
Dquick_rro.py20 import re
135 packages = re.findall('quickrro[a-zA-Z.]+',
/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/Car/tests/
Dreadme.md22 6. Exit and re-open Android Auto
/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/apps/Settings/src/com/android/settings/security/
DCredentialStorage.java344 } catch (RemoteException re) { in checkCallerIsCertInstallerOrSelfInProfile()

123