/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/ |
D | IndexDataConverter.java | 159 private IndexData convertRaw(Context context, String authority, SearchIndexableRaw raw, in convertRaw() argument 161 if (TextUtils.isEmpty(raw.key)) { in convertRaw() 162 Log.w(TAG, "Skipping null key for raw indexable " + authority + "/" + raw.title); in convertRaw() 166 boolean enabled = !(nonIndexableKeys != null && nonIndexableKeys.contains(raw.key)); in convertRaw() 169 builder.setTitle(raw.title) in convertRaw() 170 .setSummaryOn(raw.summaryOn) in convertRaw() 171 .setEntries(raw.entries) in convertRaw() 172 .setKeywords(raw.keywords) in convertRaw() 173 .setClassName(raw.className) in convertRaw() 174 .setScreenTitle(raw.screenTitle) in convertRaw() [all …]
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/ |
D | Field.java | 61 private final String raw; field in Field 63 protected Field(final String name, final String body, final String raw) { in Field() argument 66 this.raw = raw; in Field() 85 public static Field parse(final String raw) { in parse() argument 90 final String unfolded = raw.replaceAll("\r|\n", ""); in parse() 106 return parser.parse(name, body, raw); in parse() 133 return raw; in getRaw() 190 return raw; in toString()
|
D | UnstructuredField.java | 34 protected UnstructuredField(String name, String body, String raw, String value) { in UnstructuredField() argument 35 super(name, body, raw); in UnstructuredField() 44 public Field parse(final String name, final String body, final String raw) { in parse() argument 46 return new UnstructuredField(name, body, raw, value); in parse()
|
D | ContentTransferEncodingField.java | 54 protected ContentTransferEncodingField(String name, String body, String raw, String encoding) { in ContentTransferEncodingField() argument 55 super(name, body, raw); in ContentTransferEncodingField() 83 public Field parse(final String name, final String body, final String raw) { in parse() argument 85 return new ContentTransferEncodingField(name, body, raw, encoding); in parse()
|
D | AddressListField.java | 33 …protected AddressListField(String name, String body, String raw, AddressList addressList, ParseExc… in AddressListField() argument 34 super(name, body, raw); in AddressListField() 50 public Field parse(final String name, final String body, final String raw) { in parse() argument 62 return new AddressListField(name, body, raw, addressList, parseException); in parse()
|
D | MailboxListField.java | 35 …protected MailboxListField(final String name, final String body, final String raw, final MailboxLi… in MailboxListField() argument 36 super(name, body, raw); in MailboxListField() 52 public Field parse(final String name, final String body, final String raw) { in parse() argument 64 return new MailboxListField(name, body, raw, mailboxList, parseException); in parse()
|
D | DateTimeField.java | 38 …protected DateTimeField(String name, String body, String raw, Date date, ParseException parseExcep… in DateTimeField() argument 39 super(name, body, raw); in DateTimeField() 55 public Field parse(final String name, String body, final String raw) { in parse() argument 70 return new DateTimeField(name, body, raw, date, parseException); in parse()
|
D | MailboxField.java | 35 …protected MailboxField(final String name, final String body, final String raw, final Mailbox mailb… in MailboxField() argument 36 super(name, body, raw); in MailboxField() 52 public Field parse(final String name, final String body, final String raw) { in parse() argument 67 return new MailboxField(name, body, raw, mailbox, parseException); in parse()
|
D | ContentTypeField.java | 75 …protected ContentTypeField(String name, String body, String raw, String mimeType, Map<String, Stri… in ContentTypeField() argument 76 super(name, body, raw); in ContentTypeField() 211 public Field parse(final String name, final String body, final String raw) { in parse() argument 256 return new ContentTypeField(name, body, raw, mimeType, parameters, parseException); in parse()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
D | ObexAppParameters.java | 34 public ObexAppParameters(byte[] raw) { in ObexAppParameters() argument 37 if (raw != null) { in ObexAppParameters() 38 for (int i = 0; i < raw.length; ) { in ObexAppParameters() 39 if (raw.length - i < 2) { in ObexAppParameters() 43 byte tag = raw[i++]; in ObexAppParameters() 44 byte len = raw[i++]; in ObexAppParameters() 46 if (raw.length - i - len < 0) { in ObexAppParameters() 52 System.arraycopy(raw, i, val, 0, len); in ObexAppParameters() 62 byte[] raw = (byte[]) headerset.getHeader(HeaderSet.APPLICATION_PARAMETER); in fromHeaderSet() 63 return new ObexAppParameters(raw); in fromHeaderSet()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/ |
D | ObexAppParameters.java | 34 public ObexAppParameters(byte[] raw) { in ObexAppParameters() argument 37 if (raw != null) { in ObexAppParameters() 38 for (int i = 0; i < raw.length; ) { in ObexAppParameters() 39 if (raw.length - i < 2) { in ObexAppParameters() 43 byte tag = raw[i++]; in ObexAppParameters() 44 byte len = raw[i++]; in ObexAppParameters() 46 if (raw.length - i - len < 0) { in ObexAppParameters() 52 System.arraycopy(raw, i, val, 0, len); in ObexAppParameters() 62 byte[] raw = (byte[]) headerset.getHeader(HeaderSet.APPLICATION_PARAMETER); in fromHeaderSet() 63 return new ObexAppParameters(raw); in fromHeaderSet()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/ |
D | ReadableArchiveTest.java | 120 loadArchive(mTestUtils.getNonSeekableDescriptor(R.raw.archive)); in testQueryChildDocument() 171 loadArchive(mTestUtils.getNonSeekableDescriptor(R.raw.no_dirs)); in testQueryChildDocument_NoDirs() 220 loadArchive(mTestUtils.getNonSeekableDescriptor(R.raw.empty_dirs)); in testQueryChildDocument_EmptyDirs() 276 loadArchive(mTestUtils.getNonSeekableDescriptor(R.raw.archive)); in testGetDocumentType() 285 loadArchive(mTestUtils.getNonSeekableDescriptor(R.raw.archive)); in testIsChildDocument() 300 loadArchive(mTestUtils.getNonSeekableDescriptor(R.raw.archive)); in testQueryDocument() 339 queryDocumentByResIdWithMimeTypeAndVerify(R.raw.hello_7z, in archive_sevenZFile_containsList() 346 queryDocumentByResIdWithMimeTypeAndVerify(R.raw.hello_tar, "application/x-tar"); in archive_tar_containsList() 352 queryDocumentByResIdWithMimeTypeAndVerify(R.raw.hello_tgz, in archive_tgz_containsList() 359 queryDocumentByResIdWithMimeTypeAndVerify(R.raw.hello_tar_xz, in archive_tarXz_containsList() [all …]
|
D | ResourcesProvider.java | 58 RESOURCES.put("archive.zip", R.raw.archive); 59 RESOURCES.put("broken.zip", R.raw.broken); 60 RESOURCES.put("empty_dirs.zip", R.raw.empty_dirs); 61 RESOURCES.put("images.zip", R.raw.images); 62 RESOURCES.put("no_dirs.zip", R.raw.no_dirs); 63 RESOURCES.put("images.7z", R.raw.images_7z); 64 RESOURCES.put("images.tar", R.raw.images_tar); 65 RESOURCES.put("images.tar.xz", R.raw.images_tar_xz); 66 RESOURCES.put("images.tgz", R.raw.images_tgz); 67 RESOURCES.put("images.tar.br", R.raw.images_tar_br);
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/ |
D | MimeStreamParser.java | 58 private boolean raw = false; field in MimeStreamParser 96 return raw; in isRaw() 109 public void setRaw(boolean raw) { in setRaw() argument 110 this.raw = raw; in setRaw() 196 if (raw) { in parseMessage() 197 handler.raw(new CloseShieldInputStream(is)); in parseMessage() 210 if (raw) { in parseBodyPart() 211 handler.raw(new CloseShieldInputStream(is)); in parseBodyPart()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastSearchIndexableProvider.java | 95 Object[] raw = new Object[INDEXABLES_RAW_COLUMNS.length]; in queryRawData() local 96 raw[COLUMN_INDEX_RAW_TITLE] = res.getString(R.string.sms_cb_settings); in queryRawData() 114 raw[COLUMN_INDEX_RAW_KEYWORDS] = TextUtils.join(",", keywordList); in queryRawData() 116 raw[COLUMN_INDEX_RAW_SCREEN_TITLE] = res.getString(R.string.sms_cb_settings); in queryRawData() 117 raw[COLUMN_INDEX_RAW_KEY] = CellBroadcastSettings.class.getSimpleName(); in queryRawData() 118 raw[COLUMN_INDEX_RAW_INTENT_ACTION] = Intent.ACTION_MAIN; in queryRawData() 119 raw[COLUMN_INDEX_RAW_INTENT_TARGET_PACKAGE] = getContext().getPackageName(); in queryRawData() 120 raw[COLUMN_INDEX_RAW_INTENT_TARGET_CLASS] = CellBroadcastSettings.class.getName(); in queryRawData() 122 cursor.addRow(raw); in queryRawData()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/setup/ |
D | BaseTunerSetupActivity.java | 71 R.raw.ut_us_atsc_center_frequencies_8vsb, 72 R.raw.ut_us_cable_standard_center_frequencies_qam256, 73 R.raw.ut_us_all, 74 R.raw.ut_kr_atsc_center_frequencies_8vsb, 75 R.raw.ut_kr_cable_standard_center_frequencies_qam256, 76 R.raw.ut_kr_all, 77 R.raw.ut_kr_dev_cj_cable_center_frequencies_qam256, 78 R.raw.ut_euro_dvbt_all, 79 R.raw.ut_euro_dvbt_all, 80 R.raw.ut_euro_dvbt_all
|
/packages/apps/Camera2/src/com/android/camera/captureintent/resource/ |
D | ResourceCaptureToolsImpl.java | 70 FocusSound focusSound = new FocusSound(soundPlayer, R.raw.material_camera_focus); in create() 102 mSoundPlayer.loadSound(R.raw.timer_final_second); // Will be balanced in close(). in ResourceCaptureToolsImpl() 103 mSoundPlayer.loadSound(R.raw.timer_increment); // Will be balanced in close(). in ResourceCaptureToolsImpl() 115 mSoundPlayer.unloadSound(R.raw.timer_increment); in close() 116 mSoundPlayer.unloadSound(R.raw.timer_final_second); in close() 209 mSoundPlayer.play(R.raw.timer_final_second, 0.6f); in playCountDownSound() 211 mSoundPlayer.play(R.raw.timer_increment, 0.6f); in playCountDownSound()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/ |
D | ModernMediaScannerTest.java | 235 doPlaylist(R.raw.test_m3u, "test.m3u"); in testPlaylistM3u() 241 doPlaylist(R.raw.test_pls, "test.pls"); in testPlaylistPls() 247 doPlaylist(R.raw.test_wpl, "test.wpl"); in testPlaylistWpl() 253 stage(R.raw.test_audio, new File(music, "001.mp3")); in doPlaylist() 254 stage(R.raw.test_audio, new File(music, "002.mp3")); in doPlaylist() 255 stage(R.raw.test_audio, new File(music, "003.mp3")); in doPlaylist() 304 stage(R.raw.test_image, file); in testScan_Common() 357 stage(R.raw.test_image, new File(red, "red.jpg")); in testScan_Nomedia_Dir() 358 stage(R.raw.test_image, new File(blue, "blue.jpg")); in testScan_Nomedia_Dir() 383 stage(R.raw.test_image, image); in testScan_Nomedia_File()
|
D | MediaScannerTest.java | 119 stage(R.raw.test_audio, new File(dir, "test.mp3")); in testCorrectness() 120 stage(R.raw.test_video, new File(dir, "test.mp4")); in testCorrectness() 121 stage(R.raw.test_image, new File(dir, "test.jpg")); in testCorrectness() 237 stage(R.raw.test_image, new File(dir, System.nanoTime() + ".jpg")); in stage() 238 stage(R.raw.test_video, new File(dir, System.nanoTime() + ".mp4")); in stage()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | XmpInterfaceTest.java | 60 try (InputStream in = context.getResources().openRawResource(R.raw.test_image)) { in testContainer_Empty() 72 try (InputStream in = context.getResources().openRawResource(R.raw.lg_g4_iso_800_jpg)) { in testContainer_ValidAttrs() 84 try (InputStream in = context.getResources().openRawResource(R.raw.lg_g4_iso_800_dng)) { in testContainer_ValidTags() 104 try (InputStream in = context.getResources().openRawResource(R.raw.lg_g4_iso_800_jpg)) { in testContainer_ExifRedactionRanges() 120 final File file = stageFile(R.raw.test_video_xmp); in testContainer_IsoRedactionRanges() 138 final File file = stageFile(R.raw.test_video_xmp_bad_tag); in testContainer_IsoRedactionRanges_BadTagValue() 156 final File file = stageFile(R.raw.test_video_xmp_malformed); in testContainer_IsoRedactionRanges_MalformedXml()
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | AttachPhotoActivity.java | 288 RawContactDelta raw = deltaList.getFirstWritableRawContact(this); in saveContact() local 289 if (raw == null) { in saveContact() 295 saveToContact(contact, deltaList, raw); in saveContact() 299 RawContactDelta raw) { in saveToContact() argument 329 AccountType account = raw.getRawContactAccountType(this); in saveToContact() 331 RawContactModifier.ensureKindExists(raw, account, Photo.CONTENT_ITEM_TYPE); in saveToContact() 349 raw.getRawContactId() != null ? raw.getRawContactId() : -1, in saveToContact()
|
/packages/apps/UnifiedEmail/src/com/android/mail/print/ |
D | HtmlPrintTemplates.java | 45 mConversationUpper = readTemplate(R.raw.template_print_conversation_upper); in HtmlPrintTemplates() 46 mMessage = readTemplate(R.raw.template_print_message); in HtmlPrintTemplates() 47 mConversationLower = readTemplate(R.raw.template_print_conversation_lower); in HtmlPrintTemplates() 48 mConversationLowerNoJs = readTemplate(R.raw.template_print_conversation_lower_no_js); in HtmlPrintTemplates() 49 mLogo = readTemplate(R.raw.logo); in HtmlPrintTemplates()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/core/ |
D | UniquePreferenceTest.java | 207 for (SearchIndexableRaw raw : rawsToIndex) { in verifyRaws() 208 if (TextUtils.isEmpty(raw.key)) { in verifyRaws() 214 if (uniqueKeys.contains(raw.key) && !WHITELISTED_DUPLICATE_KEYS.contains(raw.key)) { in verifyRaws() 215 Log.e(TAG, "Every SearchIndexableRaw key must unique; found " + raw.key in verifyRaws() 217 duplicatedKeys.add(raw.key); in verifyRaws()
|
/packages/services/Telephony/testapps/EmbmsServiceTestApp/src/com/android/phone/testapps/embmsmw/ |
D | FileServiceRepository.java | 53 Uri sunAndTree = initFile("sunAndTree.png", R.raw.suntree); in FileServiceRepository() 54 Uri snake = initFile("animals/snake.png", R.raw.snake); in FileServiceRepository() 55 Uri unicorn = initFile("animals/unicorn.png", R.raw.unicorn); in FileServiceRepository() 56 Uri sheep = initFile("animals/sheep.png", R.raw.sheep); in FileServiceRepository()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | HtmlConversationTemplates.java | 94 sSuperCollapsed = readTemplate(R.raw.template_super_collapsed); in HtmlConversationTemplates() 95 sMessage = readTemplate(R.raw.template_message); in HtmlConversationTemplates() 96 sConversationUpper = readTemplate(R.raw.template_conversation_upper); in HtmlConversationTemplates() 97 sConversationLower = readTemplate(R.raw.template_conversation_lower); in HtmlConversationTemplates()
|