Lines Matching refs:bundle
767 * touching the extras bundle in the system process is not safe because the bundle may contain
1820 * Make sure this CharSequence is safe to put into a bundle, which basically
1883 // an explicit list of the pending intents in the extras bundle.
5045 Bundle bundle = new Bundle();
5047 bundle.putCharSequence(KEY_TEXT, mText);
5049 bundle.putLong(KEY_TIMESTAMP, mTimestamp);
5051 bundle.putCharSequence(KEY_SENDER, mSender);
5054 bundle.putString(KEY_DATA_MIME_TYPE, mDataMimeType);
5057 bundle.putParcelable(KEY_DATA_URI, mDataUri);
5059 return bundle;
5084 static Message getMessageFromBundle(Bundle bundle) {
5086 if (!bundle.containsKey(KEY_TEXT) || !bundle.containsKey(KEY_TIMESTAMP)) {
5089 Message message = new Message(bundle.getCharSequence(KEY_TEXT),
5090 bundle.getLong(KEY_TIMESTAMP), bundle.getCharSequence(KEY_SENDER));
5091 if (bundle.containsKey(KEY_DATA_MIME_TYPE) &&
5092 bundle.containsKey(KEY_DATA_URI)) {
5094 message.setData(bundle.getString(KEY_DATA_MIME_TYPE),
5095 (Uri) bundle.getParcelable(KEY_DATA_URI));
6895 * Get an array of Notification objects from a parcelable array bundle field.
6896 * Update the bundle to have a typed array so fetches in the future don't need
6899 private static Notification[] getNotificationArrayFromBundle(Bundle bundle, String key) {
6900 Parcelable[] array = bundle.getParcelableArray(key);
6906 bundle.putParcelableArray(key, typedArray);