Home
last modified time | relevance | path

Searched defs:deviceId (Results 1 – 25 of 144) sorted by relevance

123456

/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHal.java53 void onDeviceUnavailable(int deviceId); in onDeviceUnavailable()
54 void onStreamConfigurationChanged(int deviceId, TvStreamConfig[] configs); in onStreamConfigurationChanged()
55 void onFirstFrameCaptured(int deviceId, int streamId); in onFirstFrameCaptured()
60 private static native int nativeAddOrUpdateStream(long ptr, int deviceId, int streamId, in nativeAddOrUpdateStream()
62 private static native int nativeRemoveStream(long ptr, int deviceId, int streamId); in nativeRemoveStream()
63 private static native TvStreamConfig[] nativeGetStreamConfigs(long ptr, int deviceId, in nativeGetStreamConfigs()
85 public int addOrUpdateStream(int deviceId, Surface surface, TvStreamConfig streamConfig) { in addOrUpdateStream()
102 public int removeStream(int deviceId, TvStreamConfig streamConfig) { in removeStream()
127 private void retrieveStreamConfigsLocked(int deviceId) { in retrieveStreamConfigsLocked()
141 private void deviceUnavailableFromNative(int deviceId) { in deviceUnavailableFromNative()
[all …]
DTvInputHardwareManager.java177 public void onDeviceUnavailable(int deviceId) { in onDeviceUnavailable()
205 public void onStreamConfigurationChanged(int deviceId, TvStreamConfig[] configs) { in onStreamConfigurationChanged()
233 public void onFirstFrameCaptured(int deviceId, int streamId) { in onFirstFrameCaptured()
269 public void addHardwareInput(int deviceId, TvInputInfo info) { in addHardwareInput()
368 public ITvInputHardware acquireHardware(int deviceId, ITvInputHardwareCallback callback, in acquireHardware()
409 public void releaseHardware(int deviceId, ITvInputHardware hardware, int callingUid, in releaseHardware()
456 int deviceId = findDeviceIdForInputIdLocked(inputId); in getAvailableTvStreamConfigList() local
477 int deviceId = findDeviceIdForInputIdLocked(inputId); in captureFrame() local
577 int deviceId = mConnections.keyAt(i); in dump() local
601 int deviceId = mHardwareInputIdMap.keyAt(i); in dump() local
/frameworks/base/core/java/android/hardware/fingerprint/
DIFingerprintServiceReceiver.aidl25 void onEnrollResult(long deviceId, int fingerId, int groupId, int remaining); in onEnrollResult()
26 void onAcquired(long deviceId, int acquiredInfo, int vendorCode); in onAcquired()
27 void onAuthenticationSucceeded(long deviceId, in Fingerprint fp, int userId, in onAuthenticationSucceeded()
29 void onAuthenticationFailed(long deviceId); in onAuthenticationFailed()
30 void onError(long deviceId, int error, int vendorCode); in onError()
31 void onRemoved(long deviceId, int fingerId, int groupId, int remaining); in onRemoved()
32 void onEnumerated(long deviceId, int fingerId, int groupId, int remaining); in onEnumerated()
DFingerprint.java29 public Fingerprint(CharSequence name, int groupId, int fingerId, long deviceId) { in Fingerprint()
/frameworks/base/core/java/android/hardware/face/
DIFaceServiceReceiver.aidl25 void onEnrollResult(long deviceId, int faceId, int remaining); in onEnrollResult()
26 void onAcquired(long deviceId, int acquiredInfo, int vendorCode); in onAcquired()
27 void onAuthenticationSucceeded(long deviceId, in Face face, int userId, in onAuthenticationSucceeded()
29 void onAuthenticationFailed(long deviceId); in onAuthenticationFailed()
30 void onError(long deviceId, int error, int vendorCode); in onError()
31 void onRemoved(long deviceId, int faceId, int remaining); in onRemoved()
32 void onEnumerated(long deviceId, int faceId, int remaining); in onEnumerated()
DFace.java30 public Face(CharSequence name, int faceId, long deviceId) { in Face()
/frameworks/native/services/inputflinger/reader/
DInputReader.cpp154 int32_t deviceId = rawEvent->deviceId; in processEventsLocked() local
261 int32_t deviceId = (eventHubId < END_RESERVED_ID) ? eventHubId : nextInputDeviceIdLocked(); in createDeviceLocked() local
286 InputDevice* InputReader::findInputDevice(int32_t deviceId) { in findInputDevice()
393 sp<PointerControllerInterface> InputReader::getPointerControllerLocked(int32_t deviceId) { in getPointerControllerLocked()
462 int32_t InputReader::getKeyCodeState(int32_t deviceId, uint32_t sourceMask, int32_t keyCode) { in getKeyCodeState()
468 int32_t InputReader::getScanCodeState(int32_t deviceId, uint32_t sourceMask, int32_t scanCode) { in getScanCodeState()
474 int32_t InputReader::getSwitchState(int32_t deviceId, uint32_t sourceMask, int32_t switchCode) { in getSwitchState()
480 int32_t InputReader::getStateLocked(int32_t deviceId, uint32_t sourceMask, int32_t code, in getStateLocked()
506 void InputReader::toggleCapsLockState(int32_t deviceId) { in toggleCapsLockState()
520 bool InputReader::hasKeys(int32_t deviceId, uint32_t sourceMask, size_t numCodes, in hasKeys()
[all …]
DEventHub.cpp376 void EventHub::getConfiguration(int32_t deviceId, PropertyMap* outConfiguration) const { in getConfiguration()
386 status_t EventHub::getAbsoluteAxisInfo(int32_t deviceId, int axis, in getAbsoluteAxisInfo()
416 bool EventHub::hasRelativeAxis(int32_t deviceId, int axis) const { in hasRelativeAxis()
428 bool EventHub::hasInputProperty(int32_t deviceId, int property) const { in hasInputProperty()
440 int32_t EventHub::getScanCodeState(int32_t deviceId, int32_t scanCode) const { in getScanCodeState()
456 int32_t EventHub::getKeyCodeState(int32_t deviceId, int32_t keyCode) const { in getKeyCodeState()
480 int32_t EventHub::getSwitchState(int32_t deviceId, int32_t sw) const { in getSwitchState()
496 status_t EventHub::getAbsoluteAxisValue(int32_t deviceId, int32_t axis, int32_t* outValue) const { in getAbsoluteAxisValue()
518 bool EventHub::markSupportedKeyCodes(int32_t deviceId, size_t numCodes, const int32_t* keyCodes, in markSupportedKeyCodes()
546 status_t EventHub::mapKey(int32_t deviceId, int32_t scanCode, int32_t usageCode, int32_t metaState, in mapKey()
[all …]
/frameworks/base/core/java/android/hardware/input/
DIInputManager.aidl35 InputDevice getInputDevice(int deviceId); in getInputDevice()
39 boolean isInputDeviceEnabled(int deviceId); in isInputDeviceEnabled()
40 void enableInputDevice(int deviceId); in enableInputDevice()
41 void disableInputDevice(int deviceId); in disableInputDevice()
44 boolean hasKeys(int deviceId, int sourceMask, in int[] keyCodes, out boolean[] keyExists); in hasKeys()
86 void vibrate(int deviceId, in long[] pattern, int repeat, IBinder token); in vibrate()
87 void cancelVibrate(int deviceId, IBinder token); in cancelVibrate()
DInputManager.java1060 final int deviceId = mInputDevices.keyAt(i); in onInputDevicesChanged() local
1071 final int deviceId = deviceIdAndGeneration[i]; in onInputDevicesChanged() local
1096 private void sendMessageToInputDeviceListenersLocked(int what, int deviceId) { in sendMessageToInputDeviceListenersLocked()
1104 private static boolean containsDeviceId(int[] deviceIdAndGeneration, int deviceId) { in containsDeviceId()
1134 public Vibrator getInputDeviceVibrator(int deviceId) { in getInputDeviceVibrator()
1148 void onInputDeviceAdded(int deviceId); in onInputDeviceAdded()
1155 void onInputDeviceRemoved(int deviceId); in onInputDeviceRemoved()
1164 void onInputDeviceChanged(int deviceId); in onInputDeviceChanged()
1253 public InputDeviceVibrator(int deviceId) { in InputDeviceVibrator()
DInputManagerInternal.java58 public abstract void toggleCapsLock(int deviceId); in toggleCapsLock()
/frameworks/native/services/inputflinger/
DInputClassifier.cpp192 const int32_t deviceId = *(event.getDeviceId()); in processEvents() local
230 void MotionClassifier::updateClassification(int32_t deviceId, nsecs_t eventTime, in updateClassification()
244 void MotionClassifier::setClassification(int32_t deviceId, MotionClassification classification) { in setClassification()
254 MotionClassification MotionClassifier::getClassification(int32_t deviceId) { in getClassification()
259 void MotionClassifier::updateLastDownTime(int32_t deviceId, nsecs_t downTime) { in updateLastDownTime()
265 void MotionClassifier::clearDeviceState(int32_t deviceId) { in clearDeviceState()
291 int32_t deviceId = args.deviceId; in reset() local
324 for(int32_t deviceId : deviceIds) { in dump() local
/frameworks/av/services/audioflinger/
DDeviceEffectManager.h48 status_t addEffectToHal(audio_port_handle_t deviceId, audio_module_handle_t hwModuleId, in addEffectToHal()
52 status_t removeEffectFromHal(audio_port_handle_t deviceId, audio_module_handle_t hwModuleId, in removeEffectFromHal()
151 int32_t sessionId, int32_t deviceId, in createEffectHal()
194 status_t addEffectToHal(audio_port_handle_t deviceId, in addEffectToHal()
198 status_t removeEffectFromHal(audio_port_handle_t deviceId, in removeEffectFromHal()
/frameworks/base/services/core/jni/
Dcom_android_server_tv_TvInputHal.cpp81 jmethodID deviceId; member
124 tv_input_device_t* device, int deviceId, const tv_stream_t* stream) in BufferProducerThread()
341 int JTvInputHal::addOrUpdateStream(int deviceId, int streamId, const sp<Surface>& surface) { in addOrUpdateStream()
416 int JTvInputHal::removeStream(int deviceId, int streamId) { in removeStream()
445 const hidl_vec<TvStreamConfig> JTvInputHal::getStreamConfigs(int deviceId) { in getStreamConfigs()
505 void JTvInputHal::onDeviceUnavailable(int deviceId) { in onDeviceUnavailable()
522 void JTvInputHal::onStreamConfigurationsChanged(int deviceId) { in onStreamConfigurationsChanged()
538 void JTvInputHal::onCaptured(int deviceId, int streamId, uint32_t seq, bool succeeded) { in onCaptured()
600 jlong ptr, jint deviceId, jint streamId, jobject jsurface) { in nativeAddOrUpdateStream()
613 jlong ptr, jint deviceId, jint streamId) { in nativeRemoveStream()
[all …]
/frameworks/base/core/java/android/view/
DInputEventConsistencyVerifier.java209 final int deviceId = event.getDeviceId(); in onKeyEvent() local
346 final int deviceId = event.getDeviceId(); in onTouchEvent() local
598 final int deviceId = keyEvent.getDeviceId(); in onUnhandledEvent() local
744 private KeyState findKeyState(int deviceId, int source, int keyCode, boolean remove) { in findKeyState()
766 private void addKeyState(int deviceId, int source, int keyCode) { in addKeyState()
777 public int deviceId; field in InputEventConsistencyVerifier.KeyState
785 public static KeyState obtain(int deviceId, int source, int keyCode) { in obtain()
/frameworks/native/services/inputflinger/reader/mapper/
DTouchCursorInputMapperCommon.h61 int32_t deviceId, uint32_t source, int32_t displayId, in synthesizeButtonKey()
75 int32_t deviceId, uint32_t source, int32_t displayId, in synthesizeButtonKeys()
/frameworks/base/core/java/android/hardware/biometrics/
DIBiometricServiceLockoutResetCallback.aidl29 void onLockoutReset(long deviceId, IRemoteCallback callback); in onLockoutReset()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java204 int deviceId, int sourceMask, int scanCode); in nativeGetScanCodeState()
206 int deviceId, int sourceMask, int keyCode); in nativeGetKeyCodeState()
208 int deviceId, int sourceMask, int sw); in nativeGetSwitchState()
210 int deviceId, int sourceMask, int[] keyCodes, boolean[] keyExists); in nativeHasKeys()
222 private static native void nativeToggleCapsLock(long ptr, int deviceId); in nativeToggleCapsLock()
235 private static native void nativeVibrate(long ptr, int deviceId, long[] pattern, in nativeVibrate()
237 private static native void nativeCancelVibrate(long ptr, int deviceId, int token); in nativeCancelVibrate()
242 private static native boolean nativeIsInputDeviceEnabled(long ptr, int deviceId); in nativeIsInputDeviceEnabled()
243 private static native void nativeEnableInputDevice(long ptr, int deviceId); in nativeEnableInputDevice()
244 private static native void nativeDisableInputDevice(long ptr, int deviceId); in nativeDisableInputDevice()
[all …]
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DBandwidthTestUtil.java81 public static String buildDownloadUrl(String server, int size, String deviceId, in buildDownloadUrl()
126 public static boolean postFileToServer(String server, String deviceId, String timestamp, in postFileToServer()
/frameworks/native/services/inputflinger/tests/
DEventHub_test.cpp158 const int32_t deviceId = deviceAddedEvent.deviceId; in waitForDeviceCreation() local
166 void EventHubTest::waitForDeviceClose(int32_t deviceId) { in waitForDeviceClose()
DInputReader_test.cpp255 void addDisabledDevice(int32_t deviceId) { mConfig.disabledDevices.insert(deviceId); } in addDisabledDevice()
257 void removeDisabledDevice(int32_t deviceId) { mConfig.disabledDevices.erase(deviceId); } in removeDisabledDevice()
259 void setPointerController(int32_t deviceId, const sp<FakePointerController>& controller) { in setPointerController()
321 virtual sp<PointerControllerInterface> obtainPointerController(int32_t deviceId) { in obtainPointerController()
409 void addDevice(int32_t deviceId, const std::string& name, uint32_t classes) { in addDevice()
417 void removeDevice(int32_t deviceId) { in removeDevice()
424 bool isDeviceEnabled(int32_t deviceId) { in isDeviceEnabled()
433 status_t enableDevice(int32_t deviceId) { in enableDevice()
448 status_t disableDevice(int32_t deviceId) { in disableDevice()
465 void addConfigurationProperty(int32_t deviceId, const String8& key, const String8& value) { in addConfigurationProperty()
[all …]
/frameworks/base/media/java/android/media/tv/
DITvInputServiceCallback.aidl27 void addHardwareInput(in int deviceId, in TvInputInfo inputInfo); in addHardwareInput()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyboardShortcuts.java144 public static void show(Context context, int deviceId) { in show()
155 public static void toggle(Context context, int deviceId) { in toggle()
350 private void retrieveKeyCharacterMap(int deviceId) { in retrieveKeyCharacterMap()
374 private void showKeyboardShortcuts(int deviceId) { in showKeyboardShortcuts()
/frameworks/base/core/jni/
Dandroid_media_DeviceCallback.cpp64 audio_port_handle_t deviceId) in onAudioDeviceUpdate()
/frameworks/native/services/inputflinger/dispatcher/
DInputState.h81 int32_t deviceId; member
93 int32_t deviceId; member

123456