Home
last modified time | relevance | path

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

123456

/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/core/java/android/view/textclassifier/
DExtrasUtils.java110 public static String getEntityType(@Nullable Bundle extra) { in getEntityType() argument
111 if (extra == null) { in getEntityType()
114 return extra.getString(ENTITY_TYPE); in getEntityType()
121 public static float getScore(Bundle extra) { in getScore() argument
123 if (extra == null) { in getScore()
126 return extra.getFloat(SCORE, defaultValue); in getScore()
133 public static String getModelName(@Nullable Bundle extra) { in getModelName() argument
134 if (extra == null) { in getModelName()
137 return extra.getString(MODEL_NAME); in getModelName()
/frameworks/base/services/core/java/com/android/server/soundtrigger_middleware/
DValidationUtil.java88 for (PhraseRecognitionExtra extra : config.phraseRecognitionExtras) { in validateRecognitionConfig()
89 Objects.requireNonNull(extra); in validateRecognitionConfig()
90 if ((extra.recognitionModes & ~(RecognitionMode.VOICE_TRIGGER in validateRecognitionConfig()
95 if (extra.confidenceLevel < 0 || extra.confidenceLevel > 100) { in validateRecognitionConfig()
98 Objects.requireNonNull(extra.levels); in validateRecognitionConfig()
99 for (ConfidenceLevel level : extra.levels) { in validateRecognitionConfig()
/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.cpp105 sp<AMessage> extra; in onReadBuffer() local
106 ssize_t n = mStreamListener->read(buffer, sizeof(buffer), &extra); in onReadBuffer()
117 if (extra != NULL in onReadBuffer()
118 && extra->findInt32( in onReadBuffer()
130 (ATSParser::DiscontinuityType)type, extra); in onReadBuffer()
137 if (extra == NULL) { in onReadBuffer()
138 extra = new AMessage; in onReadBuffer()
149 extra->setInt64(kATSParserKeyMediaTimeUs, mediaTimeUs); in onReadBuffer()
157 extra); in onReadBuffer()
DNuPlayerStreamListener.cpp73 Command cmd, bool synchronous, const sp<AMessage> &extra) { in issueCommand() argument
79 entry.mExtra = extra; in issueCommand()
94 void *data, size_t size, sp<AMessage> *extra) { in read() argument
97 extra->clear(); in read()
126 *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/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/base/media/jni/
DOWNERS1 # extra for MTP related files
4 # extra for TV related files
Dandroid_media_MediaDrm.h46 virtual void notify(DrmPlugin::EventType eventType, int extra,
96 void notify(DrmPlugin::EventType, int extra, const ListenerArgs *args);
/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/base/apex/statsd/framework/api/
Dsystem-current.txt22 …field public static final String EXTRA_STATS_ACTIVE_CONFIG_KEYS = "android.app.extra.STATS_ACTIVE_…
23 …field public static final String EXTRA_STATS_BROADCAST_SUBSCRIBER_COOKIES = "android.app.extra.STA…
24 field public static final String EXTRA_STATS_CONFIG_KEY = "android.app.extra.STATS_CONFIG_KEY";
25 field public static final String EXTRA_STATS_CONFIG_UID = "android.app.extra.STATS_CONFIG_UID";
26 …field public static final String EXTRA_STATS_DIMENSIONS_VALUE = "android.app.extra.STATS_DIMENSION…
27 …field public static final String EXTRA_STATS_SUBSCRIPTION_ID = "android.app.extra.STATS_SUBSCRIPTI…
28 …field public static final String EXTRA_STATS_SUBSCRIPTION_RULE_ID = "android.app.extra.STATS_SUBSC…
/frameworks/base/media/java/android/media/tv/
DTvTrackInfo.java82 byte videoActiveFormatDescription, Bundle extra) { in TvTrackInfo() argument
99 mExtra = extra; in TvTrackInfo()
716 public Builder setExtra(@NonNull Bundle extra) { in setExtra() argument
717 Preconditions.checkNotNull(extra); in setExtra()
718 mExtra = new Bundle(extra); in setExtra()
/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/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 …]
/frameworks/opt/setupwizard/library/
Dcommon-platform-deprecated.mk23 LOCAL_AAPT_FLAGS += --auto-add-overlay --extra-packages com.android.setupwizardlib
/frameworks/rs/tests/java_api/CannyLive/
DAndroid.mk24 LOCAL_AAPT_FLAGS += --extra-packages android.support.v7.appcompat

123456