Home
last modified time | relevance | path

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

1234567891011

/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/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/base/tests/vcn/java/com/android/server/vcn/routeselection/
DUnderlyingNetworkControllerTest.java377 UnderlyingNetworkListener cb = mUnderlyingNetworkListenerCaptor.getValue(); in verifyRegistrationOnAvailableAndGetCallback() local
398 UnderlyingNetworkListener cb = verifyRegistrationOnAvailableAndGetCallback(); in testRecordTrackerCallbackNotifiedForNetworkCapabilitiesChange() local
415 UnderlyingNetworkListener cb = verifyRegistrationOnAvailableAndGetCallback(); in testRecordTrackerCallbackNotifiedForLinkPropertiesChange() local
430 UnderlyingNetworkListener cb = verifyRegistrationOnAvailableAndGetCallback(); in testRecordTrackerCallbackNotifiedForNetworkSuspended() local
453 UnderlyingNetworkListener cb = in testRecordTrackerCallbackNotifiedForNetworkResumed() local
477 UnderlyingNetworkListener cb = verifyRegistrationOnAvailableAndGetCallback(); in testRecordTrackerCallbackNotifiedForBlocked() local
492 UnderlyingNetworkListener cb = verifyRegistrationOnAvailableAndGetCallback(); in testRecordTrackerCallbackNotifiedForNetworkLoss() local
501 UnderlyingNetworkListener cb = verifyRegistrationOnAvailableAndGetCallback(); in testRecordTrackerCallbackIgnoresDuplicateRecord() local
513 UnderlyingNetworkListener cb = verifyRegistrationOnAvailableAndGetCallback(); in testRecordTrackerCallbackNotifiedAfterTeardown() local
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/
DImsStateCallbackTest.java97 LocalCallback cb = new LocalCallback(); in testMmTelRegisterAndUnregisterImsStateCallbackValues() local
119 LocalCallback cb = new LocalCallback(); in testRcsRegisterAndUnregisterImsStateCallbackValues() local
142 LocalCallback cb = new LocalCallback(); in testSipDelegateRegisterAndUnregisterImsStateCallbackValues() local
165 LocalCallback cb = new LocalCallback(); in testImsStateCallbacks() local
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java513 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in onTrustChanged() local
528 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in onTrustChanged() local
591 KeyguardUpdateMonitorCallback cb = mCallbacks.get(j).get(); in handleSimSubscriptionInfoChanged() local
602 KeyguardUpdateMonitorCallback cb = mCallbacks.get(j).get(); in handleSimSubscriptionInfoChanged() local
618 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in callbacksRefreshCarrierInfo() local
686 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in onTrustManagedChanged() local
713 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in setKeyguardGoingAway() local
751 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in setKeyguardShowing() local
833 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in onBiometricDetected() local
857 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in onFingerprintAuthenticated() local
[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/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/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/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/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/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/packages/SystemUI/src/com/android/systemui/stylus/
DStylusManager.kt108 executeStylusCallbacks { cb -> cb.onStylusAdded(deviceId) } in <lambda>() method
113 executeStylusCallbacks { cb -> cb.onStylusBluetoothConnected(deviceId, btAddress) } in <lambda>() method
130 executeStylusCallbacks { cb -> cb.onStylusBluetoothConnected(deviceId, currAddress) } in <lambda>() method
135 executeStylusCallbacks { cb -> cb.onStylusBluetoothDisconnected(deviceId, prevAddress) } in <lambda>() method
149 executeStylusCallbacks { cb -> cb.onStylusBluetoothDisconnected(deviceId, btAddress) } in <lambda>() method
151 executeStylusCallbacks { cb -> cb.onStylusRemoved(deviceId) } in <lambda>() method
166 executeStylusBatteryCallbacks { cb -> in <lambda>() method
184 executeStylusBatteryCallbacks { cb -> in <lambda>() method
220 executeStylusCallbacks { cb -> cb.onStylusFirstUsed() } in <lambda>() method
/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/core/java/com/android/internal/os/
DKernelCpuUidTimeReader.java97 public void readDelta(@Nullable Callback<T> cb) { in readDelta()
107 public void readDelta(boolean force, @Nullable Callback<T> cb) { in readDelta()
128 public void readAbsolute(Callback<T> cb) { in readAbsolute()
144 abstract void readDeltaImpl(@Nullable Callback<T> cb, boolean forceRead); in readDeltaImpl()
235 void readDeltaImpl(@Nullable Callback<long[]> cb, boolean forceRead) { in readDeltaImpl()
273 void readAbsoluteImpl(Callback<long[]> cb) { in readAbsoluteImpl()
487 private void processUidDelta(@Nullable Callback<long[]> cb) { in processUidDelta()
515 void readDeltaImpl(@Nullable Callback<long[]> cb, boolean forceRead) { in readDeltaImpl()
542 void readAbsoluteImpl(Callback<long[]> cb) { in readAbsoluteImpl()
665 private void processUidDelta(@Nullable Callback<Long> cb) { in processUidDelta()
[all …]
/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/libs/hwui/renderstate/
DRenderState.h48 void registerContextCallback(IGpuContextCallback* cb) { mContextCallbacks.insert(cb); } in registerContextCallback()
49 void removeContextCallback(IGpuContextCallback* cb) { mContextCallbacks.erase(cb); } in removeContextCallback()
/frameworks/native/cmds/servicemanager/
Dtest_sm.cpp334 sp<CallbackHistorian> cb = sp<CallbackHistorian>::make(); in TEST() local
348 sp<CallbackHistorian> cb = sp<CallbackHistorian>::make(); in TEST() local
358 sp<CallbackHistorian> cb = sp<CallbackHistorian>::make(); in TEST() local
374 sp<CallbackHistorian> cb = sp<CallbackHistorian>::make(); in TEST() local
383 sp<CallbackHistorian> cb = sp<CallbackHistorian>::make(); in TEST() local
392 sp<CallbackHistorian> cb = sp<CallbackHistorian>::make(); in TEST() local
405 sp<CallbackHistorian> cb = sp<CallbackHistorian>::make(); in TEST() local
420 sp<CallbackHistorian> cb = sp<CallbackHistorian>::make(); in TEST() local
436 sp<CallbackHistorian> cb = sp<CallbackHistorian>::make(); in TEST() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/
DAppOpsController.java47 void addCallback(int[] opsCodes, Callback cb); in addCallback()
58 void removeCallback(int[] opsCodes, Callback cb); in removeCallback()
/frameworks/base/services/core/java/com/android/server/health/
DHealthRegCallbackAidl.java80 private static void unregisterCallback(@Nullable IHealth oldService, IHealthInfoCallback cb) { in unregisterCallback()
93 private static void registerCallback(@NonNull IHealth newService, IHealthInfoCallback cb) { in registerCallback()
/frameworks/base/core/java/android/os/
DServiceManagerNative.java79 public void registerForNotifications(String name, IServiceCallback cb) in registerForNotifications()
84 public void unregisterForNotifications(String name, IServiceCallback cb) in unregisterForNotifications()
105 public void registerClientCallback(String name, IBinder service, IClientCallback cb) in registerClientCallback()

1234567891011