Home
last modified time | relevance | path

Searched refs:getExtras (Results 1 – 25 of 214) sorted by relevance

123456789

/frameworks/support/media-compat/tests/src/android/support/v4/media/session/
DPlaybackStateCompatTest.java77 assertNull(state.getExtras()); in testBuilder()
111 assertNotNull(state.getExtras()); in testBuilder_setterMethods()
112 assertEquals(EXTRAS_VALUE, state.getExtras().get(EXTRAS_KEY)); in testBuilder_setterMethods()
232 assertNotNull(stateOut.getExtras()); in testWriteToParcel()
233 assertEquals(EXTRAS_VALUE, stateOut.getExtras().get(EXTRAS_KEY)); in testWriteToParcel()
269 assertEquals(EXTRAS_VALUE, customAction.getExtras().get(EXTRAS_KEY)); in testCustomAction()
291 assertEquals(action1.getExtras() != null, action2.getExtras() != null); in assertCustomActionEquals()
292 if (action1.getExtras() != null) { in assertCustomActionEquals()
293 assertEquals(action1.getExtras().get(EXTRAS_KEY), action2.getExtras().get(EXTRAS_KEY)); in assertCustomActionEquals()
/frameworks/base/core/java/android/appwidget/
DAppWidgetProvider.java62 Bundle extras = intent.getExtras(); in onReceive()
70 Bundle extras = intent.getExtras(); in onReceive()
76 Bundle extras = intent.getExtras(); in onReceive()
89 Bundle extras = intent.getExtras(); in onReceive()
/frameworks/base/packages/Shell/tests/src/com/android/shell/
DActionSendMultipleConsumerActivity.java52 customIntent.putExtras(intent.getExtras()); in onCreate()
98 mQueue.put(intent.getExtras()); in CustomActionSendMultipleListener()
113 Bundle getExtras() { in getExtras() method in ActionSendMultipleConsumerActivity.CustomActionSendMultipleListener
/frameworks/base/telecomm/java/android/telecom/
DStatusHints.java106 public Bundle getExtras() { in getExtras() method in StatusHints
145 Objects.equals(otherHints.getExtras(), getExtras()); in equals()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointManagerTest.java168 assertTrue(intent.getValue().getExtras().containsKey(EXTRA_BSSID_LONG)); in verifyIconIntent()
169 assertEquals(bssid, intent.getValue().getExtras().getLong(EXTRA_BSSID_LONG)); in verifyIconIntent()
170 assertTrue(intent.getValue().getExtras().containsKey(EXTRA_FILENAME)); in verifyIconIntent()
171 assertEquals(fileName, intent.getValue().getExtras().getString(EXTRA_FILENAME)); in verifyIconIntent()
173 assertTrue(intent.getValue().getExtras().containsKey(EXTRA_ICON)); in verifyIconIntent()
174 Icon icon = (Icon) intent.getValue().getExtras().getParcelable(EXTRA_ICON); in verifyIconIntent()
177 assertFalse(intent.getValue().getExtras().containsKey(EXTRA_ICON)); in verifyIconIntent()
371 assertTrue(intent.getValue().getExtras().containsKey(EXTRA_BSSID_LONG)); in onDeauthImminentReceived()
372 assertEquals(BSSID, intent.getValue().getExtras().getLong(EXTRA_BSSID_LONG)); in onDeauthImminentReceived()
373 assertTrue(intent.getValue().getExtras().containsKey(EXTRA_ESS)); in onDeauthImminentReceived()
[all …]
/frameworks/support/media-compat/api22/android/support/v4/media/session/
DPlaybackStateCompatApi22.java27 public static Bundle getExtras(Object stateObj) { in getExtras() method in PlaybackStateCompatApi22
28 return ((PlaybackState)stateObj).getExtras(); in getExtras()
/frameworks/support/compat/java/android/support/v4/app/
DNotificationCompatJellybean.java86 public static Bundle getExtras(Notification notif) { in getExtras() method in NotificationCompatJellybean
138 Bundle actionExtras = new Bundle(action.getExtras()); in writeActionAndGetExtras()
166 Bundle extras = getExtras(notif); in getAction()
248 if (action.getExtras() != null) { in getBundleForAction()
249 actionExtras = new Bundle(action.getExtras()); in getBundleForAction()
283 data.putBundle(KEY_EXTRAS, remoteInput.getExtras()); in toBundle()
DRemoteInput.java123 public Bundle getExtras() { in getExtras() method in RemoteInput
224 public Bundle getExtras() { in getExtras() method in RemoteInput.Builder
269 Bundle extras = clipDataIntent.getExtras(); in getDataResultsFromIntent()
307 return clipDataIntent.getExtras().getParcelable(RemoteInput.EXTRA_RESULTS_DATA); in getResultsFromIntent()
435 .addExtras(src.getExtras()) in fromCompat()
DNotificationCompat.java1259 public Bundle getExtras() { in getExtras() method in NotificationCompat.Builder
2160 Bundle extras = NotificationCompat.getExtras(notification); in extractMessagingStyleFromNotification()
2399 public Bundle getExtras() { in getExtras() method in NotificationCompat.MessagingStyle.Message
2481 message.getExtras().putAll(bundle.getBundle(KEY_EXTRAS_BUNDLE)); in getMessageFromBundle()
2788 public Bundle getExtras() { in getExtras() method in NotificationCompat.Action
2884 public Bundle getExtras() { in getExtras() method in NotificationCompat.Action.Builder
3017 Bundle wearableBundle = action.getExtras().getBundle(EXTRA_WEARABLE_EXTENSIONS); in WearableExtender()
3048 builder.getExtras().putBundle(EXTRA_WEARABLE_EXTENSIONS, wearableBundle); in extend()
3388 Bundle extras = getExtras(notification); in WearableExtender()
3500 builder.getExtras().putBundle(EXTRA_WEARABLE_EXTENSIONS, wearableBundle); in extend()
[all …]
DNotificationCompatBuilder.java210 Bundle extras = NotificationCompat.getExtras(n); in build()
230 if (action.getExtras() != null) { in addAction()
231 actionExtras = new Bundle(action.getExtras()); in addAction()
345 Bundle extras = NotificationCompat.getExtras(notification); in buildInternal()
357 NotificationCompat.getExtras(notification).putSparseParcelableArray( in buildInternal()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest4.java121 assertBundlesEqual(si.getIntent().getExtras(), sIntentExtrasDecoded); in testPersistingWeirdCharacters()
122 assertBundlesEqual(si.getExtras(), sShortcutExtrasDecoded); in testPersistingWeirdCharacters()
/frameworks/support/content/tests/java/android/support/content/
DContentPagerTest.java95 Bundle extras = cursor.getExtras(); in testRelaysProviderPagedResults()
145 Bundle extras = cursor.getExtras(); in testLimitsPagedResultsToWindowSize()
190 Bundle extras = cursor.getExtras(); in testAdaptsUnpagedToPaged()
245 Bundle extras = cursor.getExtras(); in testCachesUnpagedCursor()
278 Bundle extras = cursor.getExtras(); in testWrapsCursorsThatJustHappenToFitInPageRange()
325 Bundle extras = cursor.getExtras(); in testCorrectlyCopiesRecords_EndOfResults()
/frameworks/base/core/java/android/database/
DBulkCursorToCursorAdaptor.java164 public Bundle getExtras() { in getExtras() method in BulkCursorToCursorAdaptor
168 return mBulkCursor.getExtras(); in getExtras()
DBulkCursorNative.java96 reply.writeBundle(getExtras()); in onTransact()
110 Bundle extras = getExtras(); in onTransact()
246 public Bundle getExtras() throws RemoteException { in getExtras() method in BulkCursorProxy
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DMediaSessionStatus.java123 public Bundle getExtras() { in getExtras() method in MediaSessionStatus
136 result.append(", extras=").append(getExtras()); in toString()
DMediaItemStatus.java250 public Bundle getExtras() { in getExtras() method in MediaItemStatus
264 result.append(", extras=").append(getExtras()); in toString()
/frameworks/base/tests/ShowWhenLockedApp/src/com/android/showwhenlocked/
DShowWhenLockedActivity.java87 handleExtras(getIntent().getExtras()); in onCreate()
99 handleExtras(intent.getExtras()); in onNewIntent()
/frameworks/base/core/java/android/app/
DRemoteInput.java154 public Bundle getExtras() { in getExtras() method in RemoteInput
264 public Bundle getExtras() { in getExtras() method in RemoteInput.Builder
318 Bundle extras = clipDataIntent.getExtras(); in getDataResultsFromIntent()
349 return clipDataIntent.getExtras().getParcelable(EXTRA_RESULTS_DATA); in getResultsFromIntent()
/frameworks/support/media-compat/api21/android/support/v4/media/session/
DPlaybackStateCompatApi21.java91 public static Bundle getExtras(Object customActionObj) { in getExtras() method in PlaybackStateCompatApi21.CustomAction
92 return ((PlaybackState.CustomAction)customActionObj).getExtras(); in getExtras()
/frameworks/support/media-compat/api21/android/support/v4/media/
DMediaDescriptionCompatApi21.java52 public static Bundle getExtras(Object descriptionObj) { in getExtras() method in MediaDescriptionCompatApi21
53 return ((MediaDescription) descriptionObj).getExtras(); in getExtras()
/frameworks/support/content/src/android/support/content/
DContentPager.java391 mStats.includeStats(result.getExtras()); in createPagedCursor()
423 Bundle extras = result.getExtras(); in processProviderPagedCursor()
465 Bundle extras = cursor.getExtras(); in isProviderPaged()
560 mExtras = buildExtras(delegate.getExtras(), delegate.getCount(), disposition); in CursorView()
569 public Bundle getExtras() { in getExtras() method in ContentPager.CursorView
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpDocumentsService.java62 intent.getExtras().getIntArray(EXTRA_DEVICE_IDS) : null; in onStartCommand()
64 castToNotifications(intent.getExtras().getParcelableArray( in onStartCommand()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DLocalService.java54 if (intent.getExtras() != null) { in onStart()
55 mReportObject = intent.getExtras().getIBinder(ServiceTest.REPORT_OBJ_NAME); in onStart()
/frameworks/support/compat/tests/java/android/support/v4/app/
DNotificationCompatTest.java139 Bundle extras = NotificationCompat.getExtras(n); in testNotificationActionBuilder_assignsColorized()
148 Bundle extras = NotificationCompat.getExtras(n); in testNotificationActionBuilder_unassignesColorized()
157 Bundle extras = NotificationCompat.getExtras(n); in testNotificationActionBuilder_doesntAssignColorized()
284 m.getExtras().putCharSequence(extraKey, extraValue); in testMessage_setAndGetExtras()
285 assertEquals(extraValue, m.getExtras().getCharSequence(extraKey)); in testMessage_setAndGetExtras()
294 assertEquals(extraValue, fromBundle.getExtras().getCharSequence(extraKey)); in testMessage_setAndGetExtras()
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DDocumentLoaderTest.java142 assertFalse(cursor.getExtras().getBoolean(DocumentsContract.EXTRA_LOADING)); in testError_GetObjectInfo()
156 assertTrue(cursor.getExtras().getBoolean(DocumentsContract.EXTRA_LOADING)); in testCancelTask()
173 assertTrue(cursor.getExtras().getBoolean(DocumentsContract.EXTRA_LOADING)); in testCancelTask()

123456789