/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/ |
H A D | UnstructuredField.java | 34 protected UnstructuredField(String name, String body, String raw, String value) { argument 35 super(name, body, raw); 44 public Field parse(final String name, final String body, final String raw) { argument 46 return new UnstructuredField(name, body, raw, value);
|
H A D | Field.java | 59 private final String name; field in class:Field 63 protected Field(final String name, final String body, final String raw) { argument 64 this.name = name; 72 * the field name: 75 * <td><em>Field name</em></td><td><em>Class returned</em></td> 93 * Split into name and value. 99 final String name = fieldMatcher.group(1); 106 return parser.parse(name, body, raw); 118 * Gets the name o [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | RenamingDelegatingContext.java | 91 * @param diskName name of the database/file. 98 * Returns the public name (everything following the prefix) of the given diskName. 99 * @param diskName name of the database/file. 135 private String renamedFileName(String name) { argument 136 return mFilePrefix + name; 140 public SQLiteDatabase openOrCreateDatabase(String name, argument 142 if (name.startsWith("/")) { 143 return mFileContext.openOrCreateDatabase(name, mode, factory); 145 final String internalName = renamedFileName(name); 146 if (!mDatabaseNames.contains(name)) { 154 openOrCreateDatabase(String name, int mode, SQLiteDatabase.CursorFactory factory, DatabaseErrorHandler errorHandler) argument 168 deleteDatabase(String name) argument 181 getDatabasePath(String name) argument 194 openFileInput(String name) argument 205 openFileOutput(String name, int mode) argument 212 getFileStreamPath(String name) argument 217 deleteFile(String name) argument [all...] |
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/ |
H A D | MimeHeader.java | 54 public String getFirstHeader(String name) throws MessagingException { argument 55 String[] header = getHeader(name); 62 public void addHeader(String name, String value) throws MessagingException { argument 63 mFields.add(new Field(name, value)); 66 public void setHeader(String name, String value) throws MessagingException { argument 67 if (name == null || value == null) { 70 removeHeader(name); 71 addHeader(name, value); 74 public String[] getHeader(String name) throws MessagingException { argument 77 if (field.name 87 removeHeader(String name) argument 127 final String name; field in class:MimeHeader.Field 130 Field(String name, String value) argument [all...] |
H A D | MimeBodyPart.java | 55 protected String getFirstHeader(String name) throws MessagingException { argument 56 return mHeader.getFirstHeader(name); 60 public void addHeader(String name, String value) throws MessagingException { argument 61 mHeader.addHeader(name, value); 65 public void setHeader(String name, String value) throws MessagingException { argument 66 mHeader.setHeader(name, value); 70 public String[] getHeader(String name) throws MessagingException { argument 71 return mHeader.getHeader(name); 75 public void removeHeader(String name) throws MessagingException { argument 76 mHeader.removeHeader(name); 161 setExtendedHeader(String name, String value) argument 182 getExtendedHeader(String name) argument [all...] |
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/ |
H A D | MimeHeader.java | 57 public String getFirstHeader(String name) throws MessagingException { argument 58 String[] header = getHeader(name); 65 public void addHeader(String name, String value) throws MessagingException { argument 66 mFields.add(new Field(name, value)); 69 public void setHeader(String name, String value) throws MessagingException { argument 70 if (name == null || value == null) { 73 removeHeader(name); 74 addHeader(name, value); 77 public String[] getHeader(String name) throws MessagingException { argument 80 if (field.name 90 removeHeader(String name) argument 130 final String name; field in class:MimeHeader.Field 133 Field(String name, String value) argument [all...] |
H A D | MimeBodyPart.java | 59 protected String getFirstHeader(String name) throws MessagingException { argument 60 return mHeader.getFirstHeader(name); 64 public void addHeader(String name, String value) throws MessagingException { argument 65 mHeader.addHeader(name, value); 69 public void setHeader(String name, String value) throws MessagingException { argument 70 mHeader.setHeader(name, value); 74 public String[] getHeader(String name) throws MessagingException { argument 75 return mHeader.getHeader(name); 79 public void removeHeader(String name) throws MessagingException { argument 80 mHeader.removeHeader(name); 167 setExtendedHeader(String name, String value) argument 188 getExtendedHeader(String name) argument [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | NameSplitter.java | 32 * The purpose of this class is to split a full name into given names and last 33 * name. The logic only supports having a single last name. If the full name has 40 * <li>Assign the last remaining token as the last name.</li> 41 * <li>If the previous word to the last name is one from LASTNAME_PREFIXES, use 42 * this word also as the last name.</li> 184 private void putValueIfPresent(ContentValues values, String name, String value) { argument 186 values.put(name, value); 257 * Returns true if the token is followed by a dot in the original full name 345 split(Name name, String fullName) argument 362 split(Name name, String fullName, int fullNameStyle) argument 394 splitWesternName(Name name, String fullName) argument 419 splitChineseName(Name name, String fullName) argument 462 splitJapaneseName(Name name, String fullName) argument 483 splitKoreanName(Name name, String fullName) argument 523 join(Name name, boolean givenNameFirst, boolean includePrefix) argument 551 joinPhoneticName(Name name) argument 715 parsePrefix(Name name, NameTokenizer tokens) argument 733 parseSuffix(Name name, NameTokenizer tokens) argument 792 parseLastName(Name name, NameTokenizer tokens) argument 847 parseMiddleName(Name name, NameTokenizer tokens) argument 865 parseGivenNames(Name name, NameTokenizer tokens) argument 893 guessNameStyle(Name name) argument 925 guessFullNameStyle(NameSplitter.Name name) argument 978 guessFullNameStyle(String name) argument 1014 guessCJKNameStyle(String name, int offset) argument 1033 guessPhoneticNameStyle(NameSplitter.Name name) argument 1063 guessPhoneticNameStyle(String name) argument [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ |
H A D | EmailAddress.java | 42 private EmailAddress(String name, String address) { argument 43 mName = name; 61 String name, address; 68 name = m.group(1); 70 if (name == null) { 71 name = ""; 73 name = Html.fromHtml(name.trim()).toString(); 85 name = tokenizedName != null ? Html.fromHtml(tokenizedName.trim()).toString() : ""; 88 name [all...] |
/packages/apps/Camera2/src/com/android/camera/stats/profiler/ |
H A D | LoggingProfiler.java | 31 public Profile create(String name) { argument 32 LoggingProfile profile = new LoggingProfile(mWriter, name);
|
H A D | Profilers.java | 75 public Profile e(String name) { argument 76 return e().create(name).start(); 83 public Profile w(String name) { argument 84 return w().create(name).start(); 91 public Profile i(String name) { argument 92 return i().create(name).start(); 99 public Profile d(String name) { argument 100 return d().create(name).start(); 107 public Profile v(String name) { argument 108 return v().create(name) 115 guard(String name) argument 119 guard(String name, int durationMillis) argument [all...] |
/packages/apps/Email/src/com/beetstra/jutf7/ |
H A D | ModifiedUTF7Charset.java | 29 * The character set specified in RFC 3501 to use for IMAP4rev1 mailbox name
40 ModifiedUTF7Charset(String name, String[] aliases) {
argument 41 super(name, aliases, MODIFIED_BASE64_ALPHABET, true);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
H A D | FilterDirectRepresentation.java | 34 public FilterDirectRepresentation(String name) { argument 35 super(name);
|
/packages/apps/Messaging/tools/ |
H A D | dumpapkversion.sh | 15 for i in `find . -name \*.apk`
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
H A D | ParticipantInfo.java | 26 /** the pretty name of the participant if one exists */ 27 public String name; field in class:ParticipantInfo 38 public ParticipantInfo(String name, String email, int priority, boolean readConversation) { argument 39 this.name = name; 55 return Objects.hashCode(name, email, priority, readConversation); 71 name = in.readString(); 84 out.writeString(name); 93 ", name = " + name [all...] |
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/ |
H A D | IService.aidl | 23 void startTracing(String name);
|
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/ |
H A D | StringResource.java | 24 public StringResource(final String name, final String value, final String comment) { argument 25 mName = name;
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
H A D | FileDeleteStrategy.java | 48 /** The name of the strategy. */ 49 private final String name; field in class:FileDeleteStrategy 55 * @param name the name by which the strategy is known 57 protected FileDeleteStrategy(String name) { argument 58 this.name = name; 126 return "FileDeleteStrategy[" + name + "]";
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/ |
H A D | AccountUtils.java | 40 final String name = account.name; 41 if (Patterns.EMAIL_ADDRESS.matcher(name).matches()) { 42 retval.add(name); 43 retval.add(name.split("@")[0]); 50 * Get all device accounts having specified domain name. 52 * @param domain domain name used for filtering 53 * @return List of account names that contain the specified domain name 60 if (account.name.toLowerCase(Locale.ROOT).endsWith(atDomain)) { 61 retval.add(account.name); [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/filefilter/ |
H A D | NameFileFilter.java | 26 * Filters filenames for a certain name. 29 * current directory whose name is <code>Test</code>: 55 * Constructs a new case-sensitive name file filter for a single name. 57 * @param name the name to allow, must not be null 58 * @throws IllegalArgumentException if the name is null 60 public NameFileFilter(String name) { argument 61 this(name, null); 65 * Construct a new name fil 71 NameFileFilter(String name, IOCase caseSensitivity) argument 163 accept(File file, String name) argument [all...] |
/packages/apps/Nfc/nci/jni/extns/pn54x/src/utils/ |
H A D | phNxpConfig.h | 25 int GetNxpStrValue (const char* name, char* p_value, unsigned long len); 26 int GetNxpNumValue (const char* name, void* p_value, unsigned long len); 27 int GetNxpByteArrayValue (const char* name, char* pValue, long bufflen, long *len);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
H A D | ExecutorUtils.java | 42 private static ScheduledExecutorService newExecutorService(final String name) { argument 43 return Executors.newSingleThreadScheduledExecutor(new ExecutorFactory(name)); 49 private ExecutorFactory(final String name) { argument 50 mName = name; 80 * @param name Executor's name. 83 public static ScheduledExecutorService getBackgroundExecutor(final String name) { argument 87 switch (name) { 93 throw new IllegalArgumentException("Invalid executor: " + name); 97 public static void killTasks(final String name) { argument [all...] |
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
H A D | TestModel.java | 71 public DocumentInfo createFile(String name) { argument 73 name, 79 public DocumentInfo createFile(String name, int flags) { argument 81 name, 82 guessMimeType(name), 86 public DocumentInfo createFolder(String name) { argument 88 name, 95 public DocumentInfo createFolder(String name, int flags) { argument 97 name, 102 public DocumentInfo createDocument(String name, Strin argument 127 guessMimeType(String name) argument [all...] |
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
H A D | ShadowSecureSettings.java | 35 public static boolean putStringForUser(ContentResolver resolver, String name, String value, argument 40 userTable.put(userHandle, name, value); 42 userTable.remove(userHandle, name); 49 public static String getStringForUser(ContentResolver resolver, String name, int userHandle) { argument 52 return (String) userTable.get(userHandle, name); 57 public static boolean putIntForUser(ContentResolver resolver, String name, int value, argument 61 userTable.put(userHandle, name, value); 67 public static int getIntForUser(ContentResolver resolver, String name, int def, argument 71 final Object object = userTable.get(userHandle, name); 77 public static boolean putLongForUser(ContentResolver resolver, String name, lon argument 87 getLongForUser(ContentResolver resolver, String name, long def, int userHandle) argument 97 putFloatForUser( ContentResolver resolver, String name, float value, int userHandle) argument 107 getFloatForUser( ContentResolver resolver, String name, float def, int userHandle) argument [all...] |
/packages/apps/Car/Dialer/src/com/android/car/dialer/ |
H A D | ContactEntry.java | 33 public String name; field in class:ContactEntry 46 String name = cursor.getString(nameColumn); 50 return new ContactEntry(context, name, number, starred > 0, pinnedPosition); 54 Context context, String name, String number, boolean isStarred, int pinnedPosition) { 56 this.name = name; 63 * Retrieves a best-effort contact name ready for display to the user. 64 * It takes into account the number associated with a name for fail cases. 67 if (!TextUtils.isEmpty(name)) { 68 return name; 53 ContactEntry( Context context, String name, String number, boolean isStarred, int pinnedPosition) argument [all...] |