Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionControllerTest.java801 List<SubscriptionInfo> infoList = mSubscriptionControllerUT in testAddSubscriptionIntoGroupWithCarrierPrivilegePermission() local
803 assertEquals(2, infoList.size()); in testAddSubscriptionIntoGroupWithCarrierPrivilegePermission()
833 List<SubscriptionInfo> infoList = mSubscriptionControllerUT.getSubscriptionsInGroup( in testUpdateSubscriptionGroupWithCarrierPrivilegePermission() local
835 assertEquals(2, infoList.size()); in testUpdateSubscriptionGroupWithCarrierPrivilegePermission()
836 assertEquals(1, infoList.get(0).getSubscriptionId()); in testUpdateSubscriptionGroupWithCarrierPrivilegePermission()
837 assertEquals(2, infoList.get(1).getSubscriptionId()); in testUpdateSubscriptionGroupWithCarrierPrivilegePermission()
841 infoList = mSubscriptionControllerUT.getSubscriptionsInGroup( in testUpdateSubscriptionGroupWithCarrierPrivilegePermission()
843 assertEquals(1, infoList.size()); in testUpdateSubscriptionGroupWithCarrierPrivilegePermission()
844 assertEquals(1, infoList.get(0).getSubscriptionId()); in testUpdateSubscriptionGroupWithCarrierPrivilegePermission()
861 infoList = mSubscriptionControllerUT.getSubscriptionsInGroup( in testUpdateSubscriptionGroupWithCarrierPrivilegePermission()
[all …]
DMultiSimSettingControllerTest.java123 List<SubscriptionInfo> infoList = Arrays.asList(mSubInfo1, mSubInfo2); in setUp() local
124 doReturn(infoList).when(mSubControllerMock) in setUp()
166 List<SubscriptionInfo> infoList = Arrays.asList(mSubInfo1); in testTestSubInfoChangeBeforeAllSubReady() local
167 doReturn(infoList).when(mSubControllerMock).getActiveSubscriptionInfoList(anyString(), in testTestSubInfoChangeBeforeAllSubReady()
204 List<SubscriptionInfo> infoList = Arrays.asList(mSubInfo1); in testSingleActiveDsds() local
205 doReturn(infoList).when(mSubControllerMock).getActiveSubscriptionInfoList(anyString(), in testSingleActiveDsds()
220 infoList = Arrays.asList(mSubInfo2); in testSingleActiveDsds()
221 doReturn(infoList).when(mSubControllerMock).getActiveSubscriptionInfoList(anyString(), in testSingleActiveDsds()
244 List<SubscriptionInfo> infoList = Arrays.asList(mSubInfo1); in testActivatingSecondSub() local
245 doReturn(infoList).when(mSubControllerMock).getActiveSubscriptionInfoList(anyString(), in testActivatingSecondSub()
[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/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/opt/telephony/src/java/com/android/internal/telephony/vendor/
DVendorMultiSimSettingController.java79 List<SubscriptionInfo> infoList = mSubController.getSubscriptionsInGroup( in setUserDataEnabledForGroup() local
83 if (infoList == null) return; in setUserDataEnabledForGroup()
85 for (SubscriptionInfo info : infoList) { in setUserDataEnabledForGroup()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DMultiSimSettingController.java428 List<SubscriptionInfo> infoList = mSubController.getSubscriptionsInGroup( in onSubscriptionGroupChanged() local
430 if (infoList == null || infoList.isEmpty()) return; in onSubscriptionGroupChanged()
434 int refSubId = infoList.get(0).getSubscriptionId(); in onSubscriptionGroupChanged()
435 for (SubscriptionInfo info : infoList) { in onSubscriptionGroupChanged()
723 List<SubscriptionInfo> infoList = mSubController.getSubscriptionsInGroup( in setUserDataEnabledForGroup() local
727 if (infoList == null) return; in setUserDataEnabledForGroup()
729 for (SubscriptionInfo info : infoList) { in setUserDataEnabledForGroup()
754 List<SubscriptionInfo> infoList = subController.getSubscriptionsInGroup( in setRoamingDataEnabledForGroup() local
758 if (infoList == null) return; in setRoamingDataEnabledForGroup()
760 for (SubscriptionInfo info : infoList) { in setRoamingDataEnabledForGroup()
DSubscriptionController.java1882 List<SubscriptionInfo> infoList = getSubscriptionsInGroup(getGroupUuid(subId), in updateDatabase() local
1884 if (!updateEntireGroup || infoList == null || infoList.size() == 0) { in updateDatabase()
1890 int[] subIdList = new int[infoList.size()]; in updateDatabase()
1891 for (int i = 0; i < infoList.size(); i++) { in updateDatabase()
1892 subIdList[i] = infoList.get(i).getSubscriptionId(); in updateDatabase()
3172 List<SubscriptionInfo> infoList = getSubInfo(SubscriptionManager.GROUP_UUID in getOwnerPackageOfSubGroup()
3175 return ArrayUtils.isEmpty(infoList) ? null : infoList.get(0).getGroupOwner(); in getOwnerPackageOfSubGroup()
3193 List<SubscriptionInfo> infoList; in canPackageManageGroup() local
3198 infoList = getSubInfo(SubscriptionManager.GROUP_UUID in canPackageManageGroup()
3206 if (ArrayUtils.isEmpty(infoList)) { in canPackageManageGroup()
[all …]
/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.java1146 List<ResolvedComponentInfo> infoList = new ArrayList<>(numberOfResults); in createResolvedComponentsForTest() local
1148 infoList.add(ResolverDataProvider.createResolvedComponentInfo(i)); in createResolvedComponentsForTest()
1150 return infoList; in createResolvedComponentsForTest()
1155 List<ResolvedComponentInfo> infoList = new ArrayList<>(numberOfResults); in createResolvedComponentsForTestWithOtherProfile() local
1158 infoList.add(ResolverDataProvider.createResolvedComponentInfoWithOtherId(i)); in createResolvedComponentsForTestWithOtherProfile()
1160 infoList.add(ResolverDataProvider.createResolvedComponentInfo(i)); in createResolvedComponentsForTestWithOtherProfile()
1163 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.java1276 ArrayList<HdmiDeviceInfo> infoList = new ArrayList<>(); in getDeviceInfoList() local
1280 infoList.add(info); in getDeviceInfoList()
1283 return infoList; in getDeviceInfoList()
1313 ArrayList<HdmiDeviceInfo> infoList = new ArrayList<>(); in getInputDevices() local
1320 infoList.add(info); in getInputDevices()
1323 return infoList; in getInputDevices()
1415 ArrayList<HdmiDeviceInfo> infoList = new ArrayList<>(); in getSafeCecDevicesLocked() local
1420 infoList.add(info); in getSafeCecDevicesLocked()
1422 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/pm/
DLauncherAppsService.java469 final List<ResolveInfo> infoList = pmInt.queryIntentActivities(matchIntent, in hasDefaultEnableLauncherActivity() local
472 final int size = infoList.size(); in hasDefaultEnableLauncherActivity()
474 if (infoList.get(i).activityInfo.enabled) { in hasDefaultEnableLauncherActivity()
/frameworks/base/services/core/java/com/android/server/
DPinnerService.java422 List<ResolveInfo> infoList = mContext.getPackageManager() in getApplicationInfoForIntent() local
425 for (ResolveInfo info : infoList) { in getApplicationInfoForIntent()
DConnectivityService.java4681 List<VpnInfo> infoList = new ArrayList<>(); in getAllVpnInfo() local
4685 infoList.add(info); in getAllVpnInfo()
4688 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.java1996 private void removeUnusedFixedViews(@Nullable List<FixedViewInfo> infoList) { in removeUnusedFixedViews() argument
1997 if (infoList == null) { in removeUnusedFixedViews()
2000 for (int i = infoList.size() - 1; i >= 0; i--) { in removeUnusedFixedViews()
2001 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);