Home
last modified time | relevance | path

Searched refs:contact (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/presence/pidfparser/
DPidfParserTest.java72 String contact = "<contact>sip:test</contact>"; in testConvertToPidf() local
76 assertTrue(pidfResult.contains(contact)); in testConvertToPidf()
85 final String contact = "sip:+11234567890@test"; in testConvertFromPidfToRcsContactUceCapability() local
92 String pidfData = getPidfData(contact, serviceId, serviceDescription, isAudioSupported, in testConvertFromPidfToRcsContactUceCapability()
101 assertEquals(Uri.parse(contact), capabilities.getContactUri()); in testConvertFromPidfToRcsContactUceCapability()
102 assertEquals(Uri.parse(contact), capabilities.getEntityUri()); in testConvertFromPidfToRcsContactUceCapability()
115 assertEquals(Uri.parse(contact), presenceTuple1.getContactUri()); in testConvertFromPidfToRcsContactUceCapability()
124 final String contact = "tel:+11234567890"; in testConvertFromNewlineIncludedPidfToRcsContactUceCapability() local
131 .setContactUri(Uri.parse(contact)); in testConvertFromNewlineIncludedPidfToRcsContactUceCapability()
138 .setContactUri(Uri.parse(contact)); in testConvertFromNewlineIncludedPidfToRcsContactUceCapability()
[all …]
DRcsContactUceCapabilityWrapperTest.java67 final Uri contact = Uri.fromParts("sip", "test", null); in getRcsContactUceCapabilityWrapper() local
68 RcsContactUceCapabilityWrapper wrapper = new RcsContactUceCapabilityWrapper(contact, in getRcsContactUceCapabilityWrapper()
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/presence/pidfparser/pidf/
DContactTest.java60 Contact contact = new Contact(); in testElementName() local
62 assertEquals(PidfConstant.NAMESPACE, contact.getNamespace()); in testElementName()
63 assertEquals(Contact.ELEMENT_NAME, contact.getElementName()); in testElementName()
71 Contact contact = new Contact(); in testSerializing() local
72 contact.setContact(testedContact); in testSerializing()
78 contact.serialize(serializer); in testSerializing()
106 Contact contact = null; in testParsing() local
113 contact = new Contact(); in testParsing()
114 contact.parse(parser); in testParsing()
122 assertNotNull(contact); in testParsing()
[all …]
DPresenceTest.java77 String contact = Uri.fromParts("sip", "test", null).toString(); in testSerializing() local
81 Tuple tuple1 = getTuple(Basic.OPEN, serviceId1, description1, contact); in testSerializing()
85 Tuple tuple2 = getTuple(Basic.OPEN, serviceId2, description2, contact); in testSerializing()
88 presence.setEntity(contact); in testSerializing()
119 final String contact = Uri.fromParts("sip", "test", null).toString(); in testParsing() local
126 .append("<presence entity=\"").append(contact).append("\"") in testParsing()
160 assertEquals(contact, presence.getEntity()); in testParsing()
170 assertEquals(contact, PidfParserUtils.getTupleContact(tuple)); in testParsing()
176 final String contact = Uri.fromParts("sip", "test", null).toString(); in testMalformedParsing() local
189 .append("<presence entity=\"").append(contact).append("\"") in testMalformedParsing()
[all …]
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
DUsbHid.java107 final Contact contact = contacts[i]; in generateReport() local
109 buffer.put((byte)((contact.id << 2) | 0x03)); in generateReport()
111 buffer.put((byte)contact.x).put((byte)(contact.x >> 8)); in generateReport()
113 buffer.put((byte)contact.y).put((byte)(contact.y >> 8)); in generateReport()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/presence/pidfparser/pidf/
DContact.java62 public void setContact(String contact) { in setContact() argument
63 mContact = contact; in setContact()
105 String contact = parser.getText(); in parse() local
106 if (!TextUtils.isEmpty(contact)) { in parse()
107 mContact = contact; in parse()
DTuple.java103 public void setContact(Contact contact) { in setContact() argument
104 mContact = contact; in setContact()
209 Contact contact = new Contact(); in parse() local
210 contact.parse(parser); in parse()
211 mContact = contact; in parse()
DPresence.java66 public Presence(@NonNull Uri contact) { in Presence() argument
67 initEntity(contact); in Presence()
70 private void initEntity(Uri contact) { in initEntity() argument
71 mEntity = contact.toString(); in initEntity()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/presence/pidfparser/
DPidfParserUtils.java265 Contact contact = tuple.getContact(); in getTupleContact() local
266 if (contact != null) { in getTupleContact()
267 return contact.getContact(); in getTupleContact()
299 public static RcsContactUceCapability getTerminatedCapability(Uri contact, String reason) { in getTerminatedCapability() argument
308 contact, RcsContactUceCapability.SOURCE_TYPE_NETWORK, requestResult); in getTerminatedCapability()
315 public static RcsContactUceCapability getNotFoundContactCapabilities(Uri contact) { in getNotFoundContactCapabilities() argument
317 new RcsContactUceCapability.PresenceBuilder(contact, in getNotFoundContactCapabilities()
DRcsContactUceCapabilityWrapper.java50 public RcsContactUceCapabilityWrapper(@NonNull Uri contact, int sourceType, int requestResult) { in RcsContactUceCapabilityWrapper() argument
51 mContactUri = contact; in RcsContactUceCapabilityWrapper()
DPidfParser.java248 String contact = PidfParserUtils.getTupleContact(tuple); in getRcsContactPresenceTuple() local
249 if (!TextUtils.isEmpty(contact)) { in getRcsContactPresenceTuple()
250 builder.setContactUri(Uri.parse(contact)); in getRcsContactPresenceTuple()
/frameworks/base/telephony/java/android/telephony/ims/
DRcsContactUceCapability.java125 public OptionsBuilder(@NonNull Uri contact) { in OptionsBuilder() argument
126 mCapabilities = new RcsContactUceCapability(contact, CAPABILITY_MECHANISM_OPTIONS, in OptionsBuilder()
137 public OptionsBuilder(@NonNull Uri contact, @SourceType int sourceType) { in OptionsBuilder() argument
138 mCapabilities = new RcsContactUceCapability(contact, CAPABILITY_MECHANISM_OPTIONS, in OptionsBuilder()
195 public PresenceBuilder(@NonNull Uri contact, @SourceType int sourceType, in PresenceBuilder() argument
197 mCapabilities = new RcsContactUceCapability(contact, CAPABILITY_MECHANISM_PRESENCE, in PresenceBuilder()
DRcsContactTerminatedReason.java34 public RcsContactTerminatedReason(Uri contact, String reason) { in RcsContactTerminatedReason() argument
35 mContactUri = contact; in RcsContactTerminatedReason()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/eab/
DEabUtil.java47 public static String getContactFromEab(Context context, String contact) { in getContactFromEab() argument
56 new String[]{contact}, null)) { in getContactFromEab() argument
83 public static String getCapabilityFromEab(Context context, String contact) { in getCapabilityFromEab() argument
93 new String[]{contact}, null)) { in getCapabilityFromEab() argument
129 for (String contact : contactList) { in removeContactFromEab()
130 int contactId = getEabContactId(contact, context); in removeContactFromEab()
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/
DUceControllerTest.java196 Uri contact = Uri.fromParts("sip", "test", null); in testRequestAvailabilityWithRcsDisconnected() local
197 uceController.requestAvailability(contact, mCapabilitiesCallback); in testRequestAvailabilityWithRcsDisconnected()
212 Uri contact = Uri.fromParts("sip", "test", null); in testRequestAvailabilityWithForbidden() local
213 uceController.requestAvailability(contact, mCapabilitiesCallback); in testRequestAvailabilityWithForbidden()
226 Uri contact = Uri.fromParts("sip", "test", null); in testRequestAvailabilityWithRcsConnected() local
227 uceController.requestAvailability(contact, mCapabilitiesCallback); in testRequestAvailabilityWithRcsConnected()
229 verify(mTaskManager).sendAvailabilityRequest(contact, mCapabilitiesCallback); in testRequestAvailabilityWithRcsConnected()
/frameworks/av/
DOWNERS2 ## Only contact for camera changes as a fallback
10 ## Only contact for media changes as a fallback
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIccProvider.java496 Object[] contact = new Object[5]; in loadRecord() local
501 contact[0] = alphaTag; in loadRecord()
502 contact[1] = number; in loadRecord()
512 contact[2] = emailString.toString(); in loadRecord()
523 contact[3] = anrString.toString(); in loadRecord()
526 contact[4] = id; in loadRecord()
527 cursor.addRow(contact); in loadRecord()
/frameworks/libs/systemui/weathereffects/graphics/assets/shaders/
Drain_constants.agsl20 // The color of the contact ambient occlusion shadow.
29 // The multiplier for the contact shadow of the drops.
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/util/
DFeatureTags.java144 public static RcsContactUceCapability getContactCapability(Uri contact, in getContactCapability() argument
146 OptionsBuilder builder = new OptionsBuilder(contact, sourceType); in getContactCapability()
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/request/
DUceRequestManagerTest.java276 Uri contact = Uri.fromParts("sip", "test", null); in testRequestManagerCallback() local
278 uriList.add(contact); in testRequestManagerCallback()
287 requestMgrCallback.getAvailabilityFromCache(contact); in testRequestManagerCallback()
288 verify(mCallback).getAvailabilityFromCache(contact); in testRequestManagerCallback()
355 Uri contact = Uri.fromParts("sip", "test", null); in testRetrieveCapForRemote() local
359 requestManager.retrieveCapabilitiesForRemote(contact, remoteCapList, mOptionsReqCallback); in testRetrieveCapForRemote()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java817 private ChipBitmapContainer createChipBitmap(RecipientEntry contact, TextPaint paint) { in createChipBitmap() argument
818 paint.setColor(getDefaultChipTextColor(contact)); in createChipBitmap()
819 ChipBitmapContainer bitmapContainer = createChipBitmap(contact, paint, in createChipBitmap()
820 getChipBackground(contact), getDefaultChipBackgroundColor(contact)); in createChipBitmap()
823 loadAvatarIcon(contact, bitmapContainer); in createChipBitmap()
828 private ChipBitmapContainer createChipBitmap(RecipientEntry contact, TextPaint paint, in createChipBitmap() argument
834 if (contact.getIndicatorIconId() != 0) { in createChipBitmap()
835 indicatorIcon = getContext().getDrawable(contact.getIndicatorIconId()); in createChipBitmap()
852 boolean displayIcon = contact.isValid() && contact.shouldDisplayIcon(); in createChipBitmap()
857 contact.getDestination()); in createChipBitmap()
[all …]
/frameworks/base/tools/lint/utils/checks/src/main/java/com/google/android/lint/
DAndroidUtilsIssueRegistry.kt41 contact = "tweek@google.com"
/frameworks/base/core/java/android/provider/
Dflags.aconfig23 description: "This flag controls new E2EE contact keys API"
/frameworks/base/tools/lint/global/checks/src/main/java/com/google/android/lint/
DAndroidGlobalIssueRegistry.kt46 contact = "repsonsible-apis@google.com"
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/request/
DOptionsRequest.java157 private RcsContactUceCapability getContactCapabilities(Uri contact, int sipCode, in getContactCapabilities() argument
179 = new RcsContactUceCapability.OptionsBuilder(contact, SOURCE_TYPE_NETWORK); in getContactCapabilities()

12