/frameworks/base/core/java/android/hardware/fingerprint/ |
H A D | IFingerprintServiceReceiver.aidl | 27 void onEnrollResult(long deviceId, int fingerId, int groupId, int remaining); 28 void onAcquired(long deviceId, int acquiredInfo, int vendorCode); 29 void onAuthenticationSucceeded(long deviceId, in Fingerprint fp, int userId); 30 void onAuthenticationFailed(long deviceId); 31 void onError(long deviceId, int error, int vendorCode); 32 void onRemoved(long deviceId, int fingerId, int groupId, int remaining); 33 void onEnumerated(long deviceId, int fingerId, int groupId, int remaining);
|
H A D | IFingerprintServiceLockoutResetCallback.aidl | 32 void onLockoutReset(long deviceId, IRemoteCallback callback);
|
/frameworks/base/services/core/java/com/android/server/tv/ |
H A D | TvInputHal.java | 53 void onDeviceUnavailable(int deviceId); argument 54 void onStreamConfigurationChanged(int deviceId, TvStreamConfig[] configs); argument 55 void onFirstFrameCaptured(int deviceId, int streamId); argument 60 private static native int nativeAddOrUpdateStream(long ptr, int deviceId, int streamId, argument 62 private static native int nativeRemoveStream(long ptr, int deviceId, int streamId); argument 63 private static native TvStreamConfig[] nativeGetStreamConfigs(long ptr, int deviceId, argument 85 public int addOrUpdateStream(int deviceId, Surface surface, TvStreamConfig streamConfig) { argument 90 int generation = mStreamConfigGenerations.get(deviceId, 0); 94 if (nativeAddOrUpdateStream(mPtr, deviceId, streamConfig.getStreamId(), surface) == 0) { 102 public int removeStream(int deviceId, TvStreamConfi argument 127 retrieveStreamConfigsLocked(int deviceId) argument 141 deviceUnavailableFromNative(int deviceId) argument 145 streamConfigsChangedFromNative(int deviceId) argument 149 firstFrameCapturedFromNative(int deviceId, int streamId) argument [all...] |
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
H A D | TestMtpManager.java | 50 mDevices.put(device.deviceId, device); 53 void setObjectHandles(int deviceId, int storageId, int parentHandle, int[] objectHandles) { argument 54 mObjectHandles.put(pack(deviceId, storageId, parentHandle), objectHandles); 57 void setObjectInfo(int deviceId, MtpObjectInfo objectInfo) { argument 58 mObjectInfos.put(pack(deviceId, objectInfo.getObjectHandle()), objectInfo); 61 void setImportFileBytes(int deviceId, int objectHandle, byte[] bytes) { argument 62 mImportFileBytes.put(pack(deviceId, objectHandle), bytes); 65 byte[] getImportFileBytes(int deviceId, int objectHandle) { argument 66 return mImportFileBytes.get(pack(deviceId, objectHandle)); 69 void setThumbnail(int deviceId, in argument 73 setObjectSizeLong(int deviceId, int objectHandle, int format, long value) argument 94 openDevice(int deviceId) argument 107 closeDevice(int deviceId) argument 119 getObjectInfo(int deviceId, int objectHandle) argument 129 getObjectHandles(int deviceId, int storageId, int parentObjectHandle) argument 139 importFile(int deviceId, int objectHandle, ParcelFileDescriptor target) argument 153 createDocument(int deviceId, MtpObjectInfo objectInfo, ParcelFileDescriptor source) argument 181 getThumbnail(int deviceId, int objectHandle) argument 191 deleteDocument(int deviceId, int objectHandle) argument 201 getParent(int deviceId, int objectHandle) argument 211 getObject(int deviceId, int objectHandle, int expectedSize) argument 216 getPartialObject(int deviceId, int objectHandle, long offset, long size, byte[] buffer) argument 228 getObjectSizeLong(int deviceId, int objectHandle, int format) argument [all...] |
H A D | DocumentLoaderTest.java | 110 int[] getObjectHandles(int deviceId, int storageId, int parentObjectHandle) 129 MtpObjectInfo getObjectInfo(int deviceId, int objectHandle) throws IOException { 133 return super.getObjectInfo(deviceId, objectHandle); 208 void blockDocument(int deviceId, int objectHandle) { argument 209 blockedDocuments.put(pack(deviceId, objectHandle), new CountDownLatch(1)); 212 void unblockDocument(int deviceId, int objectHandle) { argument 213 blockedDocuments.get(pack(deviceId, objectHandle)).countDown(); 217 MtpObjectInfo getObjectInfo(int deviceId, int objectHandle) throws IOException { argument 218 final CountDownLatch latch = blockedDocuments.get(pack(deviceId, objectHandle)); 226 return super.getObjectInfo(deviceId, objectHandl [all...] |
/frameworks/base/media/native/midi/ |
H A D | midi_internal.h | 24 int32_t deviceId; member in struct:AMIDI_Device
|
/frameworks/av/services/oboeservice/ |
H A D | AAudioEndpointManager.cpp | 38 AAudioServiceEndpoint *AAudioEndpointManager::openEndpoint(AAudioService &audioService, int32_t deviceId, argument 46 endpoint = mInputs[deviceId]; 49 endpoint = mOutputs[deviceId]; 56 endpoint, deviceId, (int)direction); 62 if (capture->open(deviceId) != AAUDIO_OK) { 66 mInputs[deviceId] = capture; 71 if (player->open(deviceId) != AAUDIO_OK) { 75 mOutputs[deviceId] = player; 100 int32_t deviceId = serviceEndpoint->getDeviceId(); local 104 mInputs.erase(deviceId); [all...] |
H A D | AAudioServiceEndpointCapture.h | 30 aaudio_result_t open(int32_t deviceId) override;
|
H A D | AAudioServiceEndpointPlay.h | 40 aaudio_result_t open(int32_t deviceId) override;
|
H A D | AAudioServiceStreamMMAP.h | 92 void onRoutingChanged(audio_port_handle_t deviceId) override; 118 void onRoutingChanged(audio_port_handle_t deviceId) override { 119 mServiceCallback.onRoutingChanged(deviceId);
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
H A D | MtpManager.java | 76 synchronized MtpDeviceRecord openDevice(int deviceId) throws IOException { argument 79 if (candidate.getDeviceId() == deviceId) { 85 ensureNotNull(rawDevice, "Not found USB device: " + deviceId); 110 mDevices.put(deviceId, device); 114 synchronized void closeDevice(int deviceId) throws IOException { argument 115 getDevice(deviceId).close(); 116 mDevices.remove(deviceId); 130 MtpObjectInfo getObjectInfo(int deviceId, int objectHandle) throws IOException { argument 131 final MtpDevice device = getDevice(deviceId); 139 int[] getObjectHandles(int deviceId, in argument 149 getObject(int deviceId, int objectHandle, int expectedSize) argument 159 getPartialObject(int deviceId, int objectHandle, long offset, long size, byte[] buffer) argument 167 getPartialObject64(int deviceId, int objectHandle, long offset, long size, byte[] buffer) argument 175 getThumbnail(int deviceId, int objectHandle) argument 184 deleteDocument(int deviceId, int objectHandle) argument 193 createDocument(int deviceId, MtpObjectInfo objectInfo, ParcelFileDescriptor source) argument 211 getParent(int deviceId, int objectHandle) argument 222 importFile(int deviceId, int objectHandle, ParcelFileDescriptor target) argument 233 readEvent(int deviceId, CancellationSignal signal) argument 238 getObjectSizeLong(int deviceId, int objectHandle, int format) argument 243 getDevice(int deviceId) argument 249 getRoots(int deviceId) argument [all...] |
H A D | MtpDeviceRecord.java | 23 public final int deviceId; field in class:MtpDeviceRecord 31 MtpDeviceRecord(int deviceId, String name, @Nullable String deviceKey, boolean opened, argument 34 this.deviceId = deviceId;
|
H A D | MtpRoot.java | 32 MtpRoot(int deviceId, argument 38 mDeviceId = deviceId; 46 MtpRoot(int deviceId, MtpStorageInfo storageInfo) { argument 47 mDeviceId = deviceId;
|
/frameworks/native/services/inputflinger/ |
H A D | EventHub.h | 74 int32_t deviceId; member in struct:android::RawEvent 188 virtual uint32_t getDeviceClasses(int32_t deviceId) const = 0; 190 virtual InputDeviceIdentifier getDeviceIdentifier(int32_t deviceId) const = 0; 192 virtual int32_t getDeviceControllerNumber(int32_t deviceId) const = 0; 194 virtual void getConfiguration(int32_t deviceId, PropertyMap* outConfiguration) const = 0; 196 virtual status_t getAbsoluteAxisInfo(int32_t deviceId, int axis, 199 virtual bool hasRelativeAxis(int32_t deviceId, int axis) const = 0; 201 virtual bool hasInputProperty(int32_t deviceId, int property) const = 0; 203 virtual status_t mapKey(int32_t deviceId, 207 virtual status_t mapAxis(int32_t deviceId, int32_ [all...] |
H A D | InputListener.cpp | 45 NotifyKeyArgs::NotifyKeyArgs(nsecs_t eventTime, int32_t deviceId, uint32_t source, argument 49 eventTime(eventTime), deviceId(deviceId), source(source), policyFlags(policyFlags), 55 eventTime(other.eventTime), deviceId(other.deviceId), source(other.source), 69 NotifyMotionArgs::NotifyMotionArgs(nsecs_t eventTime, int32_t deviceId, uint32_t source, argument 75 eventTime(eventTime), deviceId(deviceId), source(source), policyFlags(policyFlags), 87 eventTime(other.eventTime), deviceId(other.deviceId), sourc 124 NotifyDeviceResetArgs(nsecs_t eventTime, int32_t deviceId) argument [all...] |
H A D | InputListener.h | 56 int32_t deviceId; member in struct:android::NotifyKeyArgs 68 NotifyKeyArgs(nsecs_t eventTime, int32_t deviceId, uint32_t source, uint32_t policyFlags, 83 int32_t deviceId; member in struct:android::NotifyMotionArgs 102 NotifyMotionArgs(nsecs_t eventTime, int32_t deviceId, uint32_t source, uint32_t policyFlags, 141 int32_t deviceId; member in struct:android::NotifyDeviceResetArgs 145 NotifyDeviceResetArgs(nsecs_t eventTime, int32_t deviceId);
|
/frameworks/base/core/jni/ |
H A D | android_view_KeyCharacterMap.h | 27 extern jobject android_view_KeyCharacterMap_create(JNIEnv* env, int32_t deviceId,
|
H A D | android_media_DeviceCallback.cpp | 65 audio_port_handle_t deviceId) 72 ALOGV("%s audioIo %d deviceId %d", __FUNCTION__, audioIo, deviceId); 76 AUDIO_NATIVE_EVENT_ROUTING_CHANGE, deviceId, 0, NULL); 64 onAudioDeviceUpdate(audio_io_handle_t audioIo, audio_port_handle_t deviceId) argument
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | AppCompatDelegateImplN.java | 46 List<KeyboardShortcutGroup> data, Menu menu, int deviceId) { 51 super.onProvideKeyboardShortcuts(data, panel.menu, deviceId); 54 super.onProvideKeyboardShortcuts(data, menu, deviceId); 45 onProvideKeyboardShortcuts( List<KeyboardShortcutGroup> data, Menu menu, int deviceId) argument
|
/frameworks/base/media/java/android/media/tv/ |
H A D | ITvInputServiceCallback.aidl | 27 void addHardwareInput(in int deviceId, in TvInputInfo inputInfo);
|
H A D | DvbDeviceInfo.java | 61 public DvbDeviceInfo(int adapterId, int deviceId) { argument 63 mDeviceId = deviceId;
|
/frameworks/av/include/media/ |
H A D | MmapStreamCallback.h | 50 virtual void onRoutingChanged(audio_port_handle_t deviceId) = 0;
|
/frameworks/av/media/libaaudio/src/legacy/ |
H A D | AudioStreamLegacy.h | 87 audio_port_handle_t deviceId) { 89 mParent->onAudioDeviceUpdate(deviceId); 101 void onAudioDeviceUpdate(audio_port_handle_t deviceId); 86 onAudioDeviceUpdate(audio_io_handle_t audioIo __unused, audio_port_handle_t deviceId) argument
|
H A D | AudioStreamLegacy.cpp | 143 void AudioStreamLegacy::onAudioDeviceUpdate(audio_port_handle_t deviceId) argument 145 ALOGD("onAudioDeviceUpdate() deviceId %d", (int)deviceId); 146 if (getDeviceId() != AAUDIO_UNSPECIFIED && getDeviceId() != deviceId && 159 setDeviceId(deviceId);
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_tv_TvInputHal.cpp | 81 jmethodID deviceId; member in struct:android::__anon1322 94 BufferProducerThread(tv_input_device_t* device, int deviceId, const tv_stream_t* stream); 124 tv_input_device_t* device, int deviceId, const tv_stream_t* stream) 127 mDeviceId(deviceId), 258 int addOrUpdateStream(int deviceId, int streamId, const sp<Surface>& surface); 259 int removeStream(int deviceId, int streamId); 260 const hidl_vec<TvStreamConfig> getStreamConfigs(int deviceId); 263 void onDeviceUnavailable(int deviceId); 264 void onStreamConfigurationsChanged(int deviceId); 265 void onCaptured(int deviceId, in 123 BufferProducerThread( tv_input_device_t* device, int deviceId, const tv_stream_t* stream) argument 340 addOrUpdateStream(int deviceId, int streamId, const sp<Surface>& surface) argument 410 removeStream(int deviceId, int streamId) argument 438 getStreamConfigs(int deviceId) argument 498 onDeviceUnavailable(int deviceId) argument 515 onStreamConfigurationsChanged(int deviceId) argument 531 onCaptured(int deviceId, int streamId, uint32_t seq, bool succeeded) argument 592 nativeAddOrUpdateStream(JNIEnv* env, jclass clazz, jlong ptr, jint deviceId, jint streamId, jobject jsurface) argument 605 nativeRemoveStream(JNIEnv* env, jclass clazz, jlong ptr, jint deviceId, jint streamId) argument 611 nativeGetStreamConfigs(JNIEnv* env, jclass clazz, jlong ptr, jint deviceId, jint generation) argument [all...] |