/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
H A D | Mapper.java | 128 * @param deviceId Device ID 136 int deviceId, String parentId, 147 deviceId, 135 putChildDocuments( int deviceId, String parentId, int[] operationsSupported, MtpObjectInfo[] documents, long[] documentSizes) argument
|
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...] |
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | HdmiMhlControllerStub.java | 69 HdmiMhlLocalDeviceStub getLocalDeviceById(int deviceId) { argument
|
H A D | HdmiCecLocalDevicePlayback.java | 364 protected void sendStandby(int deviceId) { argument
|
/frameworks/base/services/core/java/com/android/server/storage/ |
H A D | AppFuseBridge.java | 167 private native int native_add_bridge(long loop, int mountId, int deviceId); argument
|
/frameworks/av/media/libaaudio/src/core/ |
H A D | AudioStreamBuilder.h | 116 AudioStreamBuilder* setDeviceId(int32_t deviceId) { argument 117 mDeviceId = deviceId;
|
H A D | AAudioAudio.cpp | 133 int32_t deviceId) 136 streamBuilder->setDeviceId(deviceId); 132 AAudioStreamBuilder_setDeviceId(AAudioStreamBuilder* builder, int32_t deviceId) argument
|
/frameworks/av/services/oboeservice/ |
H A D | AAudioServiceStreamMMAP.cpp | 89 audio_port_handle_t deviceId = configurationInput.getDeviceId(); local 133 &deviceId, 188 configurationOutput.setDeviceId(deviceId); 275 void AAudioServiceStreamMMAP::onRoutingChanged(audio_port_handle_t deviceId) { argument 277 deviceId, mPortHandle); 278 if (mPortHandle > 0 && mPortHandle != deviceId) { 281 mPortHandle = deviceId;
|
/frameworks/base/core/java/android/hardware/hdmi/ |
H A D | HdmiTvClient.java | 232 * @param deviceId device id to send the command to 234 public void sendStandby(int deviceId) { argument 236 mService.sendStandby(getDeviceType(), deviceId);
|
/frameworks/base/core/java/android/view/ |
H A D | WindowCallbackWrapper.java | 158 List<KeyboardShortcutGroup> data, Menu menu, int deviceId) { 159 mWrapped.onProvideKeyboardShortcuts(data, menu, deviceId); 157 onProvideKeyboardShortcuts( List<KeyboardShortcutGroup> data, Menu menu, int deviceId) argument
|
/frameworks/base/core/java/com/android/internal/view/ |
H A D | BaseIWindow.java | 124 public void requestAppKeyboardShortcuts(IResultReceiver receiver, int deviceId) { argument
|
/frameworks/base/core/jni/ |
H A D | android_view_KeyCharacterMap.cpp | 50 NativeKeyCharacterMap(int32_t deviceId, const sp<KeyCharacterMap>& map) : argument 51 mDeviceId(deviceId), mMap(map) { 71 jobject android_view_KeyCharacterMap_create(JNIEnv* env, int32_t deviceId, argument 73 NativeKeyCharacterMap* map = new NativeKeyCharacterMap(deviceId, 89 int32_t deviceId = parcel->readInt32(); local 99 NativeKeyCharacterMap* map = new NativeKeyCharacterMap(deviceId, kcm);
|
/frameworks/base/media/java/android/media/tv/ |
H A D | TvInputHardwareInfo.java | 199 public Builder deviceId(int deviceId) { argument 200 mDeviceId = deviceId;
|
/frameworks/base/media/tests/NativeMidiDemo/java/com/example/android/nativemididemo/ |
H A D | NativeMidi.java | 348 private native void startReadingMidi(int deviceId, int portNumber); argument
|
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
H A D | MtpDocumentsProviderTest.java | 75 0 /* deviceId */, 113 0 /* deviceId */, 137 0 /* deviceId */, 169 assertEquals(0, openedDevice[0].deviceId); 182 0 /* deviceId */, 198 1 /* deviceId */, 260 1 /* deviceId */, 376 0 /* deviceId */, 400 0 /* deviceId */, 424 0 /* deviceId */, 950 setupRoots(int deviceId, MtpRoot[] roots) argument 961 setupDocuments( int deviceId, int storageId, int parentHandle, String parentDocumentId, MtpObjectInfo[] objects) argument [all...] |
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...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | KeyboardShortcuts.java | 142 public static void show(Context context, int deviceId) { argument 149 getInstance(context).showKeyboardShortcuts(deviceId); 153 public static void toggle(Context context, int deviceId) { argument 158 show(context, deviceId); 348 private void retrieveKeyCharacterMap(int deviceId) { argument 351 if (deviceId != -1) { 352 final InputDevice inputDevice = inputManager.getInputDevice(deviceId); 372 private void showKeyboardShortcuts(int deviceId) { argument 373 retrieveKeyCharacterMap(deviceId); 386 }, deviceId); [all...] |
/frameworks/base/services/core/java/com/android/server/statusbar/ |
H A D | StatusBarManagerInternal.java | 38 void toggleKeyboardShortcutsMenu(int deviceId); argument
|
/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/services/tests/servicestests/src/com/android/server/wm/ |
H A D | TestIWindow.java | 106 public void requestAppKeyboardShortcuts(IResultReceiver receiver, int deviceId) argument
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeWindow.java | 107 IResultReceiver receiver, int deviceId) throws RemoteException { 106 requestAppKeyboardShortcuts( IResultReceiver receiver, int deviceId) argument
|
/frameworks/native/libs/input/tests/ |
H A D | InputPublisherAndConsumer_test.cpp | 74 const int32_t deviceId = 1; local 85 status = mPublisher->publishKeyEvent(seq, deviceId, source, action, flags, 103 EXPECT_EQ(deviceId, keyEvent->getDeviceId()); 133 const int32_t deviceId = 1; local 167 status = mPublisher->publishMotionEvent(seq, deviceId, source, action, actionButton, 187 EXPECT_EQ(deviceId, motionEvent->getDeviceId());
|
/frameworks/native/services/inputflinger/ |
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/support/v7/appcompat/src/android/support/v7/view/ |
H A D | WindowCallbackWrapper.java | 176 List<KeyboardShortcutGroup> data, Menu menu, int deviceId) { 177 mWrapped.onProvideKeyboardShortcuts(data, menu, deviceId); 175 onProvideKeyboardShortcuts( List<KeyboardShortcutGroup> data, Menu menu, int deviceId) argument
|