Home
last modified time | relevance | path

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

12345

/frameworks/base/api/
Dmodule-lib-lint-baseline.txt3 Inconsistent extra value; expected `android.net.extra.ADD_TETHER_TYPE`, was `extraAddTetherType`
5 …Inconsistent extra value; expected `android.net.extra.PROVISION_CALLBACK`, was `extraProvisionCall…
7 Inconsistent extra value; expected `android.net.extra.REM_TETHER_TYPE`, was `extraRemTetherType`
9 Inconsistent extra value; expected `android.net.extra.RUN_PROVISION`, was `extraRunProvision`
11 Inconsistent extra value; expected `android.net.extra.SET_ALARM`, was `extraSetAlarm`
15 Inconsistent extra value; expected `android.net.extra.ACTIVE_TETHER`, was `tetherArray`
17 Inconsistent extra value; expected `android.net.extra.AVAILABLE_TETHER`, was `availableArray`
19 Inconsistent extra value; expected `android.net.extra.ERRORED_TETHER`, was `erroredArray`
/frameworks/base/packages/Tethering/common/TetheringLib/api/
Dmodule-lib-lint-baseline.txt3 Inconsistent extra value; expected `android.net.extra.ADD_TETHER_TYPE`, was `extraAddTetherType`
5 …Inconsistent extra value; expected `android.net.extra.PROVISION_CALLBACK`, was `extraProvisionCall…
7 Inconsistent extra value; expected `android.net.extra.REM_TETHER_TYPE`, was `extraRemTetherType`
9 Inconsistent extra value; expected `android.net.extra.RUN_PROVISION`, was `extraRunProvision`
11 Inconsistent extra value; expected `android.net.extra.SET_ALARM`, was `extraSetAlarm`
15 Inconsistent extra value; expected `android.net.extra.ACTIVE_TETHER`, was `tetherArray`
17 Inconsistent extra value; expected `android.net.extra.AVAILABLE_TETHER`, was `availableArray`
19 Inconsistent extra value; expected `android.net.extra.ERRORED_TETHER`, was `erroredArray`
Dsystem-lint-baseline.txt5 Inconsistent extra value; expected `android.net.extra.ACTIVE_TETHER`, was `tetherArray`
7 Inconsistent extra value; expected `android.net.extra.AVAILABLE_TETHER`, was `availableArray`
9 Inconsistent extra value; expected `android.net.extra.ERRORED_TETHER`, was `erroredArray`
/frameworks/base/core/java/android/view/textclassifier/
DExtrasUtils.java77 static void putForeignLanguageExtra(Bundle container, Bundle extra) { in putForeignLanguageExtra() argument
78 container.putParcelable(FOREIGN_LANGUAGE, extra); in putForeignLanguageExtra()
141 public static void putTextLanguagesExtra(Bundle container, Bundle extra) { in putTextLanguagesExtra() argument
142 container.putBundle(TEXT_LANGUAGES, extra); in putTextLanguagesExtra()
257 public static String getEntityType(@Nullable Bundle extra) { in getEntityType() argument
258 if (extra == null) { in getEntityType()
261 return extra.getString(ENTITY_TYPE); in getEntityType()
268 public static float getScore(Bundle extra) { in getScore() argument
270 if (extra == null) { in getScore()
273 return extra.getFloat(SCORE, defaultValue); in getScore()
[all …]
/frameworks/base/core/java/android/hardware/location/
DContextHubIntentEvent.java245 private static void hasExtraOrThrow(Intent intent, String extra) { in hasExtraOrThrow() argument
246 if (!intent.hasExtra(extra)) { in hasExtraOrThrow()
247 throw new IllegalArgumentException("Intent did not have extra: " + extra); in hasExtraOrThrow()
251 private static int getIntExtraOrThrow(Intent intent, String extra) { in getIntExtraOrThrow() argument
252 hasExtraOrThrow(intent, extra); in getIntExtraOrThrow()
253 return intent.getIntExtra(extra, -1 /* defaultValue */); in getIntExtraOrThrow()
256 private static long getLongExtraOrThrow(Intent intent, String extra) { in getLongExtraOrThrow() argument
257 hasExtraOrThrow(intent, extra); in getLongExtraOrThrow()
258 return intent.getLongExtra(extra, -1 /* defaultValue */); in getLongExtraOrThrow()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DStreamingSource.cpp104 sp<AMessage> extra; in onReadBuffer() local
105 ssize_t n = mStreamListener->read(buffer, sizeof(buffer), &extra); in onReadBuffer()
116 if (extra != NULL in onReadBuffer()
117 && extra->findInt32( in onReadBuffer()
129 (ATSParser::DiscontinuityType)type, extra); in onReadBuffer()
136 if (extra == NULL) { in onReadBuffer()
137 extra = new AMessage; in onReadBuffer()
148 extra->setInt64(kATSParserKeyMediaTimeUs, mediaTimeUs); in onReadBuffer()
156 extra); in onReadBuffer()
DNuPlayerStreamListener.cpp75 Command cmd, bool synchronous, const sp<AMessage> &extra) { in issueCommand() argument
81 entry.mExtra = extra; in issueCommand()
96 void *data, size_t size, sp<AMessage> *extra) { in read() argument
99 extra->clear(); in read()
128 *extra = entry->mExtra; in read()
DNuPlayerStreamListener.h37 Command cmd, bool synchronous, const sp<AMessage> &extra);
40 ssize_t read(void *data, size_t size, sp<AMessage> *extra);
DNuPlayerDecoderPassThrough.cpp307 sp<AMessage> extra; in onInputBufferFetched() local
308 if (buffer->meta()->findMessage("extra", &extra) && extra != NULL) { in onInputBufferFetched()
310 if (extra->findInt64( in onInputBufferFetched()
/frameworks/av/drm/libmediadrm/
DIDrmClient.cpp43 virtual void notify(DrmPlugin::EventType eventType, int extra, const Parcel *obj) in notify() argument
48 data.writeInt32(extra); in notify()
67 int extra = data.readInt32(); in onTransact() local
73 notify((DrmPlugin::EventType)eventType, extra, &obj); in onTransact()
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/
DLocalRenderer.java143 error.extra = mError.extra; in doInBackground()
148 error.extra = code; in doInBackground()
180 setError(error.type, error.extra, error.errorExtras, null); in doInBackground()
311 public boolean onError(MediaPlayer player, int what, int extra) { in onError() argument
316 Log.d(TAG, mDebugId + ": Entered error state, what: " + what + " extra: " + extra); in onError()
322 mError.extra = extra; in onError()
325 if (what == MediaPlayer.MEDIA_ERROR_UNKNOWN && extra == MediaPlayer.MEDIA_ERROR_IO in onError()
341 setError(what, extra, null, null); in onError()
638 private void setError(int type, int extra, Bundle extras, Exception e) { in setError() argument
640 pushOnError(type, extra, extras, e); in setError()
DRenderer.java163 protected void pushOnError(int type, int extra, Bundle extras, Throwable error) { in pushOnError() argument
165 listener.onError(type, extra, extras, error); in pushOnError()
203 public void onError(int type, int extra, Bundle extras, in onError() argument
DPlaybackError.java22 public int extra; field in PlaybackError
/frameworks/native/libs/binder/
DMemoryDealer.cpp337 int extra = 0; in alloc() local
339 extra = ( -cur->start & ((pagesize/kMemoryAlign)-1) ) ; in alloc()
342 if (cur->free && (cur->size >= (size+extra))) { in alloc()
358 int extra = 0; in alloc() local
360 extra = ( -free_chunk->start & ((pagesize/kMemoryAlign)-1) ) ; in alloc()
361 if (extra) { in alloc()
362 chunk_t* split = new chunk_t(free_chunk->start, extra); in alloc()
363 free_chunk->start += extra; in alloc()
371 const ssize_t tail_free = free_size - (size+extra); in alloc()
/frameworks/av/services/soundtrigger/
DSoundTriggerHalHidl.cpp590 const struct sound_trigger_phrase_recognition_extra *extra) in convertPhraseRecognitionExtraToHal() argument
592 halExtra->id = extra->id; in convertPhraseRecognitionExtraToHal()
593 halExtra->recognitionModes = extra->recognition_modes; in convertPhraseRecognitionExtraToHal()
594 halExtra->confidenceLevel = extra->confidence_level; in convertPhraseRecognitionExtraToHal()
595 halExtra->levels.resize(extra->num_levels); in convertPhraseRecognitionExtraToHal()
596 for (unsigned int i = 0; i < extra->num_levels; i++) { in convertPhraseRecognitionExtraToHal()
597 halExtra->levels[i].userId = extra->levels[i].user_id; in convertPhraseRecognitionExtraToHal()
598 halExtra->levels[i].levelPercent = extra->levels[i].level; in convertPhraseRecognitionExtraToHal()
756 struct sound_trigger_phrase_recognition_extra *extra, in convertPhraseRecognitionExtraFromHal() argument
759 extra->id = halExtra->id; in convertPhraseRecognitionExtraFromHal()
[all …]
/frameworks/base/media/jni/
DOWNERS1 # extra for MTP related files
4 # extra for TV related files
Dandroid_media_MediaDrm.h32 virtual void notify(DrmPlugin::EventType eventType, int extra,
47 void notify(DrmPlugin::EventType, int extra, const Parcel *obj);
/frameworks/multidex/library/test/src/androidx/multidex/
DZipEntryReader.java102 byte[] extra = new byte[extraLength]; in readEntry()
103 in.get(extra, 0, extraLength); in readEntry()
104 entry.setExtra(extra); in readEntry()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DConfirmationActivity.java24 private String getTextExtra(String extra, String def) { in getTextExtra() argument
25 final String text = getIntent().getStringExtra(extra); in getTextExtra()
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DSlowReceiver.java31 final int extra = intent.getIntExtra(ActivityTestMain.SLOW_RECEIVER_EXTRA, -1); in onReceive() local
32 if (extra == 1) { in onReceive()
/frameworks/native/headers/media_plugin/media/drm/
DDrmAPI.h414 void sendEvent(EventType eventType, int extra,
435 virtual void sendEvent(DrmPlugin::EventType eventType, int extra,
447 inline void DrmPlugin::sendEvent(EventType eventType, int extra, in sendEvent() argument
455 listener->sendEvent(eventType, extra, sessionId, data); in sendEvent()
/frameworks/base/core/java/android/speech/tts/
DAudioPlaybackQueueItem.java69 public boolean onError(MediaPlayer mp, int what, int extra) { in run()
70 Log.w(TAG, "Audio playback error: " + what + ", " + extra); in run()
/frameworks/base/media/java/android/media/tv/
DTvTrackInfo.java82 byte videoActiveFormatDescription, Bundle extra) { in TvTrackInfo() argument
99 mExtra = extra; in TvTrackInfo()
701 public final Builder setExtra(Bundle extra) { in setExtra() argument
702 mExtra = new Bundle(extra); in setExtra()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DIllustrationVideoView.java292 public boolean onInfo(MediaPlayer mp, int what, int extra) { in onInfo() argument
339 public boolean onError(MediaPlayer mediaPlayer, int what, int extra) { in onError() argument
340 Log.w(TAG, "MediaPlayer error. what=" + what + " extra=" + extra); in onError()
/frameworks/av/media/libstagefright/mpeg2ts/
DATSParser.cpp81 DiscontinuityType type, const sp<AMessage> &extra);
170 DiscontinuityType type, const sp<AMessage> &extra);
349 DiscontinuityType type, const sp<AMessage> &extra) { in signalDiscontinuity() argument
352 && extra != NULL in signalDiscontinuity()
353 && extra->findInt64( in signalDiscontinuity()
359 mStreams.editValueAt(i)->signalDiscontinuity(type, extra); in signalDiscontinuity()
1178 DiscontinuityType type, const sp<AMessage> &extra) { in signalDiscontinuity() argument
1206 if (extra != NULL in signalDiscontinuity()
1207 && extra->findInt64( in signalDiscontinuity()
1213 extra->setInt64("resume-at-mediaTimeUs", resumeAtMediaTimeUs); in signalDiscontinuity()
[all …]

12345