/packages/experimental/PrintService/src/foo/bar/printservice/ |
H A D | MyPrintService.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 232 InputStream in = new BufferedInputStream(new FileInputStream( 242 final int readByteCount = in.read(buffer); 251 if (in != null) { 253 in.close();
|
/packages/inputmethods/LatinIME/native/jni/ |
H A D | NativeFileList.mk | 4 # you may not use this file except in compliance with the License. 9 # Unless required by applicable law or agreed to in writing, software
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
H A D | Dicttool.java | 5 * use this file except in compliance with the License. You may obtain a copy of 10 * Unless required by applicable law or agreed to in writing, software 43 return 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 247 // Account specified in Intent - no data set can be specified in this manner. 441 return; // just in case 735 // In either case, update the UI so the contact is no longer in the list of 920 private Member(Parcel in) { argument 921 mRawContactId = in.readLong(); 922 mContactId = in.readLong(); 923 mLookupUri = in [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 74 * and {@link #setHost(String)} were invoked), but not opened or connected in any way. 176 * service but is not in the public API. 203 // we should be reporting the bad name in the certificate. Unfortunately this is buried 204 // in the verifier code and is not available in the verifier API, and extracting the 214 * @return the read timeout value in milliseconds 288 * delimiter char(s) are not included in the result. 292 InputStream in [all...] |
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/ |
H A D | ParserTest.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 35 public TestParser(InputStream in, Object[] expectedData) throws IOException{ argument 36 super(in);
|
/packages/apps/Gallery2/jni_jpegstream/src/ |
H A D | jpeg_reader.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 41 int32_t JpegReader::setup(JNIEnv *env, jobject in, int32_t* width, int32_t* height, argument 61 int32_t flags = MakeSrc(&mInfo, env, in); 84 // Always use cmyk for output in a 4 channel jpeg. 159 // Do in-place pixel formatting 178 // Does in-place pixel formatting
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
H A D | ListDialogPreference.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 247 // Didn't save state for us in onSaveInstanceState 314 public SavedState createFromParcel(Parcel in) { 315 return new SavedState(in);
|
/packages/apps/Settings/tests/src/com/android/settings/vpn2/ |
H A D | VpnProfileParser.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 231 public static Map<Integer, VpnInfo> parse(InputStream in) { argument 235 saxParser.parse(in, mHandler);
|
H A D | VpnTests.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 * VPN profiles are saved in an xml file and will be loaded through {@link VpnProfileParser}. 109 InputStream in = null; 117 in = new FileInputStream(profileFile); 118 mVpnInfoPool = VpnProfileParser.parse(in); 312 * Install certificates from a file loaded in external stroage on the device
|
/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/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
H A D | UpdateHandler.java | 5 * use this file except in compliance with the License. You may obtain a copy of 10 * Unless required by applicable law or agreed to in writing, software 66 * This class is in charge of coordinating the update process for the various dictionaries 67 * stored in the dictionary pack. 78 // in SQLite, so it should never return anything < 0. 223 // Adding a disambiguator to circumvent a bug in older versions of DownloadManager. 260 // If there is already a download in progress, it's been there for a while and 311 * Registers a download request and flags it as downloading in the metadata table. 405 * Take appropriate action after a download finished, in success or in erro 677 copyFile(final InputStream in, final OutputStream out) argument 703 copyFileFallback(final InputStream in, final OutputStream out) argument [all...] |
/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/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 108 // Keep the message in the "unloaded" state until it has (at least) a display name. 109 // This prevents early flickering of empty messages in POP download. 127 // Only replace the local message-id if a new one was found. This is seen in some ISP's 227 // Run the mime type through inferMimeType in case we have something generic and can do 243 * This will skip adding attachments if they are already found in the attachments table. 245 * included in a single POP3 message. 281 // We test each of the fields here (instead of in SQL) because they may be 301 // Save the attachment (so far) in orde [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 121 public static byte[] getBytes(String in) { argument 122 byte[] result = new byte[in.length() * 2]; 124 for (char ch : in.toCharArray()) { 131 // Below are used the detect using database in the render thread. It only 145 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 338 // Returns a (localized) string for the given duration (in seconds).
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/ |
H A D | Address.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 43 * Name and comment part should be MIME/base64 encoded in header if necessary. 49 * Address part, in the form local_part@domain_part. No surrounding angle brackets. 88 // delimiters are chars that do not appear in an email address, used by fromHeader 198 * entered in a list (e.g. To:) are valid, so that none is dropped. 218 * Parse a comma-delimited list of addresses in RFC822 format and return an 221 * @param addressList Address list in comma-delimited string. 259 // while the domain part in case-insesitive. 297 * not modified in an 530 Address(Parcel in) argument [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/lib/base/ |
H A D | CharMatcher.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 37 * understand supplementary Unicode code points in the range {@code 0x10000} to 53 // Excludes 2007, which is handled as a gap in a pair of ranges 207 * in doubt, this matcher errs on the side of returning {@code false} (that 432 * Returns a {@code char} matcher that matches any character present in the 474 * Returns a {@code char} matcher that matches any character not present in 482 * Returns a {@code char} matcher that matches any character in a given range 637 * <p>This method has no effect (returns {@code this}) when called in GWT: 639 * consumes more memory, which doesn't seem like a worthwhile tradeoff in [all...] |
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
H A D | CharMatcher.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 37 * understand supplementary Unicode code points in the range {@code 0x10000} to 53 // Excludes 2007, which is handled as a gap in a pair of ranges 207 * in doubt, this matcher errs on the side of returning {@code false} (that 432 * Returns a {@code char} matcher that matches any character present in the 474 * Returns a {@code char} matcher that matches any character not present in 482 * Returns a {@code char} matcher that matches any character in a given range 637 * <p>This method has no effect (returns {@code this}) when called in GWT: 639 * consumes more memory, which doesn't seem like a worthwhile tradeoff in [all...] |
/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(); 496 // 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/Dialer/tests/src/com/android/dialer/ |
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) {
|