/frameworks/base/core/java/android/view/textclassifier/ |
D | ExtrasUtils.java | 77 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/ |
D | ContextHubIntentEvent.java | 244 private static void hasExtraOrThrow(Intent intent, String extra) { in hasExtraOrThrow() argument 245 if (!intent.hasExtra(extra)) { in hasExtraOrThrow() 246 throw new IllegalArgumentException("Intent did not have extra: " + extra); in hasExtraOrThrow() 250 private static int getIntExtraOrThrow(Intent intent, String extra) { in getIntExtraOrThrow() argument 251 hasExtraOrThrow(intent, extra); in getIntExtraOrThrow() 252 return intent.getIntExtra(extra, -1 /* defaultValue */); in getIntExtraOrThrow() 255 private static long getLongExtraOrThrow(Intent intent, String extra) { in getLongExtraOrThrow() argument 256 hasExtraOrThrow(intent, extra); in getLongExtraOrThrow() 257 return intent.getLongExtra(extra, -1 /* defaultValue */); in getLongExtraOrThrow()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | StreamingSource.cpp | 105 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() 147 extra->setInt64(kATSParserKeyMediaTimeUs, mediaTimeUs); in onReadBuffer() 154 extra); in onReadBuffer()
|
D | NuPlayerStreamListener.cpp | 73 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()
|
D | NuPlayerStreamListener.h | 37 Command cmd, bool synchronous, const sp<AMessage> &extra); 40 ssize_t read(void *data, size_t size, sp<AMessage> *extra);
|
D | NuPlayerDecoderPassThrough.cpp | 307 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/ |
D | IDrmClient.cpp | 43 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/ |
D | LocalRenderer.java | 143 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()
|
D | Renderer.java | 163 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
|
D | PlaybackError.java | 22 public int extra; field in PlaybackError
|
/frameworks/native/libs/binder/ |
D | MemoryDealer.cpp | 337 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/ |
D | SoundTriggerHalHidl.cpp | 590 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/multidex/library/test/src/androidx/multidex/ |
D | ZipEntryReader.java | 102 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/ |
D | ConfirmationActivity.java | 24 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/ |
D | SlowReceiver.java | 31 final int extra = intent.getIntExtra(ActivityTestMain.SLOW_RECEIVER_EXTRA, -1); in onReceive() local 32 if (extra == 1) { in onReceive()
|
/frameworks/base/media/jni/ |
D | android_media_MediaDrm.h | 35 virtual void notify(DrmPlugin::EventType eventType, int extra, 50 void notify(DrmPlugin::EventType, int extra, const Parcel *obj);
|
D | OWNERS | 1 # extra for MTP related files
|
/frameworks/base/packages/SystemUI/ |
D | Android.bp | 75 "--extra-packages", 132 "--extra-packages", 160 "--extra-packages", 180 "--extra-packages",
|
/frameworks/base/media/java/android/media/tv/ |
D | TvTrackInfo.java | 74 Bundle extra) { in TvTrackInfo() argument 86 mExtra = extra; in TvTrackInfo() 482 public final Builder setExtra(Bundle extra) { in setExtra() argument 483 mExtra = new Bundle(extra); in setExtra()
|
/frameworks/native/headers/media_plugin/media/drm/ |
D | DrmAPI.h | 414 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/av/media/libmediaplayer2/nuplayer2/ |
D | NuPlayer2DecoderPassThrough.cpp | 306 sp<AMessage> extra; in onInputBufferFetched() local 307 if (buffer->meta()->findMessage("extra", &extra) && extra != NULL) { in onInputBufferFetched() 309 if (extra->findInt64( in onInputBufferFetched()
|
/frameworks/base/core/java/android/speech/tts/ |
D | AudioPlaybackQueueItem.java | 69 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/ |
D | IllustrationVideoView.java | 292 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/ |
D | ATSParser.cpp | 81 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/ |
D | common-platform-deprecated.mk | 23 LOCAL_AAPT_FLAGS += --auto-add-overlay --extra-packages com.android.setupwizardlib
|