/packages/modules/NeuralNetworks/tools/api/ |
D | generate_api.py | 71 match = re.search(LINESEARCH, orig) 72 while match: 74 key = match[2] 81 if match[3] != "": 82 args = re.split("\s+", match[3]) 95 out = out + orig[:match.start(1)] + body_out 96 orig = orig[match.end(4):] 97 match = re.search(LINESEARCH, orig) 155 match = re.search("^(%\S*)", self.line); 156 directive = match[1] [all …]
|
/packages/apps/Gallery2/src/com/android/photos/data/ |
D | PhotoProvider.java | 274 int match = matchUri(uri); in deleteInTransaction() local 275 selection = addIdToSelection(match, selection); in deleteInTransaction() 276 selectionArgs = addIdToSelectionArgs(match, uri, selectionArgs); in deleteInTransaction() 277 return deleteCascade(uri, match, selection, selectionArgs); in deleteInTransaction() 293 int match = matchUri(uri); in insertInTransaction() local 294 validateMatchTable(match); in insertInTransaction() 295 String table = getTableFromMatch(match, uri); in insertInTransaction() 317 int match = matchUri(uri); in query() local 318 selection = addIdToSelection(match, selection); in query() 319 selectionArgs = addIdToSelectionArgs(match, uri, selectionArgs); in query() [all …]
|
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/ |
D | WifiP2pDevice.java | 195 Matcher match; in WifiP2pDevice() local 207 match = twoTokenPattern.matcher(string); in WifiP2pDevice() 208 if (!match.find()) { in WifiP2pDevice() 211 deviceAddress = match.group(2); in WifiP2pDevice() 214 match = threeTokenPattern.matcher(string); in WifiP2pDevice() 215 if (!match.find()) { in WifiP2pDevice() 218 deviceAddress = match.group(1); in WifiP2pDevice() 221 match = detailedDevicePattern.matcher(string); in WifiP2pDevice() 222 if (!match.find()) { in WifiP2pDevice() 226 deviceAddress = match.group(3); in WifiP2pDevice() [all …]
|
D | WifiP2pGroup.java | 128 Matcher match = groupStartedPattern.matcher(supplicantEvent); in WifiP2pGroup() local 129 if (!match.find()) { in WifiP2pGroup() 133 mNetworkName = match.group(1); in WifiP2pGroup() 135 mFrequency = Integer.parseInt(match.group(2)); in WifiP2pGroup() 138 mPassphrase = match.group(4); in WifiP2pGroup() 139 mOwner = new WifiP2pDevice(match.group(5)); in WifiP2pGroup() 140 if (match.group(6) != null) { in WifiP2pGroup()
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | SmsProvider.java | 140 int match = sURLMatcher.match(url); in query() local 141 SQLiteDatabase db = getReadableDatabase(match); in query() 142 switch (match) { in query() 265 if (match == SMS_ALL_ICC) { in query() 276 match == SMS_ALL_ICC ? ICC_URI : ICC_SUBID_URI); in query() 286 if (match == SMS_ICC) { in query() 298 match == SMS_ICC ? ICC_URI : ICC_SUBID_URI); in query() 333 private SQLiteOpenHelper getDBOpenHelper(int match) { in getDBOpenHelper() argument 335 if (match == SMS_RAW_MESSAGE || match == SMS_RAW_MESSAGE_PERMANENT_DELETE) { in getDBOpenHelper() 527 final boolean notifyIfNotDefault = sURLMatcher.match(url) != SMS_RAW_MESSAGE; in bulkInsert() [all …]
|
D | MmsProvider.java | 106 int match = sURLMatcher.match(uri); in query() local 108 Log.v(TAG, "Query uri=" + uri + ", match=" + match); in query() 111 switch (match) { in query() 138 + getMessageBoxByMatch(match)); in query() 264 int match = sURLMatcher.match(uri); in getType() local 265 switch (match) { in getType() 313 int match = sURLMatcher.match(uri); in insert() local 315 Log.v(TAG, "Insert uri=" + uri + ", match=" + match); in insert() 319 switch (match) { in insert() 436 if (match == MMS_MSG_PART) { in insert() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppProvider.java | 169 int match = sURIMatcher.match(uri); in getType() local 170 switch (match) { in getType() 205 if (sURIMatcher.match(uri) != SHARES) { in insert() 273 int match = sURIMatcher.match(uri); in query() local 274 switch (match) { in query() 347 int match = sURIMatcher.match(uri); in update() local 348 switch (match) { in update() 353 if (match == SHARES) { in update() 361 if (match == SHARES_ID) { in update() 384 int match = sURIMatcher.match(uri); in delete() local [all …]
|
/packages/apps/Messaging/build/ |
D | process_style_output.py | 29 match = PATTERN.match(line) variable 30 if match: 31 filename = match.group("file"); 34 message = match.group("message") 37 …print " " + filename + ':' + match.group("line") + (match.group("column") if match.group("column"…
|
/packages/apps/Dialer/java/com/android/dialer/calllog/database/ |
D | AnnotatedCallLogContentProvider.java | 94 int match = uriMatcher.match(uri); in query() local 95 switch (match) { in query() 152 int match = uriMatcher.match(uri); in insert() local 153 switch (match) { in insert() 194 final int match = uriMatcher.match(uri); in delete() local 195 switch (match) { in delete() 234 int match = uriMatcher.match(uri); in update() local 235 switch (match) { in update() 290 int match = uriMatcher.match(operation.getUri()); in applyBatch() local 291 switch (match) { in applyBatch()
|
/packages/services/Telephony/testapps/TestRcsApp/TestApp/src/com/google/android/sample/rcsclient/util/ |
D | ChatProvider.java | 67 int match = URI_MATCHER.match(uri); in query() local 69 Log.d(TAG, "Query URI: " + match); in query() 70 switch (match) { in query() 86 int match = URI_MATCHER.match(uri); in insert() local 88 switch (match) { in insert() 118 int match = URI_MATCHER.match(uri); in update() local 121 switch (match) { in update() 133 Log.d(TAG, "Update uri: " + match + " result: " + result); in update()
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | MmsSmsUtils.java | 79 final Matcher match = NAME_ADDR_EMAIL_PATTERN.matcher(address); in extractAddrSpec() local 81 if (match.matches()) { in extractAddrSpec() 82 return match.group(2); in extractAddrSpec() 99 final Matcher match = Patterns.EMAIL_ADDRESS.matcher(s); in isEmailAddress() local 100 return match.matches(); in isEmailAddress() 122 Matcher match = Patterns.PHONE.matcher(number); in isPhoneNumber() local 123 if (!match.matches()) { in isPhoneNumber() 124 match = PHONE_NUMBER_STARTING_WITH_STAR_PATTERN.matcher(number); in isPhoneNumber() 125 return match.matches(); in isPhoneNumber()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | DomainMatcher.java | 53 Label(int match) { in Label() argument 54 mMatch = match; in Label() 64 public void addDomain(Iterator<String> labels, int match) { in addDomain() argument 75 subLabel.addDomain(labels, match); in addDomain() 78 subLabel.mMatch = match; in addDomain() 165 int match = MATCH_NONE; in isSubDomain() local 171 match = label.getMatch(); in isSubDomain() 172 if (match == MATCH_PRIMARY) { in isSubDomain() 177 return match; in isSubDomain()
|
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | CellBroadcastProvider.java | 163 int match = sUriMatcher.match(uri); in getType() local 164 switch (match) { in getType() 196 int match = sUriMatcher.match(uri); in query() local 197 switch (match) { in query() 223 switch (sUriMatcher.match(uri)) { in insert() 268 switch (sUriMatcher.match(uri)) { in delete() 291 switch (sUriMatcher.match(uri)) { in update() 389 int match = sUriMatcher.match(uri); in checkReadPermission() local 390 switch (match) { in checkReadPermission()
|
/packages/apps/Dialer/java/com/android/dialer/blocking/ |
D | FilteredNumberProvider.java | 68 final int match = uriMatcher.match(uri); in query() local 69 switch (match) { in query() 125 final int match = uriMatcher.match(uri); in delete() local 126 switch (match) { in delete() 146 final int match = uriMatcher.match(uri); in update() local 147 switch (match) { in update()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointProviderTest.java | 670 mProvider.match(anqpElementMap, mRoamingConsortium, createTestScanResult())); in matchFQDNWithoutNAIRealm() 695 mProvider.match(anqpElementMap, mRoamingConsortium, createTestScanResult())); in matchFQDNWithNAIRealmMatch() 721 mProvider.match(anqpElementMap, mRoamingConsortium, createTestScanResult())); in matchFQDNWithNAIRealmMismatch() 745 mProvider.match(anqpElementMap, mRoamingConsortium, createTestScanResult())); in matchFQDNWith3GPPNetworkDomainName() 774 mProvider.match(anqpElementMap, mRoamingConsortium, createTestScanResult())); in matchFQDNOverRoamingProvider() 799 mProvider.match(anqpElementMap, mRoamingConsortium, createTestScanResult())); in matchRoamingConsortiumWithoutNAIRealm() 826 mProvider.match(anqpElementMap, mRoamingConsortium, createTestScanResult())); in matchRoamingConsortiumWithNAIRealmMatch() 851 mProvider.match(anqpElementMap, mRoamingConsortium, createTestScanResult())); in matchRoamingConsortiumWithNAIRealmMisMatch() 874 mProvider.match(anqpElementMap, mRoamingConsortium, createTestScanResult())); in matchRoamingConsortiumIeWithoutNAIRealm() 901 mProvider.match(anqpElementMap, mRoamingConsortium, createTestScanResult())); in matchRoamingConsortiumIeWithNAIRealmMatch() [all …]
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | CallComposerLocationProvider.java | 99 final int match = sURIMatcher.match(uri); in query() local 102 switch (match) { in query() 120 final int match = sURIMatcher.match(uri); in getType() local 121 switch (match) { in getType() 143 final int match = sURIMatcher.match(uri); in delete() local 144 switch (match) { in delete()
|
D | ProfileAwareUriMatcher.java | 115 int match = match(uri); in mapsToProfile() local 116 if (PROFILE_URIS.contains(match)) { in mapsToProfile() 118 } else if (PROFILE_URI_ID_MAP.containsKey(match)) { in mapsToProfile() 119 int idSegment = PROFILE_URI_ID_MAP.get(match); in mapsToProfile() 124 } else if (PROFILE_URI_LOOKUP_KEY_MAP.containsKey(match)) { in mapsToProfile() 125 int lookupKeySegment = PROFILE_URI_LOOKUP_KEY_MAP.get(match); in mapsToProfile()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | DictionaryProvider.java | 171 case 1: return sUriMatcherV1.match(uri); in matchUri() 172 case 2: return sUriMatcherV2.match(uri); in matchUri() 199 final int match = matchUri(uri); in getType() local 200 switch (match) { in getType() 231 final int match = matchUri(uri); in query() local 232 switch (match) { in query() 294 final int match = matchUri(uri); in openAssetFile() local 295 if (DICTIONARY_V1_DICT_INFO != match && DICTIONARY_V2_DATAFILE != match) { in openAssetFile() 437 final int match = matchUri(uri); in delete() local 438 if (DICTIONARY_V1_DICT_INFO == match || DICTIONARY_V2_DATAFILE == match) { in delete() [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
D | ClockProvider.kt | 160 when (sURIMatcher.match(uri)) { in query() 192 return when (sURIMatcher.match(uri)) { in getType() 210 when (sURIMatcher.match(uri)) { in update() 234 val rowId: Long = when (sURIMatcher.match(uri)) { in insert() 250 when (sURIMatcher.match(uri)) { in delete() 286 val match: Int = sURIMatcher.match(uri) in notifyChange() constant 288 if (match == ALARMS || match == INSTANCES || match == ALARMS_ID || match == INSTANCES_ID) { in notifyChange()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
D | TypedUriMatcherImpl.java | 53 public T match(Uri uri) { in match() method in TypedUriMatcherImpl 54 int match = mUriMatcher.match(uri); in match() local 55 if (match == UriMatcher.NO_MATCH) { in match() 58 return mValues[match]; in match()
|
/packages/services/BuiltInPrintService/jni/lib/ |
D | plugin_db.c | 102 _plugin_db_t *match = NULL; in plugin_search() local 112 use = ((match == NULL) || (_plugin[i].priority < match->priority)); in plugin_search() 114 match = &_plugin[i]; in plugin_search() 123 return ((match != NULL) ? match->plugin : NULL); in plugin_search()
|
/packages/providers/CalendarProvider/ |
D | maketests.py | 56 m = TIME.match(s[0]) 65 m = TIMEZ.match(s[0]) 89 re_dtstart = DTSTART_TZID.match(s) 93 re_dtstart = DTSTART.match(s) 96 re_duration = DURATION.match(s) 99 re_rrule = RRULE.match(s)
|
/packages/apps/TV/common/src/com/android/tv/common/ |
D | CommonPreferenceProvider.java | 140 int match = sUriMatcher.match(uri); in query() local 141 if (match != MATCH_PREFERENCE && match != MATCH_PREFERENCE_KEY) { in query() 160 switch (sUriMatcher.match(uri)) { in getType() 181 if (sUriMatcher.match(uri) != MATCH_PREFERENCE) { in insert()
|
/packages/services/Telephony/src/com/android/services/telephony/rcs/ |
D | SipSessionTracker.java | 305 SipDialog match = associatedDialogs.stream() 308 if (match == null) { 313 match = associatedDialogs.get(0).forkDialog(); 314 mTrackedDialogs.add(match); 316 if (match != null) { 317 logi("Dialog: " + match + " is associated with: " + m); 318 updateSipDialogState(match, m); 319 logi("Dialog state updated to " + match);
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/util/ |
D | PduCache.java | 134 int match = URI_MATCHER.match(uri); in purge() local 135 switch (match) { in purge() 153 purgeByMessageBox(MATCH_TO_MSGBOX_ID_MAP.get(match)); in purge() 188 int match = URI_MATCHER.match(uri); in normalizeKey() local 191 switch (match) { in normalizeKey()
|