/packages/apps/Email/src/com/android/email/provider/ |
H A D | AttachmentProvider.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 192 InputStream in = 194 Bitmap thumbnail = createThumbnail(type, in); 202 in.close(); 236 * Returns a cursor based on the data in the attachments table, or null if the attachment 237 * is not recorded in the table. 328 * Need this to suppress warning in unit tests.
|
/packages/apps/Email/src/org/apache/commons/io/ |
H A D | IOUtils.java | 6 * (the "License"); you may not use this file except in compliance with
11 * Unless required by applicable law or agreed to in writing, software
53 * Two methods are provided in each case, one that uses the platform default
59 * All the methods in this class that read a stream are buffered internally.
62 * to be efficient in tests.
64 * Wherever possible, the methods in this class do <em>not</em> flush or close
124 * Instances should NOT be constructed in standard programming.
135 * This is typically used in finally blocks.
153 * This is typically used in finally blocks.
171 * This is typically used in finall [all...] |
/packages/apps/Email/src/org/apache/james/mime4j/field/address/ |
H A D | AddressList.java | 7 * "License"); you may not use this file except in compliance *
12 * Unless required by applicable law or agreed to in writing, *
49 * The number of elements in this list.
66 * in this address list. Use this if you don't care
70 // in the common case, all addresses are mailboxes
120 java.io.BufferedReader reader = new java.io.BufferedReader(new java.io.InputStreamReader(System.in));
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
H A D | GroupEditorFragment.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 245 // Account specified in Intent - no data set can be specified in this manner. 439 return; // just in case 729 // In either case, update the UI so the contact is no longer in the list of 907 private Member(Parcel in) { argument 908 mRawContactId = in.readLong(); 909 mContactId = in.readLong(); 910 mLookupUri = in [all...] |
/packages/apps/Email/src/com/android/email/mail/store/ |
H A D | Pop3Store.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 54 // when code is checked in or released. 66 // * messages that could result in large data loads. This value allows 78 // * messages that could result in large data loads. This value allows 173 // Build default mailboxes as well, in case they're not already made. 433 * has been queried so that uids are available in the local cache. 501 * If we are missing uids in the cache the only sure way to 634 * Fetch the items contained in the FetchProfile into the given set of 635 * Messages in a 982 parse(InputStream in) argument 1026 Pop3ResponseInputStream(InputStream in) argument [all...] |
/packages/apps/Email/src/com/android/email/mail/transport/ |
H A D | MailTransport.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 71 * Whether or not to trust all server certificates (i.e. skip host verification) in SSL 93 * and {@link #setHost(String)} were invoked), but not opened or connected in any way. 229 * service but is not in the public API. 256 // we should be reporting the bad name in the certificate. Unfortunately this is buried 257 // in the verifier code and is not available in the verifier API, and extracting the 352 * delimiter char(s) are not included in the result. 357 InputStream in [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
H A D | EntitySet.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 91 // For each entity in the remote set, try matching over existing 139 // If we are going to split all contacts, there is no point in first combining them 327 public EntitySet createFromParcel(Parcel in) { 329 state.readFromParcel(in);
|
H A D | EntityDelta.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 473 public EntityDelta createFromParcel(Parcel in) { 475 state.readFromParcel(in); 833 public ValuesDelta createFromParcel(Parcel in) { 835 values.readFromParcel(in);
|
/packages/providers/ContactsProvider/ |
H A D | Android.mk | 6 # Only compile source java files in this apk.
|
/packages/apps/Camera/jni/ |
H A D | feature_mos_jni.cpp | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 70 /* return current time in milliseconds*/ 347 void ConvertYVUAiToPlanarYVU(unsigned char *planar, unsigned char *in, int width, argument 357 *Yptr++ = *in++; 358 *Vptr++ = *in++; 359 *Uptr++ = *in++; 360 in++; // Alpha 605 LOGE("Error in creating the image."); 628 // Convert YVU to NV21 format in [all...] |
/packages/apps/LegacyCamera/jni/ |
H A D | feature_mos_jni.cpp | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 70 /* return current time in milliseconds*/ 347 void ConvertYVUAiToPlanarYVU(unsigned char *planar, unsigned char *in, int width, argument 357 *Yptr++ = *in++; 358 *Vptr++ = *in++; 359 *Uptr++ = *in++; 360 in++; // Alpha 605 LOGE("Error in creating the image."); 628 // Convert YVU to NV21 format in [all...] |
/packages/apps/Browser/src/com/android/browser/preferences/ |
H A D | WebsiteSettingsFragment.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 117 * position in the list of features for this site. This is used both 173 private Site(Parcel in) { argument 174 mOrigin = in.readString(); 175 mTitle = in.readString(); 176 mFeatures = in.readInt(); 177 mIcon = in.readParcelable(null); 182 public Site createFromParcel(Parcel in) { 183 return new Site(in); [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
H A D | GalleryUtils.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 127 public static byte[] getBytes(String in) { argument 128 byte[] result = new byte[in.length() * 2]; 130 for (char ch : in.toCharArray()) { 137 // Below are used the detect using database in the render thread. It only 151 Log.w(TAG, new Throwable("Should not do this in render thread")); 273 // We need to specify the locale otherwise it may go wrong in some language 318 // Returns a (localized) string for the given duration (in seconds).
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/ |
H A D | FolderSyncParser.java | 6 * you may not use this file except in compliance with the License. 11 * Unless required by applicable law or agreed to in writing, software 53 * Handles the addition, deletion, and changes to folders in the user's Exchange account. 123 public FolderSyncParser(InputStream in, AbstractSyncAdapter adapter) throws IOException { argument 124 this(in, adapter, false); 127 public FolderSyncParser(InputStream in, AbstractSyncAdapter adapter, boolean statusOnly) argument 129 super(in, adapter); 140 // Since we're now (potentially) committing mailboxes in chunks, ensure that we start with 226 // Find the mailbox in this account with the given serverId 277 * For every mailbox in thi [all...] |
H A D | Search.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 64 // TODO Should this be checked in UI? Are there guidelines for minimums? 105 // Range is sent in the form first-last (e.g. 0-9) 155 private SearchParser(InputStream in, EasSyncService service, String query) argument 157 super(in);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | VoicemailProviderTest.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 98 InputStream in = mResolver.openInputStream(uri); 100 int numBytesRead = in.read(inBuffer); 104 assertEquals(-1, in.read(inBuffer)); 105 in.close(); 428 // Insertion request for the same package should fail with no change in count.
|
/packages/apps/Browser/src/com/android/browser/homepages/ |
H A D | RequestHandler.java | 6 * you may not use this file except in compliance with the License.
11 * Unless required by applicable law or agreed to in writing, software
239 InputStream in = res.openRawResource(id);
242 while ((read = in.read(buf)) > 0) {
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
H A D | CallDetailActivityTest.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 281 public void copyBetweenStreams(InputStream in, OutputStream out) throws IOException { argument 285 while ((bytesRead = in.read(buffer)) != -1) {
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | BrightnessPreference.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 286 // Didn't save state for us in onSaveInstanceState 334 public SavedState createFromParcel(Parcel in) { 335 return new SavedState(in);
|
/packages/inputmethods/LatinIME/tools/maketext/src/com/android/inputmethod/latin/maketext/ |
H A D | MoreKeysResources.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 115 private void inflateTemplate(final LineNumberReader in, final PrintStream out) argument 118 while ((line = in.readLine()) != null) {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
H A D | BluetoothOppObexServerSession.java | 6 * Redistribution and use in source and binary forms, with or without 12 * - Redistributions in binary form must reproduce the above copyright notice, 13 * this list of conditions and the following disclaimer in the documentation 143 * TODO now we implement in a tough way, just close the socket. 214 /* first we look for Mimetype in Android map */ 244 // MIME Types. Also reject everything in the "black list". 251 if (D) Log.w(TAG, "mimeType is null or in unacceptable list, reject the transfer"); 295 Intent in = new Intent(BluetoothShare.INCOMING_FILE_CONFIRMATION_REQUEST_ACTION); 296 in.setClassName(Constants.THIS_PACKAGE_NAME, BluetoothOppReceiver.class.getName()); 297 mContext.sendBroadcast(in); [all...] |
/packages/apps/Email/src/com/android/email/ |
H A D | LegacyConversions.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 103 // Keep the message in the "unloaded" state until it has (at least) a display name. 104 // This prevents early flickering of empty messages in POP download. 122 // Only replace the local message-id if a new one was found. This is seen in some ISP's 172 * This will skip adding attachments if they are already found in the attachments table. 174 * included in a single POP3 message. 242 // We test each of the fields here (instead of in SQL) because they may be 260 // Save the attachment (so far) in order to obtain an id 287 * Save the body part of a single attachment, to a file in th [all...] |
/packages/wallpapers/MagicSmoke/src/com/android/magicsmoke/ |
H A D | MagicSmokeRS.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 264 Bitmap in = BitmapFactory.decodeResource(mResources, id, opts); 266 // Bitmaps are stored in memory in premultiplied form. We want non-premultiplied, 269 in.getPixels(pixels, 0, 256, 0, 0, 256, 256); 287 in.recycle();
|
/packages/apps/Camera/jni/feature_stab/src/dbreg/ |
H A D | vp_motionmodel.h | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 42 in order to remove otherwise unnecessary dependency of vpmotion, 69 added in between. Motion models that are inconsistant with this set 106 /* The order is assumed in vp functions */ 131 int refid; /* Reference frame ( takes a point in refid frame 132 and moves it by the par to get a point in insid 163 in an if-else statement. See "Swallowing the semicolon", 273 int vp_invert_motion(const VP_MOTION* in,VP_MOTION* out); 275 int vp_zoom_motion2d(VP_MOTION* in, VP_MOTIO [all...] |
/packages/apps/Contacts/src/com/android/contacts/model/ |
H A D | RawContactDeltaList.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 110 // For each entity in the remote set, try matching over existing 179 // If we are going to split all contacts, there is no point in first combining them 434 public RawContactDeltaList createFromParcel(Parcel in) { 436 state.readFromParcel(in);
|