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.java230 protected final void pollDevices(DevicePollingCallback callback, int pickStrategy, in pollDevices() argument
232 pollDevices(callback, pickStrategy, retryCount, 0); in pollDevices()
235 protected final void pollDevices(DevicePollingCallback callback, int pickStrategy, in pollDevices() argument
238 callback, getSourceAddress(), pickStrategy, retryCount, pollingMessageInterval); in pollDevices()
DHdmiCecController.java530 void pollDevices(DevicePollingCallback callback, int sourceAddress, int pickStrategy, in pollDevices() argument
535 List<Integer> pollingCandidates = pickPollCandidates(pickStrategy); in pollDevices()
545 private List<Integer> pickPollCandidates(int pickStrategy) { in pickPollCandidates() argument
546 int strategy = pickStrategy & Constants.POLL_STRATEGY_MASK; in pickPollCandidates()
558 int iterationStrategy = pickStrategy & Constants.POLL_ITERATION_STRATEGY_MASK; in pickPollCandidates()
DHdmiControlService.java1910 void pollDevices(DevicePollingCallback callback, int sourceAddress, int pickStrategy, in pollDevices() argument
1913 mCecController.pollDevices(callback, sourceAddress, checkPollStrategy(pickStrategy), in pollDevices()
1917 private int checkPollStrategy(int pickStrategy) { in checkPollStrategy() argument
1918 int strategy = pickStrategy & Constants.POLL_STRATEGY_MASK; in checkPollStrategy()
1920 throw new IllegalArgumentException("Invalid poll strategy:" + pickStrategy); in checkPollStrategy()
1922 int iterationStrategy = pickStrategy & Constants.POLL_ITERATION_STRATEGY_MASK; in checkPollStrategy()
1924 throw new IllegalArgumentException("Invalid iteration strategy:" + pickStrategy); in checkPollStrategy()