Home
last modified time | relevance | path

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

12345

/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()
397 public void releaseHardware(int deviceId, ITvInputHardware hardware, int callingUid, in releaseHardware()
440 int deviceId = findDeviceIdForInputIdLocked(inputId); in getAvailableTvStreamConfigList() local
461 int deviceId = findDeviceIdForInputIdLocked(inputId); in captureFrame() local
561 int deviceId = mConnections.keyAt(i); in dump() local
585 int deviceId = mHardwareInputIdMap.keyAt(i); in dump() local
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DTestMtpManager.java53 void setObjectHandles(int deviceId, int storageId, int parentHandle, int[] objectHandles) { in setObjectHandles()
57 void setObjectInfo(int deviceId, MtpObjectInfo objectInfo) { in setObjectInfo()
61 void setImportFileBytes(int deviceId, int objectHandle, byte[] bytes) { in setImportFileBytes()
65 byte[] getImportFileBytes(int deviceId, int objectHandle) { in getImportFileBytes()
69 void setThumbnail(int deviceId, int objectHandle, byte[] bytes) { in setThumbnail()
73 void setObjectSizeLong(int deviceId, int objectHandle, int format, long value) { in setObjectSizeLong()
94 synchronized MtpDeviceRecord openDevice(int deviceId) throws IOException { in openDevice()
107 synchronized void closeDevice(int deviceId) throws IOException { in closeDevice()
119 MtpObjectInfo getObjectInfo(int deviceId, int objectHandle) throws IOException { in getObjectInfo()
129 int[] getObjectHandles(int deviceId, int storageId, int parentObjectHandle) throws IOException { in getObjectHandles()
[all …]
DDocumentLoaderTest.java208 void blockDocument(int deviceId, int objectHandle) { in blockDocument()
212 void unblockDocument(int deviceId, int objectHandle) { in unblockDocument()
217 MtpObjectInfo getObjectInfo(int deviceId, int objectHandle) throws IOException { in getObjectInfo()
/frameworks/base/core/java/android/hardware/fingerprint/
DIFingerprintServiceReceiver.aidl27 void onEnrollResult(long deviceId, int fingerId, int groupId, int remaining); in onEnrollResult()
28 void onAcquired(long deviceId, int acquiredInfo, int vendorCode); in onAcquired()
29 void onAuthenticationSucceeded(long deviceId, in Fingerprint fp, int userId); in onAuthenticationSucceeded()
30 void onAuthenticationFailed(long deviceId); in onAuthenticationFailed()
31 void onError(long deviceId, int error, int vendorCode); in onError()
32 void onRemoved(long deviceId, int fingerId, int groupId, int remaining); in onRemoved()
33 void onEnumerated(long deviceId, int fingerId, int groupId, int remaining); in onEnumerated()
DIFingerprintServiceLockoutResetCallback.aidl32 void onLockoutReset(long deviceId, IRemoteCallback callback); in onLockoutReset()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpManager.java76 synchronized MtpDeviceRecord openDevice(int deviceId) throws IOException { in openDevice()
114 synchronized void closeDevice(int deviceId) throws IOException { in closeDevice()
130 MtpObjectInfo getObjectInfo(int deviceId, int objectHandle) throws IOException { in getObjectInfo()
139 int[] getObjectHandles(int deviceId, int storageId, int parentObjectHandle) in getObjectHandles()
149 byte[] getObject(int deviceId, int objectHandle, int expectedSize) in getObject()
159 long getPartialObject(int deviceId, int objectHandle, long offset, long size, byte[] buffer) in getPartialObject()
167 long getPartialObject64(int deviceId, int objectHandle, long offset, long size, byte[] buffer) in getPartialObject64()
175 byte[] getThumbnail(int deviceId, int objectHandle) throws IOException { in getThumbnail()
184 void deleteDocument(int deviceId, int objectHandle) throws IOException { in deleteDocument()
193 int createDocument(int deviceId, MtpObjectInfo objectInfo, in createDocument()
[all …]
DMtpRoot.java32 MtpRoot(int deviceId, in MtpRoot()
46 MtpRoot(int deviceId, MtpStorageInfo storageInfo) { in MtpRoot()
DMtpDeviceRecord.java23 public final int deviceId; field in MtpDeviceRecord
31 MtpDeviceRecord(int deviceId, String name, @Nullable String deviceKey, boolean opened, in MtpDeviceRecord()
DMtpDatabase.java136 final int deviceId = deviceCursor.getInt(0); in queryRoots() local
157 deviceId), in queryRoots() argument
298 @Nullable String getDocumentIdForDevice(int deviceId) { in getDocumentIdForDevice()
346 String getDeviceDocumentId(int deviceId) throws FileNotFoundException { in getDeviceDocumentId()
352 strings(deviceId, DOCUMENT_TYPE_DEVICE, ROW_STATE_DISCONNECTED), in getDeviceDocumentId()
377 int deviceId, String parentDocumentId, int[] operationsSupported, MtpObjectInfo info, in putNewDocument()
589 void updateObject(String documentId, int deviceId, String parentId, int[] operationsSupported, in updateObject()
612 @Nullable Identifier getUnmappedDocumentsParent(int deviceId) { in getUnmappedDocumentsParent()
631 strings(deviceId, ROW_STATE_VALID, ROW_STATE_INVALIDATED, DOCUMENT_TYPE_DEVICE, in getUnmappedDocumentsParent()
821 ContentValues values, int deviceId, String parentId, in getObjectDocumentValues()
DMtpDocumentsProvider.java551 void openDevice(int deviceId) throws IOException { in openDevice()
575 void closeDevice(int deviceId) throws IOException, InterruptedException { in closeDevice()
601 public String getDeviceDocumentId(int deviceId) throws FileNotFoundException { in getDeviceDocumentId()
655 private void closeDeviceInternal(int deviceId) throws IOException, InterruptedException { in closeDeviceInternal()
668 private DeviceToolkit getDeviceToolkit(int deviceId) throws FileNotFoundException { in getDeviceToolkit()
/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()
85 void vibrate(int deviceId, in long[] pattern, int repeat, IBinder token); in vibrate()
86 void cancelVibrate(int deviceId, IBinder token); in cancelVibrate()
DInputManager.java1027 final int deviceId = mInputDevices.keyAt(i); in onInputDevicesChanged() local
1038 final int deviceId = deviceIdAndGeneration[i]; in onInputDevicesChanged() local
1063 private void sendMessageToInputDeviceListenersLocked(int what, int deviceId) { in sendMessageToInputDeviceListenersLocked()
1071 private static boolean containsDeviceId(int[] deviceIdAndGeneration, int deviceId) { in containsDeviceId()
1101 public Vibrator getInputDeviceVibrator(int deviceId) { in getInputDeviceVibrator()
1115 void onInputDeviceAdded(int deviceId); in onInputDeviceAdded()
1122 void onInputDeviceRemoved(int deviceId); in onInputDeviceRemoved()
1131 void onInputDeviceChanged(int deviceId); in onInputDeviceChanged()
1220 public InputDeviceVibrator(int deviceId) { in InputDeviceVibrator()
/frameworks/native/services/inputflinger/
DEventHub.cpp291 void EventHub::getConfiguration(int32_t deviceId, PropertyMap* outConfiguration) const { in getConfiguration()
301 status_t EventHub::getAbsoluteAxisInfo(int32_t deviceId, int axis, in getAbsoluteAxisInfo()
331 bool EventHub::hasRelativeAxis(int32_t deviceId, int axis) const { in hasRelativeAxis()
343 bool EventHub::hasInputProperty(int32_t deviceId, int property) const { in hasInputProperty()
355 int32_t EventHub::getScanCodeState(int32_t deviceId, int32_t scanCode) const { in getScanCodeState()
371 int32_t EventHub::getKeyCodeState(int32_t deviceId, int32_t keyCode) const { in getKeyCodeState()
395 int32_t EventHub::getSwitchState(int32_t deviceId, int32_t sw) const { in getSwitchState()
411 status_t EventHub::getAbsoluteAxisValue(int32_t deviceId, int32_t axis, int32_t* outValue) const { in getAbsoluteAxisValue()
433 bool EventHub::markSupportedKeyCodes(int32_t deviceId, size_t numCodes, in markSupportedKeyCodes()
461 status_t EventHub::mapKey(int32_t deviceId, in mapKey()
[all …]
DInputListener.cpp45 NotifyKeyArgs::NotifyKeyArgs(nsecs_t eventTime, int32_t deviceId, uint32_t source, in NotifyKeyArgs()
69 NotifyMotionArgs::NotifyMotionArgs(nsecs_t eventTime, int32_t deviceId, uint32_t source, in NotifyMotionArgs()
124 NotifyDeviceResetArgs::NotifyDeviceResetArgs(nsecs_t eventTime, int32_t deviceId) : in NotifyDeviceResetArgs()
/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()
340 int JTvInputHal::addOrUpdateStream(int deviceId, int streamId, const sp<Surface>& surface) { in addOrUpdateStream()
410 int JTvInputHal::removeStream(int deviceId, int streamId) { in removeStream()
438 const hidl_vec<TvStreamConfig> JTvInputHal::getStreamConfigs(int deviceId) { in getStreamConfigs()
498 void JTvInputHal::onDeviceUnavailable(int deviceId) { in onDeviceUnavailable()
515 void JTvInputHal::onStreamConfigurationsChanged(int deviceId) { in onStreamConfigurationsChanged()
531 void JTvInputHal::onCaptured(int deviceId, int streamId, uint32_t seq, bool succeeded) { in onCaptured()
593 jlong ptr, jint deviceId, jint streamId, jobject jsurface) { in nativeAddOrUpdateStream()
606 jlong ptr, jint deviceId, jint streamId) { in nativeRemoveStream()
[all …]
/frameworks/base/core/java/android/view/
DInputEventConsistencyVerifier.java206 final int deviceId = event.getDeviceId(); in onKeyEvent() local
342 final int deviceId = event.getDeviceId(); in onTouchEvent() local
593 final int deviceId = keyEvent.getDeviceId(); in onUnhandledEvent() local
739 private KeyState findKeyState(int deviceId, int source, int keyCode, boolean remove) { in findKeyState()
761 private void addKeyState(int deviceId, int source, int keyCode) { in addKeyState()
772 public int deviceId; field in InputEventConsistencyVerifier.KeyState
780 public static KeyState obtain(int deviceId, int source, int keyCode) { in obtain()
/frameworks/base/media/native/midi/
Dmidi_internal.h24 int32_t deviceId; member
/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/
DInputReader_test.cpp163 void addDisabledDevice(int32_t deviceId) { in addDisabledDevice()
171 void removeDisabledDevice(int32_t deviceId) { in removeDisabledDevice()
179 void setPointerController(int32_t deviceId, const sp<FakePointerController>& controller) { in setPointerController()
230 virtual sp<PointerControllerInterface> obtainPointerController(int32_t deviceId) { in obtainPointerController()
408 void addDevice(int32_t deviceId, const String8& name, uint32_t classes) { in addDevice()
416 void removeDevice(int32_t deviceId) { in removeDevice()
423 bool isDeviceEnabled(int32_t deviceId) { in isDeviceEnabled()
432 status_t enableDevice(int32_t deviceId) { in enableDevice()
447 status_t disableDevice(int32_t deviceId) { in disableDevice()
464 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/core/jni/
Dandroid_media_DeviceCallback.cpp65 audio_port_handle_t deviceId) in onAudioDeviceUpdate()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java205 int deviceId, int sourceMask, int scanCode); in nativeGetScanCodeState()
207 int deviceId, int sourceMask, int keyCode); in nativeGetKeyCodeState()
209 int deviceId, int sourceMask, int sw); in nativeGetSwitchState()
211 int deviceId, int sourceMask, int[] keyCodes, boolean[] keyExists); in nativeHasKeys()
219 private static native void nativeToggleCapsLock(long ptr, int deviceId); in nativeToggleCapsLock()
231 private static native void nativeVibrate(long ptr, int deviceId, long[] pattern, in nativeVibrate()
233 private static native void nativeCancelVibrate(long ptr, int deviceId, int token); in nativeCancelVibrate()
238 private static native boolean nativeIsInputDeviceEnabled(long ptr, int deviceId); in nativeIsInputDeviceEnabled()
239 private static native void nativeEnableInputDevice(long ptr, int deviceId); in nativeEnableInputDevice()
240 private static native void nativeDisableInputDevice(long ptr, int deviceId); in nativeDisableInputDevice()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyboardShortcuts.java142 public static void show(Context context, int deviceId) { in show()
153 public static void toggle(Context context, int deviceId) { in toggle()
348 private void retrieveKeyCharacterMap(int deviceId) { in retrieveKeyCharacterMap()
372 private void showKeyboardShortcuts(int deviceId) { in showKeyboardShortcuts()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DAppCompatDelegateImplN.java46 List<KeyboardShortcutGroup> data, Menu menu, int deviceId) { in onProvideKeyboardShortcuts()

12345