Home
last modified time | relevance | path

Searched refs:infos (Results 1 – 25 of 46) 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.cpp80 static bool hasResourceType(MediaResource::Type type, const ResourceInfos& infos) { in hasResourceType() argument
81 for (size_t i = 0; i < infos.size(); ++i) { in hasResourceType()
82 if (hasResourceType(type, infos[i].resources)) { in hasResourceType()
105 ResourceInfos& infos) { in getResourceInfoForEdit() argument
106 for (size_t i = 0; i < infos.size(); ++i) { in getResourceInfoForEdit()
107 if (infos[i].clientId == clientId) { in getResourceInfoForEdit()
108 return infos.editItemAt(i); in getResourceInfoForEdit()
114 infos.push_back(info); in getResourceInfoForEdit()
115 return infos.editItemAt(infos.size() - 1); in getResourceInfoForEdit()
173 const ResourceInfos &infos = mapCopy.valueAt(i); in dump() local
[all …]
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityInteractionClient.java297 List<AccessibilityNodeInfo> infos = getFindAccessibilityNodeInfosResultAndClear( in findAccessibilityNodeInfoByAccessibilityId() local
299 finalizeAndCacheAccessibilityNodeInfos(infos, connectionId, in findAccessibilityNodeInfoByAccessibilityId()
301 if (infos != null && !infos.isEmpty()) { in findAccessibilityNodeInfoByAccessibilityId()
302 for (int i = 1; i < infos.size(); i++) { in findAccessibilityNodeInfoByAccessibilityId()
303 infos.get(i).recycle(); in findAccessibilityNodeInfoByAccessibilityId()
305 return infos.get(0); in findAccessibilityNodeInfoByAccessibilityId()
353 List<AccessibilityNodeInfo> infos = getFindAccessibilityNodeInfosResultAndClear( in findAccessibilityNodeInfosByViewId() local
355 if (infos != null) { in findAccessibilityNodeInfosByViewId()
356 finalizeAndCacheAccessibilityNodeInfos(infos, connectionId, in findAccessibilityNodeInfosByViewId()
358 return infos; in findAccessibilityNodeInfosByViewId()
[all …]
DIAccessibilityInteractionConnectionCallback.aidl44 void setFindAccessibilityNodeInfosResult(in List<AccessibilityNodeInfo> infos, in setFindAccessibilityNodeInfosResult() argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DNetworkScanResultTest.java42 ArrayList<CellInfo> infos = new ArrayList<CellInfo>(); in testParcel() local
53 infos.add(gsm); in testParcel()
64 infos.add(lte); in testParcel()
66 NetworkScanResult nsr = new NetworkScanResult(0, 0, infos); in testParcel()
/frameworks/base/core/java/android/view/
DAccessibilityInteractionController.java322 List<AccessibilityNodeInfo> infos = mTempAccessibilityNodeInfoList; in findAccessibilityNodeInfoByAccessibilityIdUiThread() local
323 infos.clear(); in findAccessibilityNodeInfoByAccessibilityIdUiThread()
337 root, virtualDescendantId, flags, infos, arguments); in findAccessibilityNodeInfoByAccessibilityIdUiThread()
341 infos, callback, interactionId, spec, interactiveRegion); in findAccessibilityNodeInfoByAccessibilityIdUiThread()
378 final List<AccessibilityNodeInfo> infos = mTempAccessibilityNodeInfoList; in findAccessibilityNodeInfosByViewIdUiThread() local
379 infos.clear(); in findAccessibilityNodeInfosByViewIdUiThread()
400 mAddNodeInfosForViewId.init(resolvedViewId, infos); in findAccessibilityNodeInfosByViewIdUiThread()
406 infos, callback, interactionId, spec, interactiveRegion); in findAccessibilityNodeInfosByViewIdUiThread()
445 List<AccessibilityNodeInfo> infos = null; in findAccessibilityNodeInfosByTextUiThread() local
460 infos = provider.findAccessibilityNodeInfosByText(text, in findAccessibilityNodeInfosByTextUiThread()
[all …]
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
DPackageValidator.java72 ArrayList<CallerInfo> infos = validCertificates.get(certificate); in readValidCertificates() local
73 if (infos == null) { in readValidCertificates()
74 infos = new ArrayList<>(); in readValidCertificates()
75 validCertificates.put(certificate, infos); in readValidCertificates()
80 infos.add(info); in readValidCertificates()
/frameworks/base/core/java/com/android/internal/app/
DResolverListController.java106 final List<ResolveInfo> infos = mpm.queryIntentActivities(intent, in getResolversForIntent() local
112 int totalSize = infos.size(); in getResolversForIntent()
114 ResolveInfo info = infos.get(j); in getResolversForIntent()
116 infos.remove(j); in getResolversForIntent()
119 if (infos != null) { in getResolversForIntent()
123 addResolveListDedupe(resolvedComponents, intent, infos); in getResolversForIntent()
/frameworks/av/media/libstagefright/
DMediaCodecListOverrides.h37 void profileCodecs(const std::vector<sp<MediaCodecInfo>> &infos,
42 const std::vector<sp<MediaCodecInfo>> &infos,
DMediaCodecListOverrides.cpp206 void profileCodecs(const std::vector<sp<MediaCodecInfo>> &infos, in profileCodecs() argument
211 profileCodecs(infos, &global_results, &encoder_results, &decoder_results); in profileCodecs()
216 const std::vector<sp<MediaCodecInfo>> &infos, in profileCodecs() argument
223 for (const auto& info : infos) { in profileCodecs()
DMediaCodecList.cpp99 const auto& infos = codecList->mCodecInfos; in profilerThreadWrapper() local
101 profileCodecs(infos, kProfilingResults); in profilerThreadWrapper()
/frameworks/support/samples/SupportAppNavigation/src/com/example/android/support/appnavigation/app/
DAppNavHomeActivity.java56 List<ResolveInfo> infos = pm.queryIntentActivities(intent, 0); in querySampleActivities() local
60 final int count = infos.size(); in querySampleActivities()
62 final ResolveInfo info = infos.get(i); in querySampleActivities()
/frameworks/av/media/libstagefright/tests/
DMediaCodecListOverrides_test.cpp122 std::vector<sp<MediaCodecInfo>> infos; in TEST_F() local
124 infos.push_back(list->getCodecInfo(i)); in TEST_F()
130 infos, &global_results, &encoder_results, &decoder_results, true /* forceToMeasure */); in TEST_F()
/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/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/services/accessibility/java/com/android/server/accessibility/
DActionReplacingCallback.java112 public void setFindAccessibilityNodeInfosResult(List<AccessibilityNodeInfo> infos, in setFindAccessibilityNodeInfosResult() argument
118 mNodesFromOriginalWindow = infos; in setFindAccessibilityNodeInfosResult()
120 mNodesWithReplacementActions = infos; in setFindAccessibilityNodeInfosResult()
/frameworks/base/core/java/android/accounts/
DChooseAccountTypeActivity.java176 ArrayList<AuthInfo> infos) { in AccountArrayAdapter() argument
177 super(context, textViewResourceId, infos); in AccountArrayAdapter()
178 mInfos = infos; in AccountArrayAdapter()
DChooseAccountActivity.java195 public AccountArrayAdapter(Context context, int textViewResourceId, AccountInfo[] infos) { in AccountArrayAdapter() argument
196 super(context, textViewResourceId, infos); in AccountArrayAdapter()
197 mInfos = infos; in AccountArrayAdapter()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhone.java1208 private CallForwardInfo[] handleCfQueryResult(ImsCallForwardInfo[] infos) { in handleCfQueryResult() argument
1211 if (infos != null && infos.length != 0) { in handleCfQueryResult()
1212 cfInfos = new CallForwardInfo[infos.length]; in handleCfQueryResult()
1216 if (infos == null || infos.length == 0) { in handleCfQueryResult()
1223 for (int i = 0, s = infos.length; i < s; i++) { in handleCfQueryResult()
1224 if (infos[i].mCondition == ImsUtInterface.CDIV_CF_UNCONDITIONAL) { in handleCfQueryResult()
1226 setVoiceCallForwardingFlag(r, 1, (infos[i].mStatus == 1), in handleCfQueryResult()
1227 infos[i].mNumber); in handleCfQueryResult()
1230 cfInfos[i] = getCallForwardInfo(infos[i]); in handleCfQueryResult()
1237 private int[] handleCbQueryResult(ImsSsInfo[] infos) { in handleCbQueryResult() argument
[all …]
DImsPhoneMmiCode.java1374 CallForwardInfo infos[]; in onQueryCfComplete() local
1376 infos = (CallForwardInfo[]) ar.result; in onQueryCfComplete()
1378 if (infos.length == 0) { in onQueryCfComplete()
1400 for (int i = 0, s = infos.length; i < s ; i++) { in onQueryCfComplete()
1401 if ((serviceClassMask & infos[i].serviceClass) != 0) { in onQueryCfComplete()
1402 tb.append(makeCFQueryResultMessage(infos[i], in onQueryCfComplete()
1499 ImsSsInfo[] infos = (ImsSsInfo[])ar.result; in onIcbQueryComplete() local
1500 if (infos.length == 0) { in onIcbQueryComplete()
1503 for (int i = 0, s = infos.length; i < s ; i++) { in onIcbQueryComplete()
1504 if (infos[i].mIcbNum !=null) { in onIcbQueryComplete()
[all …]
/frameworks/av/media/libstagefright/mpeg2ts/
DATSParser.cpp134 bool switchPIDs(const Vector<StreamInfo> &infos);
359 bool ATSParser::Program::switchPIDs(const Vector<StreamInfo> &infos) { in switchPIDs() argument
362 if (mStreams.size() == infos.size()) { in switchPIDs()
373 for (i = 0; i < infos.size(); ++i) { in switchPIDs()
374 ssize_t index = newType2PIDs.indexOfKey(infos[i].mType); in switchPIDs()
376 newType2PIDs.add(infos[i].mType, Vector<int32_t>()); in switchPIDs()
378 newType2PIDs.editValueFor(infos[i].mType).push_back(infos[i].mPID); in switchPIDs()
505 Vector<StreamInfo> infos; in parseProgramMap() local
538 infos.push(info); in parseProgramMap()
549 for (size_t i = 0; i < infos.size(); ++i) { in parseProgramMap()
[all …]
/frameworks/base/cmds/am/src/com/android/commands/am/
DInstrument.java334 List<InstrumentationInfo> infos = mPm.queryInstrumentation(null, 0).getList(); in parseComponentName() local
336 final int numInfos = infos == null ? 0: infos.size(); in parseComponentName()
339 InstrumentationInfo info = infos.get(i); in parseComponentName()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DSearchBar.java456 List<CompletionInfo> infos = new ArrayList<>(); in displayCompletions() local
459 infos.add(new CompletionInfo(infos.size(), infos.size(), completion)); in displayCompletions()
462 CompletionInfo[] array = new CompletionInfo[infos.size()]; in displayCompletions()
463 displayCompletions(infos.toArray(array)); in displayCompletions()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsResolver.java377 List<ImsServiceInfo> infos = getImsServiceInfo(packageName); in maybeAddedImsService() local
379 for (ImsServiceInfo info : infos) { in maybeAddedImsService()
653 List<ImsServiceInfo> infos = new ArrayList<>(); in getImsServiceInfo() local
687 infos.add(info); in getImsServiceInfo()
694 return infos; in getImsServiceInfo()
/frameworks/rs/tests/lldb/
D.gitignore32 # before PyInstaller builds the exe, so as to inject date/other infos into it.

12