Lines Matching refs:bundle
102 Bundle bundle = attr.getBundle();
104 if (bundle != null) {
105 type = bundle.getInt(KEY_CAR_AUDIO_TYPE, CAR_AUDIO_TYPE_DEFAULT);
161 Bundle bundle = new Bundle();
162 bundle.putInt(KEY_CAR_AUDIO_TYPE, carAudioType);
163 return builder.setContentType(contentType).setUsage(usage).addBundle(bundle).build();
168 Bundle bundle = new Bundle();
169 bundle.putInt(KEY_CAR_AUDIO_TYPE, CAR_AUDIO_TYPE_RADIO);
170 bundle.putString(KEY_EXT_ROUTING_TYPE, radioType);
172 setUsage(AudioAttributes.USAGE_MEDIA).addBundle(bundle).build();
177 Bundle bundle = new Bundle();
178 bundle.putInt(KEY_CAR_AUDIO_TYPE, CAR_AUDIO_TYPE_EXTERNAL_SOURCE);
179 bundle.putString(KEY_EXT_ROUTING_TYPE, externalSourceType);
181 setUsage(AudioAttributes.USAGE_MEDIA).addBundle(bundle).build();
190 Bundle bundle = attr.getBundle();
192 if (bundle != null) {
193 extRouting = bundle.getString(KEY_EXT_ROUTING_TYPE);