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/
DHdmiCecController.java391 void pollDevices(DevicePollingCallback callback, int sourceAddress, int pickStrategy, in pollDevices() argument
396 List<Integer> pollingCandidates = pickPollCandidates(pickStrategy); in pollDevices()
412 private List<Integer> pickPollCandidates(int pickStrategy) { in pickPollCandidates() argument
413 int strategy = pickStrategy & Constants.POLL_STRATEGY_MASK; in pickPollCandidates()
425 int iterationStrategy = pickStrategy & Constants.POLL_ITERATION_STRATEGY_MASK; in pickPollCandidates()
DHdmiCecFeatureAction.java209 protected final void pollDevices(DevicePollingCallback callback, int pickStrategy, in pollDevices() argument
211 mService.pollDevices(callback, getSourceAddress(), pickStrategy, retryCount); in pollDevices()
DHdmiControlService.java948 void pollDevices(DevicePollingCallback callback, int sourceAddress, int pickStrategy, in pollDevices() argument
951 mCecController.pollDevices(callback, sourceAddress, checkPollStrategy(pickStrategy), in pollDevices()
955 private int checkPollStrategy(int pickStrategy) { in checkPollStrategy() argument
956 int strategy = pickStrategy & Constants.POLL_STRATEGY_MASK; in checkPollStrategy()
958 throw new IllegalArgumentException("Invalid poll strategy:" + pickStrategy); in checkPollStrategy()
960 int iterationStrategy = pickStrategy & Constants.POLL_ITERATION_STRATEGY_MASK; in checkPollStrategy()
962 throw new IllegalArgumentException("Invalid iteration strategy:" + pickStrategy); in checkPollStrategy()