Home
last modified time | relevance | path

Searched refs:sourceIndex (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/media/
DRemoteDisplayProviderWatcher.java121 int sourceIndex = findProvider(serviceInfo.packageName, serviceInfo.name); in scanPackages() local
122 if (sourceIndex < 0) { in scanPackages()
130 } else if (sourceIndex >= targetIndex) { in scanPackages()
131 RemoteDisplayProviderProxy provider = mProviders.get(sourceIndex); in scanPackages()
134 Collections.swap(mProviders, sourceIndex, targetIndex++); in scanPackages()
DMediaRouterService.java1389 final int sourceIndex = findRouteByDescriptorId(descriptorId); in updateDescriptor() local
1390 if (sourceIndex < 0) { in updateDescriptor()
1398 } else if (sourceIndex < targetIndex) { in updateDescriptor()
1404 RouteRecord route = mRoutes.get(sourceIndex); in updateDescriptor()
1405 Collections.swap(mRoutes, sourceIndex, targetIndex++); in updateDescriptor()
/frameworks/base/services/core/java/com/android/server/tv/
DTvRemoteProviderWatcher.java116 int sourceIndex = findProvider(serviceInfo.packageName, serviceInfo.name); in scanPackages() local
117 if (sourceIndex < 0) { in scanPackages()
125 } else if (sourceIndex >= targetIndex) { in scanPackages()
126 TvRemoteProviderProxy provider = mProviderProxies.get(sourceIndex); in scanPackages()
129 Collections.swap(mProviderProxies, sourceIndex, targetIndex++); in scanPackages()
/frameworks/av/media/libstagefright/
DMPEG2TSWriter.cpp571 int32_t sourceIndex; in onMessageReceived() local
572 CHECK(msg->findInt32("source-index", &sourceIndex)); in onMessageReceived()
573 sp<SourceInfo> source = mSources.editItemAt(sourceIndex); in onMessageReceived()
587 writeAccessUnit(sourceIndex, buffer); in onMessageReceived()
601 writeAccessUnit(sourceIndex, buffer); in onMessageReceived()
618 sourceIndex, source->lastAccessUnitTimeUs() / 1E6); in onMessageReceived()
793 int32_t sourceIndex, const sp<ABuffer> &accessUnit) { in writeAccessUnit() argument
832 const unsigned PID = 0x1e0 + sourceIndex + 1; in writeAccessUnit()
835 mSources.editItemAt(sourceIndex)->incrementContinuityCounter(); in writeAccessUnit()
840 mSources.editItemAt(sourceIndex)->streamType() == 0x0f ? 0xc0 : 0xe0; in writeAccessUnit()
[all …]
/frameworks/av/media/libstagefright/include/media/stagefright/
DMPEG2TSWriter.h80 void writeAccessUnit(int32_t sourceIndex, const sp<ABuffer> &buffer);
/frameworks/base/core/java/android/os/
DWorkSource.java182 for (int sourceIndex = 1; sourceIndex < mNum; sourceIndex++) { in clearNames()
183 if (mUids[sourceIndex] == mUids[sourceIndex - 1]) { in clearNames()
186 mUids[destIndex] = mUids[sourceIndex]; in clearNames()
/frameworks/base/core/java/android/text/
DTextUtils.java1223 private static int toUpperMapToDest(Edits.Iterator iterator, int sourceIndex) { in toUpperMapToDest() argument
1225 iterator.findSourceIndex(sourceIndex); in toUpperMapToDest()
1226 if (sourceIndex == iterator.sourceIndex()) { in toUpperMapToDest()
1242 return iterator.destinationIndex() + (sourceIndex - iterator.sourceIndex()); in toUpperMapToDest()
/frameworks/base/api/
Dcurrent.txt20264 method public int sourceIndex();
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt30556 Landroid/icu/text/Edits$Iterator;->sourceIndex()I