Lines Matching refs:cbi
241 CallbackInfo cbi = mCallbacks.get(i);
242 if ((cbi.flags & (CALLBACK_FLAG_PERFORM_ACTIVE_SCAN
245 routeTypes |= cbi.type;
246 } else if ((cbi.flags & CALLBACK_FLAG_PASSIVE_DISCOVERY) != 0) {
248 passiveRouteTypes |= cbi.type;
253 routeTypes |= cbi.type;
255 if ((cbi.flags & CALLBACK_FLAG_PERFORM_ACTIVE_SCAN) != 0) {
257 if ((cbi.type & ROUTE_TYPE_REMOTE_DISPLAY) != 0) {
1179 for (CallbackInfo cbi : sStatic.mCallbacks) {
1180 if (cbi.filterRouteEvent(info)) {
1181 cbi.cb.onRouteSelected(cbi.router, type, info);
1187 for (CallbackInfo cbi : sStatic.mCallbacks) {
1188 if (cbi.filterRouteEvent(info)) {
1189 cbi.cb.onRouteUnselected(cbi.router, type, info);
1200 for (CallbackInfo cbi : sStatic.mCallbacks) {
1206 final boolean oldVisibility = cbi.filterRouteEvent(oldSupportedTypes);
1207 final boolean newVisibility = cbi.filterRouteEvent(newSupportedTypes);
1209 cbi.cb.onRouteAdded(cbi.router, info);
1211 cbi.cb.onRouteSelected(cbi.router, newSupportedTypes, info);
1215 cbi.cb.onRouteChanged(cbi.router, info);
1219 cbi.cb.onRouteUnselected(cbi.router, oldSupportedTypes, info);
1221 cbi.cb.onRouteRemoved(cbi.router, info);
1227 for (CallbackInfo cbi : sStatic.mCallbacks) {
1228 if (cbi.filterRouteEvent(info)) {
1229 cbi.cb.onRouteAdded(cbi.router, info);
1235 for (CallbackInfo cbi : sStatic.mCallbacks) {
1236 if (cbi.filterRouteEvent(info)) {
1237 cbi.cb.onRouteRemoved(cbi.router, info);
1243 for (CallbackInfo cbi : sStatic.mCallbacks) {
1244 if (cbi.filterRouteEvent(group)) {
1245 cbi.cb.onRouteGrouped(cbi.router, info, group, index);
1251 for (CallbackInfo cbi : sStatic.mCallbacks) {
1252 if (cbi.filterRouteEvent(group)) {
1253 cbi.cb.onRouteUngrouped(cbi.router, info, group);
1259 for (CallbackInfo cbi : sStatic.mCallbacks) {
1260 if (cbi.filterRouteEvent(info)) {
1261 cbi.cb.onRouteVolumeChanged(cbi.router, info);
1267 for (CallbackInfo cbi : sStatic.mCallbacks) {
1268 if (cbi.filterRouteEvent(info)) {
1269 cbi.cb.onRoutePresentationDisplayChanged(cbi.router, info);