Home
last modified time | relevance | path

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

123456

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/simaka/
DEapAkaPrimeTypeDataTest.java26 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
27 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
28 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
29 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
150 LinkedHashMap<Integer, EapSimAkaAttribute> attributes = new LinkedHashMap<>(); in testEncode() local
151 attributes.put(EAP_AT_RAND, new AtRandAka(RAND_BYTES)); in testEncode()
152 attributes.put(EAP_AT_AUTN, new AtAutn(AUTN_BYTES)); in testEncode()
153 attributes.put(EAP_AT_KDF_INPUT, new AtKdfInput(AT_KDF_INPUT.length, NETWORK_NAME_BYTES)); in testEncode()
154 attributes.put(EAP_AT_KDF, new AtKdf(KDF_VERSION)); in testEncode()
155 attributes.put(EAP_AT_MAC, new AtMac(MAC_BYTES)); in testEncode()
[all …]
DEapSimTypeDataTest.java28 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
29 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
72 List<EapSimAkaAttribute> attributes = Arrays.asList( in testConstructor() local
75 EapSimTypeData eapSimTypeData = new EapSimTypeData(EAP_SIM_START, attributes); in testConstructor()
158 LinkedHashMap<Integer, EapSimAkaAttribute> attributes = new LinkedHashMap<>(); in testEncode() local
159 attributes.put(EAP_AT_VERSION_LIST, new AtVersionList(8, 1)); in testEncode()
160 attributes.put(EAP_AT_PERMANENT_ID_REQ, new AtPermanentIdReq()); in testEncode()
161 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.java254 private static ContentValues toContentValues(@Nullable final NetworkAttributes attributes) { in toContentValues() argument
256 if (null == attributes) return values; in toContentValues()
257 if (null != attributes.assignedV4Address) { in toContentValues()
259 inet4AddressToIntHTH(attributes.assignedV4Address)); in toContentValues()
261 if (null != attributes.assignedV4AddressExpiry) { in toContentValues()
263 attributes.assignedV4AddressExpiry); in toContentValues()
265 if (null != attributes.cluster) { in toContentValues()
266 values.put(NetworkAttributesContract.COLNAME_CLUSTER, attributes.cluster); in toContentValues()
268 if (null != attributes.dnsAddresses) { in toContentValues()
270 encodeAddressList(attributes.dnsAddresses)); in toContentValues()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DRinger.java233 RingerAttributes attributes = null; in startRinging() local
235 attributes = ringerAttributesFuture.get( in startRinging()
242 if (attributes == null) { in startRinging()
247 if (attributes.isEndEarly()) { in startRinging()
248 if (attributes.letDialerHandleRinging()) { in startRinging()
251 if (attributes.isSilentRingingRequested()) { in startRinging()
258 return attributes.shouldAcquireAudioFocus(); in startRinging()
267 if (attributes.isRingerAudible()) { in startRinging()
301 + attributes.getInaudibleReason()); in startRinging()
306 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/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DFocusEntryTest.java114 AudioAttributes attributes = new AudioAttributes.Builder().build(); in getInfoWithFlags() local
115 return getInfo(attributes, flags); in getInfoWithFlags()
122 AudioAttributes attributes = new AudioAttributes.Builder() in getInfoThatReceivesDuckingEvents() local
125 return getInfo(attributes, DEFAULT_FLAGS); in getInfoThatReceivesDuckingEvents()
128 private AudioFocusInfo getInfo(AudioAttributes attributes, int flags) { in getInfo() argument
129 return new AudioFocusInfo(attributes, CLIENT_UID, CLIENT_ID, PACKAGE_NAME, in getInfo()
DCarZonesAudioFocusUnitTest.java248 AudioAttributes attributes = new AudioAttributes.Builder().setUsage(USAGE_MEDIA).build(); in generateAudioFocusRequest() local
249 return generateAudioFocusInfoWithAttributes(attributes); in generateAudioFocusRequest()
256 AudioAttributes attributes = new AudioAttributes.Builder() in generateAudioFocusInfoWithBundledZoneId() local
260 return generateAudioFocusInfoWithAttributes(attributes); in generateAudioFocusInfoWithBundledZoneId()
263 private static AudioFocusInfo generateAudioFocusInfoWithAttributes(AudioAttributes attributes) { in generateAudioFocusInfoWithAttributes() argument
264 return new AudioFocusInfo(attributes, CLIENT_UID, CLIENT_ID, in generateAudioFocusInfoWithAttributes()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/simaka/attributes/
DAtIdReqTest.java17 package com.android.internal.net.eap.test.message.simaka.attributes;
22 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
23 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
24 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
25 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
26 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
27 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
DAtRandSimTest.java17 package com.android.internal.net.eap.test.message.simaka.attributes;
21 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
22 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
23 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
24 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
25 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
DAtResTest.java17 package com.android.internal.net.eap.test.message.simaka.attributes;
20 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
21 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
22 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
23 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
24 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
DAtCounterTest.java17 package com.android.internal.net.eap.test.message.simaka.attributes;
21 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
22 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
23 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
24 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
25 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
DAtNotificationTest.java17 package com.android.internal.net.eap.test.message.simaka.attributes;
22 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
23 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
24 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
25 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
DAtKdfInputTest.java17 package com.android.internal.net.eap.test.message.simaka.attributes;
20 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
21 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
22 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
DAtClientErrorCodeTest.java17 package com.android.internal.net.eap.test.message.simaka.attributes;
21 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
22 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
23 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
DAtKdfTest.java17 package com.android.internal.net.eap.test.message.simaka.attributes;
20 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
21 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
22 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
DAtAutnTest.java17 package com.android.internal.net.eap.test.message.simaka.attributes;
20 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
21 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
22 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
/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()
274 int identifier, int eapSubtype, byte[] extraData, List<EapSimAkaAttribute> attributes) { in buildResponseMessageWithMac() argument
276 attributes = new ArrayList<>(attributes); in buildResponseMessageWithMac()
277 attributes.add(new AtMac()); in buildResponseMessageWithMac()
278 EapSimAkaTypeData eapSimAkaTypeData = getEapSimAkaTypeData(eapSubtype, attributes); in buildResponseMessageWithMac()
360 int eapSubtype, List<EapSimAkaAttribute> attributes); in getEapSimAkaTypeData() argument
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/
DEapSimAkaMethodStateMachineTest.java63 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
64 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
65 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
66 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
67 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
68 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
191 int eapSubtype, List<EapSimAkaAttribute> attributes) { in setUp()
192 return new EapSimTypeData(eapSubtype, attributes); in setUp()
216 List<EapSimAkaAttribute> attributes = new ArrayList<>(); in testBuildResponseMessage() local
217 attributes.add(new AtSelectedVersion(1)); in testBuildResponseMessage()
[all …]
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/ipmemorystore/
DNetworkAttributes.java248 public Builder(@NonNull final NetworkAttributes attributes) { in Builder() argument
249 mAssignedAddress = attributes.assignedV4Address; in Builder()
250 mAssignedAddressExpiry = attributes.assignedV4AddressExpiry; in Builder()
251 mCluster = attributes.cluster; in Builder()
252 mDnsAddresses = new ArrayList<>(attributes.dnsAddresses); in Builder()
253 mMtu = attributes.mtu; in Builder()
254 mIpv6ProvLossQuirk = attributes.ipv6ProvisioningLossQuirk; in Builder()
/packages/apps/Settings/src/com/android/settings/widget/
DVideoPreference.java71 TypedArray attributes = context.getTheme().obtainStyledAttributes( in initialize() local
80 ? attributes.getResourceId(R.styleable.VideoPreference_animation, 0) in initialize()
83 ? attributes.getResourceId(R.styleable.VideoPreference_preview, 0) in initialize()
85 mVectorAnimationId = attributes.getResourceId( in initialize()
103 attributes.recycle(); in initialize()
/packages/modules/Connectivity/framework/src/android/net/
DQosCallbackConnection.java77 @NonNull final EpsBearerQosSessionAttributes attributes) { in onQosEpsBearerSessionAvailable() argument
82 callback.onQosSessionAvailable(session, attributes); in onQosEpsBearerSessionAvailable()
96 @NonNull final NrQosSessionAttributes attributes) { in onNrQosSessionAvailable() argument
101 callback.onQosSessionAvailable(session, attributes); in onNrQosSessionAvailable()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/
DEapTestMessageDefinitions.java20 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
21 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
22 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
23 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
24 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
25 import static com.android.internal.net.eap.test.message.simaka.attributes.EapTestAttributeDefinitio…
/packages/modules/ExtServices/java/src/android/ext/services/notification/
DNotificationEntry.java160 AudioAttributes attributes = getChannel().getAudioAttributes(); in calculateAudioAttributes() local
161 if (attributes == null) { in calculateAudioAttributes()
162 attributes = Notification.AUDIO_ATTRIBUTES_DEFAULT; in calculateAudioAttributes()
168 attributes = n.audioAttributes; in calculateAudioAttributes()
171 attributes = new AudioAttributes.Builder() in calculateAudioAttributes()
178 return attributes; in calculateAudioAttributes()

123456