/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeConfigPayloadTest.java | 345 ConfigAttribute attribute, int expectedAttributeType, byte[] expectedEncodedAttribute) { in verifyBuildAndEncodeAttributeCommon() argument 346 assertEquals(expectedAttributeType, attribute.attributeType); in verifyBuildAndEncodeAttributeCommon() 348 ByteBuffer buffer = ByteBuffer.allocate(attribute.getAttributeLen()); in verifyBuildAndEncodeAttributeCommon() 349 attribute.encodeAttributeToByteBuffer(buffer); in verifyBuildAndEncodeAttributeCommon() 354 TunnelModeChildConfigAttrIpv4AddressBase attribute, in verifyEncodeIpv4AddressBaseAttribute() argument 359 attribute, expectedAttributeType, expectedEncodedAttribute); in verifyEncodeIpv4AddressBaseAttribute() 360 assertEquals(expectedAddress, attribute.address); in verifyEncodeIpv4AddressBaseAttribute() 364 IkeConfigAttrIpv4AddressBase attribute, in verifyEncodeIpv4AddressBaseAttribute() argument 369 attribute, expectedAttributeType, expectedEncodedAttribute); in verifyEncodeIpv4AddressBaseAttribute() 370 assertEquals(expectedAddress, attribute.address); in verifyEncodeIpv4AddressBaseAttribute() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapMessageListingElement.java | 273 xmlMsgElement.attribute(null, "handle", BluetoothMapUtils.getMapHandle(mCpHandle, mType)); in encode() 286 xmlMsgElement.attribute(null, "subject", in encode() 291 xmlMsgElement.attribute(null, "datetime", in encode() 295 xmlMsgElement.attribute(null, "sender_name", in encode() 299 xmlMsgElement.attribute(null, "sender_addressing", mSenderAddressing); in encode() 302 xmlMsgElement.attribute(null, "replyto_addressing", mReplytoAddressing); in encode() 305 xmlMsgElement.attribute(null, "recipient_name", in encode() 309 xmlMsgElement.attribute(null, "recipient_addressing", mRecipientAddressing); in encode() 313 xmlMsgElement.attribute(null, "type", mType.name()); in encode() 316 xmlMsgElement.attribute(null, "size", Integer.toString(mSize)); in encode() [all …]
|
D | BluetoothMapConvoContactElement.java | 201 xmlConvoElement.attribute(null, XML_ATT_UCI, mUci); in encode() 204 xmlConvoElement.attribute(null, XML_ATT_DISPLAY_NAME, in encode() 208 xmlConvoElement.attribute(null, XML_ATT_NAME, in encode() 212 xmlConvoElement.attribute(null, XML_ATT_CHAT_STATE, String.valueOf(mChatState)); in encode() 215 xmlConvoElement.attribute(null, XML_ATT_LAST_ACTIVITY, this.getLastActivityString()); in encode() 218 xmlConvoElement.attribute(null, XML_ATT_X_BT_UID, mBtUid.toHexString()); in encode() 221 xmlConvoElement.attribute(null, XML_ATT_PRESENCE_AVAILABILITY, in encode() 225 xmlConvoElement.attribute(null, XML_ATT_PRESENCE_STATUS, mPresenceStatus); in encode() 228 xmlConvoElement.attribute(null, XML_ATT_PRIORITY, String.valueOf(mPriority)); in encode()
|
D | BluetoothMapConvoListingElement.java | 266 xmlConvoElement.attribute(null, XML_ATT_ID, mId.toHexString()); in encode() 268 xmlConvoElement.attribute(null, XML_ATT_NAME, in encode() 272 xmlConvoElement.attribute(null, XML_ATT_LAST_ACTIVITY, getLastActivityString()); in encode() 276 xmlConvoElement.attribute(null, XML_ATT_READ, getRead()); in encode() 279 xmlConvoElement.attribute(null, XML_ATT_VERSION_COUNTER, in encode() 283 xmlConvoElement.attribute(null, XML_ATT_SUMMARY, getSummary()); in encode()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/bip/ |
D | BipImageProperties.java | 271 xmlMsgElement.attribute(null, "version", mVersion); in toString() 272 xmlMsgElement.attribute(null, "handle", mImageHandle); in toString() 283 xmlMsgElement.attribute(null, "encoding", encoding.toString()); in toString() 284 xmlMsgElement.attribute(null, "pixel", pixel.toString()); in toString() 286 xmlMsgElement.attribute(null, "size", Integer.toString(size)); in toString() 301 xmlMsgElement.attribute(null, "encoding", encoding.toString()); in toString() 302 xmlMsgElement.attribute(null, "pixel", pixel.toString()); in toString() 304 xmlMsgElement.attribute(null, "maxsize", Integer.toString(maxSize)); in toString() 307 xmlMsgElement.attribute(null, "transformation", trans.toString()); in toString() 324 xmlMsgElement.attribute(null, "content-type", contentType.toString()); in toString() [all …]
|
D | BipImageDescriptor.java | 299 xmlMsgElement.attribute(null, "version", sVersion); in toString() 301 xmlMsgElement.attribute(null, "encoding", mEncoding.toString()); in toString() 302 xmlMsgElement.attribute(null, "pixel", mPixel.toString()); in toString() 304 xmlMsgElement.attribute(null, "size", Integer.toString(mSize)); in toString() 307 xmlMsgElement.attribute(null, "maxsize", Integer.toString(mMaxSize)); in toString() 310 xmlMsgElement.attribute(null, "transformation", mTransformation.toString()); in toString()
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/simaka/ |
D | EapSimAkaTypeData.java | 64 for (EapSimAkaAttribute attribute : attributeMap.values()) { in encode() 65 lengthInBytes += attribute.lengthInBytes; in encode() 74 for (EapSimAkaAttribute attribute : attributeMap.values()) { in encode() 75 attribute.encode(output); in encode() 126 EapSimAkaAttribute attribute = mAttributeFactory.getAttribute(byteBuffer); in decode() local 128 if (attributeMap.containsKey(attribute.attributeType)) { in decode() 134 if (attribute instanceof EapSimAkaUnsupportedAttribute) { in decode() 136 + attribute.attributeType); in decode() 138 attributeMap.put(attribute.attributeType, attribute); in decode()
|
D | EapSimTypeData.java | 77 for (EapSimAkaAttribute attribute : attributes) { in EapSimTypeData() 78 if (attributeMap.containsKey(attribute.attributeType)) { in EapSimTypeData() 80 "Duplicate attribute in attributes: " + attribute.attributeType); in EapSimTypeData() 82 attributeMap.put(attribute.attributeType, attribute); in EapSimTypeData()
|
D | EapAkaTypeData.java | 89 for (EapSimAkaAttribute attribute : attributes) { in EapAkaTypeData() 90 if (attributeMap.containsKey(attribute.attributeType)) { in EapAkaTypeData() 92 "Duplicate attribute in attributes: " + attribute.attributeType); in EapAkaTypeData() 94 attributeMap.put(attribute.attributeType, attribute); in EapAkaTypeData()
|
/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/ |
D | LeanbackUtils.java | 48 public static int getImeAction(EditorInfo attribute) { in getImeAction() argument 49 return attribute.imeOptions in getImeAction() 56 public static int getInputTypeClass(EditorInfo attribute) { in getInputTypeClass() argument 57 return attribute.inputType & EditorInfo.TYPE_MASK_CLASS; in getInputTypeClass() 63 public static int getInputTypeVariation(EditorInfo attribute) { in getInputTypeVariation() argument 64 return attribute.inputType & EditorInfo.TYPE_MASK_VARIATION; in getInputTypeVariation()
|
D | LeanbackKeyboardContainer.java | 727 public void onStartInput(EditorInfo attribute) { in onStartInput() argument 728 setImeOptions(mContext.getResources(), attribute); in onStartInput() local 800 private void setImeOptions(Resources resources, EditorInfo attribute) { in setImeOptions() argument 809 switch (LeanbackUtils.getInputTypeClass(attribute)) { in setImeOptions() 819 switch (LeanbackUtils.getInputTypeVariation(attribute)) { in setImeOptions() 842 mSuggestionsEnabled = (attribute.inputType in setImeOptions() 848 mCapSentences = (attribute.inputType in setImeOptions() 850 mCapWords = ((attribute.inputType & EditorInfo.TYPE_TEXT_FLAG_CAP_WORDS) != 0) || in setImeOptions() 851 (LeanbackUtils.getInputTypeVariation(attribute) in setImeOptions() 853 mCapCharacters = (attribute.inputType in setImeOptions() [all …]
|
D | LeanbackSuggestionsFactory.java | 54 public void onStartInput(EditorInfo attribute) { in onStartInput() argument 57 if ((attribute.inputType & EditorInfo.TYPE_TEXT_FLAG_AUTO_COMPLETE) != 0) { in onStartInput() 61 switch (LeanbackUtils.getInputTypeClass(attribute)) { in onStartInput() 63 switch (LeanbackUtils.getInputTypeVariation(attribute)) { in onStartInput()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/ |
D | ImageWallpaperInfo.java | 122 String attribute = asset.readExifTag(tag); in getAttributions() local 124 if (attribute == null) { in getAttributions() 129 attribute = formatDate(attribute); in getAttributions() 132 attributes.add(attribute); in getAttributions()
|
/packages/apps/CarrierConfig/tests/src/com/android/carrierconfig/ |
D | CarrierConfigTest.java | 78 String attribute = parser.getAttributeName(i); in testFilterValidAttributes() 79 switch (attribute) { in testFilterValidAttributes() 93 fail("Unknown attribute '" + attribute in testFilterValidAttributes() 128 String attribute = parser.getAttributeName(i); in testCarrierConfigFileNaming() 129 switch (attribute) { in testCarrierConfigFileNaming() 149 fail("Unknown attribute '" + attribute in testCarrierConfigFileNaming()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/service/ |
D | BackupHelper.java | 259 serializer.attribute(null, ATTR_PLATFORM_VERSION, in writePkgsAsXml() 262 serializer.attribute(null, ATTR_PLATFORM_VERSION, in writePkgsAsXml() 532 serializer.attribute(null, ATTR_PERMISSION_NAME, mPermissionName); in writeAsXml() 535 serializer.attribute(null, ATTR_IS_GRANTED, "true"); in writeAsXml() 539 serializer.attribute(null, ATTR_USER_SET, "true"); in writeAsXml() 543 serializer.attribute(null, ATTR_USER_FIXED, "true"); in writeAsXml() 547 serializer.attribute(null, ATTR_WAS_REVIEWED, "true"); in writeAsXml() 710 serializer.attribute(null, ATTR_PACKAGE_NAME, mPackageName); in writeAsXml()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/ |
D | ContentUriAsset.java | 182 String attribute = mExifCompat.getAttribute(tagId); in readExifTag() local 183 if (attribute == null || attribute.trim().isEmpty()) { in readExifTag() 187 return attribute.trim(); in readExifTag()
|
/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/service/ |
D | LeanbackImeService.java | 158 public void onStartInput(EditorInfo attribute, boolean restarting) { in onStartInput() argument 159 super.onStartInput(attribute, restarting); in onStartInput() 161 mSuggestionsFactory.onStartInput(attribute); in onStartInput() 162 mKeyboardController.onStartInput(attribute); in onStartInput()
|
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
D | MosaicRendererSurfaceView.java | 204 EGLConfig config, int attribute, int defaultValue) { in findConfigAttrib() argument 206 if (egl.eglGetConfigAttrib(display, config, attribute, mValue)) { in findConfigAttrib() 296 int attribute = attributes[i]; in printConfig() local 298 if (egl.eglGetConfigAttrib(display, config, attribute, value)) { in printConfig()
|
/packages/apps/Dialer/java/com/android/dialer/theme/ |
D | README.md | 13 What is an attribute? There are three types (depending on how you want to define 26 AppCompat attribute in a style, be sure to also define the Legacy version as 32 provide an attribute to tint all of your ImageViews (why would it?), so we 33 created the colorIcon attribute to apply to all ImageViews that show quantum
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
D | RegisteredNfcFServicesCache.java | 500 out.attribute(null, "component", entry.getKey().flattenToString()); in writeDynamicSystemCodeNfcid2Locked() 501 out.attribute(null, "uid", Integer.toString(entry.getValue().uid)); in writeDynamicSystemCodeNfcid2Locked() 502 out.attribute(null, "system-code", entry.getValue().systemCode); in writeDynamicSystemCodeNfcid2Locked() 504 out.attribute(null, "nfcid2", in writeDynamicSystemCodeNfcid2Locked() 513 out.attribute(null, "component", entry.getKey().flattenToString()); in writeDynamicSystemCodeNfcid2Locked() 514 out.attribute(null, "uid", Integer.toString(entry.getValue().uid)); in writeDynamicSystemCodeNfcid2Locked() 515 out.attribute(null, "nfcid2", entry.getValue().nfcid2); in writeDynamicSystemCodeNfcid2Locked()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/ |
D | ArchiveFileTestRule.java | 33 import java.nio.file.attribute.FileAttribute; 34 import java.nio.file.attribute.PosixFilePermission; 35 import java.nio.file.attribute.PosixFilePermissions;
|
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/ |
D | AudioFocusTest.java | 440 private void requestAndLoseFocusForAttribute(AudioAttributes attribute) throws Exception { in requestAndLoseFocusForAttribute() argument 444 .setAudioAttributes(attribute) in requestAndLoseFocusForAttribute() 452 + AudioAttributes.usageToString(attribute.getUsage()); in requestAndLoseFocusForAttribute() 458 + AudioAttributes.usageToString(attribute.getUsage()); in requestAndLoseFocusForAttribute() 464 + AudioAttributes.usageToString(attribute.getUsage()); in requestAndLoseFocusForAttribute()
|
/packages/modules/ExtServices/src/android/ext/services/notification/ |
D | ChannelImpressions.java | 188 out.attribute(null, ATT_DISMISSALS, String.valueOf(mDismissals)); in writeXml() 191 out.attribute(null, ATT_STREAK, String.valueOf(mStreak)); in writeXml() 194 out.attribute(null, ATT_VIEWS, String.valueOf(mViews)); in writeXml()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | AutoInstallsLayout.java | 687 protected static String getAttributeValue(XmlPullParser parser, String attribute) { in getAttributeValue() argument 689 "http://schemas.android.com/apk/res-auto/com.android.launcher3", attribute); in getAttributeValue() 691 value = parser.getAttributeValue(null, attribute); in getAttributeValue() 700 protected static int getAttributeResourceValue(XmlPullParser parser, String attribute, in getAttributeResourceValue() argument 704 "http://schemas.android.com/apk/res-auto/com.android.launcher3", attribute, in getAttributeResourceValue() 707 value = attrs.getAttributeResourceValue(null, attribute, defaultValue); in getAttributeResourceValue()
|
/packages/apps/CarrierConfig/src/com/android/carrierconfig/ |
D | DefaultCarrierConfigService.java | 266 String attribute = parser.getAttributeName(i); in checkFilters() local 268 switch (attribute) { in checkFilters() 306 Log.e(TAG, "Unknown attribute " + attribute + "=" + value); in checkFilters()
|