Home
last modified time | relevance | path

Searched refs:cbi (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/media/java/android/media/
DMediaRouter.java270 CallbackInfo cbi = mCallbacks.get(i); in updateDiscoveryRequest() local
271 if ((cbi.flags & (CALLBACK_FLAG_PERFORM_ACTIVE_SCAN in updateDiscoveryRequest()
274 routeTypes |= cbi.type; in updateDiscoveryRequest()
275 } else if ((cbi.flags & CALLBACK_FLAG_PASSIVE_DISCOVERY) != 0) { in updateDiscoveryRequest()
277 passiveRouteTypes |= cbi.type; in updateDiscoveryRequest()
282 routeTypes |= cbi.type; in updateDiscoveryRequest()
284 if ((cbi.flags & CALLBACK_FLAG_PERFORM_ACTIVE_SCAN) != 0) { in updateDiscoveryRequest()
286 if ((cbi.type & ROUTE_TYPE_REMOTE_DISPLAY) != 0) { in updateDiscoveryRequest()
1252 for (CallbackInfo cbi : sStatic.mCallbacks) { in dispatchRouteSelected()
1253 if (cbi.filterRouteEvent(info)) { in dispatchRouteSelected()
[all …]
/frameworks/base/core/java/android/os/
DRemoteCallbackList.java171 for (int cbi=mCallbacks.size()-1; cbi>=0; cbi--) { in kill()
172 Callback cb = mCallbacks.valueAt(cbi); in kill()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java1628 CallbackInfo cbi = expectCallback(CallbackState.NETWORK_CAPABILITIES, agent, timeoutMs); in expectCapabilitiesWith() local
1629 NetworkCapabilities nc = (NetworkCapabilities) cbi.arg; in expectCapabilitiesWith()
1640 CallbackInfo cbi = expectCallback(CallbackState.NETWORK_CAPABILITIES, agent, timeoutMs); in expectCapabilitiesWithout() local
1641 NetworkCapabilities nc = (NetworkCapabilities) cbi.arg; in expectCapabilitiesWithout()
1647 CallbackInfo cbi = expectCallback(CallbackState.NETWORK_CAPABILITIES, agent); in expectCapabilitiesLike() local
1648 assertTrue("Received capabilities don't match expectations : " + cbi.arg, in expectCapabilitiesLike()
1649 fn.test((NetworkCapabilities) cbi.arg)); in expectCapabilitiesLike()
3782 CallbackInfo cbi = networkCallback.expectCallback(CallbackState.LINK_PROPERTIES, in testLinkPropertiesEnsuresDirectlyConnectedRoutes() local
3786 checkDirectlyConnectedRoutes(cbi.arg, Arrays.asList(myIpv4Address), in testLinkPropertiesEnsuresDirectlyConnectedRoutes()
3798 cbi = networkCallback.expectCallback(CallbackState.LINK_PROPERTIES, networkAgent); in testLinkPropertiesEnsuresDirectlyConnectedRoutes()
[all …]
/frameworks/av/media/libstagefright/bqhelper/
DGraphicBufferSource.cpp472 ssize_t cbi = mSubmittedCodecBuffers.indexOfKey(bufferId); in onInputBufferEmptied() local
473 if (cbi < 0) { in onInputBufferEmptied()
479 std::shared_ptr<AcquiredBuffer> buffer = mSubmittedCodecBuffers.valueAt(cbi); in onInputBufferEmptied()
482 mSubmittedCodecBuffers.removeItemsAt(cbi); in onInputBufferEmptied()
493 ALOGV("onInputBufferEmptied: EOS null buffer (bufferId=%u@%zd)", bufferId, cbi); in onInputBufferEmptied()
501 ALOGV("onInputBufferEmptied: no longer executing (bufferId=%u@%zd)", bufferId, cbi); in onInputBufferEmptied()
506 … bufferId, cbi, buffer->getSlot(), buffer.use_count(), buffer->getGraphicBuffer()->handle, in onInputBufferEmptied()
/frameworks/base/services/core/java/com/android/server/
DAppOpsService.java345 for (int cbi = callbacks.size() - 1; !curValue && cbi >= 0; cbi--) { in evalForegroundWatchers()
346 if ((callbacks.valueAt(cbi).mFlags in evalForegroundWatchers()
1911 for (int cbi = callbacks.size() - 1; cbi >= 0; cbi--) { in commitUidPendingStateLocked()
1912 final ModeCallback callback = callbacks.valueAt(cbi); in commitUidPendingStateLocked()