/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() 89 new String[0], in testEmptyEntry() 92 new String[0], in testEmptyEntry() 96 new String[0], in testEmptyEntry() [all …]
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | LogUtils.java | 33 private static final String TAG = "Telecom"; 34 private static final String LOGUTILS_TAG = "LogUtils"; 40 private Map<String, Long> mTimings = new HashMap<>(); 46 public void record(String label) { in record() 53 public String toString() { in toString() 55 for (Map.Entry<String, Long> entry : mTimings.entrySet()) { in toString() 63 public static final String ICA_ANSWER_CALL = "ICA.aC"; 64 public static final String ICA_DEFLECT_CALL = "ICA.defC"; 65 public static final String ICA_REJECT_CALL = "ICA.rC"; 66 public static final String ICA_TRANSFER_CALL = "ICA.tC"; [all …]
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/imap/ |
D | ImapConstants.java | 25 public static final String FETCH_FIELD_BODY_PEEK_BARE = "BODY.PEEK"; 26 public static final String FETCH_FIELD_BODY_PEEK = FETCH_FIELD_BODY_PEEK_BARE + "[]"; 27 public static final String FETCH_FIELD_BODY_PEEK_TRUNCATED = 28 String.format(Locale.US, "BODY.PEEK[]<0.%d>", ImapStore.FETCH_BODY_TRUNCATED_SUGGESTED_SIZE); 29 public static final String FETCH_FIELD_HEADERS = 32 public static final String ALERT = "ALERT"; 33 public static final String APPEND = "APPEND"; 34 public static final String AUTHENTICATE = "AUTHENTICATE"; 35 public static final String BAD = "BAD"; 36 public static final String BADCHARSET = "BADCHARSET"; [all …]
|
/packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/ |
D | BluetoothMapContract.java | 71 public static final String PROVIDER_INTERFACE_EMAIL = 73 public static final String PROVIDER_INTERFACE_IM = 100 public static final String METHOD_UPDATE_FOLDER = "UpdateFolder"; 101 public static final String EXTRA_UPDATE_ACCOUNT_ID = "UpdateAccountId"; 102 public static final String EXTRA_UPDATE_FOLDER_ID = "UpdateFolderId"; 122 public static final String METHOD_SET_OWNER_STATUS = "SetOwnerStatus"; 123 public static final String EXTRA_ACCOUNT_ID = "AccountId"; // Is this needed 124 public static final String EXTRA_PRESENCE_STATE = "PresenceState"; 125 public static final String EXTRA_PRESENCE_STATUS = "PresenceStatus"; 126 public static final String EXTRA_LAST_ACTIVE = "LastActive"; [all …]
|
/packages/apps/Dialer/java/com/android/voicemail/impl/ |
D | OmtpConstants.java | 25 public static final String SMS_FIELD_SEPARATOR = ";"; 26 public static final String SMS_KEY_VALUE_SEPARATOR = "="; 27 public static final String SMS_PREFIX_SEPARATOR = ":"; 29 public static final String SYNC_SMS_PREFIX = "SYNC"; 30 public static final String STATUS_SMS_PREFIX = "STATUS"; 33 public static final String DATE_TIME_FORMAT = "dd/MM/yyyy HH:mm Z"; 36 public static final String PROTOCOL_VERSION1_1 = "11"; 38 public static final String PROTOCOL_VERSION1_2 = "12"; 39 public static final String PROTOCOL_VERSION1_3 = "13"; 44 public static final String ACTIVATE_REQUEST = "Activate"; [all …]
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | ContentType.java | 23 public static String THREE_GPP_EXTENSION = "3gp"; 24 public static String VIDEO_MP4_EXTENSION = "mp4"; 26 public static String DEFAULT_EXTENSION = "dat"; 34 public static final String ANY_TYPE = "*/*"; 35 public static final String MMS_MESSAGE = "application/vnd.wap.mms-message"; 38 public static final String MMS_GENERIC = "application/vnd.wap.mms-generic"; 39 public static final String MMS_MULTIPART_MIXED = "application/vnd.wap.multipart.mixed"; 40 public static final String MMS_MULTIPART_RELATED = "application/vnd.wap.multipart.related"; 41 public static final String MMS_MULTIPART_ALTERNATIVE = 44 public static final String TEXT_PLAIN = "text/plain"; [all …]
|
D | BugleGservicesKeys.java | 30 public static final String ENABLE_DEBUGGING_FEATURES 38 public static final String ENABLE_LOG_SAVER = "bugle_logsaver"; 44 public static final String INITIAL_MESSAGE_RESEND_DELAY_MS = "bugle_resend_delay_in_millis"; 50 public static final String MAX_MESSAGE_RESEND_DELAY_MS = "bugle_max_resend_delay_in_millis"; 56 public static final String MESSAGE_RESEND_TIMEOUT_MS = "bugle_resend_timeout_in_millis"; 62 public static final String MESSAGE_DOWNLOAD_TIMEOUT_MS = "bugle_download_timeout_in_millis"; 68 public static final String SMS_SEND_TIMEOUT_IN_MILLIS = "bugle_sms_send_timeout"; 89 public static final String SMS_SYNC_BATCH_SIZE_MIN = 92 public static final String SMS_SYNC_BATCH_SIZE_MAX = 95 public static final String SMS_SYNC_BATCH_TIME_LIMIT_MILLIS = [all …]
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | MmsSmsProvider.java | 82 private static final String LOG_TAG = "MmsSmsProvider"; 85 private static final String NO_DELETES_INSERTS_OR_UPDATES = 122 public static final String TABLE_PENDING_MSG = "pending_msgs"; 127 static final String TABLE_CANONICAL_ADDRESSES = "canonical_addresses"; 132 static final String TABLE_THREADS = "threads"; 139 private static final String[] MMS_SMS_COLUMNS = 145 private static final String[] MMS_ONLY_COLUMNS = { 156 private static final String[] SMS_ONLY_COLUMNS = 161 private static final String[] THREADS_COLUMNS = { 168 private static final String[] CANONICAL_ADDRESSES_COLUMNS_1 = [all …]
|
/packages/apps/TV/src/com/android/tv/dvr/provider/ |
D | DvrContract.java | 29 public static final String TABLE_NAME = "schedules"; 32 public static final String TYPE_PROGRAM = "TYPE_PROGRAM"; 35 public static final String TYPE_TIMED = "TYPE_TIMED"; 38 public static final String STATE_RECORDING_NOT_STARTED = "STATE_RECORDING_NOT_STARTED"; 41 public static final String STATE_RECORDING_IN_PROGRESS = "STATE_RECORDING_IN_PROGRESS"; 44 public static final String STATE_RECORDING_FINISHED = "STATE_RECORDING_FINISHED"; 47 public static final String STATE_RECORDING_FAILED = "STATE_RECORDING_FAILED"; 50 public static final String STATE_RECORDING_CLIPPED = "STATE_RECORDING_CLIPPED"; 53 public static final String STATE_RECORDING_DELETED = "STATE_RECORDING_DELETED"; 56 public static final String STATE_RECORDING_CANCELED = "STATE_RECORDING_CANCELED"; [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/Messaging/src/com/android/messaging/datamodel/ |
D | DatabaseHelper.java | 46 public static final String DATABASE_NAME = "bugle_db"; 56 private static final String PRIMARY_TABLE = "sqlite_master"; 58 private static final String[] PRIMARY_COLUMNS = new String[] { "name", }; 61 public static final String CONVERSATIONS_TABLE = "conversations"; 62 public static final String MESSAGES_TABLE = "messages"; 63 public static final String PARTS_TABLE = "parts"; 64 public static final String PARTICIPANTS_TABLE = "participants"; 65 public static final String CONVERSATION_PARTICIPANTS_TABLE = "conversation_participants"; 68 static final String DRAFT_PARTS_VIEW = "draft_parts_view"; 73 public static final String SMS_THREAD_ID = "sms_thread_id"; [all …]
|
D | BugleDatabaseOperations.java | 66 private static final String TAG = LogUtil.BUGLE_DATABASE_TAG; 69 private static final ArrayMap<String, String> sNormalizedPhoneNumberToParticipantIdCache = 70 new ArrayMap<String, String>(); 79 final List<String> recipients, final int refSubId) { in getConversationParticipantsFromRecipients() 85 for (final String recipient : recipients) { in getConversationParticipantsFromRecipients() 101 final HashSet<String> recipients = new HashSet<String>(); in sanitizeConversationParticipants() 103 final String recipient = participants.get(i).getNormalizedDestination(); in sanitizeConversationParticipants() 112 final HashSet<String> selfNumbers = in sanitizeConversationParticipants() 126 final String recipient = participants.get(i).getNormalizedDestination(); in sanitizeConversationParticipants() 140 public static ArrayList<String> getRecipientsFromConversationParticipants( in getRecipientsFromConversationParticipants() [all …]
|
/packages/services/Telephony/src/com/android/phone/ |
D | CarrierXmlParser.java | 60 public static final String LOG_TAG = "CarrierXmlParser"; 63 private static final String STAR_SIGN = "*"; 64 private static final String POUND_SIGN = "#"; 66 private static final String TAG_SIGN = "tag_"; 69 public static final String FEATURE_CALL_FORWARDING = "callforwarding"; 70 public static final String FEATURE_CALLER_ID = "callerid"; 73 public static final String TAG_COMMAND_NAME_QUERY = "query"; 74 public static final String TAG_COMMAND_NAME_ACTIVATE = "activate"; 75 public static final String TAG_COMMAND_NAME_DEACTIVATE = "deactivate"; 79 private static final String TAG_FEATURE = "feature"; [all …]
|
/packages/apps/Messaging/src/android/support/v7/mms/pdu/ |
D | ContentType.java | 23 public static final String MMS_MESSAGE = "application/vnd.wap.mms-message"; 26 public static final String MMS_GENERIC = "application/vnd.wap.mms-generic"; 27 public static final String MULTIPART_MIXED = "application/vnd.wap.multipart.mixed"; 28 public static final String MULTIPART_RELATED = "application/vnd.wap.multipart.related"; 29 public static final String MULTIPART_ALTERNATIVE = "application/vnd.wap.multipart.alternative"; 31 public static final String TEXT_PLAIN = "text/plain"; 32 public static final String TEXT_HTML = "text/html"; 33 public static final String TEXT_VCALENDAR = "text/x-vCalendar"; 34 public static final String TEXT_VCARD = "text/x-vCard"; 36 public static final String IMAGE_UNSPECIFIED = "image/*"; [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | InputLogicTests.java | 47 final String WORD_TO_TYPE = "abcd"; in testTypeWord() 53 final String WORD_TO_TYPE = "this"; in testPickSuggestionThenBackspace() 54 final String EXPECTED_RESULT = "thi"; in testPickSuggestionThenBackspace() 64 final String WORD_TO_TYPE = "tgis"; in testPickAutoCorrectionThenBackspace() 65 final String WORD_TO_PICK = "this"; in testPickAutoCorrectionThenBackspace() 66 final String EXPECTED_RESULT = "thi"; in testPickAutoCorrectionThenBackspace() 79 final String WORD_TO_TYPE = "tgis"; in testPickTypedWordOverAutoCorrectionThenBackspace() 80 final String EXPECTED_RESULT = "tgi"; in testPickTypedWordOverAutoCorrectionThenBackspace() 93 final String WORD_TO_TYPE = "tgis"; in testPickDifferentSuggestionThenBackspace() 94 final String WORD_TO_PICK = "thus"; in testPickDifferentSuggestionThenBackspace() [all …]
|
/packages/apps/Camera2/src/com/android/camera/settings/ |
D | SettingsManager.java | 81 private final String mPackageName; 86 public static final String MODULE_SCOPE_PREFIX = "_preferences_module_"; 87 public static final String CAMERA_SCOPE_PREFIX = "_preferences_camera_"; 128 protected SharedPreferences openPreferences(String scope) { in openPreferences() 133 String validScope = scope.replaceAll("/", "_"); in openPreferences() 162 public static String getCameraSettingScope(String cameraIdValue) { in getCameraSettingScope() 166 public static String getModuleSettingScope(String moduleScopeNamespace) { in getModuleSettingScope() 177 public void onSettingChanged(SettingsManager settingsManager, String key); in onSettingChanged() 185 SharedPreferences sharedPreferences, String key) { in getSharedPreferenceListener() 269 public static final String SCOPE_GLOBAL = "default_scope"; [all …]
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/ |
D | Downloads.java | 47 public static final String PERMISSION_ACCESS = "android.permission.ACCESS_DOWNLOAD_MANAGER"; 52 public static final String PERMISSION_ACCESS_ADVANCED = 58 public static final String PERMISSION_ACCESS_ALL = 65 public static final String PERMISSION_CACHE = "android.permission.ACCESS_CACHE_FILESYSTEM"; 70 public static final String PERMISSION_SEND_INTENTS = 77 public static final String PERMISSION_CACHE_NON_PURGEABLE = 83 public static final String PERMISSION_NO_NOTIFICATION = 100 public static final String PUBLICLY_ACCESSIBLE_DOWNLOADS_URI_SEGMENT = "public_downloads"; 114 public static final String ACTION_DOWNLOAD_COMPLETED = 127 public static final String ACTION_NOTIFICATION_CLICKED = [all …]
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | ConversationMessageData.java | 51 private static final String TAG = LogUtil.BUGLE_TAG; 53 private String mMessageId; 54 private String mConversationId; 55 private String mParticipantId; 64 private String mSmsMessageUri; 67 private String mMmsSubject; 70 private String mSenderFullName; 71 private String mSenderFirstName; 72 private String mSenderDisplayDestination; 73 private String mSenderNormalizedDestination; [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapbMessage.java | 35 protected static final String TAG = "BluetoothMapbMessage"; 39 private String mVersionString = "VERSION:1.0"; 46 private String mStatus = null; // READ/UNREAD 49 private String mFolder = null; 53 protected String mEncoding = null; 54 protected String mCharset = null; 55 private String mLanguage = null; 65 private String mVersion; 66 private String mName = null; 67 private String mFormattedName = null; [all …]
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/ |
D | IndexData.java | 40 public final String packageName; 41 public final String authority; 42 public final String locale; 43 public final String updatedTitle; 44 public final String normalizedTitle; 45 public final String updatedSummaryOn; 46 public final String normalizedSummaryOn; 47 public final String entries; 48 public final String className; 49 public final String childClassName; [all …]
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/ |
D | PsipData.java | 147 private final String mShortName; 148 private final String mLongName; 155 private String mDescription; 158 String shortName, in VctItem() 159 String longName, in VctItem() 176 public String getShortName() { in getShortName() 180 public String getLongName() { in getLongName() 209 public String toString() { in toString() 210 return String.format( in toString() 224 public void setDescription(String description) { in setDescription() [all …]
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactsDatabaseHelper.java | 156 private static final String USE_STRICT_PHONE_NUMBER_COMPARISON_KEY 159 private static final String USE_STRICT_PHONE_NUMBER_COMPARISON_FOR_RUSSIA_KEY 162 private static final String USE_STRICT_PHONE_NUMBER_COMPARISON_FOR_KAZAKHSTAN_KEY 165 private static final String RUSSIA_COUNTRY_CODE = "RU"; 166 private static final String KAZAKHSTAN_COUNTRY_CODE = "KZ"; 169 public static final String CONTACTS = "contacts"; 170 public static final String DELETED_CONTACTS = "deleted_contacts"; 171 public static final String RAW_CONTACTS = "raw_contacts"; 172 public static final String STREAM_ITEMS = "stream_items"; 173 public static final String STREAM_ITEM_PHOTOS = "stream_item_photos"; [all …]
|
/packages/apps/Dialer/java/com/android/dialer/metrics/ |
D | Metrics.java | 25 String APPLICATION_ON_CREATE_EVENT_NAME = "Application.onCreate"; 26 String DIALTACTS_ON_CREATE_EVENT_NAME = "GoogleDialtactsActivity.onCreate"; 27 String MAIN_ACTIVITY_ON_CREATE_EVENT_NAME = "GoogleMainActivity.onCreate"; 28 String ON_CALL_ADDED_TO_ON_INCALL_UI_SHOWN_INCOMING = 30 String ON_CALL_ADDED_TO_ON_INCALL_UI_SHOWN_OUTGOING = 32 String DIALTACTS_ON_RESUME_MEMORY_EVENT_NAME = "GoogleDialtactsActivity.onResume"; 33 String OLD_MAIN_ACTIVITY_PEER_ON_RESUME_MEMORY_EVENT_NAME = "OldMainActivityPeer.onResume"; 34 String INCALL_ACTIVITY_ON_RESUME_MEMORY_EVENT_NAME = "IncallActivity.OnResume"; 35 String INCALL_ACTIVITY_ON_STOP_MEMORY_EVENT_NAME = "IncallActivity.OnStop"; 36 String OLD_CALL_LOG_JANK_EVENT_NAME = "OldCallLog.Jank"; [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | SubtypeLocaleUtils.java | 44 static final String TAG = SubtypeLocaleUtils.class.getSimpleName(); 47 private static final String RESOURCE_PACKAGE_NAME = R.class.getPackage().getName(); 50 public static final String NO_LANGUAGE = "zz"; 51 public static final String QWERTY = "qwerty"; 52 public static final String EMOJI = "emoji"; 59 private static final HashMap<String, String> sKeyboardLayoutToDisplayNameMap = new HashMap<>(); 61 private static final HashMap<String, Integer> sKeyboardLayoutToNameIdsMap = new HashMap<>(); 63 private static final HashMap<String, Integer> sExceptionalLocaleDisplayedInRootLocale = 66 private static final HashMap<String, Integer> sExceptionalLocaleToNameIdsMap = new HashMap<>(); 68 private static final HashMap<String, Integer> sExceptionalLocaleToWithLayoutNameIdsMap = [all …]
|
/packages/apps/TV/src/com/android/tv/parental/ |
D | ContentRatingSystem.java | 35 String name1 = s1.getDisplayName(); 36 String name2 = s2.getDisplayName(); 40 private static final String DELIMITER = "/"; 43 private final String mName; 46 private final String mDomain; 49 private final String mTitle; 52 private final String mDescription; 55 private final List<String> mCountries; 59 private final String mDisplayName; 80 public String getId() { in getId() [all …]
|