/frameworks/base/cmds/hid/jni/ |
D | com_android_commands_hid_Device.cpp | 183 : mId(id), mFd(std::move(fd)), mDeviceCallback(std::move(callback)) { in Device() 248 mDeviceCallback->onDeviceError(); in handleEvents() 255 mDeviceCallback->onDeviceError(); in handleEvents() 260 mDeviceCallback->onDeviceOpen(); in handleEvents() 264 mDeviceCallback->onDeviceGetReport(ev.u.get_report.id, ev.u.get_report.rnum); in handleEvents() 279 mDeviceCallback->onDeviceSetReport(set_report.id, set_report.rtype, data); in handleEvents() 288 mDeviceCallback->onDeviceOutput(output.rtype, data); in handleEvents()
|
D | com_android_commands_hid_Device.h | 62 std::unique_ptr<DeviceCallback> mDeviceCallback; variable
|
/frameworks/base/cmds/uinput/jni/ |
D | com_android_commands_uinput_Device.cpp | 149 : mId(id), mFd(std::move(fd)), mDeviceCallback(std::move(callback)) { in UinputDevice() 187 mDeviceCallback->onDeviceError(); in handleEvents() 194 mDeviceCallback->onDeviceError(); in handleEvents() 217 mDeviceCallback->onDeviceVibrating(ev.value); in handleEvents()
|
D | com_android_commands_uinput_Device.h | 66 std::unique_ptr<DeviceCallback> mDeviceCallback; variable
|
/frameworks/av/media/libaudioclient/ |
D | AudioRecord.cpp | 204 if (mDeviceCallback != 0 && mInput != AUDIO_IO_HANDLE_NONE) { in stopAndJoinCallbacks() 208 mDeviceCallback.clear(); in stopAndJoinCallbacks() 962 if (mDeviceCallback != 0) { in createRecord_l() 1576 if (mDeviceCallback.unsafe_get() == callback.get()) { in addAudioDeviceCallback() 1582 if (mDeviceCallback != 0) { in addAudioDeviceCallback() 1588 mDeviceCallback = callback; in addAudioDeviceCallback() 1600 if (mDeviceCallback.unsafe_get() != callback.get()) { in removeAudioDeviceCallback() 1604 mDeviceCallback.clear(); in removeAudioDeviceCallback() 1620 callback = mDeviceCallback.promote(); in onAudioDeviceUpdate()
|
D | AudioTrack.cpp | 390 if (mDeviceCallback != 0 && mOutput != AUDIO_IO_HANDLE_NONE) { in stopAndJoinCallbacks() 394 mDeviceCallback.clear(); in stopAndJoinCallbacks() 1967 if (mDeviceCallback != 0) { in createTrack_l() 3612 if (mDeviceCallback.unsafe_get() == callback.get()) { in addAudioDeviceCallback() 3618 if (mDeviceCallback != 0) { in addAudioDeviceCallback() 3624 mDeviceCallback = callback; in addAudioDeviceCallback() 3636 if (mDeviceCallback.unsafe_get() != callback.get()) { in removeAudioDeviceCallback() 3640 mDeviceCallback.clear(); in removeAudioDeviceCallback() 3657 callback = mDeviceCallback.promote(); in onAudioDeviceUpdate()
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
D | CameraDeviceImpl.java | 116 private final StateCallback mDeviceCallback; field in CameraDeviceImpl 195 mDeviceCallback.onOpened(CameraDeviceImpl.this); 259 mDeviceCallback.onClosed(CameraDeviceImpl.this); 291 mDeviceCallback.onDisconnected(CameraDeviceImpl.this); 356 mDeviceCallback = new ClientStateCallback(executor, callback); in CameraDeviceImpl() 359 mDeviceCallback = callback; in CameraDeviceImpl() 476 mDeviceCallback.onError(CameraDeviceImpl.this, code); in setRemoteFailure() 478 mDeviceCallback.onDisconnected(CameraDeviceImpl.this); in setRemoteFailure() 1935 mDeviceCallback.onError(CameraDeviceImpl.this, code); in notifyError() 2614 mDeviceCallback.onError(CameraDeviceImpl.this, in binderDied()
|
/frameworks/base/core/jni/ |
D | android_media_AudioTrack.cpp | 162 sp<JNIDeviceCallback> mDeviceCallback; member in AudioTrackJniStorage 1213 if (pJniStorage == nullptr || pJniStorage->mDeviceCallback != nullptr) { in android_media_AudioTrack_enableDeviceCallback() 1217 pJniStorage->mDeviceCallback = in android_media_AudioTrack_enableDeviceCallback() 1220 lpTrack->addAudioDeviceCallback(pJniStorage->mDeviceCallback); in android_media_AudioTrack_enableDeviceCallback() 1233 if (pJniStorage == nullptr || pJniStorage->mDeviceCallback == nullptr) { in android_media_AudioTrack_disableDeviceCallback() 1236 lpTrack->removeAudioDeviceCallback(pJniStorage->mDeviceCallback); in android_media_AudioTrack_disableDeviceCallback() 1237 pJniStorage->mDeviceCallback.clear(); in android_media_AudioTrack_disableDeviceCallback()
|
D | android_media_AudioRecord.cpp | 98 mDeviceCallback = callback; in setDeviceCallback() 101 sp<JNIDeviceCallback> getDeviceCallback() const { return mDeviceCallback; } in getDeviceCallback() 123 sp<JNIDeviceCallback> mDeviceCallback; member in AudioRecordJNIStorage
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioRecord.h | 809 wp<AudioSystem::AudioDeviceCallback> mDeviceCallback; variable
|
D | AudioTrack.h | 1501 wp<AudioSystem::AudioDeviceCallback> mDeviceCallback; variable
|
/frameworks/av/media/libmediaplayerservice/ |
D | MediaPlayerService.h | 186 wp<AudioSystem::AudioDeviceCallback> mDeviceCallback; variable
|
D | MediaPlayerService.cpp | 1837 mDeviceCallback(deviceCallback) in AudioOutput() 2357 mTrack->addAudioDeviceCallback(mDeviceCallback.promote()); in updateTrack() 2619 status = mTrack->addAudioDeviceCallback(mDeviceCallback.promote()); in enableAudioDeviceCallback() 2621 status = mTrack->removeAudioDeviceCallback(mDeviceCallback.promote()); in enableAudioDeviceCallback()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 19106 Landroid/hardware/camera2/impl/CameraDeviceImpl;->mDeviceCallback:Landroid/hardware/camera2/CameraD…
|