Home
last modified time | relevance | path

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

12

/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DPhoneCallStateHandler.java120 List<SubscriptionInfo> infoList = mSubscriptionManager.getActiveSubscriptionInfoList(); in checkCallStatus() local
121 if (infoList == null) return false; in checkCallStatus()
123 return infoList.stream() in checkCallStatus()
131 return infoList.stream() in checkCallStatus()
152 List<SubscriptionInfo> infoList = mSubscriptionManager.getActiveSubscriptionInfoList();
153 if (infoList == null) return;
154 infoList.stream()
/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/
DActivityTile.java60 final List<ResolveInfo> infoList = in getComponentInfo() local
62 if (infoList != null && !infoList.isEmpty()) { in getComponentInfo()
63 mComponentInfo = infoList.get(0).activityInfo; in getComponentInfo()
DProviderTile.java73 final List<ResolveInfo> infoList = in getComponentInfo() local
75 if (infoList != null && !infoList.isEmpty()) { in getComponentInfo()
76 final ProviderInfo providerInfo = infoList.get(0).providerInfo; in getComponentInfo()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DComponentTest.java169 final List<ResolveInfo> infoList = in testQueryDisabledActivity() local
171 assertEquals(0, infoList.size()); in testQueryDisabledActivity()
189 final List<ResolveInfo> infoList = in testQueryEnabledActivity() local
191 assertEquals(1, infoList.size()); in testQueryEnabledActivity()
192 final ResolveInfo info = infoList.get(0); in testQueryEnabledActivity()
248 final List<ResolveInfo> infoList = in testEnableActivity() local
250 assertEquals(1, infoList.size()); in testEnableActivity()
276 final List<ResolveInfo> infoList = in testDisableActivity() local
278 assertEquals(0, infoList.size()); in testDisableActivity()
316 final List<ResolveInfo> infoList = in testQueryDisabledService() local
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DProxyAccessibilityServiceConnectionTest.java140 final List<AccessibilityServiceInfo> infoList = in testSetInstalledAndEnabledServices_returnList() local
143 assertThat(infoList.size()).isEqualTo(2); in testSetInstalledAndEnabledServices_returnList()
144 assertThat(infoList.get(0)).isEqualTo(info1); in testSetInstalledAndEnabledServices_returnList()
145 assertThat(infoList.get(1)).isEqualTo(info2); in testSetInstalledAndEnabledServices_returnList()
155 final List<AccessibilityServiceInfo> infoList = in testSetInstalledAndEnabledServices_defaultNamesPopulated() local
158 assertThat(infoList.get(0).getComponentName()).isNotNull(); in testSetInstalledAndEnabledServices_defaultNamesPopulated()
159 assertThat(infoList.get(0).getResolveInfo()).isNotNull(); in testSetInstalledAndEnabledServices_defaultNamesPopulated()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DChooserActivityWorkProfileTest.java242 List<ResolvedComponentInfo> infoList = new ArrayList<>(numberOfResults); in createResolvedComponentsForTestWithOtherProfile() local
244 infoList.add( in createResolvedComponentsForTestWithOtherProfile()
248 return infoList; in createResolvedComponentsForTestWithOtherProfile()
253 List<ResolvedComponentInfo> infoList = new ArrayList<>(numberOfResults); in createResolvedComponentsForTest() local
255 infoList.add(ResolverDataProvider.createResolvedComponentInfo(i, resolvedForUser)); in createResolvedComponentsForTest()
257 return infoList; in createResolvedComponentsForTest()
DResolverActivityWorkProfileTest.java234 List<ResolvedComponentInfo> infoList = new ArrayList<>(numberOfResults); in createResolvedComponentsForTestWithOtherProfile() local
236 infoList.add( in createResolvedComponentsForTestWithOtherProfile()
240 return infoList; in createResolvedComponentsForTestWithOtherProfile()
245 List<ResolvedComponentInfo> infoList = new ArrayList<>(numberOfResults); in createResolvedComponentsForTest() local
247 infoList.add(ResolverDataProvider.createResolvedComponentInfo(i, resolvedForUser)); in createResolvedComponentsForTest()
249 return infoList; in createResolvedComponentsForTest()
DResolverActivityTest.java1322 List<ResolvedComponentInfo> infoList = new ArrayList<>(numberOfResults); in createResolvedComponentsForTest() local
1324 infoList.add(ResolverDataProvider.createResolvedComponentInfo(i, resolvedForUser)); in createResolvedComponentsForTest()
1326 return infoList; in createResolvedComponentsForTest()
1333 List<ResolvedComponentInfo> infoList = new ArrayList<>(numberOfResults); in createResolvedComponentsWithCloneProfileForTest() local
1335 infoList.add(ResolverDataProvider.createResolvedComponentInfo(i, in createResolvedComponentsWithCloneProfileForTest()
1339 infoList.add(ResolverDataProvider.createResolvedComponentInfo(i, in createResolvedComponentsWithCloneProfileForTest()
1342 return infoList; in createResolvedComponentsWithCloneProfileForTest()
1347 List<ResolvedComponentInfo> infoList = new ArrayList<>(numberOfResults); in createResolvedComponentsForTestWithOtherProfile() local
1350 infoList.add(ResolverDataProvider.createResolvedComponentInfoWithOtherId(i, in createResolvedComponentsForTestWithOtherProfile()
1353 infoList.add(ResolverDataProvider.createResolvedComponentInfo(i, resolvedForUser)); in createResolvedComponentsForTestWithOtherProfile()
[all …]
DResolverListControllerTest.java344 List<ResolvedComponentInfo> infoList = new ArrayList<>(numberOfResults); in createResolvedComponentsForTest() local
346 infoList.add(ResolverDataProvider.createResolvedComponentInfo(i, PERSONAL_USER_HANDLE)); in createResolvedComponentsForTest()
348 return infoList; in createResolvedComponentsForTest()
DChooserActivityTest.java3031 List<ResolvedComponentInfo> infoList = new ArrayList<>(numberOfResults); in createResolvedComponentsForTest() local
3033 infoList.add(ResolverDataProvider.createResolvedComponentInfo(i, PERSONAL_USER_HANDLE)); in createResolvedComponentsForTest()
3035 return infoList; in createResolvedComponentsForTest()
3042 List<ResolvedComponentInfo> infoList = new ArrayList<>(numberOfResults); in createResolvedComponentsWithCloneProfileForTest() local
3044 infoList.add(ResolverDataProvider.createResolvedComponentInfo(i, in createResolvedComponentsWithCloneProfileForTest()
3048 infoList.add(ResolverDataProvider.createResolvedComponentInfo(i, in createResolvedComponentsWithCloneProfileForTest()
3051 return infoList; in createResolvedComponentsWithCloneProfileForTest()
3056 List<ResolvedComponentInfo> infoList = new ArrayList<>(numberOfResults); in createResolvedComponentsForTestWithOtherProfile() local
3059 infoList.add(ResolverDataProvider.createResolvedComponentInfoWithOtherId(i, in createResolvedComponentsForTestWithOtherProfile()
3062 infoList.add(ResolverDataProvider.createResolvedComponentInfo(i, in createResolvedComponentsForTestWithOtherProfile()
[all …]
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecNetwork.java330 ArrayList<HdmiDeviceInfo> infoList = new ArrayList<>(); in getDeviceInfoList() local
334 infoList.add(info); in getDeviceInfoList()
337 return infoList; in getDeviceInfoList()
356 ArrayList<HdmiDeviceInfo> infoList = new ArrayList<>(); in getInputDevices() local
363 infoList.add(info); in getInputDevices()
366 return infoList; in getInputDevices()
800 ArrayList<HdmiDeviceInfo> infoList = new ArrayList<>(); in getSafeCecDevicesLocked() local
805 infoList.add(info); in getSafeCecDevicesLocked()
807 return infoList; in getSafeCecDevicesLocked()
DHotplugDetectionAction.java205 List<HdmiDeviceInfo> infoList, boolean audioOnly, boolean requirePhysicalAddress) { in infoListToBitSet() argument
207 for (HdmiDeviceInfo info : infoList) { in infoListToBitSet()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DMultiSimSettingController.java550 List<SubscriptionInfo> infoList = mSubscriptionManagerService.getSubscriptionsInGroup( in onSubscriptionGroupChanged() local
552 if (infoList == null || infoList.isEmpty()) return; in onSubscriptionGroupChanged()
556 int refSubId = infoList.get(0).getSubscriptionId(); in onSubscriptionGroupChanged()
557 for (SubscriptionInfo info : infoList) { in onSubscriptionGroupChanged()
1052 List<SubscriptionInfo> infoList = null; in setUserDataEnabledForGroup() local
1056 infoList = mSubscriptionManagerService.getSubscriptionsInGroup( in setUserDataEnabledForGroup()
1061 if (infoList == null) return; in setUserDataEnabledForGroup()
1063 for (SubscriptionInfo info : infoList) { in setUserDataEnabledForGroup()
1093 List<SubscriptionInfo> infoList = SubscriptionManagerService.getInstance() in setRoamingDataEnabledForGroup()
1096 if (infoList == null) return; in setRoamingDataEnabledForGroup()
[all …]
/frameworks/base/core/tests/coretests/src/android/accessibilityservice/
DAccessibilityShortcutInfoTest.java158 final List<AccessibilityShortcutInfo> infoList = accessibilityManager in getAccessibilityShortcutInfo() local
161 for (AccessibilityShortcutInfo info : infoList) { in getAccessibilityShortcutInfo()
/frameworks/base/services/core/java/com/android/server/pm/
DApexManager.java347 public abstract long calculateSizeForCompressedApex(CompressedApexInfoList infoList) in calculateSizeForCompressedApex() argument
354 public abstract void reserveSpaceForCompressedApex(CompressedApexInfoList infoList) in reserveSpaceForCompressedApex() argument
874 public long calculateSizeForCompressedApex(CompressedApexInfoList infoList) in calculateSizeForCompressedApex() argument
876 return waitForApexService().calculateSizeForCompressedApex(infoList); in calculateSizeForCompressedApex()
880 public void reserveSpaceForCompressedApex(CompressedApexInfoList infoList) in reserveSpaceForCompressedApex() argument
882 waitForApexService().reserveSpaceForCompressedApex(infoList); in reserveSpaceForCompressedApex()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/hidedisplaycutout/
DHideDisplayCutoutOrganizerTest.java117 ArrayList<DisplayAreaAppearedInfo> infoList = new ArrayList<>(); in setUp() local
118 infoList.add(info); in setUp()
119 doReturn(infoList).when(mOrganizer).registerOrganizer( in setUp()
/frameworks/base/core/java/com/android/internal/app/
DAppLocaleCollector.java120 List<InputMethodInfo> infoList = imm.getEnabledInputMethodList(); in getActiveIme() local
123 if (infoList != null && imeId != null) { in getActiveIme()
124 for (InputMethodInfo method : infoList) { in getActiveIme()
/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/location/java/android/location/
DGnssSingleSatCorrection.java483 public Builder setGnssExcessPathInfoList(@NonNull List<GnssExcessPathInfo> infoList) { in setGnssExcessPathInfoList() argument
484 mGnssExcessInfoList = new ArrayList<>(infoList); in setGnssExcessPathInfoList()
/frameworks/base/core/java/android/hardware/hdmi/
DHdmiControlServiceWrapper.java356 public void setPortInfo(@NonNull List<HdmiPortInfo> infoList) { in setPortInfo() argument
357 mInfoList = infoList; in setPortInfo()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DHapClientProfileTest.java459 final List<BluetoothHapPresetInfo> infoList = mProfile.getAllPresetInfo(mBluetoothDevice); in getAllPresetInfo_verifyIsCalledAndReturnCorrectList() local
462 assertThat(infoList.size()).isEqualTo(testList.size()); in getAllPresetInfo_verifyIsCalledAndReturnCorrectList()
/frameworks/base/services/core/java/com/android/server/recoverysystem/
DRecoverySystemService.java990 CompressedApexInfoList infoList = new CompressedApexInfoList(); in getCompressedApexInfoList() local
991 infoList.apexInfos = new CompressedApexInfo[0]; in getCompressedApexInfoList()
992 return infoList; in getCompressedApexInfoList()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSignalStrengthControllerTest.java1564 List<SignalThresholdInfo> infoList = new ArrayList<>(); in createTestSignalStrengthUpdateRequest() local
1565 infoList.add(info); in createTestSignalStrengthUpdateRequest()
1568 .setSignalThresholdInfos(infoList); in createTestSignalStrengthUpdateRequest()
/frameworks/base/services/core/java/com/android/server/
DPinnerService.java550 List<ResolveInfo> infoList = mContext.getPackageManager() in getApplicationInfoForIntent() local
553 for (ResolveInfo info : infoList) { in getApplicationInfoForIntent()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/subscription/
DSubscriptionManagerService.java655 List<SubscriptionInfo> infoList; in canPackageManageGroup() local
658 infoList = mSubscriptionDatabaseManager.getAllSubscriptions().stream() in canPackageManageGroup()
665 if (ArrayUtils.isEmpty(infoList)) { in canPackageManageGroup()
671 if (callingPackage.equals(infoList.get(0).getGroupOwner())) return true; in canPackageManageGroup()
674 return (checkCarrierPrivilegeOnSubList(infoList.stream() in canPackageManageGroup()

12