Home
last modified time | relevance | path

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

12

/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DMediaRouteDescriptor.java60 private final Bundle mBundle; field in MediaRouteDescriptor
64 mBundle = bundle; in MediaRouteDescriptor()
77 return mBundle.getString(KEY_ID); in getId()
89 return mBundle.getStringArrayList(KEY_GROUP_MEMBER_IDS); in getGroupMemberIds()
100 return mBundle.getString(KEY_NAME); in getName()
111 return mBundle.getString(KEY_DESCRIPTION); in getDescription()
121 String iconUri = mBundle.getString(KEY_ICON_URI); in getIconUri()
129 return mBundle.getBoolean(KEY_ENABLED, true); in isEnabled()
138 return mBundle.getBoolean(KEY_CONNECTING, false); in isConnecting()
150 return mBundle.getInt(KEY_CONNECTION_STATE, in getConnectionState()
[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/core/java/android/hardware/radio/
DRadioMetadata.java213 private final Bundle mBundle; field in RadioMetadata
216 mBundle = new Bundle(); in RadioMetadata()
220 mBundle = new Bundle(bundle); in RadioMetadata()
224 mBundle = in.readBundle(); in RadioMetadata()
234 return mBundle.containsKey(key); in containsKey()
245 return mBundle.getString(key); in getString()
256 return mBundle.getInt(key, 0); in getInt()
268 bmp = mBundle.getParcelable(key); in getBitmap()
279 clock = mBundle.getParcelable(key); in getClock()
294 dest.writeBundle(mBundle); in writeToParcel()
[all …]
/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.java293 private final Bundle mBundle; field in MediaMetadataCompat
298 mBundle = new Bundle(bundle); in MediaMetadataCompat()
302 mBundle = in.readBundle(); in MediaMetadataCompat()
312 return mBundle.containsKey(key); in containsKey()
324 return mBundle.getCharSequence(key); in getText()
336 CharSequence text = mBundle.getCharSequence(key); in getString()
351 return mBundle.getLong(key, 0); in getLong()
367 rating = RatingCompat.fromRating(mBundle.getParcelable(key)); in getRating()
369 rating = mBundle.getParcelable(key); in getRating()
388 bmp = mBundle.getParcelable(key); in getBitmap()
[all …]
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/
DLayoutBinder.java66 private ResourceBundle.LayoutFileBundle mBundle; field in LayoutBinder
174 mBundle = layoutBundle; in LayoutBinder()
178 for (ResourceBundle.VariableDeclaration variable : mBundle.getVariables()) { in LayoutBinder()
183 for (ResourceBundle.NameTypeLocation userImport : mBundle.getImports()) { in LayoutBinder()
197 for (BindingTargetBundle targetBundle : mBundle.getBindingTargetBundles()) { in LayoutBinder()
218 Scope.enter(bindingTarget.mBundle); in LayoutBinder()
219 for (BindingTargetBundle.BindingBundle bindingBundle : bindingTarget.mBundle in LayoutBinder()
337 return mBundle.getBindingClassPackage(); in getPackage()
341 return mBundle.isMerge(); in isMerge()
349 return mBundle.getFileName(); in getLayoutname()
[all …]
DBindingTarget.java46 ResourceBundle.BindingTargetBundle mBundle; field in BindingTarget
49 mBundle = bundle; in BindingTarget()
53 return mBundle.isUsed(); in isUsed()
77 …return mBundle.getInterfaceType() == null ? mBundle.getFullClassName() : mBundle.getInterfaceType(… in getInterfaceType()
91 return mBundle.provideScopeLocation(); in provideScopeLocation()
95 return mBundle.getId(); in getId()
99 return mBundle.getTag(); in getTag()
103 return mBundle.getOriginalTag(); in getOriginalTag()
107 return mBundle.getFullClassName(); in getViewClass()
112 if (mBundle.isBinder()) { in getResolvedType()
[all …]
/frameworks/base/media/java/android/media/
DMediaMetadata.java360 private final Bundle mBundle; field in MediaMetadata
364 mBundle = new Bundle(bundle); in MediaMetadata()
368 mBundle = Bundle.setDefusable(in.readBundle(), true); in MediaMetadata()
378 return mBundle.containsKey(key); in containsKey()
390 return mBundle.getCharSequence(key); in getText()
418 return mBundle.getLong(key, 0); in getLong()
431 rating = mBundle.getParcelable(key); in getRating()
449 bmp = mBundle.getParcelable(key); in getBitmap()
464 dest.writeBundle(mBundle); in writeToParcel()
473 return mBundle.size(); in size()
[all …]
DAudioAttributes.java257 private Bundle mBundle; // lazy-initialized, may be null field in AudioAttributes
316 if (mBundle == null) { in getBundle()
317 return mBundle; in getBundle()
319 return new Bundle(mBundle); in getBundle()
357 private Bundle mBundle; field in AudioAttributes.Builder
396 if (mBundle != null) { in build()
397 aa.mBundle = new Bundle(mBundle); in build()
496 if (mBundle == null) { in addBundle()
497 mBundle = new Bundle(bundle); in addBundle()
499 mBundle.putAll(bundle); in addBundle()
[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.java150 Bundle mBundle; in testFieldIntegrity()
168 mBundle = new Bundle(); in testFieldIntegrity()
169 msg.data = mBundle; in testFieldIntegrity()
202 if (newMsg.data == mBundle) { in testFieldIntegrity()
206 if (!newMsg.data.getString("key").equals(mBundle.getString("key"))) { in testFieldIntegrity()
210 newMsg.data.getString("key"), mBundle.getString("key")))); in testFieldIntegrity()
250 if (!msg.data.getString("key").equals(mBundle.getString("key"))) { in testFieldIntegrity()
254 msg.data.getString("key"), mBundle.getString("key"), msg.what))); in testFieldIntegrity()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DRetryManagerTest.java127 private PersistableBundle mBundle; field in RetryManagerTest
132 mBundle = mContextFixture.getCarrierConfigBundle(); in setUp()
150 mBundle.putString(CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_DEFAULT_STRING, in testRetryManagerEmpty()
171 mBundle.putString(CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_DEFAULT_STRING, in testRetryManagerOneApnNoRetry()
193 mBundle.putString(CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_DEFAULT_STRING, in testRetryManagerOneApnTwoRetries()
247 mBundle.putString(CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_DEFAULT_STRING, in testRetryManagerTwoApnsOneRetry()
285 mBundle.putString(CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_DEFAULT_STRING, in testRetryManagerTwoApnsTwoRetries()
333 mBundle.putString(CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_OTHERS_STRING, in testRetryManagerTwoMmsApnsTwoRetries()
381 mBundle.putString(CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_DEFAULT_STRING, in testRetryManagerApnPermanentFailed()
414 mBundle.putString(CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_DEFAULT_STRING, in testRetryManagerApnPermanentFailedWithTwoApns()
[all …]
DApnSettingTest.java40 private PersistableBundle mBundle; field in ApnSettingTest
46 mBundle = mContextFixture.getCarrierConfigBundle(); in setUp()
211 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_APN_TYPES_STRINGS, in testIsMetered()
268 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_ROAMING_APN_TYPES_STRINGS, in testIsRoamingMetered()
308 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_APN_TYPES_STRINGS, in testIsMeteredAnother()
348 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_ROAMING_APN_TYPES_STRINGS, in testIsRoamingMeteredAnother()
406 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_APN_TYPES_STRINGS, in testIsMeteredNothingCharged()
429 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_ROAMING_APN_TYPES_STRINGS, in testIsRoamingMeteredNothingCharged()
453 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_APN_TYPES_STRINGS, in testIsMeteredNothingFree()
477 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_ROAMING_APN_TYPES_STRINGS, in testIsRoamingMeteredNothingFree()
DDcTrackerTest.java111 private PersistableBundle mBundle; field in DcTrackerTest
312 mBundle = mContextFixture.getCarrierConfigBundle(); in setUp()
537 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_APN_TYPES_STRINGS, in testUserDisableData()
589 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_ROAMING_APN_TYPES_STRINGS, in testUserDisableRoaming()
644 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_ROAMING_APN_TYPES_STRINGS, in testDataCallOnUserDisableRoaming()
/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneConnectionTest.java61 private Bundle mBundle = new Bundle(); field in ImsPhoneConnectionTest
78 mImsCallProfile.mCallExtras = mBundle; in setUp()
245 mBundle.putString(ImsCallProfile.EXTRA_CALL_RAT_TYPE, in testSetWifi()
DImsPhoneCallTrackerTest.java68 private Bundle mBundle = new Bundle(); field in ImsPhoneCallTrackerTest
140 mImsCallProfile.mCallExtras = mBundle; in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DContextFixture.java467 private final PersistableBundle mBundle = new PersistableBundle(); field in ContextFixture
490 doReturn(mBundle).when(mCarrierConfigManager).getConfigForSubId(anyInt()); in ContextFixture()
529 return mBundle; in getCarrierConfigBundle()
/frameworks/base/services/core/java/com/android/server/
DTextServicesManagerService.java861 listener.mScLocale, listener.mScListener, listener.mBundle); in onServiceConnected()
974 private final Bundle mBundle; field in TextServicesManagerService.InternalServiceConnection
979 mBundle = bundle; in InternalServiceConnection()
1018 public final Bundle mBundle; field in TextServicesManagerService.InternalDeathRecipient
1027 mBundle = bundle; in InternalDeathRecipient()
/frameworks/base/tools/aapt/
DResourceTable.cpp1756 , mBundle(bundle) in ResourceTable()
1903 if (overlay && !mBundle->getAutoAddOverlay() && !hasBagOrEntry(package, type, name)) { in startBag()
2461 return mBundle->getRequireLocalization(); in getLocalizationSetting()
2796 if (mBundle->getVerbose()) { in validateLocalizations()
2805 if (mBundle->getConfigurations().size() > 0 && mBundle->getRequireLocalization()) { in validateLocalizations()
2806 const char* allConfigs = mBundle->getConfigurations().string(); in validateLocalizations()
4296 return t->getEntry(name, sourcePos, config, doSetIndex, overlay, mBundle->getAutoAddOverlay()); in getEntry()

12