HomeSort by relevance Sort by last modified time
    Searched refs:device (Results 1526 - 1550 of 4438) sorted by null

<<61626364656667686970>>

  /cts/hostsidetests/services/activitymanager/src/android/server/cts/
ActivityAndWindowManagersState.java 19 import com.android.tradefed.device.ITestDevice;
54 * Compute AM and WM state of device, check sanity and bounds.
57 * @param device test device.
60 void computeState(ITestDevice device, String[] waitForActivitiesVisible) throws Exception {
61 computeState(device, waitForActivitiesVisible, true);
65 * Compute AM and WM state of device, check sanity and bounds.
68 * @param device test device.
73 void computeState(ITestDevice device, String[] waitForActivitiesVisible
    [all...]
  /external/vulkan-validation-layers/tests/
vkrenderframework.h 42 class VkDeviceObj : public vk_testing::Device {
49 VkDevice device() { return handle(); } function in class:VkDeviceObj
62 void Init(VkDeviceObj *device, int32_t width, int32_t height,
82 VkDevice device() { return m_device->device(); } function in class:VkRenderFramework
173 VkCommandBufferObj(VkDeviceObj *device, VkCommandPool pool);
237 VkConstantBufferObj(VkDeviceObj *device);
238 VkConstantBufferObj(VkDeviceObj *device, int constantCount,
274 VkIndexBufferObj(VkDeviceObj *device);
340 VkDeviceObj *device() const { return m_device; function in class:VkImageObj
    [all...]
  /external/webrtc/webrtc/sound/
alsasoundsystem.cc 50 // We translate newlines in ALSA device descriptions to hyphens.
486 bool AlsaSoundSystem::GetDefaultPlaybackDevice(SoundDeviceLocator **device) {
487 return GetDefaultDevice(device);
490 bool AlsaSoundSystem::GetDefaultCaptureDevice(SoundDeviceLocator **device) {
491 return GetDefaultDevice(device);
495 const SoundDeviceLocator *device,
498 device,
505 const SoundDeviceLocator *device,
508 device,
556 // Wrong type of device (i.e., input vs. output)
581 AlsaDeviceLocator *device = new AlsaDeviceLocator(desc, name); local
    [all...]
  /hardware/qcom/audio/legacy/alsa_sound/
AudioHardwareALSA.h 238 status_t setVolume(uint32_t device, float left, float right);
239 status_t setGain(uint32_t device, float gain);
241 status_t setCaptureMuteState(uint32_t device, bool state);
242 status_t getCaptureMuteState(uint32_t device, bool *state);
243 status_t setPlaybackMuteState(uint32_t device, bool state);
244 status_t getPlaybackMuteState(uint32_t device, bool *state);
251 ALSAControl(const char *device = "/dev/snd/controlC0");
269 status_t set(int *format, uint32_t *channels, uint32_t *rate, uint32_t device);
534 void doRouting(int device);
536 void handleFm(int device);
    [all...]
  /device/generic/goldfish/camera/
EmulatedCamera3.cpp 79 status_t EmulatedCamera3::connectCamera(hw_device_t** device) {
81 if (device == NULL) return BAD_VALUE;
89 *device = &common;
104 * Camera Device API implementation.
235 int EmulatedCamera3::close(struct hw_device_t* device) {
238 reinterpret_cast<camera3_device_t*>(device) );
240 ALOGE("%s: Unexpected NULL camera3 device", __FUNCTION__);
  /external/chromium-trace/catapult/systrace/profile_chrome/
chrome_controller.py 19 def __init__(self, device, package_info,
22 self._device = device
40 def GetCategories(device, package_info):
41 with device.GetLogcatMonitor() as logmon:
42 device.BroadcastIntent(intent.Intent(
  /external/chromium-trace/catapult/telemetry/telemetry/internal/backends/
android_app_backend.py 31 def device(self): member in class:AndroidAppBackend
32 return self.platform_backend.device
36 self._app_ui = app_ui.AppUi(self.device, self._start_intent.package)
49 self.device.StartActivity(
72 self.device, backend_settings, webview_startup_args):
  /external/chromium-trace/catapult/telemetry/telemetry/internal/platform/power_monitor/
monsoon_power_monitor.py 16 def _MonitorPower(device, is_collecting, output):
19 device: A profiler.monsoon object to collect samples from.
28 device.StartDataCollection()
31 device.CollectData()
34 new_data = device.CollectData()
35 assert new_data, 'Unable to collect data from device'
39 device.StopDataCollection()
  /external/mesa3d/src/gallium/drivers/nouveau/
nouveau_screen.c 33 struct nouveau_device *dev = nouveau_screen(pscreen)->device;
85 struct nouveau_device *dev = nouveau_screen(pscreen)->device;
146 screen->device = dev;
148 ret = nouveau_client_new(screen->device, &screen->client);
205 nouveau_device_del(&screen->device);
  /external/opencv3/samples/gpu/
driver_api_stereo_multi.cpp 151 CUdevice device; local
152 safeCall(cuDeviceGet(&device, 0));
153 safeCall(cuCtxCreate(&contexts[0], 0, device));
157 safeCall(cuDeviceGet(&device, 1));
158 safeCall(cuCtxCreate(&contexts[1], 0, device));
  /external/webrtc/talk/media/devices/
devicemanager.h 35 #include "talk/media/base/device.h"
68 // Device enumeration
69 virtual bool GetAudioInputDevices(std::vector<Device>* devices) = 0;
70 virtual bool GetAudioOutputDevices(std::vector<Device>* devices) = 0;
72 virtual bool GetAudioInputDevice(const std::string& name, Device* out) = 0;
73 virtual bool GetAudioOutputDevice(const std::string& name, Device* out) = 0;
75 virtual bool GetVideoCaptureDevices(std::vector<Device>* devs) = 0;
76 virtual bool GetVideoCaptureDevice(const std::string& name, Device* out) = 0;
78 // If the device manager needs to create video capturers, here is
96 // Device creatio
    [all...]
  /external/webrtc/webrtc/modules/desktop_capture/
mouse_cursor_monitor_win.cc 142 DISPLAY_DEVICE device; local
143 device.cb = sizeof(device);
144 BOOL result = EnumDisplayDevices(NULL, screen_, &device, 0);
152 device.DeviceName, ENUM_CURRENT_SETTINGS, &device_mode, 0);
  /frameworks/base/media/java/android/media/audiopolicy/
AudioMix.java 74 * the audio signal, i.e. an output device for an output mix, or a recording for an input mix.
298 * Sets the audio device used for playback. Cannot be used in the context of an audio
301 * @param device a non-null AudioDeviceInfo describing the audio device to play the output
307 public Builder setDevice(@NonNull AudioDeviceInfo device) throws IllegalArgumentException {
308 if (device == null) {
311 if (!device.isSink()) {
312 throw new IllegalArgumentException("Unsupported device type on mix, not a sink");
314 mDeviceSystemType = AudioDeviceInfo.convertDeviceTypeToInternalDevice(device.getType());
315 mDeviceAddress = device.getAddress()
    [all...]
  /frameworks/base/services/core/jni/
com_android_server_UsbMidiDevice.cpp 43 jint card, jint device)
51 // This control device may not have been created yet. So we should
63 // Typically the device should be ready in 5-10 milliseconds.
70 info.device = device;
84 android_server_UsbMidiDevice_open(JNIEnv *env, jobject thiz, jint card, jint device,
89 snprintf(path, sizeof(path), "/dev/snd/midiC%dD%d", card, device);
  /hardware/libhardware/include/hardware/
keymaster1.h 26 * Keymaster1 device definition
30 * Common methods of the keymaster device. This *must* be the first member of
126 * \param[in] dev The keymaster device structure.
140 * \param[in] dev The keymaster device structure.
159 * \param[in] dev The keymaster device structure.
178 * \param[in] dev The keymaster device structure.
197 * \param[in] dev The keymaster device structure.
215 * \param[in] dev The keymaster device structure.
236 * \param[in] dev The keymaster device structure.
268 * \param[in] dev The keymaster device structure
    [all...]
  /hardware/qcom/audio/msm8909/post_proc/
effect_api.h 42 uint32_t device);
59 uint32_t device);
79 uint32_t device);
98 void offload_eq_set_device(struct eq_params *eq, uint32_t device);
137 void offload_reverb_set_device(struct reverb_params *reverb, uint32_t device);
  /packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/
HfpClientConnectionService.java 54 // Currently active device.
56 // Phone account associated with the above device.
74 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE);
78 Log.d(TAG, "Established connection with " + device);
80 if (device.equals(mDevice)) {
82 Log.w(TAG, "Got connected for previously connected device, ignoring.");
84 // Since we are connected to a new device close down the previous
90 // Reset the device and the phone account associated.
91 mDevice = device;
93 getAccount(HfpClientConnectionService.this, device);
314 BluetoothDevice device = getDevice(getHandle()); local
355 BluetoothDevice device = getDevice(getHandle()); local
    [all...]
  /packages/apps/Settings/src/com/android/settings/bluetooth/
DevicePickerFragment.java 129 BluetoothDevice device = cachedDevice.getDevice(); local
130 if (device.equals(mSelectedDevice)) {
131 sendDevicePickedIntent(device);
146 private void sendDevicePickedIntent(BluetoothDevice device) {
148 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device);
DockEventReceiver.java 53 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); local
56 Log.d(TAG, "Action: " + intent.getAction() + " State:" + state + " Device: "
57 + (device == null ? "null" : device.getAliasName()));
62 if ((device == null) && (ACTION_DOCK_SHOW_UI.endsWith(intent.getAction()) ||
66 "Wrong state: "+state+" or intent: "+intent.toString()+" with null device");
97 if (device == null) {
98 if (DEBUG) Log.d(TAG, "Device is missing");
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/X11/extensions/
XKBsrv.h 149 DeviceIntPtr device; member in struct:_XkbSrvInfo
242 #define WRAP_PROCESS_INPUT_PROC(device, oldprocs, proc, unwrapproc) \
243 device->public.processInputProc = proc; \
245 oldprocs->realInputProc = device->public.realInputProc; \
246 device->public.realInputProc = proc; \
247 oldprocs->unwrapProc = device->unwrapProc; \
248 device->unwrapProc = unwrapproc;
250 #define COND_WRAP_PROCESS_INPUT_PROC(device, oldprocs, proc, unwrapproc) \
251 if (device->public.processInputProc == device->public.realInputProc)
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/X11/extensions/
XKBsrv.h 149 DeviceIntPtr device; member in struct:_XkbSrvInfo
242 #define WRAP_PROCESS_INPUT_PROC(device, oldprocs, proc, unwrapproc) \
243 device->public.processInputProc = proc; \
245 oldprocs->realInputProc = device->public.realInputProc; \
246 device->public.realInputProc = proc; \
247 oldprocs->unwrapProc = device->unwrapProc; \
248 device->unwrapProc = unwrapproc;
250 #define COND_WRAP_PROCESS_INPUT_PROC(device, oldprocs, proc, unwrapproc) \
251 if (device->public.processInputProc == device->public.realInputProc)
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
HoverOverlay.java 23 import org.eclipse.swt.graphics.Device;
77 public void create(Device device) {
79 mHoverStrokeColor = new Color(device, SwtDrawingStyle.HOVER.getStrokeColor());
82 mHoverFillColor = new Color(device, SwtDrawingStyle.HOVER.getFillColor());
86 mHoverSelectStrokeColor = new Color(device,
90 mHoverSelectFillColor = new Color(device,
  /sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/launch/
NdkGdbLaunchDelegate.java 146 // Obtain device to use:
147 // - if there is only 1 device, just use that
148 // - if we have previously launched this config, and the device used is present, use that
152 IDevice device = null; local
155 device = devices[0];
156 } else if ((device = getLastUsedDevice(config, devices)) == null) {
180 device = response.getDeviceToUse();
183 // ndk-gdb requires device > Froyo
185 AndroidVersion deviceVersion = Sdk.getDeviceVersion(device);
196 // get Device AB
    [all...]
  /external/autotest/client/bin/input/
input_device.py 13 """ Read properties and events of a linux input device. """
95 Linux evdev input device
97 A linux kernel "evdev" device sends a stream of "input events".
102 A given input device supports a subset of the possible types, and for
105 The device maintains a "valuator" for each supported type/code pairs.
120 In each input report, the device sends an unordered list of all
127 The device maintains a list of slots, where each slot contains a
128 single contact. In each input report, the device only sends
145 Constructor opens the device file and probes its properties.
147 Note: The device file is left open when the constructor exits
635 device = InputDevice(path) variable
646 device = InputDevice(path) variable
649 device = None variable
    [all...]
  /external/libpcap/
pcap-linux.c 73 * - The loopback device gives every packet twice; on 2.2[.x] kernels,
296 char *device; /* device name */ member in struct:pcap_linux
303 int ifindex; /* interface index of device we're bound to */
304 int lo_ifindex; /* interface index of the loopback device */
306 char *mondevice; /* mac80211 monitor device we created */
412 static int iface_get_id(int fd, const char *device, char *ebuf);
414 static int iface_get_mtu(int fd, const char *device, char *ebuf);
415 static int iface_get_arptype(int fd, const char *device, char *ebuf);
419 static int has_wext(int sock_fd, const char *device, char *ebuf)
1307 const char *device; local
3143 const char *device = handle->opt.source; local
6046 const char *device = handle->opt.source; local
    [all...]

Completed in 892 milliseconds

<<61626364656667686970>>