Home
last modified time | relevance | path

Searched refs:EXTRAS_KEY (Results 1 – 8 of 8) sorted by relevance

/frameworks/support/media/version-compat-tests/previous/client/src/androidTest/java/android/support/mediacompat/client/
DPlaybackStateCompatTest.java58 private static final String EXTRAS_KEY = "test-key"; field in PlaybackStateCompatTest
95 extras.putString(EXTRAS_KEY, EXTRAS_VALUE); in testBuilder_setterMethods()
114 assertEquals(EXTRAS_VALUE, state.getExtras().get(EXTRAS_KEY)); in testBuilder_setterMethods()
167 extras.putString(EXTRAS_KEY, EXTRAS_VALUE); in testBuilder_addCustomActionWithCustomActionObject()
197 extras.putString(EXTRAS_KEY, EXTRAS_VALUE); in testWriteToParcel()
235 assertEquals(EXTRAS_VALUE, stateOut.getExtras().get(EXTRAS_KEY)); in testWriteToParcel()
261 extras.putString(EXTRAS_KEY, EXTRAS_VALUE); in testCustomAction()
271 assertEquals(EXTRAS_VALUE, customAction.getExtras().get(EXTRAS_KEY)); in testCustomAction()
295 assertEquals(action1.getExtras().get(EXTRAS_KEY), action2.getExtras().get(EXTRAS_KEY)); in assertCustomActionEquals()
DMediaBrowserCompatTest.java25 import static android.support.mediacompat.testlib.MediaBrowserConstants.EXTRAS_KEY;
189 assertEquals(EXTRAS_VALUE, mMediaBrowser.getExtras().getString(EXTRAS_KEY)); in testMediaBrowser()
/frameworks/support/media/version-compat-tests/current/client/src/androidTest/java/android/support/mediacompat/client/
DPlaybackStateCompatTest.java58 private static final String EXTRAS_KEY = "test-key"; field in PlaybackStateCompatTest
95 extras.putString(EXTRAS_KEY, EXTRAS_VALUE); in testBuilder_setterMethods()
114 assertEquals(EXTRAS_VALUE, state.getExtras().get(EXTRAS_KEY)); in testBuilder_setterMethods()
167 extras.putString(EXTRAS_KEY, EXTRAS_VALUE); in testBuilder_addCustomActionWithCustomActionObject()
197 extras.putString(EXTRAS_KEY, EXTRAS_VALUE); in testWriteToParcel()
235 assertEquals(EXTRAS_VALUE, stateOut.getExtras().get(EXTRAS_KEY)); in testWriteToParcel()
261 extras.putString(EXTRAS_KEY, EXTRAS_VALUE); in testCustomAction()
271 assertEquals(EXTRAS_VALUE, customAction.getExtras().get(EXTRAS_KEY)); in testCustomAction()
295 assertEquals(action1.getExtras().get(EXTRAS_KEY), action2.getExtras().get(EXTRAS_KEY)); in assertCustomActionEquals()
DMediaBrowserCompatTest.java25 import static android.support.mediacompat.testlib.MediaBrowserConstants.EXTRAS_KEY;
196 assertEquals(EXTRAS_VALUE, mMediaBrowser.getExtras().getString(EXTRAS_KEY)); in testMediaBrowser()
/frameworks/support/media/version-compat-tests/lib/src/main/java/android/support/mediacompat/testlib/
DMediaBrowserConstants.java40 public static final String EXTRAS_KEY = "test_extras_key"; field in MediaBrowserConstants
/frameworks/support/media/version-compat-tests/previous/service/src/androidTest/java/android/support/mediacompat/service/
DStubMediaBrowserServiceCompat.java21 import static android.support.mediacompat.testlib.MediaBrowserConstants.EXTRAS_KEY;
81 mExtras.putString(EXTRAS_KEY, EXTRAS_VALUE); in onGetRoot()
/frameworks/support/media/version-compat-tests/current/service/src/androidTest/java/android/support/mediacompat/service/
DStubMediaBrowserServiceCompat.java21 import static android.support.mediacompat.testlib.MediaBrowserConstants.EXTRAS_KEY;
82 mExtras.putString(EXTRAS_KEY, EXTRAS_VALUE); in onGetRoot()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountsDb.java89 private static final String EXTRAS_KEY = "key"; field in AccountsDb
167 private static final String[] COLUMNS_EXTRAS_KEY_AND_VALUE = {EXTRAS_KEY, EXTRAS_VALUE};
222 + EXTRAS_KEY + " TEXT NOT NULL, " in onCreate()
224 + "UNIQUE(" + EXTRAS_ACCOUNTS_ID + "," + EXTRAS_KEY + "))"); in onCreate()
407 EXTRAS_ACCOUNTS_ID + "=" + accountId + " AND " + EXTRAS_KEY + "=?", in findExtrasIdByAccountId()
432 values.put(EXTRAS_KEY, key); in insertExtra()
435 return db.insert(CE_TABLE_EXTRAS, EXTRAS_KEY, values); in insertExtra()