Home
last modified time | relevance | path

Searched refs:PROTOCOL (Results 1 – 25 of 30) sorted by relevance

12

/packages/modules/Connectivity/tests/unit/java/android/net/nsd/
DNsdManagerTest.java72 static final int PROTOCOL = NsdManager.PROTOCOL_DNS_SD; field in NsdManagerTest
225 PROTOCOL).build(); in testRegisterServiceWithAdvertisingRequest()
240 final AdvertisingRequest request = new AdvertisingRequest.Builder(info, PROTOCOL) in testRegisterServiceWithCustomTtl()
263 manager.registerService(request1, PROTOCOL, listener1); in doTestRegisterService()
266 manager.registerService(request2, PROTOCOL, listener2); in doTestRegisterService()
279 manager.registerService(request1, PROTOCOL, listener1); in doTestRegisterService()
324 manager.discoverServices("a_type", PROTOCOL, listener); in doTestDiscoverService()
333 manager.discoverServices("a_type", PROTOCOL, listener); in doTestDiscoverService()
373 manager.discoverServices("a_type", PROTOCOL, listener); in doTestDiscoverService()
466 mustFail(() -> { manager.registerService(null, PROTOCOL, listener1); }); in doTestInvalidCalls()
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/
DContactsUtilsTests.java85 values.put(Im.PROTOCOL, Im.PROTOCOL_CUSTOM); in testImIntentCustom()
108 values.put(Im.PROTOCOL, Im.PROTOCOL_GOOGLE_TALK); in testImIntent()
126 values.put(Im.PROTOCOL, Im.PROTOCOL_GOOGLE_TALK); in testImIntentWithAudio()
147 values.put(Im.PROTOCOL, Im.PROTOCOL_GOOGLE_TALK); in testImIntentWithVideo()
/packages/apps/Settings/src/com/android/settings/network/apn/
DApnRepository.kt45 Telephony.Carriers.PROTOCOL, // 13 in <lambda>()
88 cursor.getString(Telephony.Carriers.PROTOCOL) in <lambda>()
154 Telephony.Carriers.PROTOCOL,
DApnStatus.kt69 Telephony.Carriers.PROTOCOL to context.convertOptions2Protocol(apnProtocol), in getContentValueMap()
DApnEditor.java236 Telephony.Carriers.PROTOCOL, // 16
496 case Telephony.Carriers.PROTOCOL: in getPreferenceFromFieldName()
1068 Telephony.Carriers.PROTOCOL, in validateAndSaveApnData()
DApnEditPageProvider.kt229 enabled = apnData.isFieldEnabled(Telephony.Carriers.PROTOCOL), in ApnPage()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DNsdServiceTest.java166 static final int PROTOCOL = NsdManager.PROTOCOL_DNS_SD; field in NsdServiceTest
359 client.registerService(request, PROTOCOL, listener1); in testClientRequestsAreGCedAtDisconnection()
368 client.discoverServices(SERVICE_TYPE, PROTOCOL, listener2); in testClientRequestsAreGCedAtDisconnection()
398 client.registerService(request, PROTOCOL, listener1); in testCleanupDelayNoRequestActive()
433 client.discoverServices(SERVICE_TYPE, PROTOCOL, discListener); in testDiscoverOnTetheringDownstream()
530 client.discoverServices(SERVICE_TYPE, PROTOCOL, discListener); in testDiscoverOnTetheringDownstream_DiscoveryManager()
581 client.discoverServices(SERVICE_TYPE, PROTOCOL, discListener); in testDiscoverOnBlackholeNetwork()
616 client.registerService(request, PROTOCOL, regListener); in testServiceRegistrationSuccessfulAndFailed()
669 client.discoverServices(SERVICE_TYPE, PROTOCOL, discListener); in testServiceDiscoveryFailed()
1129 client.discoverServices(SERVICE_TYPE, PROTOCOL, discListenerWithoutFeature); in testMdnsDiscoveryManagerFeature()
[all …]
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DConversationMessageData.java738 + DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns.PROTOCOL
739 + " as " + ConversationMessageViewColumns.PROTOCOL + ", "
819 static final String PROTOCOL = MessageColumns.PROTOCOL; field
898 ConversationMessageViewColumns.PROTOCOL,
DMessageData.java52 MessageColumns.PROTOCOL,
426 values.put(MessageColumns.PROTOCOL, mProtocol); in populate()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDataRowHandlerForIm.java41 int protocol = builder.getInt(Im.PROTOCOL); in appendSearchableData()
DLegacyApiSupport.java172 "(CASE WHEN " + StatusUpdates.PROTOCOL + "=" + Im.PROTOCOL_CUSTOM
174 + " ELSE 'pre:'||" + StatusUpdates.PROTOCOL
179 + " THEN (CASE WHEN " + Tables.DATA + "." + Im.PROTOCOL + "=" + Im.PROTOCOL_CUSTOM
181 + " ELSE 'pre:'||" + Tables.DATA + "." + Im.PROTOCOL
1392 mValues.put(Im.PROTOCOL, Integer.parseInt(protocol.substring(4))); in parseContactMethodValues()
1394 mValues.put(Im.PROTOCOL, Im.PROTOCOL_CUSTOM); in parseContactMethodValues()
/packages/apps/Contacts/tests/src/com/android/contacts/model/dataitem/
DDataItemTests.java184 mValues1.put(Im.PROTOCOL, Im.PROTOCOL_CUSTOM); in testDataItemCollapsing_im()
185 mValues2.put(Im.PROTOCOL, Im.PROTOCOL_CUSTOM); in testDataItemCollapsing_im()
186 mValues3.put(Im.PROTOCOL, Im.PROTOCOL_CUSTOM); in testDataItemCollapsing_im()
187 mValues4.put(Im.PROTOCOL, Im.PROTOCOL_AIM); in testDataItemCollapsing_im()
/packages/apps/Messaging/src/com/android/messaging/sms/
DApnDatabase.java80 Telephony.Carriers.PROTOCOL + " TEXT," +
132 Telephony.Carriers.PROTOCOL,
DApnsXmlProcessor.java64 APN_ATTRIBUTE_MAP.put("protocol", Telephony.Carriers.PROTOCOL);
/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/
DImDataItem.java64 return getContentValues().getAsInteger(Im.PROTOCOL); in getProtocol()
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/
DImDataItem.java68 return getContentValues().getAsInteger(Im.PROTOCOL); in getProtocol()
/packages/apps/Contacts/tests/src/com/android/contacts/model/
DRawContactModifierTests.java1043 mockNameValues.put(Im.PROTOCOL, Im.PROTOCOL_JABBER); in testMigrateImFromGoogleToExchange()
1051 mockNameValues.put(Im.PROTOCOL, Im.PROTOCOL_YAHOO); in testMigrateImFromGoogleToExchange()
1058 mockNameValues.put(Im.PROTOCOL, Im.PROTOCOL_CUSTOM); in testMigrateImFromGoogleToExchange()
1067 mockNameValues.put(Im.PROTOCOL, Im.PROTOCOL_GOOGLE_TALK); in testMigrateImFromGoogleToExchange()
1085 assertEquals(Im.PROTOCOL_JABBER, outputValues.getAsInteger(Im.PROTOCOL).intValue()); in testMigrateImFromGoogleToExchange()
1090 assertEquals(Im.PROTOCOL_YAHOO, outputValues.getAsInteger(Im.PROTOCOL).intValue()); in testMigrateImFromGoogleToExchange()
1095 assertEquals(Im.PROTOCOL_CUSTOM, outputValues.getAsInteger(Im.PROTOCOL).intValue()); in testMigrateImFromGoogleToExchange()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DDatabaseHelper.java222 public static final String PROTOCOL = "message_protocol"; field in DatabaseHelper.MessageColumns
280 + MessageColumns.PROTOCOL + " INT DEFAULT(0), "
/packages/services/Mms/src/com/android/mms/service/
DApnSettings.java56 Telephony.Carriers.PROTOCOL,
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyProvider.java60 import static android.provider.Telephony.Carriers.PROTOCOL;
405 CARRIERS_UNIQUE_FIELDS_DEFAULTS.put(PROTOCOL, "IP"); in CARRIERS_UNIQUE_FIELDS_DEFAULTS.put() argument
510 PROTOCOL + " TEXT DEFAULT " + DEFAULT_PROTOCOL + "," + in getStringForCarrierTableCreation()
2343 queryValOrNull(PROTOCOL) + in deleteRow()
2385 whereArgs[i++] = values.containsKey(PROTOCOL) ? in deleteRow()
2386 values.getAsString(PROTOCOL) : DEFAULT_PROTOCOL; in deleteRow()
2490 getStringValueFromCursor(cv, c, PROTOCOL); in copyApnValuesV17()
2528 getStringValueFromCursor(cv, c, PROTOCOL); in copyAllApnValues()
2762 addStringAttribute(parser, "protocol", map, PROTOCOL); in getRow()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DSyncCursorPair.java341 MessageColumns.PROTOCOL,
/packages/apps/Contacts/src/com/android/contacts/model/account/
DBaseAccountType.java343 kind.typeColumn = Im.PROTOCOL; in addDataKindIm()
609 return Im.PROTOCOL; in getTypeColumn()
1194 Im.CONTENT_ITEM_TYPE, Im.PROTOCOL, R.string.imLabelsGroup, Weight.IM, in parseDataKind()
/packages/apps/Dialer/java/com/android/contacts/common/model/account/
DBaseAccountType.java408 kind.typeColumn = Im.PROTOCOL; in addDataKindIm()
768 return Im.PROTOCOL; in getTypeColumn()
1470 Im.PROTOCOL, in parseDataKind()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseContactsProvider2Test.java455 values.put(StatusUpdates.PROTOCOL, protocol); in insertStatusUpdate()
516 values.put(Im.PROTOCOL, protocol); in insertImHandle()
1782 values.put(StatusUpdates.PROTOCOL, protocol); in insertEmail()
DContactsDatabaseHelperUpgradeTest.java633 new TableColumn(StatusUpdates.PROTOCOL, INTEGER, true, null),

12