Home
last modified time | relevance | path

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

12345678910

/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/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java393 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in onTrustChanged() local
438 KeyguardUpdateMonitorCallback cb = mCallbacks.get(j).get(); in handleSimSubscriptionInfoChanged() local
454 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in callbacksRefreshCarrierInfo() local
519 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in onTrustManagedChanged() local
593 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in onFingerprintAuthenticated() local
624 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in handleFingerprintAuthFailed() local
639 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in handleFingerprintAcquired() local
674 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in handleFingerprintHelp() local
726 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in handleFingerprintError() local
754 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in notifyFingerprintRunningStateChanged() 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/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
158 ObbCallback* cb = registerObbCallback(func, data); in mountObb() local
167 ObbCallback* cb = registerObbCallback(func, data); in unmountObb() local
209 AStorageManager_obbCallbackFunc cb, void* data) { in AStorageManager_mountObb()
214 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/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/core/java/com/android/internal/os/
DKernelCpuUidTimeReader.java96 public void readDelta(@Nullable Callback<T> cb) { in readDelta()
117 public void readAbsolute(Callback<T> cb) { in readAbsolute()
133 abstract void readDeltaImpl(@Nullable Callback<T> cb); in readDeltaImpl()
215 void readDeltaImpl(@Nullable Callback<long[]> cb) { in readDeltaImpl()
253 void readAbsoluteImpl(Callback<long[]> cb) { in readAbsoluteImpl()
458 private void processUidDelta(@Nullable Callback<long[]> cb) { in processUidDelta()
486 void readDeltaImpl(@Nullable Callback<long[]> cb) { in readDeltaImpl()
513 void readAbsoluteImpl(Callback<long[]> cb) { in readAbsoluteImpl()
627 private void processUidDelta(@Nullable Callback<Long> cb) { in processUidDelta()
644 void readDeltaImpl(@Nullable Callback<Long> cb) { in readDeltaImpl()
[all …]
/frameworks/ml/nn/driver/sample/
DSampleDriverFull.cpp32 Return<void> SampleDriverFull::getCapabilities_1_3(getCapabilities_1_3_cb cb) { in getCapabilities_1_3()
46 getSupportedOperations_1_3_cb cb) { in getSupportedOperations_1_3()
DSampleDriver.cpp67 Return<void> SampleDriver::getCapabilities(getCapabilities_cb cb) { in getCapabilities()
76 Return<void> SampleDriver::getCapabilities_1_1(getCapabilities_1_1_cb cb) { in getCapabilities_1_1()
85 Return<void> SampleDriver::getCapabilities_1_2(getCapabilities_1_2_cb cb) { in getCapabilities_1_2()
94 Return<void> SampleDriver::getVersionString(getVersionString_cb cb) { in getVersionString()
101 Return<void> SampleDriver::getType(getType_cb cb) { in getType()
107 Return<void> SampleDriver::getSupportedExtensions(getSupportedExtensions_cb cb) { in getSupportedExtensions()
115 getSupportedOperations_cb cb) { in getSupportedOperations()
130 getSupportedOperations_1_1_cb cb) { in getSupportedOperations_1_1()
145 getSupportedOperations_1_2_cb cb) { in getSupportedOperations_1_2()
159 Return<void> SampleDriver::getNumberOfCacheFilesNeeded(getNumberOfCacheFilesNeeded_cb cb) { in getNumberOfCacheFilesNeeded()
[all …]
/frameworks/opt/net/ims/src/java/com/android/ims/
DRcsFeatureConnection.java245 public void addCallbackForSubscription(int subId, IImsCapabilityCallback cb) { in addCallbackForSubscription()
249 public void addCallbackForSubscription(int subId, IImsRegistrationCallback cb) { in addCallbackForSubscription()
253 public void addCallback(IImsRegistrationCallback cb) { in addCallback()
257 public void removeCallbackForSubscription(int subId, IImsCapabilityCallback cb) { in removeCallbackForSubscription()
261 public void removeCallbackForSubscription(int subId, IImsRegistrationCallback cb) { in removeCallbackForSubscription()
265 public void removeCallback(IImsRegistrationCallback cb) { in removeCallback()
/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/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()
93 public void registerClientCallback(String name, IBinder service, IClientCallback cb) in registerClientCallback()
/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/core/java/android/app/
DIWallpaperManager.aidl67 ParcelFileDescriptor getWallpaper(String callingPkg, IWallpaperManagerCallback cb, int which, in getWallpaper()
74 IWallpaperManagerCallback cb, int which, out Bundle outParams, int userId); in getWallpaperWithFeature()
152 boolean setLockWallpaperCallback(IWallpaperManagerCallback cb); in setLockWallpaperCallback()
167 void registerWallpaperColorsCallback(IWallpaperManagerCallback cb, int userId, int displayId); in registerWallpaperColorsCallback()
172 void unregisterWallpaperColorsCallback(IWallpaperManagerCallback cb, int userId, int displayId); in unregisterWallpaperColorsCallback()
/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/base/media/java/android/media/tv/
DTvInputService.java164 public void unregisterCallback(ITvInputServiceCallback cb) { in onBind()
171 public void createSession(InputChannel channel, ITvInputSessionCallback cb, in onBind()
188 public void createRecordingSession(ITvInputSessionCallback cb, String inputId, in onBind()
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DUpstreamNetworkMonitorTest.java634 public void requestNetwork(NetworkRequest req, NetworkCallback cb, Handler h) { in requestNetwork()
647 public void requestNetwork(NetworkRequest req, NetworkCallback cb) { in requestNetwork()
653 int timeoutMs, int legacyType, Handler h, NetworkCallback cb) { in requestNetwork()
665 public void registerNetworkCallback(NetworkRequest req, NetworkCallback cb, Handler h) { in registerNetworkCallback()
673 public void registerNetworkCallback(NetworkRequest req, NetworkCallback cb) { in registerNetworkCallback()
678 public void registerDefaultNetworkCallback(NetworkCallback cb, Handler h) { in registerDefaultNetworkCallback()
683 public void registerDefaultNetworkCallback(NetworkCallback cb) { in registerDefaultNetworkCallback()
688 public void unregisterNetworkCallback(NetworkCallback cb) { in unregisterNetworkCallback()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DHalDeviceManagerTest.java529 HalDeviceManager.InterfaceRttControllerLifecycleCallback cb = mock( in testAndTriggerRttLifecycleCallbacksRegBeforeChipConfig() local
660 HalDeviceManager.InterfaceRttControllerLifecycleCallback cb = mock( in testAndTriggerRttLifecycleCallbacksSingleModeChip() local
2727 public void answer(IWifi.getChipIdsCallback cb) { in answer()
2741 public void answer(int chipId, IWifi.getChipCallback cb) { in answer()
2753 public void answer(IWifiChip.getIdCallback cb) { in answer()
2765 public void answer(IWifiChip.getAvailableModesCallback cb) { in answer()
2777 public void answer(IWifiChip.getModeCallback cb) { in answer()
2804 public void answer(IWifiChip.getStaIfaceNamesCallback cb) { in answer()
2808 public void answer(IWifiChip.getApIfaceNamesCallback cb) { in answer()
2812 public void answer(IWifiChip.getP2pIfaceNamesCallback cb) { in answer()
[all …]
/frameworks/native/cmds/servicemanager/
Dtest_sm.cpp334 sp<CallbackHistorian> cb = new CallbackHistorian; in TEST() local
348 sp<CallbackHistorian> cb = new CallbackHistorian; in TEST() local
358 sp<CallbackHistorian> cb = new CallbackHistorian; in TEST() local
374 sp<CallbackHistorian> cb = new CallbackHistorian; in TEST() local
383 sp<CallbackHistorian> cb = new CallbackHistorian; in TEST() local
392 sp<CallbackHistorian> cb = new CallbackHistorian; in TEST() local
405 sp<CallbackHistorian> cb = new CallbackHistorian; in TEST() local
420 sp<CallbackHistorian> cb = new CallbackHistorian; in TEST() local
436 sp<CallbackHistorian> cb = new CallbackHistorian; in TEST() local
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DBatteryControllerTest.java104 BatteryStateChangeCallback cb = mock(BatteryStateChangeCallback.class); in testBatteryPresentState_notPresent() local
119 BatteryController.BatteryStateChangeCallback cb = in testBatteryPresentState_callbackAddedAfterStateChange() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNextAlarmControllerImpl.java62 public void addCallback(NextAlarmChangeCallback cb) { in addCallback()
67 public void removeCallback(NextAlarmChangeCallback cb) { in removeCallback()

12345678910