/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/ |
D | EapSimStartStateTest.java | 80 private LinkedHashMap<Integer, EapSimAkaAttribute> mAttributes; field in EapSimStartStateTest 96 mAttributes = new LinkedHashMap<>(); in setUp() 129 mAttributes.put(EAP_AT_VERSION_LIST, new AtVersionList(8, 1)); in testIsValidStartAttributes() 130 mAttributes.put(EAP_AT_PERMANENT_ID_REQ, new AtPermanentIdReq()); in testIsValidStartAttributes() 131 EapSimTypeData eapSimTypeData = new EapSimTypeData(EAP_SIM_START, mAttributes); in testIsValidStartAttributes() 137 mAttributes.put(EAP_AT_PERMANENT_ID_REQ, new AtPermanentIdReq()); in testIsValidStartAttributesMissingVersionList() 138 EapSimTypeData eapSimTypeData = new EapSimTypeData(EAP_SIM_START, mAttributes); in testIsValidStartAttributesMissingVersionList() 144 mAttributes.put(EAP_AT_VERSION_LIST, new AtVersionList(8, 1)); in testIsValidStartAttributesMultipleIdRequests() 145 mAttributes.put(EAP_AT_PERMANENT_ID_REQ, new AtPermanentIdReq()); in testIsValidStartAttributesMultipleIdRequests() 146 mAttributes.put(EAP_AT_ANY_ID_REQ, new AtAnyIdReq()); in testIsValidStartAttributesMultipleIdRequests() [all …]
|
/packages/apps/Camera2/src/com/android/camera/data/ |
D | FilmstripItemAttributes.java | 39 private final EnumSet<Attributes> mAttributes; field in FilmstripItemAttributes 45 mAttributes = attributes; in FilmstripItemAttributes() 49 return mAttributes.contains(Attributes.HAS_DETAILED_CAPTURE_INFO); in hasDetailedCaptureInfo() 54 return mAttributes.contains(Attributes.CAN_SHARE); in canShare() 59 return mAttributes.contains(Attributes.CAN_EDIT); in canEdit() 64 return mAttributes.contains(Attributes.CAN_DELETE); in canDelete() 68 return mAttributes.contains(Attributes.CAN_SWIPE_AWAY); in canSwipeAway() 72 return mAttributes.contains(Attributes.CAN_ZOOM_IN_PLACE); in canZoomInPlace() 76 return mAttributes.contains(Attributes.IS_RENDERING); in isRendering() 81 return mAttributes.contains(Attributes.IS_IMAGE); in isImage() [all …]
|
D | PlaceholderItem.java | 47 private final FilmstripItemAttributes mAttributes; field in PlaceholderItem 76 mAttributes = PLACEHOLDER_ITEM_ATTRIBUTES; in PlaceholderItem() 86 return mAttributes; in getAttributes()
|
D | FilmstripItemBase.java | 49 protected final FilmstripItemAttributes mAttributes; field in FilmstripItemBase 59 mAttributes = attributes; in FilmstripItemBase() 116 return mAttributes; in getAttributes()
|
D | SessionItem.java | 44 private final FilmstripItemAttributes mAttributes; field in SessionItem 79 mAttributes = new FilmstripItemAttributes.Builder() in SessionItem() 169 return mAttributes; in getAttributes()
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
D | Diff.java | 79 if (null == dict0.mOptions.mAttributes.get("locale")) return false; in languageDiffers() 80 if (null == dict1.mOptions.mAttributes.get("locale")) return false; in languageDiffers() 81 final String dict0Lang = dict0.mOptions.mAttributes.get("locale").split("_", 3)[0]; in languageDiffers() 82 final String dict1Lang = dict1.mOptions.mAttributes.get("locale").split("_", 3)[0]; in languageDiffers() 88 final HashMap<String, String> options1 = new HashMap<>(dict1.mOptions.mAttributes); in diffHeaders() 89 for (final String optionKey : dict0.mOptions.mAttributes.keySet()) { in diffHeaders() 90 if (!dict0.mOptions.mAttributes.get(optionKey).equals( in diffHeaders() 91 dict1.mOptions.mAttributes.get(optionKey))) { in diffHeaders() 93 + dict0.mOptions.mAttributes.get(optionKey) + " <=> " in diffHeaders() 94 + dict1.mOptions.mAttributes.get(optionKey)); in diffHeaders()
|
D | CombinedInputOutput.java | 205 destination.write(CombinedFormatUtils.formatAttributeMap(dict.mOptions.mAttributes)); in writeDictionaryCombined()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | BinaryDictUtils.java | 41 options.mAttributes.put(DictionaryHeader.DICTIONARY_LOCALE_KEY, "en_US"); in makeDictionaryOptions() 42 options.mAttributes.put(DictionaryHeader.DICTIONARY_ID_KEY, id); in makeDictionaryOptions() 43 options.mAttributes.put(DictionaryHeader.DICTIONARY_VERSION_KEY, version); in makeDictionaryOptions() 45 options.mAttributes.put(DictionaryHeader.HAS_HISTORICAL_INFO_KEY, in makeDictionaryOptions() 47 options.mAttributes.put(DictionaryHeader.USES_FORGETTING_CURVE_KEY, in makeDictionaryOptions()
|
D | Ver4DictEncoder.java | 61 dict.mOptions.mAttributes.get(DictionaryHeader.DICTIONARY_LOCALE_KEY)), in writeDictionary() 62 dict.mOptions.mAttributes)) { in writeDictionary() 68 LocaleUtils.constructLocaleFromString(dict.mOptions.mAttributes.get( in writeDictionary()
|
D | BinaryDictEncoderUtils.java | 784 for (final String key : dict.mOptions.mAttributes.keySet()) { in writeDictionaryHeader() 785 final String value = dict.mOptions.mAttributes.get(key); in writeDictionaryHeader()
|
D | BinaryDictDecoderEncoderTests.java | 304 fileHeader.mDictionaryOptions.mAttributes.containsKey(codePointTableAttribute)); in testCharacterTableIsPresent() 306 fileHeader.mDictionaryOptions.mAttributes.get(codePointTableAttribute); in testCharacterTableIsPresent()
|
D | FusionDictionary.java | 239 mOptions.mAttributes.put(key, value); in addOptionAttribute()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
D | FormatSpec.java | 272 public final HashMap<String, String> mAttributes; field in FormatSpec.DictionaryOptions 274 mAttributes = attributes; in DictionaryOptions() 290 for (final String optionKey : mAttributes.keySet()) { in toString() 297 1000 * Long.parseLong(mAttributes.get(optionKey))).toString()); in toString() 299 s.append(mAttributes.get(optionKey)); in toString()
|
D | DictionaryHeader.java | 66 final String localeString = dictionaryOptions.mAttributes.get(DICTIONARY_LOCALE_KEY); in DictionaryHeader() 70 final String versionString = dictionaryOptions.mAttributes.get(DICTIONARY_VERSION_KEY); in DictionaryHeader() 75 final String idString = dictionaryOptions.mAttributes.get(DICTIONARY_ID_KEY); in DictionaryHeader() 89 return mDictionaryOptions.mAttributes.get(DICTIONARY_DESCRIPTION_KEY);
|
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/dicttool/ |
D | BinaryDictOffdeviceUtilsTests.java | 84 testOptions.mAttributes.put(DictionaryHeader.DICTIONARY_VERSION_KEY, VERSION); in testGetRawDictWorks() 85 testOptions.mAttributes.put(DictionaryHeader.DICTIONARY_LOCALE_KEY, LOCALE); in testGetRawDictWorks() 86 testOptions.mAttributes.put(DictionaryHeader.DICTIONARY_ID_KEY, ID); in testGetRawDictWorks() 115 assertEquals("Wrong version attribute", VERSION, resultDict.mOptions.mAttributes.get( in testGetRawDictWorks() 117 assertEquals("Wrong locale attribute", LOCALE, resultDict.mOptions.mAttributes.get( in testGetRawDictWorks() 119 assertEquals("Wrong id attribute", ID, resultDict.mOptions.mAttributes.get( in testGetRawDictWorks() 204 assertEquals(header.mDictionaryOptions.mAttributes, options); in runTestHeaderReaderProcessorWithOneSpec()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | DownloadRecord.java | 29 public final ContentValues mAttributes; field in DownloadRecord 32 mAttributes = attributes; in DownloadRecord() 35 return null == mAttributes; in isMetadata()
|
D | UpdateHandler.java | 453 db, record.mAttributes, record.mClientId); in downloadFinished() 530 final int wordListStatus = downloadRecord.mAttributes.getAsInteger( in handleDownloadedFile() 626 DebugLogUtils.l("Downloaded a new word list :", downloadRecord.mAttributes.getAsString( in handleWordList() 629 + downloadRecord.mAttributes.getAsString(MetadataDbHelper.DESCRIPTION_COLUMN) in handleWordList() 633 downloadRecord.mAttributes.getAsString(MetadataDbHelper.LOCALE_COLUMN); in handleWordList() 635 downloadRecord.mAttributes.put(MetadataDbHelper.LOCAL_FILENAME_COLUMN, destinationFile); in handleWordList() 664 if (!md5sum.equals(downloadRecord.mAttributes.getAsString( in handleWordList() 668 + downloadRecord.mAttributes.getAsString(MetadataDbHelper.CHECKSUM_COLUMN) in handleWordList()
|
/packages/services/BuiltInPrintService/src/com/android/bips/ |
D | ImageToPdfTask.java | 46 private final PrintAttributes mAttributes; field in ImageToPdfTask 53 mAttributes = attributes; in ImageToPdfTask() 56 mDocument = new PrintedPdfDocument(context, mAttributes); in ImageToPdfTask() 78 if (mAttributes.getMediaSize().isPortrait() == mBitmap.getWidth() < mBitmap.getHeight()) { in writeBitmapToDocument()
|
D | ImagePrintActivity.java | 219 private PrintAttributes mAttributes; field in ImagePrintActivity.ImageAdapter 237 mAttributes = newAttributes; in onLayout() 241 PrintAttributes.MediaSize mediaSize = mAttributes.getMediaSize(); in onLayout() 262 mTask = new ImageToPdfTask(ImagePrintActivity.this, getBitmap(mAttributes), mAttributes, in onWrite()
|
/packages/modules/ExtServices/src/android/ext/services/notification/ |
D | NotificationEntry.java | 63 private final AudioAttributes mAttributes; field in NotificationEntry 79 mAttributes = calculateAudioAttributes(); in NotificationEntry() 247 return mAttributes != null && mAttributes.getUsage() == usage; in isAudioAttributesUsage()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | BinaryDictionaryGetter.java | 209 final String version = header.mDictionaryOptions.mAttributes.get(VERSION_KEY); in hackCanUseDictionaryFile()
|
D | ExpandableBinaryDictionary.java | 703 header.mDictionaryOptions.mAttributes)); in dumpAllWordsForDebug()
|