Home
last modified time | relevance | path

Searched refs:infos (Results 1 – 25 of 49) 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.cpp81 static bool hasResourceType(MediaResource::Type type, const ResourceInfos& infos) { in hasResourceType() argument
82 for (size_t i = 0; i < infos.size(); ++i) { in hasResourceType()
83 if (hasResourceType(type, infos[i].resources)) { in hasResourceType()
106 ResourceInfos& infos) { in getResourceInfoForEdit() argument
107 for (size_t i = 0; i < infos.size(); ++i) { in getResourceInfoForEdit()
108 if (infos[i].clientId == clientId) { in getResourceInfoForEdit()
109 return infos.editItemAt(i); in getResourceInfoForEdit()
116 infos.push_back(info); in getResourceInfoForEdit()
117 return infos.editItemAt(infos.size() - 1); in getResourceInfoForEdit()
175 const ResourceInfos &infos = mapCopy.valueAt(i); in dump() local
[all …]
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityInteractionClient.java353 List<AccessibilityNodeInfo> infos = getFindAccessibilityNodeInfosResultAndClear( in findAccessibilityNodeInfoByAccessibilityId() local
355 finalizeAndCacheAccessibilityNodeInfos(infos, connectionId, in findAccessibilityNodeInfoByAccessibilityId()
357 if (infos != null && !infos.isEmpty()) { in findAccessibilityNodeInfoByAccessibilityId()
358 for (int i = 1; i < infos.size(); i++) { in findAccessibilityNodeInfoByAccessibilityId()
359 infos.get(i).recycle(); in findAccessibilityNodeInfoByAccessibilityId()
361 return infos.get(0); in findAccessibilityNodeInfoByAccessibilityId()
414 List<AccessibilityNodeInfo> infos = getFindAccessibilityNodeInfosResultAndClear( in findAccessibilityNodeInfosByViewId() local
416 if (infos != null) { in findAccessibilityNodeInfosByViewId()
417 finalizeAndCacheAccessibilityNodeInfos(infos, connectionId, in findAccessibilityNodeInfosByViewId()
419 return infos; in findAccessibilityNodeInfosByViewId()
[all …]
DIAccessibilityInteractionConnectionCallback.aidl46 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
51 infos.add(gsm); in testParcel()
61 infos.add(lte); in testParcel()
63 NetworkScanResult nsr = new NetworkScanResult(0, 0, infos); in testParcel()
/frameworks/base/core/java/android/view/
DAccessibilityInteractionController.java332 List<AccessibilityNodeInfo> infos = mTempAccessibilityNodeInfoList; in findAccessibilityNodeInfoByAccessibilityIdUiThread() local
333 infos.clear(); in findAccessibilityNodeInfoByAccessibilityIdUiThread()
342 root, virtualDescendantId, flags, infos, arguments); in findAccessibilityNodeInfoByAccessibilityIdUiThread()
346 infos, callback, interactionId, spec, interactiveRegion); in findAccessibilityNodeInfoByAccessibilityIdUiThread()
383 final List<AccessibilityNodeInfo> infos = mTempAccessibilityNodeInfoList; in findAccessibilityNodeInfosByViewIdUiThread() local
384 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
455 infos = provider.findAccessibilityNodeInfosByText(text, in findAccessibilityNodeInfosByTextUiThread()
[all …]
/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()
/frameworks/base/core/java/com/android/internal/app/
DResolverListController.java117 final List<ResolveInfo> infos = mpm.queryIntentActivities(intent, flags); in getResolversForIntent() local
119 int totalSize = infos.size(); in getResolversForIntent()
121 ResolveInfo info = infos.get(j); in getResolversForIntent()
123 infos.remove(j); in getResolversForIntent()
126 if (infos != null) { in getResolversForIntent()
130 addResolveListDedupe(resolvedComponents, intent, infos); in getResolversForIntent()
/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/core/java/android/widget/
DHeaderViewListAdapter.java89 private boolean areAllListInfosSelectable(ArrayList<ListView.FixedViewInfo> infos) { in areAllListInfosSelectable() argument
90 if (infos != null) { in areAllListInfosSelectable()
91 for (ListView.FixedViewInfo info : infos) { in areAllListInfosSelectable()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsResolver.java713 List<ImsServiceInfo> infos = getImsServiceInfo(packageName); in maybeAddedImsService() local
715 for (ImsServiceInfo info : infos) { in maybeAddedImsService()
1173 List<ImsServiceInfo> infos = new ArrayList<>(); in getImsServiceInfo() local
1176 infos.addAll(getStaticImsService()); in getImsServiceInfo()
1179 infos.addAll(searchForImsServices(packageName, mImsServiceControllerFactory)); in getImsServiceInfo()
1181 infos.addAll(searchForImsServices(packageName, mImsServiceControllerFactoryCompat)); in getImsServiceInfo()
1183 return infos; in getImsServiceInfo()
1187 List<ImsServiceInfo> infos = new ArrayList<>(); in getStaticImsService() local
1194 infos.add(info); in getStaticImsService()
1195 return infos; in getStaticImsService()
[all …]
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
DUiAutomatorTestCase.java138 List<InputMethodInfo> infos = im.getInputMethodList(); in setDummyIme() local
140 for (InputMethodInfo info : infos) { in setDummyIme()
/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/native/services/inputflinger/
DInputManager.cpp106 void InputManager::setInputWindows(const std::vector<InputWindowInfo>& infos, in setInputWindows() argument
111 for (const auto& info : infos) { in setInputWindows()
/frameworks/base/services/core/java/com/android/server/rollback/
DRollbackStore.java374 private static JSONArray toJson(List<PackageRollbackInfo> infos) throws JSONException { in toJson() argument
376 for (PackageRollbackInfo info : infos) { in toJson()
384 List<PackageRollbackInfo> infos = new ArrayList<>(); in packageRollbackInfosFromJson() local
386 infos.add(packageRollbackInfoFromJson(json.getJSONObject(i))); in packageRollbackInfosFromJson()
388 return infos; in packageRollbackInfosFromJson()
/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.java196 public AccountArrayAdapter(Context context, int textViewResourceId, AccountInfo[] infos) { in AccountArrayAdapter() argument
197 super(context, textViewResourceId, infos); in AccountArrayAdapter()
198 mInfos = infos; in AccountArrayAdapter()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhone.java1380 public CallForwardInfo[] handleCfQueryResult(ImsCallForwardInfo[] infos) { in handleCfQueryResult() argument
1383 if (infos != null && infos.length != 0) { in handleCfQueryResult()
1384 cfInfos = new CallForwardInfo[infos.length]; in handleCfQueryResult()
1388 if (infos == null || infos.length == 0) { in handleCfQueryResult()
1395 for (int i = 0, s = infos.length; i < s; i++) { in handleCfQueryResult()
1396 if (infos[i].getCondition() == ImsUtInterface.CDIV_CF_UNCONDITIONAL) { in handleCfQueryResult()
1398 setVoiceCallForwardingFlag(r, 1, (infos[i].getStatus() == 1), in handleCfQueryResult()
1399 infos[i].getNumber()); in handleCfQueryResult()
1402 cfInfos[i] = getCallForwardInfo(infos[i]); in handleCfQueryResult()
1409 private int[] handleCbQueryResult(ImsSsInfo[] infos) { in handleCbQueryResult() argument
[all …]
DImsPhoneMmiCode.java1437 CallForwardInfo infos[]; in onQueryCfComplete() local
1439 infos = (CallForwardInfo[]) ar.result; in onQueryCfComplete()
1441 if (infos == null || infos.length == 0) { in onQueryCfComplete()
1463 for (int i = 0, s = infos.length; i < s ; i++) { in onQueryCfComplete()
1464 if ((serviceClassMask & infos[i].serviceClass) != 0) { in onQueryCfComplete()
1465 tb.append(makeCFQueryResultMessage(infos[i], in onQueryCfComplete()
1554 List<ImsSsInfo> infos = null; in onIcbQueryComplete() local
1556 infos = (List<ImsSsInfo>) ar.result; in onIcbQueryComplete()
1559 infos = Arrays.asList((ImsSsInfo[]) ar.result); in onIcbQueryComplete()
1561 if (infos == null || infos.size() == 0) { in onIcbQueryComplete()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DMmTelFeatureConnectionTest.java288 List<SubscriptionInfo> infos = new ArrayList<>(); in createSubscriptionInfoList() local
292 infos.add(info); in createSubscriptionInfoList()
294 return infos; in createSubscriptionInfoList()
/frameworks/av/media/libstagefright/mpeg2ts/
DATSParser.cpp137 bool switchPIDs(const Vector<StreamInfo> &infos);
369 bool ATSParser::Program::switchPIDs(const Vector<StreamInfo> &infos) { in switchPIDs() argument
372 if (mStreams.size() == infos.size()) { in switchPIDs()
383 for (i = 0; i < infos.size(); ++i) { in switchPIDs()
384 ssize_t index = newType2PIDs.indexOfKey(infos[i].mType); in switchPIDs()
386 newType2PIDs.add(infos[i].mType, Vector<int32_t>()); in switchPIDs()
388 newType2PIDs.editValueFor(infos[i].mType).push_back(infos[i].mPID); in switchPIDs()
521 Vector<StreamInfo> infos; in parseProgramMap() local
674 infos.push(info); in parseProgramMap()
688 for (size_t i = 0; i < infos.size(); ++i) { in parseProgramMap()
[all …]
/frameworks/base/cmds/am/src/com/android/commands/am/
DInstrument.java420 List<InstrumentationInfo> infos = mPm.queryInstrumentation(null, 0).getList(); in parseComponentName() local
422 final int numInfos = infos == null ? 0: infos.size(); in parseComponentName()
425 InstrumentationInfo info = infos.get(i); in parseComponentName()
/frameworks/rs/tests/lldb/
D.gitignore32 # before PyInstaller builds the exe, so as to inject date/other infos into it.
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/
DApplicationsStateRoboTest.java201 final List<ApplicationInfo> infos = new ArrayList<>(); in setUp() local
202 infos.add(createApplicationInfo("test.package.1")); in setUp()
203 infos.add(createApplicationInfo("test.hidden.module.2")); in setUp()
204 infos.add(createApplicationInfo("test.package.3")); in setUp()
206 anyInt() /* flags */, anyInt() /* userId */)).thenReturn(new ParceledListSlice(infos)); in setUp()

12