/packages/providers/CalendarProvider/ |
D | maketests.py | 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/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/classifier/ |
D | Preprocessor.java | 45 private static final Pattern MENTIONS_REGEX = Pattern.compile("@[A-Za-z0-9]+"); 48 private static final Pattern HTML_TAG_REGEX = Pattern.compile("\\<.*?\\>"); 52 private static final Pattern ALPHABET_REGEX = Pattern.compile("[^a-z\\s]|"); 54 private static final Pattern NEW_LINE_REGEX = Pattern.compile("\\n"); 55 private static final Pattern MULTIPLE_SPACES_REGEX = Pattern.compile("\\s+"); 56 private static final Pattern TAB_REGEX = Pattern.compile("\\t");
|
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/ |
D | KeyboardQuickSwitch.java | 34 private static final Pattern EVENT_ALT_TAB_DOWN = Pattern.compile( 37 private static final Pattern EVENT_ALT_TAB_UP = Pattern.compile( 40 private static final Pattern EVENT_ALT_SHIFT_TAB_UP = Pattern.compile( 43 private static final Pattern EVENT_ALT_ESC_UP = Pattern.compile( 46 private static final Pattern EVENT_KQS_ALT_LEFT_UP = Pattern.compile( 49 private static final Pattern EVENT_HOME_ALT_LEFT_UP = Pattern.compile(
|
D | TaskbarAppIcon.java | 27 private static final Pattern LONG_CLICK_EVENT = Pattern.compile("onTaskbarItemLongClick"); 28 private static final Pattern RIGHT_CLICK_EVENT = Pattern.compile("onTaskbarItemRightClick");
|
D | OverviewTask.java | 42 static final Pattern TASK_START_EVENT = Pattern.compile("startActivityFromRecentsAsync"); 43 static final Pattern SPLIT_SELECT_EVENT = Pattern.compile("enterSplitSelect"); 44 static final Pattern SPLIT_START_EVENT = Pattern.compile("launchSplitTasks");
|
/packages/modules/SdkExtensions/ |
D | api-to-sdk-ext-info.py | 31 re_package = re.compile(r"^package (.*?) \{(.*?)^\}", re.M + re.S) 32 re_class = re.compile(r"^ .*? (?:class|interface) (\S+) .*?\{(.*?)^ \}", re.M + re.S) 33 re_method = re.compile("^ (?:ctor|method).* (\S+)\([^)]*\);", re.M) 34 re_field = re.compile(r"^ field.* (\S+)(?: =.*);", re.M)
|
/packages/services/Car/car_product/car_ui_portrait/test/hostsidetests/car/src/android/car/ui/test/ |
D | TaskInfo.java | 53 Pattern taskPattern = Pattern.compile(COMPONENT_PATTERN, Pattern.CASE_INSENSITIVE); in getComponentName() 62 Pattern taskPattern = Pattern.compile(TASK_VISIBILITY, Pattern.CASE_INSENSITIVE); in getVisibility() 72 Pattern taskIdGroupPattern = Pattern.compile(TASK_ID_GROUP_PATTERN); in getTaskId() 76 taskIdGroupPattern = Pattern.compile(TASK_ID_PATTERN); in getTaskId() 89 Pattern taskPattern = Pattern.compile(TASK_PATTERN, Pattern.CASE_INSENSITIVE); in getActiveComponents()
|
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/host/src/android/healthconnect/cts/database/ |
D | HealthConnectDatabaseSchemaParser.java | 94 Pattern tablePattern = Pattern.compile(CREATE_TABLE_REGEX); in getTableInfo() 132 Pattern defaultPattern = Pattern.compile(DEFAULT_VALUE_REGEX); in getTableInfo() 159 Pattern checkPattern = Pattern.compile(CHECK_CONSTRAINT_REGEX); in getTableInfo() 171 Pattern primaryKeyPattern = Pattern.compile(COMPOSITE_PRIMARY_KEY_REGEX); in getTableInfo() 181 Pattern foreignKeyPattern = Pattern.compile(FOREIGN_KEY_REGEX); in getTableInfo() 218 Pattern indexPattern = Pattern.compile(INDEX_REGEX); in getIndexInfo()
|
/packages/modules/NeuralNetworks/tools/systrace_parser/parser/ |
D | input.py | 24 MATCHER = re.compile(r"^\s*([^ ].{1,15})-(\d+)\s+\(\s*([-0-9]+)\) .* (\d+\.\d+): tracing_mark_write… 25 MATCHER_FOR_OLD = re.compile(r"^\s*([^ ].{1,15})-(\d+) .* (\d+\.\d+): tracing_mark_write: ([BE].*)$… 51 mark_matcher = re.compile(r"([BE])\|(\d+).*")
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/provider/ |
D | Query.java | 34 private static final Pattern PATTERN_EPISODE = Pattern.compile( 37 private static final Pattern PATTERN_MOVIE = Pattern.compile( 39 private static final Pattern PATTERN_CLEANUP = Pattern.compile("\\s+");
|
/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | FileUtils.java | 577 .compile("([A-Z0-9_]{4})([0-9]{4})"); 579 .compile("((?:IMG|MVIMG|VID)_[0-9]{8}_[0-9]{6})(?:~([0-9]+))?"); 907 public static final Pattern PATTERN_DOWNLOADS_FILE = Pattern.compile( 909 public static final Pattern PATTERN_DOWNLOADS_DIRECTORY = Pattern.compile( 911 public static final Pattern PATTERN_EXPIRES_FILE = Pattern.compile( 913 public static final Pattern PATTERN_PENDING_FILEPATH_FOR_SQL = Pattern.compile( 965 public static final Pattern PATTERN_OWNED_PATH = Pattern.compile( 975 private static final Pattern PATTERN_OWNED_RELATIVE_PATH = Pattern.compile( 982 private static final Pattern PATTERN_DATA_OR_OBB_PATH = Pattern.compile( 991 private static final Pattern PATTERN_DATA_OR_OBB_RELATIVE_PATH = Pattern.compile( [all …]
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/bip/ |
D | BipPixel.java | 115 Pattern fixed = Pattern.compile("^(\\d{1,5})\\*(\\d{1,5})$"); in BipPixel() 127 Pattern.compile("^(\\d{1,5})\\*(\\d{1,5})-(\\d{1,5})\\*(\\d{1,5})$"); in BipPixel() 138 Pattern fixedRatio = Pattern.compile("^(\\d{1,5})\\*\\*-(\\d{1,5})\\*(\\d{1,5})$"); in BipPixel()
|
/packages/apps/ManagedProvisioning/studio-dev/ManagedProvisioningGradleProject/ |
D | build.gradle | 22 // Whether we should compile SystemUI with Compose enabled or not. 76 rootProject.ext.set("compileSdkPreviewString", properties.getProperty('compile.sdk.preview')) 78 rootProject.ext.set("compileSdkVersionString", properties.getProperty('compile.sdk.version')) 129 * depend on it to compile against codename "UpsideDownCake" of the
|
/packages/modules/Bluetooth/android/pandora/mmi2grpc/mmi2grpc/ |
D | hogp.py | 117 PATTERN = re.compile( 158 PATTERN = re.compile(rf"handle = (?P<handle>\S*)\s* uuid = (?P<uuid>\S*)") 192 PATTERN = re.compile(r"Start Handle: (?P<start_handle>\S*) End Handle: (?P<end_handle>\S*)") 282 PATTERN = re.compile(f"0x{HEX*2}(?:{HEX*2})?")
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/bluetooth/ |
D | BluetoothNameUtils.java | 35 private static final Pattern NAME_PATTERN = Pattern.compile( 37 private static final Pattern COLOR_PATTERN = Pattern.compile(
|
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/ |
D | ProxyUtils.java | 53 HOSTNAME_PATTERN = Pattern.compile(HOSTNAME_REGEXP); 54 EXCLLIST_PATTERN = Pattern.compile(EXCLLIST_REGEXP);
|
/packages/modules/ExtServices/java/src/android/ext/services/notification/ |
D | NotificationOtpDetectionHelper.java | 121 Pattern.compile(ALL_OTP).matcher("")); 132 Pattern.compile(format("%s([0-3]?\\d-[0-3]?\\d-([12]\\d)?\\d\\d)%s", START, END)) 145 Pattern.compile(format("%s|%s", COMMON_YEARS, THREE_LOWERCASE)).matcher("")); 169 return Pattern.compile(regex.toString()).matcher(""); in createDictionaryRegex()
|
/packages/services/Car/service/src/com/android/car/pm/ |
D | WindowDumpParser.java | 41 Pattern dumpSplitter = Pattern.compile("(Window #)|\\n\\n"); in getParsedAppWindows() 44 Pattern windowDetailsPattern = Pattern.compile("\\d*.*\\n" in getParsedAppWindows()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | WifiConfigHelper.java | 71 HOSTNAME_PATTERN = Pattern.compile(HOSTNAME_REGEXP); 72 EXCLUSION_PATTERN = Pattern.compile(EXCLUSION_REGEXP); 73 BYPASS_PROXY_EXCLUSION_PATTERN = Pattern.compile(BYPASS_PROXY_EXCLUDE_LIST_REGEXP);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | NgramContextUtils.java | 34 private static final Pattern NEWLINE_REGEX = Pattern.compile("[\\r\\n]+"); 35 private static final Pattern SPACE_REGEX = Pattern.compile("\\s+");
|
/packages/apps/ManagedProvisioning/studio-dev/ManagedProvisioningGradleProject/buildSrc/src/main/groovy/ |
D | ExcludeUtils.groovy | 22 def toRemove = !regexToKeep.any { absolutePath =~ Pattern.compile(it) } 43 def toRemove = regexToExclude.any { absolutePath =~ Pattern.compile(it) }
|
/packages/apps/TV/common/src/com/android/tv/common/util/ |
D | PostalCodeUtils.java | 50 REGION_PATTERN.put(Locale.US.getCountry(), Pattern.compile(POSTCODE_REGEX_US)); in Locale.US.getCountry() 53 Pattern.compile(POSTCODE_REGEX_GB + "|" + POSTCODE_REGEX_GB_GIR)); in Locale.UK.getCountry()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/ |
D | Address.java | 57 private static final Pattern REMOVE_OPTIONAL_BRACKET = Pattern.compile("^<?([^>]+)>?$"); 59 private static final Pattern REMOVE_OPTIONAL_DQUOTE = Pattern.compile("^\"?([^\"]*)\"?$"); 61 private static final Pattern UNQUOTE = Pattern.compile("\\\\([\\\\\"])"); 74 Pattern.compile("\\A" + LOCAL_PART + "@" + DOMAIN_PART + "\\z");
|
/packages/modules/Bluetooth/system/blueberry/tests/gd/cert/ |
D | os_utils.py | 102 HOST_CRASH_LINE_REGEX = re.compile(r"^.* - crash_callback: (?P<line>.*)$") 104 ASAN_OUTPUT_START_REGEX = re.compile(r"^==.*AddressSanitizer.*$")
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiDiagnosticsTest.java | 554 assertTrue(Pattern.compile("0 .* TX ").matcher(dumpString).find()); in dumpShowsTxAndRxFates() 555 assertTrue(Pattern.compile("1 .* RX ").matcher(dumpString).find()); in dumpShowsTxAndRxFates() 556 assertTrue(Pattern.compile("2 .* TX ").matcher(dumpString).find()); in dumpShowsTxAndRxFates() 557 assertTrue(Pattern.compile("3 .* RX ").matcher(dumpString).find()); in dumpShowsTxAndRxFates() 571 assertTrue(Pattern.compile("0 .* TX ").matcher(dumpString).find()); in dumpShowsTxAndRxFatesVerbose() 572 assertTrue(Pattern.compile("1 .* RX ").matcher(dumpString).find()); in dumpShowsTxAndRxFatesVerbose() 573 assertTrue(Pattern.compile("2 .* TX ").matcher(dumpString).find()); in dumpShowsTxAndRxFatesVerbose() 574 assertTrue(Pattern.compile("3 .* RX ").matcher(dumpString).find()); in dumpShowsTxAndRxFatesVerbose() 588 assertTrue(Pattern.compile( in dumpIsSortedByTimestamp()
|