Searched refs:matchMode (Results 1 – 2 of 2) sorted by relevance
205 long reportDelayMillis, int matchMode, in ScanSettings() argument212 mMatchMode = matchMode; in ScanSettings()371 public Builder setMatchMode(int matchMode) { in setMatchMode() argument372 if (matchMode < MATCH_MODE_AGGRESSIVE in setMatchMode()373 || matchMode > MATCH_MODE_STICKY) { in setMatchMode()374 throw new IllegalArgumentException("invalid matchMode " + matchMode); in setMatchMode()376 mMatchMode = matchMode; in setMatchMode()
2164 TaskRecord anyTaskForId(int id, @AnyTaskForIdMatchTaskMode int matchMode) { in anyTaskForId() argument2165 return anyTaskForId(id, matchMode, null, !ON_TOP); in anyTaskForId()2175 TaskRecord anyTaskForId(int id, @AnyTaskForIdMatchTaskMode int matchMode, in anyTaskForId() argument2178 if (matchMode != MATCH_TASK_IN_STACKS_OR_RECENT_TASKS_AND_RESTORE && aOptions != null) { in anyTaskForId()2209 if (matchMode == MATCH_TASK_IN_STACKS_ONLY) { in anyTaskForId()2226 if (matchMode == MATCH_TASK_IN_STACKS_OR_RECENT_TASKS) { in anyTaskForId()