Home
last modified time | relevance | path

Searched refs:mBundle (Results 1 – 17 of 17) sorted by relevance

/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DMediaRouteDescriptor.java55 private final Bundle mBundle; field in MediaRouteDescriptor
59 mBundle = bundle; in MediaRouteDescriptor()
72 return mBundle.getString(KEY_ID); in getId()
83 return mBundle.getString(KEY_NAME); in getName()
94 return mBundle.getString(KEY_DESCRIPTION); in getDescription()
101 return mBundle.getBoolean(KEY_ENABLED, true); in isEnabled()
108 return mBundle.getBoolean(KEY_CONNECTING, false); in isConnecting()
118 return mBundle.getBoolean(KEY_CAN_DISCONNECT, false); in canDisconnectAndKeepPlaying()
129 return mBundle.getParcelable(KEY_SETTINGS_INTENT); in getSettingsActivity()
142 mControlFilters = mBundle.<IntentFilter>getParcelableArrayList(KEY_CONTROL_FILTERS); in ensureControlFilters()
[all …]
DMediaItemStatus.java67 private final Bundle mBundle; field in MediaItemStatus
199 mBundle = bundle; in MediaItemStatus()
209 return mBundle.getLong(KEY_TIMESTAMP); in getTimestamp()
222 return mBundle.getInt(KEY_PLAYBACK_STATE, PLAYBACK_STATE_ERROR); in getPlaybackState()
232 return mBundle.getLong(KEY_CONTENT_POSITION, -1); in getContentPosition()
242 return mBundle.getLong(KEY_CONTENT_DURATION, -1); in getContentDuration()
251 return mBundle.getBundle(KEY_EXTRAS); in getExtras()
297 return mBundle; in asBundle()
314 private final Bundle mBundle; field in MediaItemStatus.Builder
323 mBundle = new Bundle(); in Builder()
[all …]
DMediaSessionStatus.java51 private final Bundle mBundle; field in MediaSessionStatus
86 mBundle = bundle; in MediaSessionStatus()
96 return mBundle.getLong(KEY_TIMESTAMP); in getTimestamp()
106 return mBundle.getInt(KEY_SESSION_STATE, SESSION_STATE_INVALIDATED); in getSessionState()
115 return mBundle.getBoolean(KEY_QUEUE_PAUSED); in isQueuePaused()
124 return mBundle.getBundle(KEY_EXTRAS); in getExtras()
159 return mBundle; in asBundle()
176 private final Bundle mBundle; field in MediaSessionStatus.Builder
185 mBundle = new Bundle(); in Builder()
199 mBundle = new Bundle(status.mBundle); in Builder()
[all …]
DMediaRouteDiscoveryRequest.java31 private final Bundle mBundle; field in MediaRouteDiscoveryRequest
45 mBundle = new Bundle(); in MediaRouteDiscoveryRequest()
47 mBundle.putBundle(KEY_SELECTOR, selector.asBundle()); in MediaRouteDiscoveryRequest()
48 mBundle.putBoolean(KEY_ACTIVE_SCAN, activeScan); in MediaRouteDiscoveryRequest()
52 mBundle = bundle; in MediaRouteDiscoveryRequest()
65 mSelector = MediaRouteSelector.fromBundle(mBundle.getBundle(KEY_SELECTOR)); in ensureSelector()
78 return mBundle.getBoolean(KEY_ACTIVE_SCAN); in isActiveScan()
120 return mBundle; in asBundle()
DMediaRouteProviderDescriptor.java36 private final Bundle mBundle; field in MediaRouteProviderDescriptor
41 mBundle = bundle; in MediaRouteProviderDescriptor()
55 ArrayList<Bundle> routeBundles = mBundle.<Bundle>getParcelableArrayList(KEY_ROUTES); in ensureRoutes()
105 return mBundle; in asBundle()
122 private final Bundle mBundle; field in MediaRouteProviderDescriptor.Builder
129 mBundle = new Bundle(); in Builder()
141 mBundle = new Bundle(descriptor.mBundle); in Builder()
192 mBundle.putParcelableArrayList(KEY_ROUTES, routeBundles); in build()
194 return new MediaRouteProviderDescriptor(mBundle, mRoutes); in build()
DMediaRouteSelector.java49 private final Bundle mBundle; field in MediaRouteSelector
58 mBundle = bundle; in MediaRouteSelector()
74 mControlCategories = mBundle.getStringArrayList(KEY_CONTROL_CATEGORIES); in ensureControlCategories()
196 return mBundle; in asBundle()
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DTest.java10 private Bundle mBundle; field in Test
19 mBundle = new Bundle(); in setUp()
25 mBundle.putFloat(key, value); in setUp()
29 synchronized(mBundle) { in setUp()
30 mBundle.notify(); in setUp()
37 synchronized(mBundle) { in testCanvas()
39 mBundle.wait(); in testCanvas()
44 getInstrumentation().sendStatus(0, mBundle); in testCanvas()
/frameworks/support/v4/java/android/support/v4/media/
DMediaMetadataCompat.java255 private final Bundle mBundle; field in MediaMetadataCompat
260 mBundle = new Bundle(bundle); in MediaMetadataCompat()
264 mBundle = in.readBundle(); in MediaMetadataCompat()
274 return mBundle.containsKey(key); in containsKey()
286 return mBundle.getCharSequence(key); in getText()
298 CharSequence text = mBundle.getCharSequence(key); in getString()
313 return mBundle.getLong(key, 0); in getLong()
326 rating = mBundle.getParcelable(key); in getRating()
344 bmp = mBundle.getParcelable(key); in getBitmap()
426 dest.writeBundle(mBundle); in writeToParcel()
[all …]
/frameworks/base/media/java/android/media/
DMediaMetadata.java324 private final Bundle mBundle; field in MediaMetadata
328 mBundle = new Bundle(bundle); in MediaMetadata()
332 mBundle = in.readBundle(); in MediaMetadata()
342 return mBundle.containsKey(key); in containsKey()
354 return mBundle.getCharSequence(key); in getText()
382 return mBundle.getLong(key, 0); in getLong()
395 rating = mBundle.getParcelable(key); in getRating()
413 bmp = mBundle.getParcelable(key); in getBitmap()
428 dest.writeBundle(mBundle); in writeToParcel()
437 return mBundle.size(); in size()
[all …]
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/
DRequestUtils.java44 private Bundle mBundle; field in RequestUtils.ContentBuilder
47 mBundle = new Bundle(); in ContentBuilder()
51 mBundle.putString(EXTRA_KEY_SOURCE, source); in setSource()
60 mBundle.putBundle(EXTRA_KEY_METADATA, metadata); in setMetadata()
65 mBundle.putSerializable(EXTRA_KEY_HEADERS, headers); in setHeaders()
70 return mBundle; in build()
DMediaItem.java27 private Bundle mBundle; field in MediaItem
34 mBundle = in.readBundle(); in MediaItem()
38 return mBundle.getString(MediaMetadata.METADATA_KEY_TITLE); in getTitle()
42 return mBundle.getString(MediaMetadata.METADATA_KEY_ALBUM_ARTIST); in getArtist()
60 dest.writeBundle(mBundle); in writeToParcel()
/frameworks/base/core/tests/coretests/src/android/os/
DMessageQueueTest.java148 Bundle mBundle; in testFieldIntegrity()
166 mBundle = new Bundle(); in testFieldIntegrity()
167 msg.data = mBundle; in testFieldIntegrity()
200 if (newMsg.data == mBundle) { in testFieldIntegrity()
204 if (!newMsg.data.getString("key").equals(mBundle.getString("key"))) { in testFieldIntegrity()
208 newMsg.data.getString("key"), mBundle.getString("key")))); in testFieldIntegrity()
248 if (!msg.data.getString("key").equals(mBundle.getString("key"))) { in testFieldIntegrity()
252 msg.data.getString("key"), mBundle.getString("key"), msg.what))); in testFieldIntegrity()
/frameworks/base/core/java/android/service/textservice/
DSpellCheckerService.java240 private final Bundle mBundle; field in SpellCheckerService.InternalISpellCheckerSession
247 mBundle = bundle; in InternalISpellCheckerSession()
303 return mBundle; in getBundle()
/frameworks/base/services/core/java/com/android/server/
DTextServicesManagerService.java804 listener.mScLocale, listener.mScListener, listener.mBundle); in onServiceConnected()
918 private final Bundle mBundle; field in TextServicesManagerService.InternalServiceConnection
923 mBundle = bundle; in InternalServiceConnection()
962 public final Bundle mBundle; field in TextServicesManagerService.InternalDeathRecipient
971 mBundle = bundle; in InternalDeathRecipient()
/frameworks/base/tools/aapt/
DResourceTable.cpp1728 , mBundle(bundle) in ResourceTable()
1875 if (overlay && !mBundle->getAutoAddOverlay() && !hasBagOrEntry(package, type, name)) { in startBag()
2373 return mBundle->getRequireLocalization(); in getLocalizationSetting()
2688 if (mBundle->getVerbose()) { in validateLocalizations()
2699 if (mBundle->getConfigurations().size() > 0 && mBundle->getRequireLocalization()) { in validateLocalizations()
2700 const char* allConfigs = mBundle->getConfigurations().string(); in validateLocalizations()
4185 return t->getEntry(name, sourcePos, config, doSetIndex, overlay, mBundle->getAutoAddOverlay()); in getEntry()
DResourceTable.h589 Bundle* mBundle; variable
DResource.cpp336 mBundle(bundle), mAssets(assets), mFile(file), mHasErrors(hasErrors) { in PreProcessImageWorkUnit()
340 status_t status = preProcessImage(mBundle, mAssets, mFile, NULL); in run()
348 const Bundle* mBundle; member in PreProcessImageWorkUnit