Home
last modified time | relevance | path

Searched refs:identityType (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Connectivity/nearby/framework/java/android/nearby/
DPrivateCredential.java61 private PrivateCredential(int identityType, byte[] secretId, in PrivateCredential() argument
64 super(CREDENTIAL_TYPE_PRIVATE, identityType, secretId, authenticityKey, in PrivateCredential()
137 public Builder setIdentityType(@IdentityType int identityType) { in setIdentityType() argument
138 mIdentityType = identityType; in setIdentityType()
DPublicCredential.java59 int identityType, in PublicCredential() argument
66 super(CREDENTIAL_TYPE_PUBLIC, identityType, secretId, authenticityKey, credentialElements); in PublicCredential()
182 public Builder setIdentityType(@IdentityType int identityType) { in setIdentityType() argument
183 mIdentityType = identityType; in setIdentityType()
DPresenceCredential.java81 @IdentityType int identityType, in PresenceCredential() argument
86 mIdentityType = identityType; in PresenceCredential()
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/presence/
DExtendedAdvertisement.java74 @PresenceCredential.IdentityType int identityType, in ExtendedAdvertisement()
81 this.mIdentityType = identityType; in ExtendedAdvertisement()
190 @PresenceCredential.IdentityType int identityType = in fromBytes() local
192 if (identityType != PresenceCredential.IDENTITY_TYPE_PRIVATE in fromBytes()
193 && identityType != PresenceCredential.IDENTITY_TYPE_TRUSTED) { in fromBytes()
246 return new ExtendedAdvertisement(identityType, metadataEncryptionKey, saltBytes, keySeed, in fromBytes()
266 private static int toDataType(@PresenceCredential.IdentityType int identityType) { in toDataType() argument
267 switch (identityType) { in toDataType()
DFastAdvertisementUtils.java34 int identityType) { in constructHeader() argument
35 return (byte) (((version << 5) & VERSION_MASK) | ((identityType << 1) in constructHeader()
DFastAdvertisement.java109 @PresenceCredential.IdentityType int identityType, in FastAdvertisement()
115 this.mIdentityType = identityType; in FastAdvertisement()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DAbstractContactAggregator.java745 final String identityType = String.valueOf(mMimeTypeIdIdentity); in buildIdentityMatchingSql() local
753 " WHERE d1." + DataColumns.MIMETYPE_ID + " = " + identityType + in buildIdentityMatchingSql()
754 " AND d2." + DataColumns.MIMETYPE_ID + " = " + identityType + in buildIdentityMatchingSql()