/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
D | UIProvider.java | 37 public static final String EMAIL_SEPARATOR = ","; 110 public static final String AUTHORITY = "com.android.mail.providers"; 112 public static final String ACCOUNT_LIST_TYPE = 114 public static final String ACCOUNT_TYPE = 122 public static final String LIST_PARAMS_QUERY_PARAMETER = "listParams"; 123 public static final String LABEL_QUERY_PARAMETER = "label"; 124 public static final String SEEN_QUERY_PARAMETER = "seen"; 131 public static final String DEFAULT_PARENT_QUERY_PARAMETER = "defaultParent"; 133 public static final Map<String, Class<?>> ACCOUNTS_COLUMNS_NO_CAPABILITIES = 134 new ImmutableMap.Builder<String, Class<?>>() [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
D | MoreKeySpecTests.java | 32 protected void assertParser(final String message, final String moreKeySpec, in assertParser() 33 final String expectedLabel, final String expectedOutputText, final int expectedIconId, in assertParser() 35 final String labelResolved = mTextsSet.resolveTextReference(moreKeySpec); in assertParser() 56 private static void assertArrayEquals(final String message, final Object[] expected, in assertArrayEquals() 75 private static void assertInsertAdditionalMoreKeys(final String message, in assertInsertAdditionalMoreKeys() 76 final String[] moreKeys, final String[] additionalMoreKeys, final String[] expected) { in assertInsertAdditionalMoreKeys() 77 final String[] actual = MoreKeySpec.insertAdditionalMoreKeys(moreKeys, additionalMoreKeys); in assertInsertAdditionalMoreKeys() 88 new String[0], in testEmptyEntry() 91 new String[0], in testEmptyEntry() 95 new String[0], in testEmptyEntry() [all …]
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/util/ |
D | CharsetUtil.java | 798 private String canonical = null; 799 private String mime = null; 800 private String[] aliases = null; 802 private Charset(String canonical, String mime, String[] aliases) { in Charset() 815 new String[] {"ISO_8859-1:1987", "iso-ir-100", "ISO_8859-1", 820 new String[] {"ISO_8859-2:1987", "iso-ir-101", "ISO_8859-2", 823 …new Charset("ISO8859_3", "ISO-8859-3", new String[] {"ISO_8859-3:1988", "iso-ir-109", "ISO_8859-3"… 825 new String[] {"ISO_8859-4:1988", "iso-ir-110", "ISO_8859-4", 828 new String[] {"ISO_8859-5:1988", "iso-ir-144", "ISO_8859-5", 830 …new Charset("ISO8859_6", "ISO-8859-6", new String[] {"ISO_8859-6:1987", "iso-ir-127", "ISO_8859-6"… [all …]
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | MmsSmsProvider.java | 75 private static final String LOG_TAG = "MmsSmsProvider"; 78 private static final String NO_DELETES_INSERTS_OR_UPDATES = 104 public static final String TABLE_PENDING_MSG = "pending_msgs"; 109 private static final String TABLE_CANONICAL_ADDRESSES = "canonical_addresses"; 114 static final String TABLE_THREADS = "threads"; 121 private static final String[] MMS_SMS_COLUMNS = 127 private static final String[] MMS_ONLY_COLUMNS = { 138 private static final String[] SMS_ONLY_COLUMNS = 143 private static final String[] THREADS_COLUMNS = { 150 private static final String[] CANONICAL_ADDRESSES_COLUMNS_1 = [all …]
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
D | EmailContent.java | 82 public static final String RECORD_ID = "_id"; 84 public static final String[] COUNT_COLUMNS = {"count(*)"}; 90 public static final String[] ID_PROJECTION = { BaseColumns._ID }; 93 public static final String ID_SELECTION = BaseColumns._ID + " =?"; 139 public static String EMAIL_PACKAGE_NAME; 140 public static String AUTHORITY; 144 public static String NOTIFIER_AUTHORITY; 146 public static final String PARAMETER_LIMIT = "limit"; 151 public static final String SUPPRESS_COMBINED_ACCOUNT_PARAM = "suppress_combined"; 163 public static String DEVICE_FRIENDLY_NAME = "deviceFriendlyName"; [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/lib/base/ |
D | StringUtil.java | 59 public static final String WHITE_SPACES = " \r\n\t\u3000\u00A0\u2007\u202F"; 62 public static final String LINE_BREAKS = "\r\n"; 68 public static boolean isEmpty(String string) { in isEmpty() 84 public static boolean isEmptyOrWhitespace(String string) { in isEmptyOrWhitespace() 92 public static String makeSafe(String string) { in makeSafe() 100 public static String toNullIfEmpty(String string) { in toNullIfEmpty() 113 public static String toNullIfEmptyOrWhitespace( in toNullIfEmptyOrWhitespace() 114 String string) { in toNullIfEmptyOrWhitespace() 122 public static String repeat(String string, int count) { in repeat() 204 public static String[] split(String str, String delims) { in split() [all …]
|
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
D | StringUtil.java | 60 public static final String WHITE_SPACES = " \r\n\t\u3000\u00A0\u2007\u202F"; 63 public static final String LINE_BREAKS = "\r\n"; 69 public static boolean isEmpty(String string) { in isEmpty() 85 public static boolean isEmptyOrWhitespace(String string) { in isEmptyOrWhitespace() 93 public static String makeSafe(String string) { in makeSafe() 101 public static String toNullIfEmpty(String string) { in toNullIfEmpty() 114 public static String toNullIfEmptyOrWhitespace( in toNullIfEmptyOrWhitespace() 115 String string) { in toNullIfEmptyOrWhitespace() 123 public static String repeat(String string, int count) { in repeat() 205 public static String[] split(String str, String delims) { in split() [all …]
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactsDatabaseHelper.java | 125 public static final String CONTACTS = "contacts"; 126 public static final String DELETED_CONTACTS = "deleted_contacts"; 127 public static final String RAW_CONTACTS = "raw_contacts"; 128 public static final String STREAM_ITEMS = "stream_items"; 129 public static final String STREAM_ITEM_PHOTOS = "stream_item_photos"; 130 public static final String PHOTO_FILES = "photo_files"; 131 public static final String PACKAGES = "packages"; 132 public static final String MIMETYPES = "mimetypes"; 133 public static final String PHONE_LOOKUP = "phone_lookup"; 134 public static final String NAME_LOOKUP = "name_lookup"; [all …]
|
D | ContactsProvider2.java | 197 private static final String WRITE_PERMISSION = "android.permission.WRITE_CONTACTS"; 199 /* package */ static final String UPDATE_TIMES_CONTACTED_CONTACTS_TABLE = 204 /* package */ static final String UPDATE_TIMES_CONTACTED_RAWCONTACTS_TABLE = 209 /* package */ static final String PHONEBOOK_COLLATOR_NAME = "PHONEBOOK"; 213 /* package */ static final String QUERY_TOKENIZER_REGEX = "[^\\w@]+"; 216 /* package */ static final String CONTACTS_DB_TAG = "contacts"; 219 /* package */ static final String PROFILE_DB_TAG = "profile"; 221 private static final String ACCOUNT_STRING_SEPARATOR_OUTER = "\u0001"; 222 private static final String ACCOUNT_STRING_SEPARATOR_INNER = "\u0002"; 259 private static final String PREAUTHORIZED_URI_TOKEN = "perm_token"; [all …]
|
/packages/apps/Gallery2/src/com/android/photos/data/ |
D | PhotoProvider.java | 53 private static final String TAG = PhotoProvider.class.getSimpleName(); 55 protected static final String DB_NAME = "photo.db"; 56 public static final String AUTHORITY = PhotoProviderAuthority.AUTHORITY; 73 public static final String TABLE = "accounts"; 81 public static final String ACCOUNT_NAME = "name"; 92 public static final String MEDIA_SIZE_QUERY_PARAMETER = "media_size"; 95 public static final String TABLE = "photos"; 100 public static final String ACCOUNT_ID = "account_id"; 102 public static final String WIDTH = "width"; 104 public static final String HEIGHT = "height"; [all …]
|
/packages/apps/Browser/src/com/android/browser/provider/ |
D | BrowserProvider2.java | 73 public static final String PARAM_GROUP_BY = "groupBy"; 74 public static final String PARAM_ALLOW_EMPTY_ACCOUNTS = "allowEmptyAccounts"; 76 public static final String LEGACY_AUTHORITY = "browser"; 83 public static final String _ID = "_id"; 84 public static final String THUMBNAIL = "thumbnail"; 90 public static final String _ID = "_id"; 91 public static final String URL = "url"; 92 public static final String TITLE = "title"; 93 public static final String IS_BOOKMARK = "bookmark"; 96 static final String TABLE_BOOKMARKS = "bookmarks"; [all …]
|
/packages/apps/Settings/src/com/android/settings/search/ |
D | Index.java | 90 private static final String LOG_TAG = "Index"; 109 public static final String ENTRIES_SEPARATOR = "|"; 112 private static final String[] SELECT_COLUMNS = new String[] { 129 private static final String[] MATCH_COLUMNS_PRIMARY = { 135 private static final String[] MATCH_COLUMNS_SECONDARY = { 148 private static final String BASE_AUTHORITY = "com.android.settings"; 150 private static final String EMPTY = ""; 151 private static final String NON_BREAKING_HYPHEN = "\u2011"; 152 private static final String HYPHEN = "-"; 154 private static final String FIELD_NAME_SEARCH_INDEX_DATA_PROVIDER = [all …]
|
/packages/apps/Email/src/com/android/email/mail/store/imap/ |
D | ImapConstants.java | 26 public static final String FETCH_FIELD_BODY_PEEK_BARE = "BODY.PEEK"; 27 public static final String FETCH_FIELD_BODY_PEEK = FETCH_FIELD_BODY_PEEK_BARE + "[]"; 28 public static final String FETCH_FIELD_BODY_PEEK_SANE 29 = String.format(Locale.US, "BODY.PEEK[]<0.%d>", Store.FETCH_BODY_SANE_SUGGESTED_SIZE); 30 public static final String FETCH_FIELD_HEADERS = 33 public static final String ALERT = "ALERT"; 34 public static final String APPEND = "APPEND"; 35 public static final String AUTHENTICATE = "AUTHENTICATE"; 36 public static final String BAD = "BAD"; 37 public static final String BADCHARSET = "BADCHARSET"; [all …]
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | BaseContactsProvider2Test.java | 82 static final String ADD_VOICEMAIL_PERMISSION = 87 static final String READ_VOICEMAIL_PERMISSION = 92 static final String WRITE_VOICEMAIL_PERMISSION = 95 protected static final String PACKAGE = "ContactsProvider2Test"; 96 public static final String READ_ONLY_ACCOUNT_TYPE = 105 protected final static String NO_STRING = new String(""); 118 protected String getAuthority() { in getAuthority() 156 public void addAuthority(String authority) { in addAuthority() 161 String authority) throws Exception { in addProvider() 180 protected int updateItem(Uri uri, long id, String... extras) { in updateItem() [all …]
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarProvider2.java | 91 protected static final String TAG = "CalendarProvider2"; 94 private static final String TIMEZONE_GMT = "GMT"; 95 private static final String ACCOUNT_SELECTION_PREFIX = Calendars.ACCOUNT_NAME + "=? AND " 101 private static final String[] ID_ONLY_PROJECTION = 102 new String[] {Events._ID}; 104 private static final String[] EVENTS_PROJECTION = new String[] { 118 private static final String[] COLORS_PROJECTION = new String[] { 131 private static final String COLOR_FULL_SELECTION = Colors.ACCOUNT_NAME + "=? AND " 135 private static final String GENERIC_ACCOUNT_NAME = Calendars.ACCOUNT_NAME; 136 private static final String GENERIC_ACCOUNT_TYPE = Calendars.ACCOUNT_TYPE; [all …]
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | CalendarProvider2Test.java | 76 static final String TAG = "calendar"; 78 private static final String DEFAULT_ACCOUNT_TYPE = "com.google"; 79 private static final String DEFAULT_ACCOUNT = "joe@joe.com"; 82 private static final String WHERE_CALENDARS_SELECTED = Calendars.VISIBLE + "=?"; 83 private static final String[] WHERE_CALENDARS_ARGS = { 86 private static final String WHERE_COLOR_ACCOUNT_AND_INDEX = Colors.ACCOUNT_NAME + "=? AND " 88 private static final String DEFAULT_SORT_ORDER = "begin ASC"; 105 private static final String CALENDAR_URL = 108 private static final String TIME_ZONE_AMERICA_ANCHORAGE = "America/Anchorage"; 109 private static final String TIME_ZONE_AMERICA_LOS_ANGELES = "America/Los_Angeles"; [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | InputLogicTests.java | 29 final String WORD_TO_TYPE = "abcd"; in testTypeWord() 35 final String WORD_TO_TYPE = "this"; in testPickSuggestionThenBackspace() 36 final String EXPECTED_RESULT = "thi"; in testPickSuggestionThenBackspace() 46 final String WORD_TO_TYPE = "tgis"; in testPickAutoCorrectionThenBackspace() 47 final String WORD_TO_PICK = "this"; in testPickAutoCorrectionThenBackspace() 48 final String EXPECTED_RESULT = "thi"; in testPickAutoCorrectionThenBackspace() 61 final String WORD_TO_TYPE = "tgis"; in testPickTypedWordOverAutoCorrectionThenBackspace() 62 final String EXPECTED_RESULT = "tgi"; in testPickTypedWordOverAutoCorrectionThenBackspace() 75 final String WORD_TO_TYPE = "tgis"; in testPickDifferentSuggestionThenBackspace() 76 final String WORD_TO_PICK = "thus"; in testPickDifferentSuggestionThenBackspace() [all …]
|
/packages/apps/Email/tests/src/com/android/email/mail/store/ |
D | ImapStoreUnitTests.java | 80 private final static String[] NO_REPLY = new String[0]; 83 private final static String FOLDER_NAME = "\u65E5"; 85 private final static String FOLDER_ENCODED = "&ZeU-"; 123 public Context createPackageContext(String packageName, int flags) in createPackageContext() 129 public SharedPreferences getSharedPreferences(String name, int mode) { in getSharedPreferences() 194 expectLogin(mockTransport, false, false, false, new String[] {"* iD nIL", "oK"}, in testLoginFailure() 214 new String[] {"* iD nIL", "oK"}, "oK user authenticated (Success)"); in testTlsOpen() 216 getNextTag(false) + " SELECT \"" + FOLDER_ENCODED + "\"", new String[] { in testTlsOpen() 251 String id = ImapStore.getImapId(mTestContext, "user-name", "host-name", in testImapIdBasic() 253 HashMap<String, String> map = tokenizeImapId(id); in testImapIdBasic() [all …]
|
/packages/services/Mms/src/com/android/mms/service/ |
D | MmsConfig.java | 45 private static final String TAG = MmsService.TAG; 47 private static final String DEFAULT_HTTP_KEY_X_WAP_PROFILE = "x-wap-profile"; 57 public static final String CONFIG_ENABLED_MMS = "enabledMMS"; 60 public static final String CONFIG_ENABLED_TRANS_ID = "enabledTransID"; 61 public static final String CONFIG_ENABLED_NOTIFY_WAP_MMSC = "enabledNotifyWapMMSC"; 62 public static final String CONFIG_ALIAS_ENABLED = "aliasEnabled"; 63 public static final String CONFIG_ALLOW_ATTACH_AUDIO = "allowAttachAudio"; 71 public static final String CONFIG_ENABLE_MULTIPART_SMS = "enableMultipartSMS"; 72 public static final String CONFIG_ENABLE_SMS_DELIVERY_REPORTS = "enableSMSDeliveryReports"; 78 public static final String CONFIG_ENABLE_GROUP_MMS = "enableGroupMms"; [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | MetadataDbHelper.java | 41 private static final String TAG = MetadataDbHelper.class.getSimpleName(); 54 public static final String METADATA_TABLE_NAME = "pendingUpdates"; 55 static final String CLIENT_TABLE_NAME = "clients"; 56 public static final String PENDINGID_COLUMN = "pendingid"; // Download Manager ID 57 public static final String TYPE_COLUMN = "type"; 58 public static final String STATUS_COLUMN = "status"; 59 public static final String LOCALE_COLUMN = "locale"; 60 public static final String WORDLISTID_COLUMN = "id"; 61 public static final String DESCRIPTION_COLUMN = "description"; 62 public static final String LOCAL_FILENAME_COLUMN = "filename"; [all …]
|
/packages/apps/Browser/src/com/android/browser/ |
D | PreferenceKeys.java | 21 static final String PREF_AUTOFILL_ACTIVE_PROFILE_ID = "autofill_active_profile_id"; 22 static final String PREF_DEBUG_MENU = "debug_menu"; 27 static final String PREF_MIN_FONT_SIZE = "min_font_size"; 28 static final String PREF_TEXT_SIZE = "text_size"; 29 static final String PREF_TEXT_ZOOM = "text_zoom"; 30 static final String PREF_DOUBLE_TAP_ZOOM = "double_tap_zoom"; 31 static final String PREF_FORCE_USERSCALABLE = "force_userscalable"; 32 static final String PREF_INVERTED = "inverted"; 33 static final String PREF_INVERTED_CONTRAST = "inverted_contrast"; 38 static final String PREF_AUTOFIT_PAGES = "autofit_pages"; [all …]
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/ |
D | VendorPolicyLoader.java | 40 private static final String POLICY_PACKAGE = "com.android.email.policy"; 41 private static final String POLICY_CLASS = POLICY_PACKAGE + ".EmailPolicy"; 42 private static final String GET_POLICY_METHOD = "getPolicy"; 43 private static final Class<?>[] ARGS = new Class<?>[] {String.class, Bundle.class}; 47 private static final String USE_ALTERNATE_EXCHANGE_STRINGS = "useAlternateExchangeStrings"; 48 private static final String GET_IMAP_ID = "getImapId"; 49 private static final String GET_IMAP_ID_USER = "getImapId.user"; 50 private static final String GET_IMAP_ID_HOST = "getImapId.host"; 51 private static final String GET_IMAP_ID_CAPA = "getImapId.capabilities"; 52 private static final String FIND_PROVIDER = "findProvider"; [all …]
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaProvider.java | 123 private static final HashMap<String, String> sArtistAlbumsMap = new HashMap<String, String>(); 124 private static final HashMap<String, String> sFolderArtMap = new HashMap<String, String>(); 127 private static final String sExternalPath; 129 private static final String sCachePath; 131 private static final String sLegacyPath; 150 HashMap<String, Long> mDirectoryCache = new HashMap<String, Long>(); 165 private static String[] mExternalStoragePaths; 169 private String[] mSearchColsLegacy = new String[] { 188 private String[] mSearchColsFancy = new String[] { 198 private String[] mSearchColsBasic = new String[] { [all …]
|
/packages/apps/Camera2/src/com/android/camera/settings/ |
D | SettingsManager.java | 76 private final String mPackageName; 117 protected SharedPreferences openPreferences(String scope) { in openPreferences() 151 public void onSettingChanged(SettingsManager settingsManager, String key); in onSettingChanged() 159 SharedPreferences sharedPreferences, String key) { in getSharedPreferenceListener() 237 public static final String SCOPE_GLOBAL = "default_scope"; 247 private SharedPreferences getPreferencesFromScope(String scope) { 264 public void setDefaults(String key, String defaultValue, String[] possibleValues) { 273 public void setDefaults(String key, int defaultValue, int[] possibleValues) { 274 String defaultValueString = Integer.toString(defaultValue); 275 String[] possibleValuesString = new String[possibleValues.length]; [all …]
|
/packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/ |
D | BluetoothMapContract.java | 69 … public static final String PROVIDER_INTERFACE = "android.bluetooth.action.BLUETOOTH_MAP_PROVIDER"; 96 public static final String METHOD_UPDATE_FOLDER = "UpdateFolder"; 97 public static final String EXTRA_UPDATE_ACCOUNT_ID = "UpdateAccountId"; 98 public static final String EXTRA_UPDATE_FOLDER_ID = "UpdateFolderId"; 115 public static Uri buildAccountUri(String authority) { in buildAccountUri() 124 public static Uri buildAccountUriwithId(String authority, String accountId) { in buildAccountUriwithId() 135 public static Uri buildMessageUri(String authority) { in buildMessageUri() 146 public static Uri buildMessageUri(String authority, String accountId) { in buildMessageUri() 158 public static Uri buildMessageUriWithId(String authority, String accountId,String messageId) { in buildMessageUriWithId() 171 public static Uri buildFolderUri(String authority, String accountId) { in buildFolderUri() [all …]
|