Home
last modified time | relevance | path

Searched refs:extra (Results 1 – 25 of 28) sorted by relevance

12

/cts/tests/tests/view/src/android/view/textclassifier/cts/
DTextClassifierEventTest.java157 final Bundle extra = new Bundle(); in createFullTextSelectionEvent() local
158 extra.putString("key", "value"); in createFullTextSelectionEvent()
169 .setExtras(extra) in createFullTextSelectionEvent()
222 final Bundle extra = new Bundle(); in createFullTextLinkifyEvent() local
223 extra.putString("key", "value"); in createFullTextLinkifyEvent()
230 .setExtras(extra) in createFullTextLinkifyEvent()
281 final Bundle extra = new Bundle(); in createFullConversationActionsEvent() local
282 extra.putString("key", "value"); in createFullConversationActionsEvent()
289 .setExtras(extra) in createFullConversationActionsEvent()
342 final Bundle extra = new Bundle(); in createFullLanguageDetectionEvent() local
[all …]
/cts/tests/tests/view/src/android/view/cts/
DPixelCopyVideoSourceActivity.java44 mVideoView.setOnErrorListener((mp, what, extra) -> { in onCreate() argument
45 Log.e(TAG, "MediaPlayer encountered error " + what + ", " + extra); in onCreate()
/cts/tests/app/src/android/app/cts/
DPendingIntentTest.java208 public volatile int extra = 0; field in PendingIntentTest.ExtraReceiver
216 extra = intent.getIntExtra(extraName, 0); in onReceive()
221 extra = 0; in reset()
252 assertTrue(br.extra == EXTRA_1); in testUpdateCurrent()
263 assertTrue(br.extra == EXTRA_1); in testUpdateCurrent()
271 assertTrue(br.extra == EXTRA_2); in testUpdateCurrent()
/cts/tests/tests/media/src/android/media/cts/
DMediaPlayerTestBase.java253 public boolean onError(MediaPlayer mp, int what, int extra) { in playLoadedVideo()
260 public boolean onInfo(MediaPlayer mp, int what, int extra) { in playLoadedVideo()
347 public boolean onError(MediaPlayer mp, int what, int extra) { in setOnErrorListener()
D.goutputstream-9KZYJZ370 public void onError(MediaPlayer2 mp, DataSourceDesc dsd, int what, int extra) {
375 public void onInfo(MediaPlayer2 mp, DataSourceDesc dsd, int what, int extra) {
434 public void onError(MediaPlayer2 mp, DataSourceDesc dsd, int what, int extra) {
439 public void onInfo(MediaPlayer2 mp, DataSourceDesc dsd, int what, int extra) {
477 public void onError(MediaPlayer2 mp, DataSourceDesc dsd, int what, int extra) {
481 public void onInfo(MediaPlayer2 mp, DataSourceDesc dsd, int what, int extra) {
609 public void onInfo(MediaPlayer2 mp, DataSourceDesc dsd, int what, int extra) {
763 public void onInfo(MediaPlayer2 mp, DataSourceDesc dsd, int what, int extra) {
DMediaRandomTest.java190 public boolean onError(MediaPlayer mp, int what, int extra) { in testPlayerRandomAction()
280 public void onError(MediaRecorder recorder, int what, int extra) { in testRecorderRandomAction()
DMediaPlayerFlakyNetworkTest.java267 public boolean onError(MediaPlayer mp, int what, int extra) { in localHttpStreamTest()
268 fail("Media player had error " + what + " extra " + extra + " playing " + name); in localHttpStreamTest()
DMediaPlayerTest.java132 public boolean onError(MediaPlayer mp, int what, int extra) { in testIfMediaServerDied()
693 public boolean onInfo(MediaPlayer mp, int what, int extra) { in testSetNextMediaPlayer()
739 public boolean onInfo(MediaPlayer mp, int what, int extra) { in testSetNextMediaPlayer()
1757 public boolean onInfo(MediaPlayer mp, int what, int extra) { in testDeselectTrackForSubtitleTracks()
1821 public boolean onInfo(MediaPlayer mp, int what, int extra) { in testChangeSubtitleTrack()
1873 public boolean onInfo(MediaPlayer mp, int what, int extra) { in testOnSubtitleDataListener()
1922 public boolean onInfo(MediaPlayer mp, int what, int extra) { in testGetTrackInfoForVideoWithSubtitleTracks()
2373 public boolean onError(MediaPlayer mp, int what, int extra) { in testCallback()
2381 public boolean onInfo(MediaPlayer mp, int what, int extra) { in testCallback()
DStreamingMediaPlayerTest.java312 public boolean onError(MediaPlayer mp, int what, int extra) { in localHttpAudioStreamTest()
366 public boolean onError(MediaPlayer mp, int what, int extra) { in localHttpsAudioStreamTest()
DMediaSyncTest.java322 public void onError(MediaSync sync, int what, int extra) { in runFlush()
323 fail("got error from media sync (" + what + ", " + extra + ")"); in runFlush()
DMediaPlayerDrmTestBase.java125 public boolean onError(MediaPlayer mp, int what, int extra) { in setOnErrorListener()
281 public boolean onError(MediaPlayer mp, int what, int extra) { in playLoadedModularDrmVideo_Generic()
546 public boolean onError(MediaPlayer mp, int what, int extra) { in playLoadedModularDrmVideo_V4_offlineKey()
DExtractDecodeEditEncodeMuxTest.java550 public boolean onError(MediaPlayer origin, int what, int extra) { in extractDecodeEditEncodeMux()
552 + " extra=" + extra); in extractDecodeEditEncodeMux()
DMediaRecorderTest.java178 public void onInfo(MediaRecorder mr, int what, int extra) { in setUp()
192 public void onError(MediaRecorder mr, int what, int extra) { in setUp()
987 public void onInfo(MediaRecorder mr, int what, int extra) { in testRecordExceedFileSizeLimit()
DAudioEffectTest.java1017 public boolean onError(MediaPlayer player, int what, int extra) { in createMediaPlayerLooper()
/cts/tests/tests/telecom3/
DAndroid.mk44 --extra-packages android.telecom.cts \
/cts/tests/tests/telecom2/
DAndroid.mk47 --extra-packages android.telecom.cts \
/cts/apps/CtsVerifier/src/com/android/cts/verifier/streamquality/
DPlayVideoActivity.java162 public boolean onError(MediaPlayer mp, int what, int extra) {
163 Log.e(TAG, "Unable to play video, got onError with code " + what + ", extra " + extra);
/cts/tests/tests/security/src/android/security/cts/
DMediaServerCrashTest.java62 public boolean onError(MediaPlayer mp, int what, int extra) { in setUp()
/cts/tests/tests/graphics/src/android/graphics/cts/
DImageDecoderTest.java111 private byte[] getAsByteArray(int resId, int offset, int extra) { in getAsByteArray() argument
113 writeToStream(output, resId, offset, extra); in getAsByteArray()
117 private void writeToStream(OutputStream output, int resId, int offset, int extra) { in writeToStream() argument
130 for (int i = 0; i < extra; ++i) { in writeToStream()
1951 int extra = 15; in testOffsetByteArray() local
1952 byte[] array = getAsByteArray(record.resId, offset, extra); in testOffsetByteArray()
1953 int length = array.length - extra - offset; in testOffsetByteArray()
1967 ByteBuffer buf = ByteBuffer.wrap(array, 0, array.length - extra); in testOffsetByteArray()
1974 ByteBuffer buf = ByteBuffer.wrap(array, 0, array.length - extra); in testOffsetByteArray()
1981 array.length - extra - myOffset); in testOffsetByteArray()
[all …]
/cts/apps/CtsVerifier/
DAndroid.mk87 LOCAL_AAPT_FLAGS := --auto-add-overlay --extra-packages android.support.v4
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/
DCameraVideoActivity.java259 public void onError(MediaRecorder mr, int what, int extra) { in prepareVideoRecorder()
261 Log.e(TAG, "unknown error in media recorder, error: " + extra); in prepareVideoRecorder()
263 Log.e(TAG, "media recorder server died, error: " + extra); in prepareVideoRecorder()
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DMediaRecorderStressTest.java160 public void onError(MediaRecorder mr, int what, int extra) { in onError() argument
DCodecTest.java746 public boolean onInfo(MediaPlayer mp, int what, int extra) {
/cts/tests/tests/content/src/android/content/res/cts/
DResourcesTest.java549 XmlResourceParser parser = mResources.getXml(R.xml.extra); in testParseBundleExtras()
560 XmlResourceParser parser = mResources.getXml(R.xml.extra); in testParseBundleExtra()
/cts/tests/tests/widget/src/android/widget/cts/
DRemoteViewsTest.java857 RemoteViews extra = new RemoteViews(PACKAGE_NAME, R.layout.remoteviews_extra); in testAddView() local
858 mRemoteViews.addView(R.id.remoteViews_good, extra); in testAddView()

12