/frameworks/base/services/core/java/com/android/server/broadcastradio/hal1/ |
D | TunerCallback.java | 77 private void dispatch(RunnableThrowingRemoteException func) { in dispatch() method in TunerCallback 107 dispatch(() -> mClientCallback.onError(status)); in onError() 118 dispatch(() -> mClientCallback.onConfigurationChanged(config)); in onConfigurationChanged() 123 dispatch(() -> mClientCallback.onCurrentProgramInfoChanged(info)); in onCurrentProgramInfoChanged() 128 dispatch(() -> mClientCallback.onTrafficAnnouncement(active)); in onTrafficAnnouncement() 133 dispatch(() -> mClientCallback.onEmergencyAnnouncement(active)); in onEmergencyAnnouncement() 138 dispatch(() -> mClientCallback.onAntennaState(connected)); in onAntennaState() 143 dispatch(() -> mClientCallback.onBackgroundScanAvailabilityChange(isAvailable)); in onBackgroundScanAvailabilityChange() 148 dispatch(() -> mClientCallback.onBackgroundScanComplete()); in onBackgroundScanComplete() 153 dispatch(() -> mClientCallback.onProgramListChanged()); in onProgramListChanged() [all …]
|
/frameworks/rs/cpp/ |
D | RenderScript.cpp | 34 dispatchTable* RS::dispatch = nullptr; member in RS 55 RS::dispatch->ContextDeinitToClient(mContext); in ~RS() 60 RS::dispatch->ContextDestroy(mContext); in ~RS() 79 if (loadSymbols(handle, *RS::dispatch, targetApi) == false) { in loadSO() 105 RS::dispatch = new dispatchTable; in initDispatch() 155 RsDevice device = RS::dispatch->DeviceCreate(); in init() 167 mContext = RS::dispatch->ContextCreate(device, 0, targetApi, RS_CONTEXT_TYPE_NORMAL, flags); in init() 209 RS::dispatch->ContextInitToClient(rs->mContext); in threadProc() 216 RsMessageToClientType r = RS::dispatch->ContextPeekMessage(rs->mContext, in threadProc() 234 … RS::dispatch->ContextGetMessage(rs->mContext, rbuf, rbuf_size, &receiveLen, sizeof(receiveLen), in threadProc() [all …]
|
D | Allocation.cpp | 144 const void *typeID = RS::dispatch->AllocationGetType(mRS->getContext(), getID()); in updateFromNative() 165 tryDispatch(mRS, RS::dispatch->AllocationSyncAll(mRS->getContext(), getIDSafe(), srcLocation)); in syncAll() 176 if (RS::dispatch->AllocationGetPointer == nullptr) { in getPointer() 181 p = RS::dispatch->AllocationGetPointer(mRS->getContext(), getIDSafe(), 0, in getPointer() 232 … tryDispatch(mRS, RS::dispatch->Allocation1DData(mRS->getContext(), getIDSafe(), off, mSelectedLOD, in copy1DRangeFrom() 236 … tryDispatch(mRS, RS::dispatch->Allocation1DData(mRS->getContext(), getIDSafe(), off, mSelectedLOD, in copy1DRangeFrom() 254 … tryDispatch(mRS, RS::dispatch->Allocation1DRead(mRS->getContext(), getIDSafe(), off, mSelectedLOD, in copy1DRangeTo() 259 … tryDispatch(mRS, RS::dispatch->Allocation1DRead(mRS->getContext(), getIDSafe(), off, mSelectedLOD, in copy1DRangeTo() 267 tryDispatch(mRS, RS::dispatch->AllocationCopy2DRange(mRS->getContext(), getIDSafe(), off, 0, in copy1DRangeFrom() 299 tryDispatch(mRS, RS::dispatch->Allocation2DData(mRS->getContext(), getIDSafe(), xoff, in copy2DRangeFrom() [all …]
|
D | rsCppInternal.h | 26 #define tryDispatch(rs, dispatch) \ argument 28 dispatch; \ 31 #define createDispatch(rs, dispatch) \ argument 32 rs->getError() == RS_SUCCESS ? (dispatch) : nullptr
|
D | Script.cpp | 25 tryDispatch(mRS, RS::dispatch->ScriptInvokeV(mRS->getContext(), getID(), slot, v, len)); in invoke() 35 …tryDispatch(mRS, RS::dispatch->ScriptForEach(mRS->getContext(), getID(), slot, in_id, out_id, usr,… in forEach() 43 …tryDispatch(mRS, RS::dispatch->ScriptBindAllocation(mRS->getContext(), getID(), BaseObj::getObjID(… in bindAllocation() 48 …tryDispatch(mRS, RS::dispatch->ScriptSetVarObj(mRS->getContext(), getID(), index, (o == nullptr) ?… in setVar() 52 tryDispatch(mRS, RS::dispatch->ScriptSetVarV(mRS->getContext(), getID(), index, v, len)); in setVar()
|
D | BaseObj.cpp | 47 RS::dispatch->ObjDestroy(mRS->getContext(), mID); in ~BaseObj() 55 RS::dispatch->GetName(mRS->getContext(), mID, &name); in updateFromNative()
|
D | Type.cpp | 94 RS::dispatch->TypeGetNativeData(mRS->getContext(), getID(), dataBuffer, 6); in updateFromNative() 113 …void * id = RS::dispatch->TypeCreate(rs->getContext(), e->getID(), dimX, dimY, dimZ, false, false,… in create() 222 void * id = RS::dispatch->TypeCreate(mRS->getContext(), mElement->getID(), mDimX, mDimY, mDimZ, in create()
|
D | ScriptC.cpp | 27 mID = RS::dispatch->ScriptCCreate(rs->getContext(), cachedName, cachedNameLength, in ScriptC()
|
/frameworks/native/vulkan/libvulkan/ |
D | api_gen.cpp | 35 data.dispatch.proc = \ 37 if (UNLIKELY(required && !data.dispatch.proc)) { \ 50 data.dispatch.proc = disabled##proc; \ 527 …return GetData(instance).dispatch.EnumeratePhysicalDevices(instance, pPhysicalDeviceCount, pPhysic… in EnumeratePhysicalDevices() 617 return GetData(device).dispatch.GetDeviceProcAddr(device, pName); in GetDeviceProcAddr() 809 return GetData(instance).dispatch.GetInstanceProcAddr(instance, pName); in GetInstanceProcAddr() 813 GetData(physicalDevice).dispatch.GetPhysicalDeviceProperties(physicalDevice, pProperties); in GetPhysicalDeviceProperties() 817 …GetData(physicalDevice).dispatch.GetPhysicalDeviceQueueFamilyProperties(physicalDevice, pQueueFami… in GetPhysicalDeviceQueueFamilyProperties() 821 …GetData(physicalDevice).dispatch.GetPhysicalDeviceMemoryProperties(physicalDevice, pMemoryProperti… in GetPhysicalDeviceMemoryProperties() 825 GetData(physicalDevice).dispatch.GetPhysicalDeviceFeatures(physicalDevice, pFeatures); in GetPhysicalDeviceFeatures() [all …]
|
D | driver.h | 43 InstanceDispatchTable dispatch; member 55 DeviceDispatchTable dispatch; member 148 hwvulkan_dispatch_t* dispatch = in SetDataInternal() local 151 if (dispatch->magic != HWVULKAN_DISPATCH_MAGIC && dispatch->vtbl != data) { in SetDataInternal() 152 ALOGE("invalid dispatchable object magic 0x%" PRIxPTR, dispatch->magic); in SetDataInternal() 156 dispatch->vtbl = data; in SetDataInternal() 165 const hwvulkan_dispatch_t* dispatch = in GetDataInternal() local 168 return const_cast<void*>(dispatch->vtbl); in GetDataInternal()
|
D | api.cpp | 826 if (data.dispatch.DestroyInstance) in Create() 827 data.dispatch.DestroyInstance(instance, allocator); in Create() 844 data.dispatch.DestroyInstance(instance, allocator); in Create() 860 data.dispatch.DestroyInstance(instance, allocator); in Create() 888 GetData(physical_dev).dispatch.CreateDevice; in Create() 898 if (data.dispatch.DestroyDevice) in Create() 899 data.dispatch.DestroyDevice(dev, allocator); in Create() 1154 data.dispatch.DestroyInstance(instance, allocator); in DestroyInstance() 1164 data.dispatch.DestroyDevice(device, allocator); in DestroyDevice() 1431 VkResult result = data.dispatch.EnumerateDeviceExtensionProperties( in EnumerateDeviceExtensionProperties() [all …]
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | VSyncDispatchRealtimeTest.cpp | 107 RepeatingCallbackReceiver(VSyncDispatch& dispatch, nsecs_t wl) in RepeatingCallbackReceiver() argument 110 dispatch, [&](auto time, auto) { callback_called(time); }, "repeat0") {} in RepeatingCallbackReceiver() 158 VSyncDispatchTimerQueue dispatch(std::make_unique<Timer>(), tracker, mDispatchGroupThreshold, in TEST_F() local 163 cb_receiver{RepeatingCallbackReceiver(dispatch, toNs(1500us)), in TEST_F() 164 RepeatingCallbackReceiver(dispatch, toNs(0h)), in TEST_F() 165 RepeatingCallbackReceiver(dispatch, toNs(1ms))}; in TEST_F() 187 VSyncDispatchTimerQueue dispatch(std::make_unique<Timer>(), tracker, mDispatchGroupThreshold, in TEST_F() local 190 RepeatingCallbackReceiver cb_receiver(dispatch, toNs(1ms)); in TEST_F() 205 VSyncDispatchTimerQueue dispatch(std::make_unique<Timer>(), tracker, mDispatchGroupThreshold, in TEST_F() local 208 RepeatingCallbackReceiver cb_receiver(dispatch, toNs(1ms)); in TEST_F()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | KeyguardService.java | 123 mKeyguardLifecyclesDispatcher.dispatch( 131 mKeyguardLifecyclesDispatcher.dispatch( 140 mKeyguardLifecyclesDispatcher.dispatch(KeyguardLifecyclesDispatcher.STARTED_WAKING_UP); 148 mKeyguardLifecyclesDispatcher.dispatch(KeyguardLifecyclesDispatcher.FINISHED_WAKING_UP); 157 mKeyguardLifecyclesDispatcher.dispatch(KeyguardLifecyclesDispatcher.SCREEN_TURNING_ON); 166 mKeyguardLifecyclesDispatcher.dispatch(KeyguardLifecyclesDispatcher.SCREEN_TURNED_ON); 173 mKeyguardLifecyclesDispatcher.dispatch(KeyguardLifecyclesDispatcher.SCREEN_TURNING_OFF); 180 mKeyguardLifecyclesDispatcher.dispatch(KeyguardLifecyclesDispatcher.SCREEN_TURNED_OFF);
|
D | ScreenLifecycle.java | 52 dispatch(Observer::onScreenTurningOn); in dispatchScreenTurningOn() 57 dispatch(Observer::onScreenTurnedOn); in dispatchScreenTurnedOn() 62 dispatch(Observer::onScreenTurningOff); in dispatchScreenTurningOff() 67 dispatch(Observer::onScreenTurnedOff); in dispatchScreenTurnedOff()
|
D | WakefulnessLifecycle.java | 68 dispatch(Observer::onStartedWakingUp); in dispatchStartedWakingUp() 76 dispatch(Observer::onFinishedWakingUp); in dispatchFinishedWakingUp() 84 dispatch(Observer::onStartedGoingToSleep); in dispatchStartedGoingToSleep() 92 dispatch(Observer::onFinishedGoingToSleep); in dispatchFinishedGoingToSleep()
|
D | Lifecycle.java | 37 public void dispatch(Consumer<T> consumer) { in dispatch() method in Lifecycle
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ |
D | LifecycleTest.java | 54 mLifecycle.dispatch(mDispatchedObjects::add); in addObserver_addsObserver() 64 mLifecycle.dispatch(mDispatchedObjects::add); in removeObserver() 70 public void dispatch() throws Exception { in dispatch() method in LifecycleTest 74 mLifecycle.dispatch(mDispatchedObjects::add); in dispatch()
|
/frameworks/base/services/tests/servicestests/utils/com/android/server/testutils/ |
D | TestHandler.java | 88 dispatch(mMessages.poll()); in timeAdvance() 100 dispatch(msg); in flush() 117 private void dispatch(MsgInfo msg) { in dispatch() method in TestHandler
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiHealthMonitorTest.java | 333 mAlarmManager.dispatch(WifiHealthMonitor.POST_BOOT_DETECTION_TIMER_TAG); in makeSerializedExample() 375 mAlarmManager.dispatch(WifiHealthMonitor.POST_BOOT_DETECTION_TIMER_TAG); in testReadWriteAndSWChange() 409 mAlarmManager.dispatch(WifiHealthMonitor.POST_BOOT_DETECTION_TIMER_TAG); in testSerializationDeserialization() 449 mAlarmManager.dispatch(WifiHealthMonitor.DAILY_DETECTION_TIMER_TAG); in testTimerMultiDayRun() 458 mAlarmManager.dispatch(WifiHealthMonitor.DAILY_DETECTION_TIMER_TAG); in testTimerMultiDayRun() 497 mAlarmManager.dispatch(WifiHealthMonitor.DAILY_DETECTION_TIMER_TAG); in testTwoDailyDetections() 501 mAlarmManager.dispatch(WifiHealthMonitor.DAILY_DETECTION_TIMER_TAG); in testTwoDailyDetections() 516 mAlarmManager.dispatch(WifiHealthMonitor.DAILY_DETECTION_TIMER_TAG); in testBuildProto() 572 mAlarmManager.dispatch(WifiHealthMonitor.DAILY_DETECTION_TIMER_TAG); in testWifiStatsLogWrite() 597 mAlarmManager.dispatch(WifiHealthMonitor.DAILY_DETECTION_TIMER_TAG); in testAfterSwBuildChange() [all …]
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | VSyncReactor.cpp | 40 PredictedVsyncTracer(VSyncDispatch& dispatch) in PredictedVsyncTracer() argument 41 : mRegistration(dispatch, in PredictedVsyncTracer() 58 VSyncReactor::VSyncReactor(std::unique_ptr<Clock> clock, std::unique_ptr<VSyncDispatch> dispatch, in VSyncReactor() argument 63 mDispatch(std::move(dispatch)), in VSyncReactor() 77 CallbackRepeater(VSyncDispatch& dispatch, DispSync::Callback* cb, const char* name, in CallbackRepeater() argument 81 mRegistration(dispatch, in CallbackRepeater()
|
/frameworks/av/services/oboeservice/ |
D | AAudioThread.cpp | 52 void AAudioThread::dispatch() { in dispatch() function in AAudioThread 64 aaudioThread->dispatch(); in AAudioThread_internalThreadProc()
|
D | AAudioThread.h | 68 void dispatch(); // called internally from 'C' thread wrapper
|
/frameworks/base/tests/utils/testutils/java/android/app/test/ |
D | TestAlarmManager.java | 67 public boolean dispatch(String tag) { in dispatch() method in TestAlarmManager 72 alarm.dispatch(); in dispatch() 119 public void dispatch() { in dispatch() method in TestAlarmManager.PendingAlarm
|
/frameworks/base/tests/backup/src/com/android/backuptest/ |
D | BackupTestActivity.java | 156 BackupHelperDispatcher dispatch = new BackupHelperDispatcher(); 157 dispatch.addHelper("", new FileBackupHelper(BackupTestActivity.this, 166 dispatch.performRestore(data, 0, state);
|
/frameworks/base/packages/SystemUI/docs/ |
D | broadcasts.md | 9 Having a single `BroadcastReceiver` in SystemUI improves the multi dispatch situation that occurs w… 13 …adcast, giving back control to `system_server`. This improves the total dispatch time for broadcas… 58 * @param receiver A receiver to dispatch the [Intent] 62 * @param executor An executor to dispatch [BroadcastReceiver.onReceive]. Pass null to use an
|