/frameworks/av/media/module/codecs/m4v_h263/enc/src/ |
D | vlc_encode_inline.h | 26 UInt end, match; in zero_run_search() local 31 match = 1 << 31; in zero_run_search() 37 while (match >= end) in zero_run_search() 39 if ((match&bitmapzz[0]) == 0) in zero_run_search() 43 match >>= 1; in zero_run_search() 47 match >>= 1; in zero_run_search() 72 match = 1 << 31; in zero_run_search() 74 while (match >= end) in zero_run_search() 76 if ((match&bitmapzz[1]) == 0) in zero_run_search() 80 match >>= 1; in zero_run_search() [all …]
|
/frameworks/base/tools/aapt/tests/ |
D | ResourceFilter_test.cpp | 37 EXPECT_TRUE(filter.match(config)); in TEST() 42 EXPECT_TRUE(filter.match(config)); in TEST() 52 EXPECT_TRUE(filter.match(config)); in TEST() 63 EXPECT_TRUE(filter.match(config)); in TEST() 75 EXPECT_TRUE(filter.match(config)); in TEST() 86 EXPECT_TRUE(filter.match(config)); in TEST() 97 EXPECT_FALSE(filter.match(config)); in TEST() 110 EXPECT_FALSE(filter.match(config)); in TEST() 123 EXPECT_TRUE(filter.match(config)); in TEST() 134 EXPECT_TRUE(filter.match(config)); in TEST() [all …]
|
/frameworks/base/core/tests/coretests/src/android/flags/ |
D | IFeatureFlagsFake.java | 47 SyncableFlag match = findFlag(syncableFlag); in overrideFlag() local 48 if (match != null) { in overrideFlag() 49 mOverrides.remove(match); in overrideFlag() 65 SyncableFlag match = findFlag(syncableFlag); in resetFlag() local 66 if (match != null) { in resetFlag() 67 mOverrides.remove(match); in resetFlag() 80 SyncableFlag match = null; in findFlag() local 84 match = sf; in findFlag() 89 return match; in findFlag()
|
/frameworks/base/core/java/android/os/ |
D | PatternMatcher.java | 134 public boolean match(String str) { in match() method in PatternMatcher 214 static boolean matchPattern(String match, String pattern, int[] parsedPattern, int type) { in matchPattern() argument 215 if (match == null) return false; in matchPattern() 217 return pattern.equals(match); in matchPattern() 219 return match.startsWith(pattern); in matchPattern() 221 return matchGlobPattern(pattern, match); in matchPattern() 223 return matchAdvancedPattern(parsedPattern, match); in matchPattern() 225 return match.endsWith(pattern); in matchPattern() 230 static boolean matchGlobPattern(String pattern, String match) { in matchGlobPattern() argument 233 return match.length() <= 0; in matchGlobPattern() [all …]
|
D | UEventObserver.java | 50 private static native void nativeAddMatch(String match); in nativeAddMatch() argument 51 private static native void nativeRemoveMatch(String match); in nativeRemoveMatch() argument 99 public final void startObserving(String match) { in startObserving() argument 100 if (match == null || match.isEmpty()) { in startObserving() 105 t.addObserver(match, this); in startObserving() 223 public void addObserver(String match, UEventObserver observer) { in addObserver() argument 225 mKeysAndObservers.add(match); in addObserver() 227 nativeAddMatch(match); in addObserver() 237 final String match = (String)mKeysAndObservers.remove(i); in removeObserver() local 238 nativeRemoveMatch(match); in removeObserver()
|
/frameworks/av/media/module/foundation/ |
D | ADebug.cpp | 111 char *match = strcasestr(debugName, term); in GetDebugName() local 112 if (match != NULL && (match == debugName || match[-1] == '.' in GetDebugName() 113 || match[len] == '.' || match[len] == '\0')) { in GetDebugName() 114 char *src = match + len; in GetDebugName() 115 if (match == debugName || match[-1] == '.') { in GetDebugName() 118 memmove(match, src, debugName + strlen(debugName) - src + 1); in GetDebugName()
|
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/eab/ |
D | EabProvider.java | 499 int match = URI_MATCHER.match(uri); in query() local 503 Log.d(TAG, "Query URI: " + match); in query() 505 switch (match) { in query() 560 int match = URI_MATCHER.match(uri); in insert() local 563 switch (match) { in insert() 580 Log.d(TAG, "Insert uri: " + match + " ID: " + result); in insert() 594 int match = URI_MATCHER.match(uri); in bulkInsert() local 597 switch (match) { in bulkInsert() 634 Log.d(TAG, "bulkInsert uri: " + match + " count: " + result); in bulkInsert() 641 int match = URI_MATCHER.match(uri); in delete() local [all …]
|
/frameworks/base/tools/aapt/ |
D | ResourceFilter.h | 23 virtual bool match(const android::ResTable_config& config) const = 0; 37 bool match(const android::ResTable_config& config) const; 86 bool match(const android::ResTable_config& config) const { in match() function 112 bool match(const android::ResTable_config& config) const { in match() function 113 return !mFilter->match(config); in match() 129 bool match(const android::ResTable_config& config) const { in match() function 132 if (!mFilters[i]->match(config)) { in match()
|
/frameworks/base/core/jni/ |
D | android_os_UEventObserver.cpp | 48 const String8& match = gMatches.itemAt(i); in isMatch() local 54 if (strstr(field, match.c_str())) { in isMatch() 55 ALOGV("Matched uevent message with pattern: %s", match.c_str()); in isMatch() 92 ScopedUtfChars match(env, matchStr); in nativeAddMatch() local 95 gMatches.add(String8(match.c_str())); in nativeAddMatch() 99 ScopedUtfChars match(env, matchStr); in nativeRemoveMatch() local 103 if (gMatches.itemAt(i) == match.c_str()) { in nativeRemoveMatch()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | LocalProvider.java | 113 int match = sURLMatcher.match(url); in query() local 114 switch (match) { in query() 142 int match = sURLMatcher.match(url); in getType() local 143 switch (match) { in getType() 157 int match = sURLMatcher.match(url); in update() local 159 switch (match) { in update()
|
/frameworks/av/media/codec2/docs/ |
D | doxyfilter.sh | 46 ind = re.match(r'^( *)', line).group(1) 49 m = re.match(r'^ *[*]/', line) 56 m = re.match(r'^ *//', line) 61 m = re.match(r'^ */[*]', line) 66 in_comment = not re.match(r'^ *[*]/', line) 86 if re.match(r'^namespace android {', line): 92 elif re.match(r'^} +// +namespace', line):
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | SuggestionProvider.java | 65 int match = sURLMatcher.match(url); in query() local 66 switch (match) { in query() 87 int match = sURLMatcher.match(url); in getType() local 88 switch (match) { in getType()
|
/frameworks/base/core/java/android/animation/ |
D | StateListAnimator.java | 164 Tuple match = null; in setState() local 169 match = tuple; in setState() 173 if (match == mLastMatch) { in setState() 179 mLastMatch = match; in setState() 180 if (match != null) { in setState() 181 start(match); in setState() 185 private void start(Tuple match) { in start() argument 186 match.mAnimator.setTarget(getTarget()); in start() 187 mRunningAnimator = match.mAnimator; in start()
|
/frameworks/base/tools/bit/ |
D | aapt.cpp | 182 smatch match; in inspect_apk() local 183 if (regex_match(line, match, NS_REGEX)) { in inspect_apk() 184 int depth = match[1].length() / 2; in inspect_apk() 191 scope->namespaces[match[2]] = match[3]; in inspect_apk() 192 } else if (regex_match(line, match, ELEMENT_REGEX)) { in inspect_apk() 195 string str = match[2]; in inspect_apk() 203 element->lineno = atoi(match[3].str().c_str()); in inspect_apk() 204 element->depth = match[1].length() / 2; in inspect_apk() 217 } else if (regex_match(line, match, ATTR_REGEX)) { in inspect_apk() 220 string str = match[2]; in inspect_apk() [all …]
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | InlineSuggestionSessionController.java | 108 if (mImeInputStarted && match(mSession.getRequestInfo())) { in onMakeInlineSuggestionsRequest() 140 if (!mSession.isCallbackInvoked() && match(mSession.getRequestInfo())) { in notifyOnStartInput() 229 boolean match(@Nullable InlineSuggestionsRequestInfo requestInfo) { in match() method in InlineSuggestionSessionController 230 return match(requestInfo, mImeClientPackageName, mImeClientFieldId); in match() 237 boolean match(@Nullable AutofillId autofillId) { in match() method in InlineSuggestionSessionController 238 return match(autofillId, mImeClientFieldId); in match() 241 private static boolean match( in match() method in InlineSuggestionSessionController 249 imeClientPackageName) && match(inlineSuggestionsRequestInfo.getAutofillId(), in match() 253 private static boolean match(@Nullable AutofillId autofillId, in match() method in InlineSuggestionSessionController
|
/frameworks/native/include/ftl/ |
D | match.h | 46 decltype(auto) match(std::variant<Ts...>& variant, Ms&&... matchers) { in decltype() 50 return details::Match<Ts...>::match(variant, matcher); in decltype() 54 decltype(auto) match(const std::variant<Ts...>& variant, Ms&&... matchers) { in decltype() 59 return details::Match<Ts...>::match(variant, matcher); in decltype()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/ |
D | TileRequestDialogEventLoggerTest.kt | 67 uiEventLogger[0].match( in testLogTileAlreadyAdded() 79 uiEventLogger[0].match(TileRequestDialogEvent.TILE_REQUEST_DIALOG_SHOWN, instanceId) in testLogDialogShown() 92 uiEventLogger[0].match(TileRequestDialogEvent.TILE_REQUEST_DIALOG_DISMISSED, instanceId) in testLogDialogDismissed() 106 .match(TileRequestDialogEvent.TILE_REQUEST_DIALOG_TILE_NOT_ADDED, instanceId) in testLogDialogTileNotAdded() 119 uiEventLogger[0].match(TileRequestDialogEvent.TILE_REQUEST_DIALOG_TILE_ADDED, instanceId) in testLogDialogTileAdded() 132 private fun UiEventLoggerFake.FakeUiEvent.match( in match() method in com.android.systemui.qs.external.TileRequestDialogEventLoggerTest
|
/frameworks/av/services/audiopolicy/engineconfigurable/tools/ |
D | buildPolicyCriterionTypes.py | 222 match = criteria_pattern.match(line) 223 if match: 227 criterion_name = criterion_mapping_table[match.groupdict()['type']] 229 ''.join((w.capitalize() for w in match.groupdict()['literal'].split('_'))) 230 criterion_numerical_value = match.groupdict()['values'] 314 match = criteria_pattern.match(line) 315 if match: 319 criterion_name = criterion_mapping_table[match.groupdict()['type']] 321 ''.join((w.capitalize() for w in match.groupdict()['literal'].split('_'))) 322 criterion_numerical_value = match.groupdict()['values']
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/nitz/ |
D | TimeZoneLookupHelper.java | 178 OffsetResult match = lookupByInstantOffsetDst(timeMillis, utcOffsetMillis, isDst); in lookupByNitz() local 179 if (match == null && isDst != null) { in lookupByNitz() 185 match = lookupByInstantOffsetDst(timeMillis, utcOffsetMillis, null /* isDst */); in lookupByNitz() 187 return match; in lookupByNitz() 267 TimeZone match = null; in lookupByInstantOffsetDst() local 272 if (match == null) { in lookupByInstantOffsetDst() 273 match = tz; in lookupByInstantOffsetDst() 281 if (match == null) { in lookupByInstantOffsetDst() 284 return new OffsetResult(match, isOnlyMatch); in lookupByInstantOffsetDst()
|
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/ |
D | CompanionDeviceDiscoveryService.java | 296 final DeviceFilterPair<BluetoothDevice> match = findMatch(device, filters); in findAndReportMatches() local 297 if (match != null) { in findAndReportMatches() 298 onDeviceFound(match); in findAndReportMatches() 423 final DeviceFilterPair<ScanResult> match = findMatch(result, mFilters); in onScanResult() local 424 if (match == null) return; in onScanResult() 427 onDeviceLost(match); in onScanResult() 430 onDeviceFound(match); in onScanResult() 449 final DeviceFilterPair<BluetoothDevice> match = findMatch(device, mFilters); in onReceive() 450 if (match == null) return; in onReceive() 453 onDeviceFound(match); in onReceive() [all …]
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | MemoryFileProvider.java | 120 int match = sURLMatcher.match(url); in getType() local 121 switch (match) { in getType() 133 int match = sURLMatcher.match(url); in openFile() local 134 switch (match) { in openFile()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | SaferIntentUtils.java | 224 boolean match = true; in blockNullAction() 239 match = false; in blockNullAction() 243 match = false; in blockNullAction() 247 if (!match) { in blockNullAction() 299 Boolean match = null; in enforceIntentFilterMatching() local 307 match = false; in enforceIntentFilterMatching() 311 if (match == null) { in enforceIntentFilterMatching() 317 match = true; in enforceIntentFilterMatching() 328 if (match == null) { in enforceIntentFilterMatching() 332 match = false; in enforceIntentFilterMatching() [all …]
|
/frameworks/base/core/java/org/apache/http/conn/ssl/ |
D | AbstractVerifier.java | 157 boolean match = false; in verify() 179 match = hostName.endsWith(cn.substring(1)); in verify() 180 if(match && strictWithSubDomains) { in verify() 183 match = countDots(hostName) == countDots(cn); in verify() 186 match = hostName.equals(cn); in verify() 188 if(match) { in verify() 192 if(!match) { in verify()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/data/ |
D | EuiccRulesAuthTableTest.java | 165 assertTrue(EuiccRulesAuthTable.match("12", "12")); in testMatch() 166 assertTrue(EuiccRulesAuthTable.match("1E", "12")); in testMatch() 167 assertTrue(EuiccRulesAuthTable.match("12E", "12")); in testMatch() 168 assertTrue(EuiccRulesAuthTable.match("EEE", "12")); in testMatch() 169 assertTrue(EuiccRulesAuthTable.match("120", "120")); in testMatch() 170 assertTrue(EuiccRulesAuthTable.match("12E", "120")); in testMatch() 171 assertTrue(EuiccRulesAuthTable.match("EEE", "120")); in testMatch() 173 assertFalse(EuiccRulesAuthTable.match("13", "12")); in testMatch() 174 assertFalse(EuiccRulesAuthTable.match("2E", "12")); in testMatch() 175 assertFalse(EuiccRulesAuthTable.match("123", "120")); in testMatch() [all …]
|
/frameworks/base/core/java/android/text/method/ |
D | DialerKeyListener.java | 69 int match = super.lookup(event, content); in lookup() local 71 if (match != 0) { in lookup() 72 return match; in lookup()
|