Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecFeatureAction.java209 protected final void pollDevices(DevicePollingCallback callback, int pickStrategy, in pollDevices() argument
211 mService.pollDevices(callback, getSourceAddress(), pickStrategy, retryCount); in pollDevices()
DHdmiCecController.java412 void pollDevices(DevicePollingCallback callback, int sourceAddress, int pickStrategy, in pollDevices() argument
417 List<Integer> pollingCandidates = pickPollCandidates(pickStrategy); in pollDevices()
433 private List<Integer> pickPollCandidates(int pickStrategy) { in pickPollCandidates() argument
434 int strategy = pickStrategy & Constants.POLL_STRATEGY_MASK; in pickPollCandidates()
446 int iterationStrategy = pickStrategy & Constants.POLL_ITERATION_STRATEGY_MASK; in pickPollCandidates()
DHdmiControlService.java1136 void pollDevices(DevicePollingCallback callback, int sourceAddress, int pickStrategy, in pollDevices() argument
1139 mCecController.pollDevices(callback, sourceAddress, checkPollStrategy(pickStrategy), in pollDevices()
1143 private int checkPollStrategy(int pickStrategy) { in checkPollStrategy() argument
1144 int strategy = pickStrategy & Constants.POLL_STRATEGY_MASK; in checkPollStrategy()
1146 throw new IllegalArgumentException("Invalid poll strategy:" + pickStrategy); in checkPollStrategy()
1148 int iterationStrategy = pickStrategy & Constants.POLL_ITERATION_STRATEGY_MASK; in checkPollStrategy()
1150 throw new IllegalArgumentException("Invalid iteration strategy:" + pickStrategy); in checkPollStrategy()