Home
last modified time | relevance | path

Searched refs:attributes (Results 1 – 25 of 104) sorted by relevance

12345

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/simaka/
DEapAkaPrimeTypeDataTest.java26 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.AT…
27 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.KD…
28 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.NE…
29 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.NE…
130 LinkedHashMap<Integer, EapSimAkaAttribute> attributes = new LinkedHashMap<>(); in testEncode() local
131 attributes.put(EAP_AT_RAND, new AtRandAka(RAND_BYTES)); in testEncode()
132 attributes.put(EAP_AT_AUTN, new AtAutn(AUTN_BYTES)); in testEncode()
133 attributes.put(EAP_AT_KDF_INPUT, new AtKdfInput(AT_KDF_INPUT.length, NETWORK_NAME_BYTES)); in testEncode()
134 attributes.put(EAP_AT_KDF, new AtKdf(KDF_VERSION)); in testEncode()
135 attributes.put(EAP_AT_MAC, new AtMac(MAC_BYTES)); in testEncode()
[all …]
DEapSimTypeDataTest.java64 List<EapSimAkaAttribute> attributes = Arrays.asList( in testConstructor() local
67 EapSimTypeData eapSimTypeData = new EapSimTypeData(EAP_SIM_START, attributes); in testConstructor()
141 LinkedHashMap<Integer, EapSimAkaAttribute> attributes = new LinkedHashMap<>(); in testEncode() local
142 attributes.put(EAP_AT_VERSION_LIST, new AtVersionList(8, 1)); in testEncode()
143 attributes.put(EAP_AT_PERMANENT_ID_REQ, new AtPermanentIdReq()); in testEncode()
144 EapSimTypeData eapSimTypeData = new EapSimTypeData(EAP_SIM_START, attributes); in testEncode()
/packages/modules/NetworkStack/src/com/android/server/connectivity/ipmemorystore/
DIpMemoryStoreService.java168 @Nullable final NetworkAttributesParcelable attributes, in storeNetworkAttributes() argument
174 final NetworkAttributes na = null == attributes ? null : new NetworkAttributes(attributes); in storeNetworkAttributes()
222 @Nullable final NetworkAttributes attributes, in storeNetworkAttributesAndBlobSync() argument
226 if (null == attributes && null == data) return ERROR_ILLEGAL_ARGUMENT; in storeNetworkAttributesAndBlobSync()
234 IpMemoryStoreDatabase.storeNetworkAttributes(mDb, l2Key, newExpiry, attributes); in storeNetworkAttributesAndBlobSync()
242 + "} ; NetworkAttributes {" + (null == attributes ? "null" : attributes) in storeNetworkAttributesAndBlobSync()
266 public void findL2Key(@Nullable final NetworkAttributesParcelable attributes, in findL2Key() argument
271 if (null == attributes) { in findL2Key()
280 new NetworkAttributes(attributes)); in findL2Key()
360 final NetworkAttributes attributes = in retrieveNetworkAttributes() local
[all …]
DIpMemoryStoreDatabase.java248 private static ContentValues toContentValues(@Nullable final NetworkAttributes attributes) { in toContentValues() argument
250 if (null == attributes) return values; in toContentValues()
251 if (null != attributes.assignedV4Address) { in toContentValues()
253 inet4AddressToIntHTH(attributes.assignedV4Address)); in toContentValues()
255 if (null != attributes.assignedV4AddressExpiry) { in toContentValues()
257 attributes.assignedV4AddressExpiry); in toContentValues()
259 if (null != attributes.cluster) { in toContentValues()
260 values.put(NetworkAttributesContract.COLNAME_CLUSTER, attributes.cluster); in toContentValues()
262 if (null != attributes.dnsAddresses) { in toContentValues()
264 encodeAddressList(attributes.dnsAddresses)); in toContentValues()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DRinger.java237 RingerAttributes attributes = null; in startRinging() local
239 attributes = ringerAttributesFuture.get( in startRinging()
246 if (attributes == null) { in startRinging()
251 if (attributes.isEndEarly()) { in startRinging()
252 if (attributes.letDialerHandleRinging()) { in startRinging()
255 if (attributes.isSilentRingingRequested()) { in startRinging()
262 return attributes.shouldAcquireAudioFocus(); in startRinging()
271 if (attributes.isRingerAudible()) { in startRinging()
323 + attributes.getInaudibleReason()); in startRinging()
328 final boolean shouldRingForContact = attributes.shouldRingForContact(); in startRinging()
[all …]
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/
DOtherDetailsActivity.java141 StringBuilder attributes = new StringBuilder(); in updateViews() local
149 attributes.append(duration); in updateViews()
150 attributes.append('\n'); in updateViews()
155 attributes.append(date); in updateViews()
156 attributes.append('\n'); in updateViews()
163 attributes.append(latlong); in updateViews()
164 attributes.append('\n'); in updateViews()
166 attributesView.setText(attributes); in updateViews()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/simaka/attributes/
DAtIdReqTest.java17 package com.android.internal.net.eap.message.simaka.attributes;
22 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.AN…
23 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.AT…
24 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.AT…
25 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.AT…
26 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.FU…
27 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.PE…
DAtRandSimTest.java17 package com.android.internal.net.eap.message.simaka.attributes;
21 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.AT…
22 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.AT…
23 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.AT…
24 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.RA…
25 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.RA…
DAtResTest.java17 package com.android.internal.net.eap.message.simaka.attributes;
20 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.AT…
21 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.AT…
22 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.AT…
23 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.AT…
24 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.RE…
DAtCounterTest.java17 package com.android.internal.net.eap.message.simaka.attributes;
21 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.AT…
22 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.AT…
23 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.AT…
24 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.AT…
25 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.CO…
DAtNotificationTest.java17 package com.android.internal.net.eap.message.simaka.attributes;
22 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.AT…
23 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.AT…
24 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.AT…
25 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.NO…
DAtRandAkaTest.java17 package com.android.internal.net.eap.message.simaka.attributes;
20 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.AT…
21 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.AT…
22 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.RA…
DAtAutnTest.java17 package com.android.internal.net.eap.message.simaka.attributes;
20 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.AT…
21 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.AT…
22 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.AU…
DAtKdfTest.java17 package com.android.internal.net.eap.message.simaka.attributes;
20 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.AT…
21 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.AT…
22 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.KD…
DAtAutsTest.java17 package com.android.internal.net.eap.message.simaka.attributes;
20 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.AT…
21 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.AT…
22 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.AU…
DAtKdfInputTest.java17 package com.android.internal.net.eap.message.simaka.attributes;
20 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.AT…
21 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.AT…
22 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.NE…
DAtNonceMtTest.java17 package com.android.internal.net.eap.message.simaka.attributes;
20 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.AT…
21 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.AT…
22 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.NO…
DAtClientErrorCodeTest.java17 package com.android.internal.net.eap.message.simaka.attributes;
21 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.AT…
22 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.AT…
23 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.ER…
DAtVersionListTest.java17 package com.android.internal.net.eap.message.simaka.attributes;
21 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.AT…
22 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.AT…
23 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.VE…
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/
DEapSimAkaMethodStateMachineTest.java56 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.AT…
57 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.ID…
58 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.NO…
59 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.NO…
60 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.RA…
61 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.RA…
157 int eapSubtype, List<EapSimAkaAttribute> attributes) { in setUp()
158 return new EapSimTypeData(eapSubtype, attributes); in setUp()
182 List<EapSimAkaAttribute> attributes = new ArrayList<>(); in testBuildResponseMessage() local
183 attributes.add(new AtSelectedVersion(1)); in testBuildResponseMessage()
[all …]
/packages/apps/Dialer/java/com/android/dialer/theme/
DREADME.md11 style attributes live.
16 * Legacy Android attributes (android:colorPrimary). These are defined by the
20 * Appcompat Android attributes (colorPrimary). There are also defined by the
24 with all of the same attributes plus some. *Note:* Unfortunately our app
29 * Custom application attributes (colorIcon). It goes without saying that the
30 names can't collide with the framework attributes. These attributes server
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/
DEapSimAkaMethodStateMachine.java157 List<EapSimAkaAttribute> attributes) { in buildResponseMessage() argument
158 EapSimAkaTypeData eapSimTypeData = getEapSimAkaTypeData(eapSubtype, attributes); in buildResponseMessage()
276 int identifier, int eapSubtype, byte[] extraData, List<EapSimAkaAttribute> attributes) { in buildResponseMessageWithMac() argument
278 attributes = new ArrayList<>(attributes); in buildResponseMessageWithMac()
279 attributes.add(new AtMac()); in buildResponseMessageWithMac()
280 EapSimAkaTypeData eapSimAkaTypeData = getEapSimAkaTypeData(eapSubtype, attributes); in buildResponseMessageWithMac()
362 int eapSubtype, List<EapSimAkaAttribute> attributes); in getEapSimAkaTypeData() argument
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/
DEapTestMessageDefinitions.java20 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.AT…
21 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.ID…
22 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.NO…
23 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.RA…
24 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.RA…
25 import static com.android.internal.net.eap.message.simaka.attributes.EapTestAttributeDefinitions.RE…
/packages/modules/ExtServices/src/android/ext/services/notification/
DNotificationEntry.java165 AudioAttributes attributes = getChannel().getAudioAttributes(); in calculateAudioAttributes() local
166 if (attributes == null) { in calculateAudioAttributes()
167 attributes = Notification.AUDIO_ATTRIBUTES_DEFAULT; in calculateAudioAttributes()
175 attributes = n.audioAttributes; in calculateAudioAttributes()
179 attributes = new AudioAttributes.Builder() in calculateAudioAttributes()
186 return attributes; in calculateAudioAttributes()
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/ipmemorystore/
DNetworkAttributes.java228 public Builder(@NonNull final NetworkAttributes attributes) { in Builder() argument
229 mAssignedAddress = attributes.assignedV4Address; in Builder()
230 mAssignedAddressExpiry = attributes.assignedV4AddressExpiry; in Builder()
231 mCluster = attributes.cluster; in Builder()
232 mDnsAddresses = new ArrayList<>(attributes.dnsAddresses); in Builder()
233 mMtu = attributes.mtu; in Builder()

12345