Searched defs:extra (Results 26 - 50 of 51) sorted by relevance

123

/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
H A DLocalPlayer.java262 public boolean onError(MediaPlayer mp, int what, int extra) { argument
/frameworks/av/drm/mediadrm/plugins/mock/
H A DMockDrmCryptoPlugin.cpp419 unsigned code, extra; local
420 sscanf(value.string(), "%d %d", &code, &extra);
435 (int)code, extra, pSessionId ? vectorToString(*pSessionId) : "{}",
438 sendEvent(eventType, extra, pSessionId, pData);
/frameworks/base/media/java/android/media/browse/
H A DMediaBrowser.java60 * <p>These are the current standard fields that can be used as extra data via
75 * Used as an int extra field to denote the page number to subscribe.
80 public static final String EXTRA_PAGE = "android.media.browse.extra.PAGE";
83 * Used as an int extra field to denote the number of media items in a page.
88 public static final String EXTRA_PAGE_SIZE = "android.media.browse.extra.PAGE_SIZE";
164 // TODO: remove this extra check.
213 // to check isConnected() unnecessarily. They won't appreciate the extra
579 final String root, final MediaSession.Token session, final Bundle extra) {
596 mExtras = extra;
578 onServiceConnected(final IMediaBrowserServiceCallbacks callback, final String root, final MediaSession.Token session, final Bundle extra) argument
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/
H A DLocalRenderer.java143 error.extra = mError.extra;
148 error.extra = code;
180 setError(error.type, error.extra, error.errorExtras, null);
311 public boolean onError(MediaPlayer player, int what, int extra) { argument
316 Log.d(TAG, mDebugId + ": Entered error state, what: " + what + " extra: " + extra);
322 mError.extra = extra;
325 if (what == MediaPlayer.MEDIA_ERROR_UNKNOWN && extra
638 setError(int type, int extra, Bundle extras, Exception e) argument
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDecoder.cpp1015 sp<AMessage> extra; local
1016 if (buffer->meta()->findMessage("extra", &extra) && extra != NULL) {
1018 if (extra->findInt64(
H A DGenericSource.cpp1278 // Enabled for both video/audio so 1) media buffer is reused without extra copying
1485 sp<AMessage> extra = new AMessage; local
1486 extra->setInt64("resume-at-mediaTimeUs", seekTimeUs);
1487 meta->setMessage("extra", extra);
1532 track->mPackets->queueDiscontinuity(type, NULL /* extra */, true /* discard */);
/frameworks/av/media/ndk/
H A DNdkMediaDrm.cpp47 void notify(DrmPlugin::EventType eventType, int extra, const Parcel *obj);
64 void DrmListener::notify(DrmPlugin::EventType eventType, int extra, const Parcel *obj) { argument
105 (*mListener)(mObj, &sessionId, ndkEventType, extra, data, dataSize);
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/
H A DListenerBindingObject.java166 public boolean onError(MediaPlayer mp, int what, int extra) { argument
170 public boolean onInfo(MediaPlayer mp, int what, int extra) { argument
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
H A DWifiScanningServiceTest.java392 private void assertDumpContainsCallbackLog(String callback, int id, String extra) { argument
394 String extraPattern = extra == null ? "" : "," + extra;
399 ", extra=" + extra + ": " + serviceDump + "\n",
/frameworks/av/media/libstagefright/httplive/
H A DLiveSession.cpp371 sp<AMessage> extra; local
372 if (!(*accessUnit)->meta()->findMessage("extra", &extra)) {
373 extra.clear();
376 ALOGI("[%s] read discontinuity of type %d, extra = %s",
379 extra == NULL ? "NULL" : extra->debugString().c_str());
2019 // Check if new variant contains extra streams.
2030 ALOGW("swapping extra stream type %d %s to empty stream",
H A DPlaylistFetcher.cpp824 ATSParser::DiscontinuityType type, const sp<AMessage> &extra) {
829 type, extra, false /* discard */);
857 // a playlist we might assume extra streams.
1278 NULL /* extra */);
1692 sp<AMessage> extra = new AMessage; local
1695 extra->setInt64(IStreamListener::kKeyMediaTimeUs, 0);
1700 extra->setInt64(IStreamListener::kKeyRecentMediaTimeUs, mStartTimeUs);
1704 ATSParser::DISCONTINUITY_TIME, extra);
823 queueDiscontinuity( ATSParser::DiscontinuityType type, const sp<AMessage> &extra) argument
/frameworks/av/media/libstagefright/mpeg2ts/
H A DATSParser.cpp75 DiscontinuityType type, const sp<AMessage> &extra);
167 DiscontinuityType type, const sp<AMessage> &extra);
339 DiscontinuityType type, const sp<AMessage> &extra) {
342 && extra != NULL
343 && extra->findInt64(
349 mStreams.editValueAt(i)->signalDiscontinuity(type, extra);
1005 DiscontinuityType type, const sp<AMessage> &extra) {
1033 if (extra != NULL
1034 && extra->findInt64(
1040 extra
338 signalDiscontinuity( DiscontinuityType type, const sp<AMessage> &extra) argument
1004 signalDiscontinuity( DiscontinuityType type, const sp<AMessage> &extra) argument
1693 signalDiscontinuity( DiscontinuityType type, const sp<AMessage> &extra) argument
[all...]
/frameworks/base/libs/hwui/
H A DPathTessellator.cpp264 * 2 - can zig-zag across 'extra' vertices at either end, to create round caps
268 const int extra = paintInfo.capExtraDivisions(); local
269 const int allocSize = (vertices.size() + extra) * 2;
273 if (extra > 0) {
281 const float dTheta = PI / (extra + 1);
284 for (int i = 0; i < extra; i++) {
285 if (i < extra / 2) {
286 capOffset = extra - 2 * i - 1;
288 capOffset = 2 * i - extra;
307 int currentIndex = extra;
408 const int extra = paintInfo.capExtraDivisions(); local
579 const int extra = paintInfo.capExtraDivisions(); local
854 const int extra = paintInfo.capExtraDivisions(); local
[all...]
/frameworks/base/media/java/android/media/
H A DMediaDrm.java449 * @param extra an secondary error code
454 @DrmEvent int event, int extra,
609 int what, int eventType, int extra, @Nullable Object obj)
616 Message m = md.mEventHandler.obtainMessage(what, eventType, extra, obj);
452 onEvent( @onNull MediaDrm md, @Nullable byte[] sessionId, @DrmEvent int event, int extra, @Nullable byte[] data) argument
608 postEventFromNative(@onNull Object mediadrm_ref, int what, int eventType, int extra, @Nullable Object obj) argument
H A DMediaRecorder.java1073 * @param extra an extra code, specific to the error type
1075 void onError(MediaRecorder mr, int what, int extra); argument
1207 * @param extra an extra code, specific to the info type
1209 void onInfo(MediaRecorder mr, int what, int extra); argument
H A DMediaPlayer.java1941 // writeArray) which burns an extra int per element to encode
3771 * @param extra an extra code, specific to the error. Typically
3784 boolean onError(MediaPlayer mp, int what, int extra); argument
3916 * bandwidth information is available (as <code>extra</code> kbps)
3923 * @param extra an extra code, specific to the info. Typically
3929 boolean onInfo(MediaPlayer mp, int what, int extra); argument
/frameworks/base/media/jni/
H A Dandroid_media_MediaDrm.cpp160 virtual void notify(DrmPlugin::EventType eventType, int extra, const Parcel *obj = NULL);
193 void JNIDrmListener::notify(DrmPlugin::EventType eventType, int extra, argument
239 jwhat, jeventType, extra, jParcel);
395 void JDrm::notify(DrmPlugin::EventType eventType, int extra, const Parcel *obj) { argument
403 listener->notify(eventType, extra, obj);
/frameworks/base/services/core/java/com/android/server/am/
H A DBatteryStatsService.java569 public void noteConnectivityChanged(int type, String extra) { argument
572 mStats.noteConnectivityChangedLocked(type, extra);
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiCecLocalDeviceTv.java1687 void displayOsd(int messageId, int extra) { argument
1689 mService.displayOsd(messageId, extra);
H A DHdmiControlService.java2399 void displayOsd(int messageId, int extra) { argument
2403 intent.putExtra(HdmiControlManager.EXTRA_MESSAGE_EXTRA_PARAM1, extra);
/frameworks/base/tools/aapt/
H A DAaptAssets.cpp475 const size_t extra = mDataSize%wordSize; local
476 if (extra == 0) {
481 void* data = editData(initial+(wordSize-extra));
483 memset(((uint8_t*)data) + initial, 0, wordSize-extra);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
H A DWifiScanningServiceImpl.java2187 void logCallback(String callback, ClientInfo ci, int id, String extra) { argument
2194 if (extra != null) {
2195 sb.append(",").append(extra);
/frameworks/support/media-compat/java/android/support/v4/media/
H A DMediaBrowserCompat.java106 * Used as an int extra field to denote the page number to subscribe.
112 public static final String EXTRA_PAGE = "android.media.browse.extra.PAGE";
115 * Used as an int extra field to denote the number of media items in a page.
121 public static final String EXTRA_PAGE_SIZE = "android.media.browse.extra.PAGE_SIZE";
124 * Used as a string extra field to denote the target {@link MediaItem}.
129 public static final String EXTRA_MEDIA_ID = "android.media.browse.extra.MEDIA_ID";
132 * Used as a float extra field to denote the current progress during download. The value of this
139 "android.media.browse.extra.DOWNLOAD_PROGRESS";
143 * {@link MediaItem} for offline playback. The id of the media item must be passed in an extra
156 * media item must be passed in an extra bundl
955 onServiceConnected(Messenger callback, String root, MediaSessionCompat.Token session, Bundle extra) argument
1305 onServiceConnected(final Messenger callback, final String root, final MediaSessionCompat.Token session, final Bundle extra) argument
1888 onServiceConnected(final Messenger callback, final String root, final MediaSessionCompat.Token session, final Bundle extra) argument
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebView.java516 public void setExtra(String extra) { argument
517 mExtra = extra;
533 * or contain extra information about this result.
1370 * type is set to SRC_ANCHOR_TYPE and the URL is set in the "extra" field.
1375 * the "extra" field. A type of
1378 * to PHONE_TYPE and the phone number is set in the "extra" field of
1380 * to GEO_TYPE and the address is set in the "extra" field of HitTestResult.
1382 * and the email is set in the "extra" field of HitTestResult. Otherwise,
/frameworks/ex/common/java/com/android/ex/editstyledtext/
H A DEditStyledText.java922 public void addInputExtra(boolean create, String extra) { argument
925 bundle.putBoolean(extra, true);

Completed in 836 milliseconds

123