Searched defs:from (Results 1 - 25 of 83) sorted by path

1234

/frameworks/av/media/libmedia/
H A DAudioRecord.cpp186 // these below should probably come from the audioFlinger too...
490 "session ID changed from %d to %d", originalSessionId, mSessionId);
636 // keep them from going away if another thread re-creates the track during obtainBuffer()
673 // FIXME starts the requested timeout and elapsed over from scratch
870 // If > 0, poll periodically to recover from a stuck server. A good value is 2.
989 status_t AudioRecord::restoreRecord_l(const char *from) argument
991 ALOGW("dead IAudioRecord, creating a new one from %s()", from);
H A DAudioTrack.cpp202 ALOGV("~AudioTrack, releasing session id from %d on behalf of %d",
300 // these below should probably come from the audioFlinger too...
465 // the counters are realistic (i.e. start from zero after this time).
704 // FIXME use Proxy return channel to update the rate from server and avoid polling here
1068 ALOGV("Minimum buffer size corrected from %zu to %zu",
1306 // keep them from going away if another thread re-creates the track during obtainBuffer()
1349 // FIXME starts the requested timeout and elapsed over from scratch
1710 // If > 0, poll periodically to recover from a stuck server. A good value is 2.
1842 status_t AudioTrack::restoreTrack_l(const char *from) argument
1844 ALOGW("dead IAudioTrack, %s, creating a new one from
[all...]
/frameworks/av/media/libstagefright/
H A DMetaData.cpp35 MetaData::MetaData(const MetaData &from) argument
37 mItems(from.mItems) {
244 MetaData::typed_data::typed_data(const typed_data &from) argument
245 : mType(from.mType),
247 allocateStorage(from.mSize);
248 memcpy(storage(), from.storage(), mSize);
252 const MetaData::typed_data &from) {
253 if (this != &from) {
255 mType = from.mType;
256 allocateStorage(from
251 operator =( const MetaData::typed_data &from) argument
[all...]
H A DNuCachedSource2.cpp52 void copy(size_t from, void *data, size_t size);
139 void PageCache::copy(size_t from, void *data, size_t size) { argument
140 ALOGV("copy from %zu size %zu", from, size);
146 CHECK_LE(from + size, mTotalSize);
150 while (from >= offset + (*it)->mSize) {
155 size_t delta = from - offset;
263 // explicitly disconnect from the source, to allow any
513 // If the request can be completely satisfied from the cache, do so.
693 ALOGE("Failed to parse cache parameters from '
[all...]
H A DOMXCodec.cpp117 // from IOMXObserver
1845 ALOGW("querying usage flags from OMX IL component failed: %d", err);
1897 // 2. try to allocate two (2) additional buffers to reduce starvation from
1933 CODEC_LOGV("allocating %u buffers from a native window of size %u on "
2007 // Dequeue the next buffer from the native window.
2404 const sp<MetaData> &from, const sp<MetaData> &to) {
2405 if (from.get() == NULL && to.get() == NULL) {
2409 if ((from.get() == NULL && to.get() != NULL)
2410 || (from.get() != NULL && to.get() == NULL)) {
2415 CHECK(from
2403 formatHasNotablyChanged( const sp<MetaData> &from, const sp<MetaData> &to) argument
[all...]
H A DStagefrightMetadataRetriever.cpp306 ALOGE("Unable to instantiate color conversion from format 0x%08x to "
452 int from; member in struct:android::Map
480 if (meta->findCString(kMap[i].from, &value)) {
/frameworks/av/media/libstagefright/colorconversion/
H A DColorConverter.cpp28 OMX_COLOR_FORMATTYPE from, OMX_COLOR_FORMATTYPE to)
29 : mSrcFormat(from),
27 ColorConverter( OMX_COLOR_FORMATTYPE from, OMX_COLOR_FORMATTYPE to) argument
/frameworks/av/media/libstagefright/foundation/
H A DAMessage.cpp364 const Item *from = &mItems[i]; local
367 to->setName(from->mName, from->mNameLength);
368 to->mType = from->mType;
370 switch (from->mType) {
374 new AString(*from->u.stringValue);
381 to->u.refValue = from->u.refValue;
389 static_cast<AMessage *>(from->u.refValue)->dup();
398 to->u = from->u;
H A DAString.cpp53 AString::AString(const String8 &from) argument
57 setTo(from.string(), from.length());
60 AString::AString(const AString &from) argument
64 setTo(from, 0, from.size());
67 AString::AString(const AString &from, size_t offset, size_t n) argument
71 setTo(from, offset, n);
78 AString &AString::operator=(const AString &from) { argument
79 if (&from !
107 setTo(const AString &from, size_t offset, size_t n) argument
191 append(const AString &from) argument
195 append(const AString &from, size_t offset, size_t n) argument
274 insert(const AString &from, size_t insertionPos) argument
278 insert(const char *from, size_t size, size_t insertionPos) argument
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DARTPAssembler.cpp61 void ARTPAssembler::CopyTimes(const sp<ABuffer> &to, const sp<ABuffer> &from) { argument
63 CHECK(from->meta()->findInt32("rtp-time", (int32_t *)&rtpTime));
68 to->setInt32Data(from->int32Data());
H A DARTSPConnection.cpp158 // Split of user:pass@ from hostname.
824 const char *from, unsigned long *x) {
826 *x = strtoul(from, &end, 10);
828 if (end == from || *end != '\0') {
823 ParseSingleUnsignedLong( const char *from, unsigned long *x) argument
H A DASessionDescription.cpp266 float from, to; local
267 if (!parseNTPRange(value.c_str() + 4, &from, &to)) {
271 *durationUs = (int64_t)((to - from) * 1E6);
/frameworks/base/core/java/android/app/
H A DNotificationManager.java50 * unspecified. This pair identifies this notification from your app to the
107 public static NotificationManager from(Context context) { method in class:NotificationManager
190 * will be hidden. If it's persistent, it will be removed from the status
200 * will be hidden. If it's persistent, it will be removed from the status
/frameworks/base/core/java/android/content/
H A DContentValues.java57 * Creates a set of values copied from the given set
59 * @param from the values to copy
61 public ContentValues(ContentValues from) { argument
62 mValues = new HashMap<String, Object>(from.mValues);
66 * Creates a set of values copied from the given HashMap. This is used
100 * Adds all values from the passed in ContentValues.
102 * @param other the ContentValues from which to copy
H A DUndoManager.java686 int findPrevState(ArrayList<UndoState> states, UndoOwner[] owners, int from) { argument
689 if (from == -1) {
690 from = N-1;
692 if (from >= N) {
696 return from;
699 while (from >= 0) {
700 UndoState state = states.get(from);
702 return from;
704 from--;
710 int findNextState(ArrayList<UndoState> states, UndoOwner[] owners, int from) { argument
[all...]
/frameworks/base/core/java/android/net/
H A DConnectivityManager.java82 * If this is a connection that was the result of failing over from a
163 * may be passed up from the lower networking layers, and its
426 * from an App.
446 * case of the static set/getProcessDefaultNetwork methods and from the Network class.
943 * Removes the NET_CAPABILITY_NOT_RESTRICTED capability from the given
1409 public static ConnectivityManager from(Context context) { method in class:ConnectivityManager
2417 * comes from {@link PendingIntent#getBroadcast}. Cannot be null.
2464 * Unregisters callbacks about and possibly releases networks originating from
2484 * (and not explicitly bound via a bound SocketFactory from
2536 * @param network The {@link Network} to bind host resolutions from th
[all...]
H A DNetworkPolicyManager.java73 public static NetworkPolicyManager from(Context context) { method in class:NetworkPolicyManager
H A DUri.java69 that some threads will immediately see changes from other threads on
72 overhead, which means the most common case, access from a single thread,
90 For reference, from RFC 2396:
224 * Gets the decoded user information from the authority.
233 * Gets the encoded user information from the authority.
242 * Gets the encoded host from the authority for this URI. For example,
251 * Gets the port from the authority for this URI. For example,
275 * Gets the decoded query component from this URI. The query comes after
285 * Gets the encoded query component from this URI. The query comes after
404 * Constructs a new builder, copying the attributes from thi
2061 static Part from(String encoded, String decoded) { method in class:Uri.Part
2238 static PathPart from(String encoded, String decoded) { method in class:Uri.PathPart
[all...]
/frameworks/base/core/java/android/os/storage/
H A DStorageManager.java48 * on-demand from an application. OBBs are a good way of providing large amounts
51 * a shared storage pool accessible from all programs. The system does not
53 * OBB, there is no guarantee that a read from that OBB will produce the
298 public static StorageManager from(Context context) { method in class:StorageManager
/frameworks/base/core/java/android/preference/
H A DPreferenceActivity.java111 * from the following XML resource:</p>
137 * <p/>Starting from Key Lime Pie, when this argument is passed in, the PreferenceActivity
419 * this resource is loaded from <var>res</var> and returned. Otherwise
431 * this resource is loaded from <var>res</var> and returned. Otherwise
443 * this resource is loaded from <var>res</var> and returned. Otherwise
456 * this resource is loaded from <var>res</var> and returned. Otherwise
562 // We are restarting from a previous saved state; used that to
775 * to fill in the list from a resource.
1265 Header findBestMatchingHeader(Header cur, ArrayList<Header> from) { argument
1267 for (int j=0; j<from
[all...]
/frameworks/base/core/java/android/provider/
H A DMediaStore.java110 * An intent to perform a search for music media and automatically play content from the
131 * An intent to perform a search for readable media and automatically play content from the
148 * An intent to perform a search for video media and automatically play content from the
403 * from MTP to the media provider
625 * stream from database (MICRO_KIND) or file (MINI_KIND).
795 * is automatically computed from the DATA column.
802 * is automatically computed from the DATA column.
1128 * <P>Type: INTEGER (ID from Images table)</P>
1171 * A non human readable key calculated from the TITLE, used for
1217 * A non human readable key calculated from th
1652 moveItem(ContentResolver res, long playlistId, int from, int to) argument
[all...]
/frameworks/base/core/java/android/speech/tts/
H A DUtteranceProgressListener.java11 * The callbacks specified in this method can be called from multiple threads.
56 * @param errorCode one of the ERROR_* codes from {@link TextToSpeech}
68 static UtteranceProgressListener from( method in class:UtteranceProgressListener
/frameworks/base/core/java/android/transition/
H A DTransitionInflater.java39 * This class inflates scenes and transitions from resource files.
60 * Obtains the TransitionInflater from the given context.
62 public static TransitionInflater from(Context context) { method in class:TransitionInflater
67 * Loads a {@link Transition} object from a resource
94 * Loads a {@link TransitionManager} object from a resource
/frameworks/base/core/java/android/view/
H A DGhostView.java160 private static void copySize(View from, View to) { argument
163 to.setRight(from.getWidth());
164 to.setBottom(from.getHeight());
189 // Remove all GhostViews from the middle
277 * Returns true if viewParents is from a View that is on top of the comparedWith's view.
278 * The ArrayLists contain the ancestors of views in order from top most grandparent, to
H A DLayoutInflater.java61 * it only works with an XmlPullParser returned from a compiled resource
71 * This field should be made private, so it is hidden from the SDK.
122 * Hook you can supply that is called when inflating from a LayoutInflater.
192 * Views; most importantly, this supplies the theme from which the default
216 * Obtains the LayoutInflater from the given context.
218 public static LayoutInflater from(Context context) { method in class:LayoutInflater
354 * Inflate a new view hierarchy from the specified xml resource. Throws
369 * Inflate a new view hierarchy from the specified xml node. Throws
389 * Inflate a new view hierarchy from the specified xml resource. Throws
408 Log.d(TAG, "INFLATING from resourc
[all...]

Completed in 2126 milliseconds

1234