/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SubscriptionControllerTest.java | 811 List<SubscriptionInfo> infoList = mSubscriptionControllerUT in testAddSubscriptionIntoGroupWithCarrierPrivilegePermission() local 813 assertEquals(2, infoList.size()); in testAddSubscriptionIntoGroupWithCarrierPrivilegePermission() 843 List<SubscriptionInfo> infoList = mSubscriptionControllerUT.getSubscriptionsInGroup( in testUpdateSubscriptionGroupWithCarrierPrivilegePermission() local 845 assertEquals(2, infoList.size()); in testUpdateSubscriptionGroupWithCarrierPrivilegePermission() 846 assertEquals(1, infoList.get(0).getSubscriptionId()); in testUpdateSubscriptionGroupWithCarrierPrivilegePermission() 847 assertEquals(2, infoList.get(1).getSubscriptionId()); in testUpdateSubscriptionGroupWithCarrierPrivilegePermission() 851 infoList = mSubscriptionControllerUT.getSubscriptionsInGroup( in testUpdateSubscriptionGroupWithCarrierPrivilegePermission() 853 assertEquals(1, infoList.size()); in testUpdateSubscriptionGroupWithCarrierPrivilegePermission() 854 assertEquals(1, infoList.get(0).getSubscriptionId()); in testUpdateSubscriptionGroupWithCarrierPrivilegePermission() 871 infoList = mSubscriptionControllerUT.getSubscriptionsInGroup( in testUpdateSubscriptionGroupWithCarrierPrivilegePermission() [all …]
|
D | MultiSimSettingControllerTest.java | 125 List<SubscriptionInfo> infoList = Arrays.asList(mSubInfo1, mSubInfo2); in setUp() local 126 doReturn(infoList).when(mSubControllerMock) in setUp() 168 List<SubscriptionInfo> infoList = Arrays.asList(mSubInfo1); in testTestSubInfoChangeBeforeAllSubReady() local 169 doReturn(infoList).when(mSubControllerMock).getActiveSubscriptionInfoList(anyString(), in testTestSubInfoChangeBeforeAllSubReady() 206 List<SubscriptionInfo> infoList = Arrays.asList(mSubInfo1); in testSingleActiveDsds() local 207 doReturn(infoList).when(mSubControllerMock).getActiveSubscriptionInfoList(anyString(), in testSingleActiveDsds() 222 infoList = Arrays.asList(mSubInfo2); in testSingleActiveDsds() 223 doReturn(infoList).when(mSubControllerMock).getActiveSubscriptionInfoList(anyString(), in testSingleActiveDsds() 246 List<SubscriptionInfo> infoList = Arrays.asList(mSubInfo1); in testActivatingSecondSub() local 247 doReturn(infoList).when(mSubControllerMock).getActiveSubscriptionInfoList(anyString(), in testActivatingSecondSub() [all …]
|
/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/ |
D | ActivityTile.java | 61 final List<ResolveInfo> infoList = in getComponentInfo() local 63 if (infoList != null && !infoList.isEmpty()) { in getComponentInfo() 64 mComponentInfo = infoList.get(0).activityInfo; in getComponentInfo()
|
D | ProviderTile.java | 74 final List<ResolveInfo> infoList = in getComponentInfo() local 76 if (infoList != null && !infoList.isEmpty()) { in getComponentInfo() 77 final ProviderInfo providerInfo = infoList.get(0).providerInfo; in getComponentInfo()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | ComponentTest.java | 167 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/vendor/ |
D | VendorMultiSimSettingController.java | 79 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/ |
D | MultiSimSettingController.java | 428 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()
|
D | SubscriptionController.java | 2038 List<SubscriptionInfo> infoList = getSubscriptionsInGroup(getGroupUuid(subId), in updateDatabase() local 2040 if (!updateEntireGroup || infoList == null || infoList.size() == 0) { in updateDatabase() 2046 int[] subIdList = new int[infoList.size()]; in updateDatabase() 2047 for (int i = 0; i < infoList.size(); i++) { in updateDatabase() 2048 subIdList[i] = infoList.get(i).getSubscriptionId(); in updateDatabase() 3310 List<SubscriptionInfo> infoList = getSubInfo(SubscriptionManager.GROUP_UUID in getOwnerPackageOfSubGroup() 3313 return ArrayUtils.isEmpty(infoList) ? null : infoList.get(0).getGroupOwner(); in getOwnerPackageOfSubGroup() 3331 List<SubscriptionInfo> infoList; in canPackageManageGroup() local 3336 infoList = getSubInfo(SubscriptionManager.GROUP_UUID in canPackageManageGroup() 3344 if (ArrayUtils.isEmpty(infoList)) { in canPackageManageGroup() [all …]
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | ResolverActivityTest.java | 876 List<ResolvedComponentInfo> infoList = new ArrayList<>(numberOfResults); in createResolvedComponentsForTest() local 878 infoList.add(ResolverDataProvider.createResolvedComponentInfo(i)); in createResolvedComponentsForTest() 880 return infoList; in createResolvedComponentsForTest() 885 List<ResolvedComponentInfo> infoList = new ArrayList<>(numberOfResults); in createResolvedComponentsForTestWithOtherProfile() local 888 infoList.add(ResolverDataProvider.createResolvedComponentInfoWithOtherId(i)); in createResolvedComponentsForTestWithOtherProfile() 890 infoList.add(ResolverDataProvider.createResolvedComponentInfo(i)); in createResolvedComponentsForTestWithOtherProfile() 893 return infoList; in createResolvedComponentsForTestWithOtherProfile() 898 List<ResolvedComponentInfo> infoList = new ArrayList<>(numberOfResults); in createResolvedComponentsForTestWithOtherProfile() local 901 infoList.add( in createResolvedComponentsForTestWithOtherProfile() 904 infoList.add(ResolverDataProvider.createResolvedComponentInfo(i)); in createResolvedComponentsForTestWithOtherProfile() [all …]
|
D | ResolverListControllerTest.java | 193 List<ResolvedComponentInfo> infoList = new ArrayList<>(numberOfResults); in createResolvedComponentsForTest() local 195 infoList.add(ResolverDataProvider.createResolvedComponentInfo(i)); in createResolvedComponentsForTest() 197 return infoList; in createResolvedComponentsForTest()
|
D | ChooserActivityTest.java | 2192 List<ResolvedComponentInfo> infoList = new ArrayList<>(numberOfResults); in createResolvedComponentsForTest() local 2194 infoList.add(ResolverDataProvider.createResolvedComponentInfo(i)); in createResolvedComponentsForTest() 2196 return infoList; in createResolvedComponentsForTest() 2201 List<ResolvedComponentInfo> infoList = new ArrayList<>(numberOfResults); in createResolvedComponentsForTestWithOtherProfile() local 2204 infoList.add(ResolverDataProvider.createResolvedComponentInfoWithOtherId(i)); in createResolvedComponentsForTestWithOtherProfile() 2206 infoList.add(ResolverDataProvider.createResolvedComponentInfo(i)); in createResolvedComponentsForTestWithOtherProfile() 2209 return infoList; in createResolvedComponentsForTestWithOtherProfile() 2214 List<ResolvedComponentInfo> infoList = new ArrayList<>(numberOfResults); in createResolvedComponentsForTestWithOtherProfile() local 2217 infoList.add( in createResolvedComponentsForTestWithOtherProfile() 2220 infoList.add(ResolverDataProvider.createResolvedComponentInfo(i)); in createResolvedComponentsForTestWithOtherProfile() [all …]
|
/frameworks/base/core/tests/coretests/src/android/accessibilityservice/ |
D | AccessibilityShortcutInfoTest.java | 139 final List<AccessibilityShortcutInfo> infoList = accessibilityManager in getAccessibilityShortcutInfo() local 142 for (AccessibilityShortcutInfo info : infoList) { in getAccessibilityShortcutInfo()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HotplugDetectionAction.java | 186 private static BitSet infoListToBitSet(List<HdmiDeviceInfo> infoList, boolean audioOnly) { in infoListToBitSet() argument 188 for (HdmiDeviceInfo info : infoList) { in infoListToBitSet()
|
D | HdmiCecLocalDeviceTv.java | 1277 ArrayList<HdmiDeviceInfo> infoList = new ArrayList<>(); in getDeviceInfoList() local 1281 infoList.add(info); in getDeviceInfoList() 1284 return infoList; in getDeviceInfoList() 1314 ArrayList<HdmiDeviceInfo> infoList = new ArrayList<>(); in getInputDevices() local 1321 infoList.add(info); in getInputDevices() 1324 return infoList; in getInputDevices() 1416 ArrayList<HdmiDeviceInfo> infoList = new ArrayList<>(); in getSafeCecDevicesLocked() local 1421 infoList.add(info); in getSafeCecDevicesLocked() 1423 return infoList; in getSafeCecDevicesLocked()
|
D | HdmiCecLocalDeviceAudioSystem.java | 309 ArrayList<HdmiDeviceInfo> infoList = new ArrayList<>(); in getSafeCecDevicesLocked() local 311 infoList.add(info); in getSafeCecDevicesLocked() 313 return infoList; in getSafeCecDevicesLocked()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | DefaultItemAnimator.java | 400 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/core/java/android/hardware/hdmi/ |
D | HdmiControlServiceWrapper.java | 299 public void setPortInfo(@NonNull List<HdmiPortInfo> infoList) { in setPortInfo() argument 300 mInfoList = infoList; in setPortInfo()
|
/frameworks/base/services/core/java/com/android/server/ |
D | PinnerService.java | 464 List<ResolveInfo> infoList = mContext.getPackageManager() in getApplicationInfoForIntent() local 467 for (ResolveInfo info : infoList) { in getApplicationInfoForIntent()
|
D | ConnectivityService.java | 4689 List<VpnInfo> infoList = new ArrayList<>(); in getAllVpnInfo() local 4693 infoList.add(info); in getAllVpnInfo() 4696 return infoList.toArray(new VpnInfo[infoList.size()]); in getAllVpnInfo()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | LauncherAppsService.java | 494 final List<ResolveInfo> infoList = pmInt.queryIntentActivities(matchIntent, in hasDefaultEnableLauncherActivity() local 498 final int size = infoList.size(); in hasDefaultEnableLauncherActivity() 500 if (infoList.get(i).activityInfo.enabled) { in hasDefaultEnableLauncherActivity()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | Paint_Delegate.java | 148 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/ |
D | ListView.java | 1996 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/ |
D | BaseShortcutManagerTest.java | 1951 final List<ShortcutInfo> infoList = 1954 assertEquals("No shortcutInfo found (or too many of them)", 1, infoList.size()); 1955 return infoList.get(0);
|