Home
last modified time | relevance | path

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

123456789

/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/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java436 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in onTrustChanged() local
479 KeyguardUpdateMonitorCallback cb = mCallbacks.get(j).get(); in handleSimSubscriptionInfoChanged() local
486 KeyguardUpdateMonitorCallback cb = mCallbacks.get(j).get(); in handleSimSubscriptionInfoChanged() local
495 KeyguardUpdateMonitorCallback cb = mCallbacks.get(j).get(); in handleAirplaneModeChanged() local
560 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in onTrustManagedChanged() local
624 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in onFingerprintAuthenticated() local
641 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in handleFingerprintAuthFailed() local
655 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in handleFingerprintAcquired() local
689 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in handleFingerprintHelp() local
728 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in handleFingerprintError() 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/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/av/camera/ndk/impl/
DACameraManager.cpp203 Callback cb(callback); in registerExtendedAvailabilityCallback() local
210 Callback cb(callback); in unregisterExtendedAvailabilityCallback() local
217 Callback cb(callback); in registerAvailabilityCallback() local
230 ACameraManager_AvailabilityCallback cb = isStatusAvailable(status) ? in registerAvailabilityCallback() local
243 Callback cb(callback); in unregisterAvailabilityCallback() local
305 ACameraManager_AvailabilityCallback cb; in onMessageReceived() local
328 ACameraManager_AccessPrioritiesChangedCallback cb; in onMessageReceived() local
373 for (auto cb : mCallbacks) { in onCameraAccessPrioritiesChanged() local
412 for (auto cb : mCallbacks) { in onStatusChangedLocked() local
/frameworks/base/media/java/android/media/tv/
DTvInputService.java119 public void unregisterCallback(ITvInputServiceCallback cb) { in onBind()
126 public void createSession(InputChannel channel, ITvInputSessionCallback cb, in onBind()
142 public void createRecordingSession(ITvInputSessionCallback cb, String inputId) { in onBind()
/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.cpp66 Return<void> SampleDriver::getCapabilities(getCapabilities_cb cb) { in getCapabilities()
75 Return<void> SampleDriver::getCapabilities_1_1(getCapabilities_1_1_cb cb) { in getCapabilities_1_1()
84 Return<void> SampleDriver::getCapabilities_1_2(getCapabilities_1_2_cb cb) { in getCapabilities_1_2()
93 Return<void> SampleDriver::getVersionString(getVersionString_cb cb) { in getVersionString()
100 Return<void> SampleDriver::getType(getType_cb cb) { in getType()
106 Return<void> SampleDriver::getSupportedExtensions(getSupportedExtensions_cb cb) { in getSupportedExtensions()
114 getSupportedOperations_cb cb) { in getSupportedOperations()
129 getSupportedOperations_1_1_cb cb) { in getSupportedOperations_1_1()
144 getSupportedOperations_1_2_cb cb) { in getSupportedOperations_1_2()
158 Return<void> SampleDriver::getNumberOfCacheFilesNeeded(getNumberOfCacheFilesNeeded_cb cb) { in getNumberOfCacheFilesNeeded()
[all …]
/frameworks/native/cmds/servicemanager/
Dtest_sm.cpp314 sp<CallbackHistorian> cb = new CallbackHistorian; in TEST() local
328 sp<CallbackHistorian> cb = new CallbackHistorian; in TEST() local
338 sp<CallbackHistorian> cb = new CallbackHistorian; in TEST() local
354 sp<CallbackHistorian> cb = new CallbackHistorian; in TEST() local
363 sp<CallbackHistorian> cb = new CallbackHistorian; in TEST() local
372 sp<CallbackHistorian> cb = new CallbackHistorian; in TEST() local
385 sp<CallbackHistorian> cb = new CallbackHistorian; in TEST() local
400 sp<CallbackHistorian> cb = new CallbackHistorian; in TEST() local
416 sp<CallbackHistorian> cb = new CallbackHistorian; in TEST() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/
DAppOpsController.java45 void addCallback(int[] opsCodes, Callback cb); in addCallback()
56 void removeCallback(int[] opsCodes, Callback cb); in removeCallback()
/frameworks/opt/net/ims/src/java/com/android/ims/
DRcsFeatureConnection.java248 public void addCallbackForSubscription(int subId, IImsCapabilityCallback cb) { in addCallbackForSubscription()
252 public void addCallbackForSubscription(int subId, IImsRegistrationCallback cb) { in addCallbackForSubscription()
256 public void addCallback(IImsRegistrationCallback cb) { in addCallback()
260 public void removeCallbackForSubscription(int subId, IImsCapabilityCallback cb) { in removeCallbackForSubscription()
264 public void removeCallbackForSubscription(int subId, IImsRegistrationCallback cb) { in removeCallbackForSubscription()
268 public void removeCallback(IImsRegistrationCallback 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/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/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.java531 HalDeviceManager.InterfaceRttControllerLifecycleCallback cb = mock( in testAndTriggerRttLifecycleCallbacksRegBeforeChipConfig() local
666 HalDeviceManager.InterfaceRttControllerLifecycleCallback cb = mock( in testAndTriggerRttLifecycleCallbacksSingleModeChip() local
2817 public void answer(IWifi.getChipIdsCallback cb) { in answer()
2831 public void answer(int chipId, IWifi.getChipCallback cb) { in answer()
2843 public void answer(IWifiChip.getIdCallback cb) { in answer()
2855 public void answer(IWifiChip.getAvailableModesCallback cb) { in answer()
2867 public void answer(IWifiChip.getModeCallback cb) { in answer()
2894 public void answer(IWifiChip.getStaIfaceNamesCallback cb) { in answer()
2898 public void answer(IWifiChip.getApIfaceNamesCallback cb) { in answer()
2902 public void answer(IWifiChip.getP2pIfaceNamesCallback cb) { in answer()
[all …]
/frameworks/base/services/net/java/android/net/
DNetworkStackClient.java134 final IDhcpServerCallbacks cb) { in makeDhcpServer()
149 public void makeIpClient(String ifName, IIpClientCallbacks cb) { in makeIpClient()
164 public void makeNetworkMonitor(Network network, String name, INetworkMonitorCallbacks cb) { in makeNetworkMonitor()
179 public void fetchIpMemoryStore(IIpMemoryStoreCallbacks cb) { in fetchIpMemoryStore()
/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()

123456789