Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DMediaRouter.java273 CallbackInfo cbi = mCallbacks.get(i); in updateDiscoveryRequest() local
274 if ((cbi.flags & (CALLBACK_FLAG_PERFORM_ACTIVE_SCAN in updateDiscoveryRequest()
277 routeTypes |= cbi.type; in updateDiscoveryRequest()
278 } else if ((cbi.flags & CALLBACK_FLAG_PASSIVE_DISCOVERY) != 0) { in updateDiscoveryRequest()
280 passiveRouteTypes |= cbi.type; in updateDiscoveryRequest()
285 routeTypes |= cbi.type; in updateDiscoveryRequest()
287 if ((cbi.flags & CALLBACK_FLAG_PERFORM_ACTIVE_SCAN) != 0) { in updateDiscoveryRequest()
289 if ((cbi.type & ROUTE_TYPE_REMOTE_DISPLAY) != 0) { in updateDiscoveryRequest()
1310 for (CallbackInfo cbi : sStatic.mCallbacks) { in dispatchRouteSelected()
1311 if (cbi.filterRouteEvent(info)) { in dispatchRouteSelected()
[all …]
DAudioRecordingMonitorImpl.java194 for (AudioRecordingCallbackInfo cbi : cbInfoList) { in beginRecordingCallbackHandling()
195 cbi.mExecutor.execute(() -> in beginRecordingCallbackHandling()
196 cbi.mCb.onRecordingConfigChanged(configs)); in beginRecordingCallbackHandling()
DAudioTrack.java3430 for (StreamEventCbInfo cbi : cbInfoList) { in handleMessage()
3433 cbi.mStreamEventExec.execute(() -> in handleMessage()
3434 cbi.mStreamEventCb.onDataRequest(AudioTrack.this, msg.arg1)); in handleMessage()
3438 cbi.mStreamEventExec.execute(() -> in handleMessage()
3439 cbi.mStreamEventCb.onTearDown(AudioTrack.this)); in handleMessage()
3442 cbi.mStreamEventExec.execute(() -> in handleMessage()
3443 cbi.mStreamEventCb.onPresentationEnded(AudioTrack.this)); in handleMessage()
/frameworks/base/core/java/android/os/
DRemoteCallbackList.java174 for (int cbi=mCallbacks.size()-1; cbi>=0; cbi--) { in kill()
175 Callback cb = mCallbacks.valueAt(cbi); in kill()
/frameworks/av/media/libstagefright/bqhelper/
DGraphicBufferSource.cpp526 ssize_t cbi = mSubmittedCodecBuffers.indexOfKey(bufferId); in onInputBufferEmptied() local
527 if (cbi < 0) { in onInputBufferEmptied()
533 std::shared_ptr<AcquiredBuffer> buffer = mSubmittedCodecBuffers.valueAt(cbi); in onInputBufferEmptied()
536 mSubmittedCodecBuffers.removeItemsAt(cbi); in onInputBufferEmptied()
547 ALOGV("onInputBufferEmptied: EOS null buffer (bufferId=%u@%zd)", bufferId, cbi); in onInputBufferEmptied()
555 ALOGV("onInputBufferEmptied: no longer executing (bufferId=%u@%zd)", bufferId, cbi); in onInputBufferEmptied()
560 … bufferId, cbi, buffer->getSlot(), buffer.use_count(), buffer->getGraphicBuffer()->handle, in onInputBufferEmptied()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java4748 CallbackEntry.LinkPropertiesChanged cbi = in testLinkPropertiesEnsuresDirectlyConnectedRoutes() local
4754 checkDirectlyConnectedRoutes(cbi.getLp(), Arrays.asList(myIpv4Address), in testLinkPropertiesEnsuresDirectlyConnectedRoutes()
4766 cbi = networkCallback.expectCallback(CallbackEntry.LINK_PROPERTIES_CHANGED, networkAgent); in testLinkPropertiesEnsuresDirectlyConnectedRoutes()
4768 checkDirectlyConnectedRoutes(cbi.getLp(), in testLinkPropertiesEnsuresDirectlyConnectedRoutes()
5036 CallbackEntry.LinkPropertiesChanged cbi = cellNetworkCallback.expectCallback( in testPrivateDnsSettingsChange() local
5040 assertFalse(cbi.getLp().isPrivateDnsActive()); in testPrivateDnsSettingsChange()
5041 assertNull(cbi.getLp().getPrivateDnsServerName()); in testPrivateDnsSettingsChange()
5069 cbi = cellNetworkCallback.expectCallback(CallbackEntry.LINK_PROPERTIES_CHANGED, in testPrivateDnsSettingsChange()
5072 assertTrue(cbi.getLp().isPrivateDnsActive()); in testPrivateDnsSettingsChange()
5073 assertEquals("strict.example.com", cbi.getLp().getPrivateDnsServerName()); in testPrivateDnsSettingsChange()
[all …]
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java368 for (int cbi = callbacks.size() - 1; !curValue && cbi >= 0; cbi--) { in evalForegroundWatchers()
369 if ((callbacks.valueAt(cbi).mFlags in evalForegroundWatchers()
2562 for (int cbi = callbacks.size() - 1; cbi >= 0; cbi--) { in commitUidPendingStateLocked()
2563 final ModeCallback callback = callbacks.valueAt(cbi); in commitUidPendingStateLocked()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRadioIndication.java1060 BarringInfo cbi = BarringInfo.create(cellIdentity, barringInfos); in barringInfoChanged() local
1063 new AsyncResult(null, cbi, null)); in barringInfoChanged()