Home
last modified time | relevance | path

Searched refs:infos (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/av/drm/libmediadrm/
DDrmSessionManager.cpp93 SessionInfos& infos = mSessionMap.editValueAt(i); in useSession() local
94 for (size_t j = 0; j < infos.size(); ++j) { in useSession()
95 SessionInfo& info = infos.editItemAt(j); in useSession()
109 SessionInfos& infos = mSessionMap.editValueAt(i); in removeSession() local
110 for (size_t j = 0; j < infos.size(); ++j) { in removeSession()
111 if (isEqualSessionId(sessionId, infos[j].sessionId)) { in removeSession()
112 infos.removeAt(j); in removeSession()
125 SessionInfos& infos = mSessionMap.editValueAt(i); in removeDrm() local
126 for (size_t j = 0; j < infos.size();) { in removeDrm()
127 if (infos[j].drm == drm) { in removeDrm()
[all …]
/frameworks/av/services/mediaresourcemanager/
DResourceManagerService.cpp55 static bool hasResourceType(MediaResource::Type type, ResourceInfos infos) { in hasResourceType() argument
56 for (size_t i = 0; i < infos.size(); ++i) { in hasResourceType()
57 if (hasResourceType(type, infos[i].resources)) { in hasResourceType()
80 ResourceInfos& infos) { in getResourceInfoForEdit() argument
81 for (size_t i = 0; i < infos.size(); ++i) { in getResourceInfoForEdit()
82 if (infos[i].clientId == clientId) { in getResourceInfoForEdit()
83 return infos.editItemAt(i); in getResourceInfoForEdit()
89 infos.push_back(info); in getResourceInfoForEdit()
90 return infos.editItemAt(infos.size() - 1); in getResourceInfoForEdit()
148 const ResourceInfos &infos = mapCopy.valueAt(i); in dump() local
[all …]
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityInteractionClient.java292 List<AccessibilityNodeInfo> infos = getFindAccessibilityNodeInfosResultAndClear( in findAccessibilityNodeInfoByAccessibilityId() local
294 finalizeAndCacheAccessibilityNodeInfos(infos, connectionId); in findAccessibilityNodeInfoByAccessibilityId()
295 if (infos != null && !infos.isEmpty()) { in findAccessibilityNodeInfoByAccessibilityId()
296 return infos.get(0); in findAccessibilityNodeInfoByAccessibilityId()
339 List<AccessibilityNodeInfo> infos = getFindAccessibilityNodeInfosResultAndClear( in findAccessibilityNodeInfosByViewId() local
341 if (infos != null) { in findAccessibilityNodeInfosByViewId()
342 finalizeAndCacheAccessibilityNodeInfos(infos, connectionId); in findAccessibilityNodeInfosByViewId()
343 return infos; in findAccessibilityNodeInfosByViewId()
387 List<AccessibilityNodeInfo> infos = getFindAccessibilityNodeInfosResultAndClear( in findAccessibilityNodeInfosByText() local
389 if (infos != null) { in findAccessibilityNodeInfosByText()
[all …]
DIAccessibilityInteractionCallback.aidl44 void setFindAccessibilityNodeInfosResult(in List<AccessibilityNodeInfo> infos, in setFindAccessibilityNodeInfosResult() argument
DIAccessibilityInteractionConnectionCallback.aidl45 void setFindAccessibilityNodeInfosResult(in List<AccessibilityNodeInfo> infos, in setFindAccessibilityNodeInfosResult() argument
DAccessibilityManager.java368 List<AccessibilityServiceInfo> infos = getInstalledAccessibilityServiceList(); in getAccessibilityServiceList() local
370 final int infoCount = infos.size(); in getAccessibilityServiceList()
372 AccessibilityServiceInfo info = infos.get(i); in getAccessibilityServiceList()
/frameworks/base/core/java/android/view/
DAccessibilityInteractionController.java142 List<AccessibilityNodeInfo> infos = mTempAccessibilityNodeInfoList; in findAccessibilityNodeInfoByAccessibilityIdUiThread() local
143 infos.clear(); in findAccessibilityNodeInfoByAccessibilityIdUiThread()
156 mPrefetcher.prefetchAccessibilityNodeInfos(root, virtualDescendantId, flags, infos); in findAccessibilityNodeInfoByAccessibilityIdUiThread()
161 applyAppScaleAndMagnificationSpecIfNeeded(infos, spec); in findAccessibilityNodeInfoByAccessibilityIdUiThread()
167 adjustIsVisibleToUserIfNeeded(infos, interactiveRegion); in findAccessibilityNodeInfoByAccessibilityIdUiThread()
168 callback.setFindAccessibilityNodeInfosResult(infos, interactionId); in findAccessibilityNodeInfoByAccessibilityIdUiThread()
169 infos.clear(); in findAccessibilityNodeInfoByAccessibilityIdUiThread()
226 final List<AccessibilityNodeInfo> infos = mTempAccessibilityNodeInfoList; in findAccessibilityNodeInfosByViewIdUiThread() local
227 infos.clear(); in findAccessibilityNodeInfosByViewIdUiThread()
248 mAddNodeInfosForViewId.init(resolvedViewId, infos); in findAccessibilityNodeInfosByViewIdUiThread()
[all …]
/frameworks/support/v4/java/android/support/v4/view/accessibility/
DAccessibilityNodeProviderCompat.java65 final List<Object> infos = new ArrayList<>(); in newAccessibilityNodeProviderBridge() local
69 infos.add(infoCompat.getInfo()); in newAccessibilityNodeProviderBridge()
71 return infos; in newAccessibilityNodeProviderBridge()
111 final List<Object> infos = new ArrayList<>();
115 infos.add(infoCompat.getInfo());
117 return infos;
/frameworks/av/media/libstagefright/
DMediaCodecListOverrides.h39 void profileCodecs(const Vector<sp<MediaCodecInfo>> &infos);
43 const Vector<sp<MediaCodecInfo>> &infos,
DMediaCodecListOverrides.cpp263 void profileCodecs(const Vector<sp<MediaCodecInfo>> &infos) { in profileCodecs() argument
267 profileCodecs(infos, &global_results, &encoder_results, &decoder_results); in profileCodecs()
272 const Vector<sp<MediaCodecInfo>> &infos, in profileCodecs() argument
280 for (size_t i = 0; i < infos.size(); ++i) { in profileCodecs()
281 const sp<MediaCodecInfo> info = infos[i]; in profileCodecs()
/frameworks/av/media/libstagefright/mpeg2ts/
DATSParser.cpp109 bool switchPIDs(const Vector<StreamInfo> &infos);
286 bool ATSParser::Program::switchPIDs(const Vector<StreamInfo> &infos) { in switchPIDs() argument
289 if (mStreams.size() == infos.size()) { in switchPIDs()
300 for (i = 0; i < infos.size(); ++i) { in switchPIDs()
301 ssize_t index = newType2PIDs.indexOfKey(infos[i].mType); in switchPIDs()
303 newType2PIDs.add(infos[i].mType, Vector<int32_t>()); in switchPIDs()
305 newType2PIDs.editValueFor(infos[i].mType).push_back(infos[i].mPID); in switchPIDs()
394 Vector<StreamInfo> infos; in parseProgramMap() local
438 infos.push(info); in parseProgramMap()
449 for (size_t i = 0; i < infos.size(); ++i) { in parseProgramMap()
[all …]
/frameworks/av/media/libstagefright/tests/
DMediaCodecListOverrides_test.cpp120 Vector<sp<MediaCodecInfo>> infos; in TEST_F() local
122 infos.push_back(list->getCodecInfo(i)); in TEST_F()
128 infos, &global_results, &encoder_results, &decoder_results, true /* forceToMeasure */); in TEST_F()
/frameworks/base/core/java/android/widget/
DHeaderViewListAdapter.java85 private boolean areAllListInfosSelectable(ArrayList<ListView.FixedViewInfo> infos) { in areAllListInfosSelectable() argument
86 if (infos != null) { in areAllListInfosSelectable()
87 for (ListView.FixedViewInfo info : infos) { in areAllListInfosSelectable()
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
DUiAutomatorTestCase.java130 List<InputMethodInfo> infos = im.getInputMethodList(); in setDummyIme() local
132 for (InputMethodInfo info : infos) { in setDummyIme()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhone.java1090 private CallForwardInfo[] handleCfQueryResult(ImsCallForwardInfo[] infos) { in handleCfQueryResult() argument
1093 if (infos != null && infos.length != 0) { in handleCfQueryResult()
1094 cfInfos = new CallForwardInfo[infos.length]; in handleCfQueryResult()
1098 if (infos == null || infos.length == 0) { in handleCfQueryResult()
1105 for (int i = 0, s = infos.length; i < s; i++) { in handleCfQueryResult()
1106 if (infos[i].mCondition == ImsUtInterface.CDIV_CF_UNCONDITIONAL) { in handleCfQueryResult()
1108 setVoiceCallForwardingFlag(r, 1, (infos[i].mStatus == 1), in handleCfQueryResult()
1109 infos[i].mNumber); in handleCfQueryResult()
1112 cfInfos[i] = getCallForwardInfo(infos[i]); in handleCfQueryResult()
1119 private int[] handleCbQueryResult(ImsSsInfo[] infos) { in handleCbQueryResult() argument
[all …]
DImsPhoneMmiCode.java1334 CallForwardInfo infos[]; in onQueryCfComplete() local
1336 infos = (CallForwardInfo[]) ar.result; in onQueryCfComplete()
1338 if (infos.length == 0) { in onQueryCfComplete()
1360 for (int i = 0, s = infos.length; i < s ; i++) { in onQueryCfComplete()
1361 if ((serviceClassMask & infos[i].serviceClass) != 0) { in onQueryCfComplete()
1362 tb.append(makeCFQueryResultMessage(infos[i], in onQueryCfComplete()
1456 ImsSsInfo[] infos = (ImsSsInfo[])ar.result; in onIcbQueryComplete() local
1457 if (infos.length == 0) { in onIcbQueryComplete()
1460 for (int i = 0, s = infos.length; i < s ; i++) { in onIcbQueryComplete()
1461 if (infos[i].mIcbNum !=null) { in onIcbQueryComplete()
[all …]
/frameworks/base/core/java/android/accounts/
DChooseAccountActivity.java159 public AccountArrayAdapter(Context context, int textViewResourceId, AccountInfo[] infos) { in AccountArrayAdapter() argument
160 super(context, textViewResourceId, infos); in AccountArrayAdapter()
161 mInfos = infos; in AccountArrayAdapter()
DChooseAccountTypeActivity.java176 ArrayList<AuthInfo> infos) { in AccountArrayAdapter() argument
177 super(context, textViewResourceId, infos); in AccountArrayAdapter()
178 mInfos = infos; in AccountArrayAdapter()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DSearchBar.java433 List<CompletionInfo> infos = new ArrayList<>(); in displayCompletions() local
436 infos.add(new CompletionInfo(infos.size(), infos.size(), completion)); in displayCompletions()
439 CompletionInfo[] array = new CompletionInfo[infos.size()]; in displayCompletions()
440 displayCompletions(infos.toArray(array)); in displayCompletions()
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/
DAppCompatibility.java228 List<RunningTaskInfo> infos = mActivityManager.getRunningTasks(100); in processStillUp() local
229 for (RunningTaskInfo info : infos) { in processStillUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmMmiCode.java1476 CallForwardInfo infos[]; in onQueryCfComplete() local
1478 infos = (CallForwardInfo[]) ar.result; in onQueryCfComplete()
1480 if (infos.length == 0) { in onQueryCfComplete()
1502 for (int i = 0, s = infos.length; i < s ; i++) { in onQueryCfComplete()
1503 if ((serviceClassMask & infos[i].serviceClass) != 0) { in onQueryCfComplete()
1504 tb.append(makeCFQueryResultMessage(infos[i], in onQueryCfComplete()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java191 List<UserInfo> infos = mUserManager.getUsers(true); in refreshUsers() local
192 if (infos == null) { in refreshUsers()
195 ArrayList<UserRecord> records = new ArrayList<>(infos.size()); in refreshUsers()
201 for (UserInfo info : infos) { in refreshUsers()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DRootsFragment.java358 final List<ResolveInfo> infos = pm.queryIntentActivities( in includeHandlerApps() local
364 for (ResolveInfo info : infos) { in includeHandlerApps()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DExifInterface.java1644 SparseIntArray infos = getTagInfo(); in setTagDefinition() local
1663 int tagInfo = infos.get(def); in setTagDefinition()
1684 SparseIntArray infos = getTagInfo(); in getTagDefinitionsForTagId() local
1687 if (infos.get(def) != DEFINITION_NULL) { in getTagDefinitionsForTagId()
1710 SparseIntArray infos = getTagInfo(); in getTagDefinitionForTag() local
1713 int info = infos.get(i); in getTagDefinitionForTag()
/frameworks/base/core/tests/coretests/src/android/print/
DIPrintManagerParametersTest.java296 List<PrintJobInfo> infos = mIPrintManager.getPrintJobInfos(mAppId, mUserId);
299 for (PrintJobInfo info : infos) {

12