Home
last modified time | relevance | path

Searched refs:infoList (Results 1 – 18 of 18) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DMultiSimSettingControllerTest.java118 List<SubscriptionInfo> infoList = Arrays.asList(mSubInfo1, mSubInfo2); in setUp() local
119 doReturn(infoList).when(mSubControllerMock) in setUp()
176 List<SubscriptionInfo> infoList = Arrays.asList(mSubInfo1); in testTestSubInfoChangeBeforeAllSubReady() local
177 doReturn(infoList).when(mSubControllerMock).getActiveSubscriptionInfoList(anyString()); in testTestSubInfoChangeBeforeAllSubReady()
211 List<SubscriptionInfo> infoList = Arrays.asList(mSubInfo1); in testSingleActiveDsds() local
212 doReturn(infoList).when(mSubControllerMock).getActiveSubscriptionInfoList(anyString()); in testSingleActiveDsds()
224 infoList = Arrays.asList(mSubInfo2); in testSingleActiveDsds()
225 doReturn(infoList).when(mSubControllerMock).getActiveSubscriptionInfoList(anyString()); in testSingleActiveDsds()
245 List<SubscriptionInfo> infoList = Arrays.asList(mSubInfo1); in testActivatingSecondSub() local
246 doReturn(infoList).when(mSubControllerMock).getActiveSubscriptionInfoList(anyString()); in testActivatingSecondSub()
[all …]
DSubscriptionControllerTest.java760 List<SubscriptionInfo> infoList = mSubscriptionControllerUT.getSubscriptionsInGroup( in testUpdateSubscriptionGroupWithCarrierPrivilegePermission() local
762 assertEquals(2, infoList.size()); in testUpdateSubscriptionGroupWithCarrierPrivilegePermission()
763 assertEquals(1, infoList.get(0).getSubscriptionId()); in testUpdateSubscriptionGroupWithCarrierPrivilegePermission()
764 assertEquals(2, infoList.get(1).getSubscriptionId()); in testUpdateSubscriptionGroupWithCarrierPrivilegePermission()
768 infoList = mSubscriptionControllerUT.getSubscriptionsInGroup( in testUpdateSubscriptionGroupWithCarrierPrivilegePermission()
770 assertEquals(1, infoList.size()); in testUpdateSubscriptionGroupWithCarrierPrivilegePermission()
771 assertEquals(1, infoList.get(0).getSubscriptionId()); in testUpdateSubscriptionGroupWithCarrierPrivilegePermission()
788 infoList = mSubscriptionControllerUT.getSubscriptionsInGroup( in testUpdateSubscriptionGroupWithCarrierPrivilegePermission()
790 assertEquals(2, infoList.size()); in testUpdateSubscriptionGroupWithCarrierPrivilegePermission()
791 assertEquals(1, infoList.get(0).getSubscriptionId()); in testUpdateSubscriptionGroupWithCarrierPrivilegePermission()
[all …]
/frameworks/base/core/tests/coretests/src/android/content/pm/
DComponentTest.java167 final List<ResolveInfo> infoList = in testQueryDisabledActivity() local
169 assertEquals(0, infoList.size()); in testQueryDisabledActivity()
187 final List<ResolveInfo> infoList = in testQueryEnabledActivity() local
189 assertEquals(1, infoList.size()); in testQueryEnabledActivity()
190 final ResolveInfo info = infoList.get(0); in testQueryEnabledActivity()
246 final List<ResolveInfo> infoList = in testEnableActivity() local
248 assertEquals(1, infoList.size()); in testEnableActivity()
274 final List<ResolveInfo> infoList = in testDisableActivity() local
276 assertEquals(0, infoList.size()); in testDisableActivity()
314 final List<ResolveInfo> infoList = in testQueryDisabledService() local
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DMultiSimSettingController.java295 List<SubscriptionInfo> infoList = mSubController.getSubscriptionsInGroup( in onSubscriptionGroupChanged() local
297 if (infoList == null || infoList.isEmpty()) return; in onSubscriptionGroupChanged()
301 int refSubId = infoList.get(0).getSubscriptionId(); in onSubscriptionGroupChanged()
302 for (SubscriptionInfo info : infoList) { in onSubscriptionGroupChanged()
585 List<SubscriptionInfo> infoList = mSubController.getSubscriptionsInGroup( in setUserDataEnabledForGroup() local
588 if (infoList == null) return; in setUserDataEnabledForGroup()
590 for (SubscriptionInfo info : infoList) { in setUserDataEnabledForGroup()
615 List<SubscriptionInfo> infoList = subController.getSubscriptionsInGroup( in setRoamingDataEnabledForGroup() local
618 if (infoList == null) return; in setRoamingDataEnabledForGroup()
620 for (SubscriptionInfo info : infoList) { in setRoamingDataEnabledForGroup()
DSubscriptionController.java1740 List<SubscriptionInfo> infoList = getSubscriptionsInGroup(getGroupUuid(subId), in databaseUpdateHelper() local
1742 if (!updateEntireGroup || infoList == null || infoList.size() == 0) { in databaseUpdateHelper()
1748 int[] subIdList = new int[infoList.size()]; in databaseUpdateHelper()
1749 for (int i = 0; i < infoList.size(); i++) { in databaseUpdateHelper()
1750 subIdList[i] = infoList.get(i).getSubscriptionId(); in databaseUpdateHelper()
2963 List<SubscriptionInfo> infoList = getSubInfo(SubscriptionManager.GROUP_UUID in getOwnerPackageOfSubGroup()
2966 return ArrayUtils.isEmpty(infoList) ? null : infoList.get(0).getGroupOwner(); in getOwnerPackageOfSubGroup()
2984 List<SubscriptionInfo> infoList; in canPackageManageGroup() local
2989 infoList = getSubInfo(SubscriptionManager.GROUP_UUID in canPackageManageGroup()
2997 if (ArrayUtils.isEmpty(infoList)) { in canPackageManageGroup()
[all …]
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DDocumentLoader.java328 final ArrayList<MtpObjectInfo> infoList = new ArrayList<>(); in loadObjectInfoList() local
333 infoList.add(mManager.getObjectInfo( in loadObjectInfoList()
339 final long[] objectSizeList = new long[infoList.size()]; in loadObjectInfoList()
340 for (int i = 0; i < infoList.size(); i++) { in loadObjectInfoList()
341 final MtpObjectInfo info = infoList.get(i); in loadObjectInfoList()
381 infoList.toArray(new MtpObjectInfo[infoList.size()]), in loadObjectInfoList()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DResolverActivityTest.java380 List<ResolvedComponentInfo> infoList = new ArrayList<>(numberOfResults); in createResolvedComponentsForTest() local
382 infoList.add(ResolverDataProvider.createResolvedComponentInfo(i)); in createResolvedComponentsForTest()
384 return infoList; in createResolvedComponentsForTest()
389 List<ResolvedComponentInfo> infoList = new ArrayList<>(numberOfResults); in createResolvedComponentsForTestWithOtherProfile() local
392 infoList.add(ResolverDataProvider.createResolvedComponentInfoWithOtherId(i)); in createResolvedComponentsForTestWithOtherProfile()
394 infoList.add(ResolverDataProvider.createResolvedComponentInfo(i)); in createResolvedComponentsForTestWithOtherProfile()
397 return infoList; in createResolvedComponentsForTestWithOtherProfile()
DChooserActivityTest.java1004 List<ResolvedComponentInfo> infoList = new ArrayList<>(numberOfResults); in createResolvedComponentsForTest() local
1006 infoList.add(ResolverDataProvider.createResolvedComponentInfo(i)); in createResolvedComponentsForTest()
1008 return infoList; in createResolvedComponentsForTest()
1013 List<ResolvedComponentInfo> infoList = new ArrayList<>(numberOfResults); in createResolvedComponentsForTestWithOtherProfile() local
1016 infoList.add(ResolverDataProvider.createResolvedComponentInfoWithOtherId(i)); in createResolvedComponentsForTestWithOtherProfile()
1018 infoList.add(ResolverDataProvider.createResolvedComponentInfo(i)); in createResolvedComponentsForTestWithOtherProfile()
1021 return infoList; in createResolvedComponentsForTestWithOtherProfile()
/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/
DTile.java345 final List<ResolveInfo> infoList = in getActivityInfo() local
347 if (infoList != null && !infoList.isEmpty()) { in getActivityInfo()
348 mActivityInfo = infoList.get(0).activityInfo; in getActivityInfo()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHotplugDetectionAction.java186 private static BitSet infoListToBitSet(List<HdmiDeviceInfo> infoList, boolean audioOnly) { in infoListToBitSet() argument
188 for (HdmiDeviceInfo info : infoList) { in infoListToBitSet()
DHdmiCecLocalDeviceTv.java1269 ArrayList<HdmiDeviceInfo> infoList = new ArrayList<>(); in getDeviceInfoList() local
1273 infoList.add(info); in getDeviceInfoList()
1276 return infoList; in getDeviceInfoList()
1306 ArrayList<HdmiDeviceInfo> infoList = new ArrayList<>(); in getInputDevices() local
1313 infoList.add(info); in getInputDevices()
1316 return infoList; in getInputDevices()
1408 ArrayList<HdmiDeviceInfo> infoList = new ArrayList<>(); in getSafeCecDevicesLocked() local
1413 infoList.add(info); in getSafeCecDevicesLocked()
1415 return infoList; in getSafeCecDevicesLocked()
DHdmiCecLocalDeviceAudioSystem.java287 ArrayList<HdmiDeviceInfo> infoList = new ArrayList<>(); in getSafeCecDevicesLocked() local
289 infoList.add(info); in getSafeCecDevicesLocked()
291 return infoList; in getSafeCecDevicesLocked()
/frameworks/base/core/java/com/android/internal/widget/
DDefaultItemAnimator.java400 private void endChangeAnimation(List<ChangeInfo> infoList, ViewHolder item) { in endChangeAnimation() argument
401 for (int i = infoList.size() - 1; i >= 0; i--) { in endChangeAnimation()
402 ChangeInfo changeInfo = infoList.get(i); in endChangeAnimation()
405 infoList.remove(changeInfo); in endChangeAnimation()
/frameworks/base/services/core/java/com/android/server/
DPinnerService.java421 List<ResolveInfo> infoList = mContext.getPackageManager() in getApplicationInfoForIntent() local
424 for (ResolveInfo info : infoList) { in getApplicationInfoForIntent()
DConnectivityService.java4379 List<VpnInfo> infoList = new ArrayList<>(); in getAllVpnInfo() local
4383 infoList.add(info); in getAllVpnInfo()
4386 return infoList.toArray(new VpnInfo[infoList.size()]); in getAllVpnInfo()
/frameworks/layoutlib/bridge/src/android/graphics/
DPaint_Delegate.java148 List<FontInfo> infoList = StreamSupport.stream(typeface.getFonts(mFontVariant).spliterator in getFonts() local
153 mFonts = Collections.unmodifiableList(infoList); in getFonts()
/frameworks/base/core/java/android/widget/
DListView.java2000 private void removeUnusedFixedViews(@Nullable List<FixedViewInfo> infoList) { in removeUnusedFixedViews() argument
2001 if (infoList == null) { in removeUnusedFixedViews()
2004 for (int i = infoList.size() - 1; i >= 0; i--) { in removeUnusedFixedViews()
2005 final FixedViewInfo fixedViewInfo = infoList.get(i); in removeUnusedFixedViews()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java1886 final List<ShortcutInfo> infoList =
1889 assertEquals("No shortcutInfo found (or too many of them)", 1, infoList.size());
1890 return infoList.get(0);