Searched refs:device (Results 76 - 100 of 129) sorted by relevance

123456

/frameworks/base/services/java/com/android/server/display/
H A DLogicalDisplay.java33 * primary display device from which the logical display derives its basic properties
37 * primary display device. Note that the contents of a logical display may not
38 * always be visible, even on its primary display device, such as in the case where
39 * the primary display device is currently mirroring content from a different
47 * to be associated with any individual display device. Logical displays and
67 // The display device that this logical display is based on and which
95 * Gets the primary display device associated with this logical display.
97 * @return The primary display device.
106 * @return The device info, which should be treated as immutable by the caller.
160 * The logical display might become invalid if it is attached to a display device
231 configureDisplayInTransactionLocked(DisplayDevice device, boolean isBlanked) argument
[all...]
/frameworks/base/services/input/
H A DInputReader.cpp351 ALOGW("Ignoring spurious device added event for deviceId %d.", deviceId);
358 InputDevice* device = createDeviceLocked(deviceId, identifier, classes); local
359 device->configure(when, &mConfig, 0);
360 device->reset(when);
362 if (device->isIgnored()) {
363 ALOGI("Device added: id=%d, name='%s' (ignored non-input device)", deviceId,
367 identifier.name.string(), device->getSources());
370 mDevices.add(deviceId, device);
375 InputDevice* device = NULL; local
378 ALOGW("Ignoring spurious device remove
400 InputDevice* device = new InputDevice(&mContext, deviceId, bumpGenerationLocked(), local
466 InputDevice* device = mDevices.valueAt(deviceIndex); local
477 InputDevice* device = mDevices.valueAt(i); local
505 InputDevice* device = mDevices.valueAt(i); local
516 InputDevice* device = mDevices.valueAt(i); local
529 shouldDropVirtualKeyLocked(nsecs_t now, InputDevice* device, int32_t keyCode, int32_t scanCode) argument
545 InputDevice* device = mDevices.valueAt(i); local
571 InputDevice* device = mDevices.valueAt(i); local
605 InputDevice* device = mDevices.valueAt(deviceIndex); local
613 InputDevice* device = mDevices.valueAt(i); local
643 InputDevice* device = mDevices.valueAt(deviceIndex); local
652 InputDevice* device = mDevices.valueAt(i); local
681 InputDevice* device = mDevices.valueAt(deviceIndex); local
691 InputDevice* device = mDevices.valueAt(deviceIndex); local
794 shouldDropVirtualKey(nsecs_t now, InputDevice* device, int32_t keyCode, int32_t scanCode) argument
1101 reset(InputDevice* device) argument
1181 reset(InputDevice* device) argument
1215 configure(InputDevice* device) argument
1220 reset(InputDevice* device) argument
1254 configure(InputDevice* device) argument
1263 reset(InputDevice* device) argument
1487 reset(InputDevice* device) argument
1547 configure(InputDevice* device, size_t slotCount, bool usingSlotsProtocol) argument
1557 reset(InputDevice* device) argument
1727 InputMapper(InputDevice* device) argument
1803 SwitchInputMapper(InputDevice* device) argument
1853 VibratorInputMapper(InputDevice* device) argument
1967 KeyboardInputMapper(InputDevice* device, uint32_t source, int32_t keyboardType) argument
2233 CursorInputMapper(InputDevice* device) argument
2565 TouchInputMapper(InputDevice* device) argument
5806 SingleTouchInputMapper(InputDevice* device) argument
5876 MultiTouchInputMapper(InputDevice* device) argument
6023 JoystickInputMapper(InputDevice* device) argument
[all...]
H A DInputReader.h137 // The device name alias supplied by the may have changed for some devices.
149 // The excluded device names for the platform.
275 /* Gets a pointer controller associated with the specified cursor device (ie. a mouse). */
283 /* Gets the keyboard layout for a particular input device. */
286 /* Gets a user-supplied alias for a particular input device, or an empty string if none. */
336 /* Controls the vibrator of a particular input device. */
343 /* Internal interface used by individual input devices to access global input device state
356 InputDevice* device, int32_t keyCode, int32_t scanCode) = 0;
425 InputDevice* device, int32_t keyCode, int32_t scanCode);
453 // low-level input event decoding and device managemen
[all...]
/frameworks/base/core/jni/
H A Dandroid_hardware_UsbRequest.cpp47 struct usb_device* device = get_device_from_object(env, java_device); local
48 if (!device) {
49 ALOGE("device null in native_init");
62 struct usb_request* request = usb_request_new(device, &desc);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DBluetoothController.java105 for (BluetoothDevice device : devices) {
106 if (device.getBondState() != BluetoothDevice.BOND_NONE) {
107 mBondedDevices.add(device);
/frameworks/av/services/camera/libcameraservice/camera2/
H A DJpegProcessor.cpp69 sp<Camera2Device> device = client->getCameraDevice();
100 res = device->getStreamInfo(mCaptureStreamId,
112 res = device->deleteStream(mCaptureStreamId);
125 res = device->createStream(mCaptureWindow,
149 sp<Camera2Device> device = client->getCameraDevice();
151 device->deleteStream(mCaptureStreamId);
H A DFrameProcessor.cpp74 sp<Camera2Device> device; local
78 device = client->getCameraDevice();
79 if (device == 0) return false;
82 res = device->waitForNextFrame(kWaitDuration);
/frameworks/native/libs/utils/
H A DAndroid.mk18 # and once for the device.
99 # For the device
104 # we have the common sources, plus some device-specific stuff
/frameworks/base/core/tests/overlaytests/
H A Druntests.sh35 echo "Rebooting device"
36 $adb wait-for-device logcat -c
37 $adb wait-for-device logcat | grep -m 1 -e 'PowerManagerService.*bootCompleted' >/dev/null
102 echo "Syncing to device"
/frameworks/compile/mclinker/
H A Dmcld-device-build.mk36 $(LLVM_ROOT_PATH)/device/include \
/frameworks/av/include/media/
H A DAudioSystem.h186 static status_t setDeviceConnectionState(audio_devices_t device, audio_policy_dev_state_t state, const char *device_address);
187 static audio_policy_dev_state_t getDeviceConnectionState(audio_devices_t device, const char *device_address);
216 audio_devices_t device);
219 audio_devices_t device);
/frameworks/av/media/libmedia/
H A DIAudioPolicyService.cpp70 audio_devices_t device,
76 data.writeInt32(static_cast <uint32_t>(device));
84 audio_devices_t device,
89 data.writeInt32(static_cast <uint32_t>(device));
234 audio_devices_t device)
240 data.writeInt32(static_cast <uint32_t>(device));
247 audio_devices_t device)
252 data.writeInt32(static_cast <uint32_t>(device));
379 audio_devices_t device = local
384 reply->writeInt32(static_cast<uint32_t> (setDeviceConnectionState(device,
69 setDeviceConnectionState( audio_devices_t device, audio_policy_dev_state_t state, const char *device_address) argument
83 getDeviceConnectionState( audio_devices_t device, const char *device_address) argument
232 setStreamVolumeIndex(audio_stream_type_t stream, int index, audio_devices_t device) argument
245 getStreamVolumeIndex(audio_stream_type_t stream, int *index, audio_devices_t device) argument
392 audio_devices_t device = local
522 audio_devices_t device = static_cast <audio_devices_t>(data.readInt32()); local
533 audio_devices_t device = static_cast <audio_devices_t>(data.readInt32()); local
[all...]
/frameworks/compile/libbcc/bcinfo/
H A DAndroid.mk67 include $(LLVM_ROOT_PATH)/llvm-device-build.mk
/frameworks/compile/mclinker/lib/LD/
H A DAndroid.mk65 # For the device
107 # For the device
/frameworks/base/services/java/com/android/server/
H A DWiredAccessoryManager.java240 int device;
250 device = AudioManager.DEVICE_OUT_WIRED_HEADSET;
252 device = AudioManager.DEVICE_OUT_WIRED_HEADPHONE;
254 device = AudioManager.DEVICE_OUT_ANLG_DOCK_HEADSET;
256 device = AudioManager.DEVICE_OUT_DGTL_DOCK_HEADSET;
258 device = AudioManager.DEVICE_OUT_AUX_DIGITAL;
265 Slog.v(TAG, "device "+headsetName+((state == 1) ? " connected" : " disconnected"));
267 mAudioManager.setWiredDeviceConnectionState(device, state, headsetName);
/frameworks/wilhelm/src/
H A Ddata.c66 SLObjectItf device = pDataLocator->mIODevice.device; local
67 if (NULL != device) {
88 pDataLocator->mIODevice.device = NULL;
93 // check that device has the correct object ID and is realized,
95 result = AcquireStrongRef((IObject *) device, expectedObjectID);
97 SL_LOGE("%s: locatorType=IODEVICE, but device field %p has wrong " \
98 "object ID or is not realized", name, device);
99 pDataLocator->mIODevice.device = NULL;
124 // no default device I
[all...]
/frameworks/base/services/input/tests/
H A DInputReader_test.cpp339 Device* device = new Device(classes); local
340 device->identifier.name = name;
341 mDevices.add(deviceId, device);
358 Device* device = getDevice(deviceId); local
359 device->configuration.addProperty(key, value);
363 Device* device = getDevice(deviceId); local
364 device->configuration.addAll(configuration);
369 Device* device = getDevice(deviceId); local
378 device->absoluteAxes.add(axis, info);
382 Device* device local
387 Device* device = getDevice(deviceId); local
392 Device* device = getDevice(deviceId); local
397 Device* device = getDevice(deviceId); local
402 Device* device = getDevice(deviceId); local
408 Device* device = getDevice(deviceId); local
421 Device* device = getDevice(deviceId); local
426 Device* device = getDevice(deviceId); local
435 Device* device = getDevice(deviceId); local
466 Device* device = getDevice(deviceId); local
471 Device* device = getDevice(deviceId); local
476 Device* device = getDevice(deviceId); local
484 Device* device = getDevice(deviceId); local
497 Device* device = getDevice(deviceId); local
510 Device* device = getDevice(deviceId); local
526 getKey(Device* device, int32_t scanCode, int32_t usageCode) const argument
562 Device* device = getDevice(deviceId); local
573 Device* device = getDevice(deviceId); local
584 Device* device = getDevice(deviceId); local
596 Device* device = getDevice(deviceId); local
611 Device* device = getDevice(deviceId); local
632 Device* device = getDevice(deviceId); local
641 Device* device = getDevice(deviceId); local
646 Device* device = getDevice(deviceId); local
663 Device* device = getDevice(deviceId); local
755 shouldDropVirtualKey(nsecs_t now, InputDevice* device, int32_t keyCode, int32_t scanCode) argument
789 FakeInputMapper(InputDevice* device, uint32_t sources) argument
927 setNextDevice(InputDevice* device) argument
942 InputDevice* device = mNextDevice; local
994 InputDevice* device = mReader->newDevice(deviceId, name, classes); local
[all...]
/frameworks/base/wifi/java/android/net/wifi/p2p/
H A DWifiP2pService.java94 * communicate with this service to issue device discovery and connectivity requests
231 /* The target device is currently unavailable. */
237 /* The target device reached the limit of the number of the connectable device.
238 * For example, device limit or group limit is set. */
254 * but device B has removed the specified credential already. */
385 /* During a connection, supplicant can tell us that a device was lost. From a supplicant's
386 * perspective, the discovery stops during connection and it purges device since it does
387 * not get latest updates about the device without being in discovery state.
389 * From the framework perspective, the device i
[all...]
/frameworks/base/libs/hwui/
H A DAndroid.mk5 # defined in the current device/board configuration
/frameworks/native/libs/binder/
H A DAndroid.mk15 # we have the common sources, plus some device-specific stuff
/frameworks/av/media/mtp/
H A DMtpDevice.h63 MtpDevice(struct usb_device* device, int interface,
H A DMtpDataPacket.h109 int readDataWait(struct usb_device *device);
/frameworks/av/services/audioflinger/
H A DAudioPolicyService.h55 virtual status_t setDeviceConnectionState(audio_devices_t device,
59 audio_devices_t device,
90 audio_devices_t device);
93 audio_devices_t device);
312 // device connection state or routing
/frameworks/base/media/java/android/media/
H A DIAudioService.aidl152 void setWiredDeviceConnectionState(int device, int state, String name);
153 int setBluetoothA2dpDeviceConnectionState(in BluetoothDevice device, int state);
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothPbap.java223 * Get the currently connected remote Bluetooth device (PCE).
224 * @return The remote Bluetooth device, or null if not in connected or
242 * Returns true if the specified Bluetooth device is connected (does not
246 public boolean isConnected(BluetoothDevice device) { argument
247 if (VDBG) log("isConnected(" + device + ")");
250 return mService.isConnected(device);
280 * This is a simple heuristic that tries to guess if a device with the
283 * @return True if this device might support PBAP.

Completed in 1776 milliseconds

123456