Home
last modified time | relevance | path

Searched refs:aidlInstances (Results 1 – 3 of 3) sorted by relevance

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/health/
H A DHealthServiceWrapperTest.java114 private void initForInstances(String[] aidlInstances, String[] hidlInstances) throws Exception {
124 argThat(isOneOf(aidlInstances)), any(IServiceCallback.class));
125 when(mMockedAidlManager.waitForDeclaredService(argThat(isOneOf(aidlInstances))))
128 when(mMockedAidlManager.waitForDeclaredService(not(argThat(isOneOf(aidlInstances)))))
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/fingerprint/
H A DFingerprintServiceTest.java155 private void initServiceWith(String... aidlInstances) { in initServiceWith() argument
158 () -> aidlInstances, in initServiceWith()
166 private void initServiceWithAndWait(String... aidlInstances) throws Exception { in initServiceWithAndWait() argument
167 initServiceWith(aidlInstances); in initServiceWithAndWait()
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/
H A DFingerprintService.java1051 @NonNull List<String> aidlInstances) { in filterAvailableHalInstances() argument
1052 if ((hidlInstances.size() + aidlInstances.size()) <= 1) { in filterAvailableHalInstances()
1053 return new Pair(hidlInstances, aidlInstances); in filterAvailableHalInstances()
1056 final int virtualAt = aidlInstances.indexOf("virtual"); in filterAvailableHalInstances()
1060 return new Pair(new ArrayList<>(), List.of(aidlInstances.get(virtualAt))); in filterAvailableHalInstances()
1063 return new Pair(hidlInstances, aidlInstances); in filterAvailableHalInstances()
1067 aidlInstances = new ArrayList<>(aidlInstances); in filterAvailableHalInstances()
1069 aidlInstances.remove(virtualAt); in filterAvailableHalInstances()
1071 return new Pair(hidlInstances, aidlInstances); in filterAvailableHalInstances()