Home
last modified time | relevance | path

Searched defs:cb (Results 1 – 25 of 299) sorted by relevance

12345678910>>...12

/frameworks/base/core/java/android/service/vr/
DIVrManager.aidl32 void registerListener(in IVrStateCallbacks cb); in registerListener()
39 void unregisterListener(in IVrStateCallbacks cb); in unregisterListener()
46 void registerPersistentVrStateListener(in IPersistentVrStateCallbacks cb); in registerPersistentVrStateListener()
53 void unregisterPersistentVrStateListener(in IPersistentVrStateCallbacks cb); in unregisterPersistentVrStateListener()
/frameworks/base/tests/vcn/java/com/android/server/vcn/routeselection/
DUnderlyingNetworkControllerTest.java633 UnderlyingNetworkListener cb = mUnderlyingNetworkListenerCaptor.getValue(); in verifyRegistrationOnAvailableAndGetCallback() local
655 UnderlyingNetworkListener cb = verifyRegistrationOnAvailableAndGetCallback(); in testRecordTrackerCallbackNotifiedForNetworkCapabilitiesChange() local
672 UnderlyingNetworkListener cb = verifyRegistrationOnAvailableAndGetCallback(); in testRecordTrackerCallbackNotifiedForLinkPropertiesChange() local
687 UnderlyingNetworkListener cb = verifyRegistrationOnAvailableAndGetCallback(); in testRecordTrackerCallbackNotifiedForNetworkSuspended() local
708 UnderlyingNetworkListener cb = in testRecordTrackerCallbackNotifiedForNetworkResumed() local
730 UnderlyingNetworkListener cb = verifyRegistrationOnAvailableAndGetCallback(); in testRecordTrackerCallbackNotifiedForBlocked() local
739 UnderlyingNetworkListener cb = verifyRegistrationOnAvailableAndGetCallback(); in testRecordTrackerCallbackNotifiedForNetworkLoss() local
749 UnderlyingNetworkListener cb = verifyRegistrationOnAvailableAndGetCallback(); in testRecordTrackerCallbackIgnoresDuplicateRecord() local
761 UnderlyingNetworkListener cb = verifyRegistrationOnAvailableAndGetCallback(); in testRecordTrackerCallbackNotifiedAfterTeardown() local
794 UnderlyingNetworkListener cb, in bringupNetworkAndGetEvaluator()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java510 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in onTrustChanged() local
542 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in onTrustChanged() local
582 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in onEnabledTrustAgentsChanged() local
626 KeyguardUpdateMonitorCallback cb = mCallbacks.get(j).get(); in handleSimSubscriptionInfoChanged() local
637 KeyguardUpdateMonitorCallback cb = mCallbacks.get(j).get(); in handleSimSubscriptionInfoChanged() local
653 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in callbacksRefreshCarrierInfo() local
721 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in onTrustManagedChanged() local
754 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in setKeyguardGoingAway() local
792 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in setKeyguardShowing() local
856 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in onBiometricDetected() local
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/
DAppOpsUidStateTrackerTest.java467 UidStateChangedCallback cb = addUidStateChangeCallback(); in testUidStateChangedCallbackNewProcessTop() local
478 UidStateChangedCallback cb = addUidStateChangeCallback(); in testUidStateChangedCallbackNewProcessForegroundService() local
489 UidStateChangedCallback cb = addUidStateChangeCallback(); in testUidStateChangedCallbackNewProcessForeground() local
500 UidStateChangedCallback cb = addUidStateChangeCallback(); in testUidStateChangedCallbackNewProcessBackground() local
511 UidStateChangedCallback cb = addUidStateChangeCallback(); in testUidStateChangedCallbackNewProcessCached() local
663 UidStateChangedCallback cb = addUidStateChangeCallback(); in testUidStateChangedCallbackCachedToNonexistent() local
678 UidStateChangedCallback cb = addUidStateChangeCallback(); in testUidStateChangedCallbackBackgroundToNonexistent() local
693 UidStateChangedCallback cb = addUidStateChangeCallback(); in testUidStateChangedCallbackForegroundToNonexistent() local
708 UidStateChangedCallback cb = addUidStateChangeCallback(); in testUidStateChangedCallbackForegroundServiceToNonexistent() local
723 UidStateChangedCallback cb = addUidStateChangeCallback(); in testUidStateChangedCallbackTopToNonexistent() local
[all …]
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DIPlayerService.aidl27 void registerCallback(in IPlayerCallback cb); in registerCallback()
28 void unregisterCallback(in IPlayerCallback cb); in unregisterCallback()
29 void sendRequest(String action, in Bundle params, in IRequestCallback cb); in sendRequest()
DPlayerService.java124 public void sendRequest(String action, Bundle params, IRequestCallback cb) { in sendRequest()
133 public void registerCallback(final IPlayerCallback cb) throws RemoteException { in registerCallback()
152 public void unregisterCallback(IPlayerCallback cb) throws RemoteException { in unregisterCallback()
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/
DImsStateCallbackTest.java98 LocalCallback cb = new LocalCallback(); in testMmTelRegisterAndUnregisterImsStateCallbackValues() local
120 LocalCallback cb = new LocalCallback(); in testRcsRegisterAndUnregisterImsStateCallbackValues() local
143 LocalCallback cb = new LocalCallback(); in testSipDelegateRegisterAndUnregisterImsStateCallbackValues() local
166 LocalCallback cb = new LocalCallback(); in testImsStateCallbacks() local
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCameraAgentImpl.java314 android.hardware.Camera camera, Object cb) { in setAutoFocusMoveCallback()
809 final Handler handler, final CameraPreviewDataCallback cb) { in setPreviewDataCallback()
823 final CameraPreviewDataCallback cb) { in setOneShotPreviewCallback()
837 final Handler handler, final CameraPreviewDataCallback cb) { in setPreviewDataCallbackWithBuffer()
850 public void autoFocus(final Handler handler, final CameraAFCallback cb) { in autoFocus()
884 final Handler handler, final CameraAFMoveCallback cb) { in setAutoFocusMoveCallback()
964 final CameraFaceDetectionCallback cb) { in setFaceDetectionCallback()
1104 Handler handler, CameraProxy camera, CameraAFCallback cb) { in getNewInstance()
1112 Handler h, CameraProxy camera, CameraAFCallback cb) { in AFCallbackForward()
1146 Handler handler, CameraProxy camera, CameraAFMoveCallback cb) { in getNewInstance()
[all …]
DCameraAgent.java56 Handler handler, CameraStartPreviewCallback cb) { in getNewInstance()
64 CameraStartPreviewCallback cb) { in CameraStartPreviewCallbackForward()
96 Handler handler, CameraOpenCallback cb) { in getNewInstance()
103 private CameraOpenCallbackForward(Handler h, CameraOpenCallback cb) { in CameraOpenCallbackForward()
420 public void reconnect(final Handler handler, final CameraOpenCallback cb) { in reconnect()
581 public void startPreviewWithCallback(final Handler h, final CameraStartPreviewCallback cb) { in startPreviewWithCallback()
625 public abstract void setPreviewDataCallback(Handler handler, CameraPreviewDataCallback cb); in setPreviewDataCallback()
636 CameraPreviewDataCallback cb); in setOneShotPreviewCallback()
646 CameraPreviewDataCallback cb); in setPreviewDataCallbackWithBuffer()
674 public abstract void autoFocus(Handler handler, CameraAFCallback cb); in autoFocus()
[all …]
/frameworks/base/native/android/
Dstorage_manager.cpp58 AStorageManager_obbCallbackFunc cb; member in ObbCallback
75 ObbCallback* cb = new ObbCallback(getNextNonce(), func, data); in registerObbCallback() local
126 ObbCallback* cb = mCallbacks.editItemAt(i); in fireCallback() local
157 ObbCallback* cb = registerObbCallback(func, data); in mountObb() local
164 ObbCallback* cb = registerObbCallback(func, data); in unmountObb() local
206 AStorageManager_obbCallbackFunc cb, void* data) { in AStorageManager_mountObb()
215 AStorageManager_obbCallbackFunc cb, void* data) { in AStorageManager_unmountObb()
/frameworks/native/services/vibratorservice/test/
DVibratorHalWrapperHidlV1_2Test.cpp85 [](V1_0::Effect, V1_0::EffectStrength, MockIVibratorV1_2::perform_cb cb) { in TEST_F()
110 MockIVibratorV1_2::perform_cb cb) { in TEST_F()
135 [](V1_2::Effect, V1_0::EffectStrength, MockIVibratorV1_2::perform_cb cb) { in TEST_F()
146 [](V1_2::Effect, V1_0::EffectStrength, MockIVibratorV1_2::perform_cb cb) { in TEST_F()
153 .WillOnce([](V1_2::Effect, V1_0::EffectStrength, MockIVibratorV1_2::perform_cb cb) { in TEST_F()
DVibratorHalWrapperHidlV1_1Test.cpp82 [](V1_0::Effect, V1_0::EffectStrength, MockIVibratorV1_1::perform_cb cb) { in TEST_F()
107 MockIVibratorV1_1::perform_cb cb) { in TEST_F()
118 MockIVibratorV1_1::perform_cb cb) { in TEST_F()
126 MockIVibratorV1_1::perform_cb cb) { in TEST_F()
/frameworks/base/core/java/com/android/internal/os/
DKernelCpuUidTimeReader.java93 public void readDelta(@Nullable Callback<T> cb) { in readDelta()
103 public void readDelta(boolean force, @Nullable Callback<T> cb) { in readDelta()
124 public void readAbsolute(Callback<T> cb) { in readAbsolute()
140 abstract void readDeltaImpl(@Nullable Callback<T> cb, boolean forceRead); in readDeltaImpl()
231 void readDeltaImpl(@Nullable Callback<long[]> cb, boolean forceRead) { in readDeltaImpl()
269 void readAbsoluteImpl(Callback<long[]> cb) { in readAbsoluteImpl()
442 private void processUidDelta(@Nullable Callback<long[]> cb) { in processUidDelta()
470 void readDeltaImpl(@Nullable Callback<long[]> cb, boolean forceRead) { in readDeltaImpl()
497 void readAbsoluteImpl(Callback<long[]> cb) { in readAbsoluteImpl()
620 private void processUidDelta(@Nullable Callback<Long> cb) { in processUidDelta()
[all …]
/frameworks/base/media/java/android/media/
DAudioRecordingMonitor.java40 @NonNull AudioManager.AudioRecordingCallback cb); in registerAudioRecordingCallback()
47 void unregisterAudioRecordingCallback(@NonNull AudioManager.AudioRecordingCallback cb); in unregisterAudioRecordingCallback()
DAudioRecordingMonitorImpl.java65 @NonNull AudioManager.AudioRecordingCallback cb) { in registerAudioRecordingCallback()
90 public void unregisterAudioRecordingCallback(@NonNull AudioManager.AudioRecordingCallback cb) { in unregisterAudioRecordingCallback()
129 AudioRecordingCallbackInfo(Executor e, AudioManager.AudioRecordingCallback cb) { in AudioRecordingCallbackInfo()
/frameworks/native/libs/vr/libvr_manager/
Dvr_manager.cpp97 void registerListener(const sp<IVrStateCallbacks>& cb) override { in registerListener()
104 void unregisterListener(const sp<IVrStateCallbacks>& cb) override { in unregisterListener()
112 const sp<IPersistentVrStateCallbacks>& cb) override { in registerPersistentVrStateListener()
120 const sp<IPersistentVrStateCallbacks>& cb) override { in unregisterPersistentVrStateListener()
/frameworks/base/telephony/java/android/telephony/ims/aidl/
DIImsRcsFeature.aidl47 oneway void publishCapabilities(in String pidfXml, IPublishResponseCallback cb); in publishCapabilities()
48 oneway void subscribeForCapabilities(in List<Uri> uris, ISubscribeResponseCallback cb); in subscribeForCapabilities()
50 in List<String> myCapabilities, IOptionsResponseCallback cb); in sendOptionsCapabilityRequest()
/frameworks/native/services/surfaceflinger/tests/unittests/
DVSyncDispatchTimerQueueTest.cpp245 CountingCallback cb(mDispatch); in TEST_F() local
259 CountingCallback cb(mDispatch); in TEST_F() local
279 CountingCallback cb(mDispatch); in TEST_F() local
304 CountingCallback cb(mDispatch); in TEST_F() local
316 CountingCallback cb(mDispatch); in TEST_F() local
333 CountingCallback cb(mDispatch); in TEST_F() local
347 CountingCallback cb(mDispatch); in TEST_F() local
361 CountingCallback cb(mDispatch); in TEST_F() local
376 PausingCallback cb(mDispatch, std::chrono::duration_cast<std::chrono::milliseconds>(1s)); in TEST_F() local
397 PausingCallback cb(mDispatch, 50ms); in TEST_F() local
[all …]
/frameworks/opt/net/ims/src/java/com/android/ims/
DRcsFeatureConnection.java174 public void addCallbackForSubscription(int subId, IImsCapabilityCallback cb) { in addCallbackForSubscription()
178 public void addCallbackForSubscription(int subId, IImsRegistrationCallback cb) { in addCallbackForSubscription()
182 public void addCallback(IImsRegistrationCallback cb) { in addCallback()
186 public void removeCallbackForSubscription(int subId, IImsCapabilityCallback cb) { in removeCallbackForSubscription()
190 public void removeCallbackForSubscription(int subId, IImsRegistrationCallback cb) { in removeCallbackForSubscription()
194 public void removeCallback(IImsRegistrationCallback cb) { in removeCallback()
DFeatureUpdates.java36 void registerFeatureCallback(int slotId, IImsServiceFeatureCallback cb); in registerFeatureCallback()
45 void unregisterFeatureCallback(IImsServiceFeatureCallback cb); in unregisterFeatureCallback()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stylus/
DStylusManager.kt123 executeStylusCallbacks { cb -> cb.onStylusAdded(deviceId) } in <lambda>() method
128 executeStylusCallbacks { cb -> cb.onStylusBluetoothConnected(deviceId, btAddress) } in <lambda>() method
145 executeStylusCallbacks { cb -> cb.onStylusBluetoothConnected(deviceId, currAddress) } in <lambda>() method
150 executeStylusCallbacks { cb -> cb.onStylusBluetoothDisconnected(deviceId, prevAddress) } in <lambda>() method
166 executeStylusCallbacks { cb -> cb.onStylusBluetoothDisconnected(deviceId, btAddress) } in <lambda>() method
168 executeStylusCallbacks { cb -> cb.onStylusRemoved(deviceId) } in <lambda>() method
188 executeStylusCallbacks { cb -> in <lambda>() method
214 executeStylusCallbacks { cb -> in <lambda>() method
252 executeStylusCallbacks { cb -> cb.onStylusFirstUsed() } in <lambda>() method
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/
DFakeManagedProfileController.java37 public void addCallback(Callback cb) { in addCallback()
43 public void removeCallback(Callback cb) { in removeCallback()
/frameworks/native/cmds/servicemanager/
Dtest_sm.cpp407 sp<CallbackHistorian> cb = sp<CallbackHistorian>::make(); in TEST() local
423 sp<CallbackHistorian> cb = sp<CallbackHistorian>::make(); in TEST() local
437 sp<CallbackHistorian> cb = sp<CallbackHistorian>::make(); in TEST() local
447 sp<CallbackHistorian> cb = sp<CallbackHistorian>::make(); in TEST() local
463 sp<CallbackHistorian> cb = sp<CallbackHistorian>::make(); in TEST() local
472 sp<CallbackHistorian> cb = sp<CallbackHistorian>::make(); in TEST() local
481 sp<CallbackHistorian> cb = sp<CallbackHistorian>::make(); in TEST() local
494 sp<CallbackHistorian> cb = sp<CallbackHistorian>::make(); in TEST() local
509 sp<CallbackHistorian> cb = sp<CallbackHistorian>::make(); in TEST() local
525 sp<CallbackHistorian> cb = sp<CallbackHistorian>::make(); in TEST() local
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DMockWeaverService.java26 public void getConfig(getConfigCallback cb) throws RemoteException { in getConfig()
45 public void read(int slotId, ArrayList<Byte> key, readCallback cb) throws RemoteException { in read()
/frameworks/base/services/net/java/android/net/
DNetworkStackClient.java130 final IDhcpServerCallbacks cb) { in makeDhcpServer()
145 public void makeIpClient(String ifName, IIpClientCallbacks cb) { in makeIpClient()
160 public void makeNetworkMonitor(Network network, String name, INetworkMonitorCallbacks cb) { in makeNetworkMonitor()
175 public void fetchIpMemoryStore(IIpMemoryStoreCallbacks cb) { in fetchIpMemoryStore()

12345678910>>...12