Searched refs:aidlInstances (Results 1 – 3 of 3) sorted by relevance
114 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)))))
155 private void initServiceWith(String... aidlInstances) { in initServiceWith() argument158 () -> aidlInstances, in initServiceWith()166 private void initServiceWithAndWait(String... aidlInstances) throws Exception { in initServiceWithAndWait() argument167 initServiceWith(aidlInstances); in initServiceWithAndWait()
1051 @NonNull List<String> aidlInstances) { in filterAvailableHalInstances() argument1052 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()