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

<<41424344454647484950>>

  /external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
BluetoothDeviceList.java 74 DeviceInfo device = (DeviceInfo) mAdapter.getItem(position); local
76 result.putExtra(Constants.EXTRA_DEVICE_ADDRESS, device.mmAddress);
111 final DeviceInfo device = mmDeviceList.get(position); local
115 view.setText(device.mmName + " (" + device.mmAddress + ")");
  /external/toybox/toys/other/
blkid.c 16 Prints type, label and UUID of filesystem on a block device or image.
24 Prints type of filesystem on a block device or image.
142 char *name = toybuf, *buffer = toybuf+1024, device[32]; local
150 sprintf(device, "/dev/%.20s", name);
151 if (-1 == (fd = open(device, O_RDONLY))) {
152 if (errno != ENOMEDIUM) perror_msg_raw(device);
154 do_blkid(fd, device);
  /hardware/libhardware/include/hardware/
gralloc.h 64 * Name of the graphics device to open
96 /* buffer will be used with the framebuffer device */
255 * if supported by the device, as well as with any other format that is
322 * Every device data structure must begin with hw_device_t
370 /** convenience API for opening and closing a supported device */
373 struct alloc_device_t** device) {
375 GRALLOC_HARDWARE_GPU0, (struct hw_device_t**)device);
378 static inline int gralloc_close(struct alloc_device_t* device) {
379 return device->common.close(&device->common)
    [all...]
hwcomposer.h 486 * Common methods of the hardware composer device. This *must* be the first member of
644 * later use. It will be called immediately after the composer device is
    [all...]
keymaster2.h 26 * Keymaster2 device definition
30 * Common methods of the keymaster device. This *must* be the first member of
46 * Configures keymaster. This method must be called once after the device is opened and before
68 * \param[in] dev The keymaster device structure.
100 * \param[in] dev The keymaster device structure.
128 * \param[in] dev The keymaster device structure.
170 * \param[in] dev The keymaster device structure.
199 * \param[in] dev The keymaster device structure.
226 * \param[in] dev The keymaster device structure.
250 * \param[in] dev The keymaster device structure
    [all...]
audio_policy.h 56 * - keep track of current system state (removable device connections, phone
76 * route (destination device). It also make sure that streams are not
88 /* indicate a change in device connection status */
90 audio_devices_t device,
94 /* retrieve a device connection status */
97 audio_devices_t device,
108 /* force using a specific device category for the specified usage */
113 /* retrieve current device category forced for a given usage */
156 /* request an input appropriate for record from the supplied device with
196 * index for the specified device
    [all...]
  /hardware/qcom/display/msm8084/libcopybit/
copybit.h 38 * Name of the graphics device to open
172 * Every device data structure must begin with hw_device_t
287 /** convenience API for opening and closing a device */
290 struct copybit_device_t** device) {
292 COPYBIT_HARDWARE_COPYBIT0, (struct hw_device_t**)device);
295 static inline int copybit_close(struct copybit_device_t* device) {
296 return device->common.close(&device->common);
  /hardware/qcom/display/msm8226/libcopybit/
copybit.h 38 * Name of the graphics device to open
172 * Every device data structure must begin with hw_device_t
287 /** convenience API for opening and closing a device */
290 struct copybit_device_t** device) {
292 COPYBIT_HARDWARE_COPYBIT0, (struct hw_device_t**)device);
295 static inline int copybit_close(struct copybit_device_t* device) {
296 return device->common.close(&device->common);
  /hardware/qcom/display/msm8909/libcopybit/
copybit.h 39 * Name of the graphics device to open
174 * Every device data structure must begin with hw_device_t
289 /** convenience API for opening and closing a device */
292 struct copybit_device_t** device) {
294 COPYBIT_HARDWARE_COPYBIT0, (struct hw_device_t**)device);
297 static inline int copybit_close(struct copybit_device_t* device) {
298 return device->common.close(&device->common);
  /hardware/qcom/display/msm8994/libcopybit/
copybit.h 39 * Name of the graphics device to open
175 * Every device data structure must begin with hw_device_t
290 /** convenience API for opening and closing a device */
293 struct copybit_device_t** device) {
295 COPYBIT_HARDWARE_COPYBIT0, (struct hw_device_t**)device);
298 static inline int copybit_close(struct copybit_device_t* device) {
299 return device->common.close(&device->common);
  /hardware/qcom/display/msm8996/libcopybit/
copybit.h 39 * Name of the graphics device to open
189 * Every device data structure must begin with hw_device_t
304 /** convenience API for opening and closing a device */
307 struct copybit_device_t** device) {
309 COPYBIT_HARDWARE_COPYBIT0, (struct hw_device_t**)device);
312 static inline int copybit_close(struct copybit_device_t* device) {
313 return device->common.close(&device->common);
  /packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
BondStateMachine.java 44 * {@link StableState} : No device is in bonding / unbonding state.
45 * {@link PendingCommandState} : Some device is in bonding / unbonding state.
205 // the device to the list again. This prevents us
206 // from pairing with a device that we just unpaired
233 if (btDeviceClass == BluetoothClass.Device.PERIPHERAL_KEYBOARD ||
234 btDeviceClass == BluetoothClass.Device.PERIPHERAL_KEYBOARD_POINTING) {
330 private void sendIntent(BluetoothDevice device, int newState, int reason) {
331 DeviceProperties devProp = mRemoteDevices.getDeviceProperties(device);
337 mAdapterProperties.onBondStateChanged(device, newState);
340 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device);
352 BluetoothDevice device = mRemoteDevices.getDevice(address); local
413 BluetoothDevice device = mRemoteDevices.getDevice(address); local
    [all...]
  /packages/apps/Camera2/src/com/android/camera/device/
LegacyCameraActions.java 17 package com.android.camera.device;
31 * Set of device actions for opening and closing a single Legacy camera
32 * device.
63 public void executeClose(SingleDeviceCloseListener closeListener, Camera device)
68 device,
82 * camera device.
101 Camera device = Camera.open(mCameraId); local
102 mResults.onDeviceOpened(device);
111 * Internal runnable that releases the Camera device.
  /sdk/dumpeventlog/src/com/android/dumpeventlog/
DumpEventLog.java 35 * Connects to a device using ddmlib and dumps its event log as long as the device is connected.
76 System.out.println("Usage: dumpeventlog <device s/n> <filepath>");
97 // we can't just ask for the device list right away, as the internal thread getting
111 System.err.println("Timeout getting device list!");
119 for (IDevice device : devices) {
120 if (device.getSerialNumber().equals(args[0])) {
122 grabLogFrom(device, args[1]);
138 private static void grabLogFrom(IDevice device, String filePath) throws IOException,
144 device.runEventLogService(receiver)
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/compute/
vktComputeBasicComputeShaderTests.cpp 190 const VkDevice device = m_context.getDevice(); local
201 const Buffer buffer(vk, device, allocator, makeBufferCreateInfo(bufferSizeBytes, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT), MemoryRequirement::HostVisible);
208 .build(vk, device));
213 .build(vk, device, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 1u));
215 const Unique<VkDescriptorSet> descriptorSet(makeDescriptorSet(vk, device, *descriptorPool, *descriptorSetLayout));
220 .update(vk, device);
224 const Unique<VkShaderModule> shaderModule(createShaderModule(vk, device, m_context.getBinaryCollection().get("comp"), 0u));
225 const Unique<VkPipelineLayout> pipelineLayout(makePipelineLayout(vk, device, *descriptorSetLayout));
226 const Unique<VkPipeline> pipeline(makeComputePipeline(vk, device, *pipelineLayout, *shaderModule));
230 const Unique<VkCommandPool> cmdPool(makeCommandPool(vk, device, queueFamilyIndex))
361 const VkDevice device = m_context.getDevice(); local
534 const VkDevice device = m_context.getDevice(); local
    [all...]
vktComputeTestsUtil.hpp 43 const vk::VkDevice device,
64 const vk::VkDevice device,
82 const vk::VkDevice device,
86 const vk::VkDevice device,
90 const vk::VkDevice device);
93 const vk::VkDevice device,
97 const vk::VkDevice device,
102 const vk::VkDevice device,
109 const vk::VkDevice device,
116 const vk::VkDevice device,
    [all...]
  /frameworks/av/services/audiopolicy/managerdefault/
AudioPolicyManager.cpp 56 status_t AudioPolicyManager::setDeviceConnectionState(audio_devices_t device,
61 return setDeviceConnectionStateInt(device, state, device_address, device_name);
64 status_t AudioPolicyManager::setDeviceConnectionStateInt(audio_devices_t device,
69 ALOGV("setDeviceConnectionStateInt() device: 0x%X, state %d, address %s name %s",
70 - device, state, device_address, device_name);
72 // connect/disconnect only 1 device at a time
73 if (!audio_is_output_device(device) && !audio_is_input_device(device)) return BAD_VALUE;
76 mHwModules.getDeviceDescriptor(device, device_address, device_name);
79 if (audio_is_output_device(device)) {
127 param.addInt(String8(AUDIO_PARAMETER_DEVICE_CONNECT), device); local
142 param.addInt(String8(AUDIO_PARAMETER_DEVICE_DISCONNECT), device); local
239 param.addInt(String8(AUDIO_PARAMETER_DEVICE_CONNECT), device); local
257 param.addInt(String8(AUDIO_PARAMETER_DEVICE_DISCONNECT), device); local
676 audio_devices_t device = getDeviceForStrategy(strategy, false \/*fromCache*\/); local
747 audio_devices_t device = getDeviceForStrategy(strategy, false \/*fromCache*\/); local
1379 audio_devices_t device; local
1967 audio_devices_t device = getDeviceForStrategy(strategy, false \/*fromCache*\/); local
2107 audio_devices_t device = mixes[i].mDeviceType; local
2820 audio_devices_t device = getDeviceForStrategy(strategy, false \/*fromCache*\/); local
3622 audio_devices_t device = devDesc->type(); local
3868 audio_devices_t device = devDesc->type(); local
4273 audio_devices_t device = AUDIO_DEVICE_NONE; local
4346 audio_devices_t device = getDeviceAndMixForInputSource(inputDesc->inputSource()); local
4530 audio_devices_t device = outputDesc->device(); local
4711 inputCmd.addInt(String8(AudioParameter::keyRouting),device); local
    [all...]
  /frameworks/base/services/core/java/com/android/server/display/
DisplayManagerService.java 86 * Display adapters communicate changes in display device state to the display manager
92 * the potential for deadlocks resulting from asynchronous display device discovery.
564 DisplayDevice device = mVirtualDisplayAdapter.createVirtualDisplayLocked( local
567 if (device == null) {
571 handleDisplayDeviceAddedLocked(device);
572 LogicalDisplay display = findLogicalDisplayForDeviceLocked(device);
581 handleDisplayDeviceRemovedLocked(device);
613 DisplayDevice device = local
615 if (device != null) {
616 handleDisplayDeviceRemovedLocked(device);
748 DisplayDevice device = mDisplayDevices.get(i); local
846 DisplayDevice device = mDisplayDevices.get(i); local
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DevicePickerActivity.java 44 * {@link Activity} that shows a list of paired and new devices and returns the device selected
45 * by the user. When the user selects a paired device, it forwards them to the Bluetooth settings
58 private ArrayAdapter<Device> mNewDevicesAdapter;
60 private ArrayAdapter<Device> mPairedDevicesAdapter;
73 mPairedDevicesAdapter = new ArrayAdapter<Device>(this, R.layout.bt_device_name);
81 mNewDevicesAdapter = new ArrayAdapter<Device>(this, R.layout.bt_device_name);
137 for (BluetoothDevice device : pairedDevices) {
138 mPairedDevicesAdapter.add(Device.fromBluetoothDevice(device));
155 Device device = (Device) parent.getItemAtPosition(position) local
193 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); local
    [all...]
  /cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
ReportLogCollector.java 22 import com.android.tradefed.device.DeviceNotAvailableException;
23 import com.android.tradefed.device.ITestDevice;
61 public void setUp(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError,
63 prepareReportLogContainers(device, buildInfo);
66 private void addBuildInfo(ITestDevice device, IBuildInfo buildInfo, String key, String value)
70 private void prepareReportLogContainers(ITestDevice device, IBuildInfo buildInfo) {
88 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable e) {
89 // Pull report log files from device.
106 pull(device, mSrcDir, hostReportDir, resultDir);
113 private void pull(ITestDevice device, String deviceSrc, File hostDir, File destDir)
    [all...]
  /external/mesa3d/src/gallium/state_trackers/vdpau/
device.c 40 vdp_imp_device_create_x11(Display *display, int screen, VdpDevice *device,
47 if (!(display && device && get_proc_address))
74 *device = vlAddDataHTAB(dev);
75 if (*device == 0) {
103 vlVdpPresentationQueueTargetCreateX11(VdpDevice device, Drawable drawable,
112 vlVdpDevice *dev = vlGetDataHTAB(device);
120 pqt->device = dev;
158 vlVdpDeviceDestroy(VdpDevice device)
160 vlVdpDevice *dev = vlGetDataHTAB(device);
179 vlVdpGetProcAddress(VdpDevice device, VdpFuncId function_id, void **function_pointer
    [all...]
  /external/tinyalsa/
tinyplay.c 63 void play_sample(FILE *file, unsigned int card, unsigned int device, unsigned int channels,
80 unsigned int device = 0; local
88 fprintf(stderr, "Usage: %s file.wav [-D card] [-d device] [-p period_size]"
134 device = atoi(*argv);
155 play_sample(file, card, device, chunk_fmt.num_channels, chunk_fmt.sample_rate,
172 fprintf(stderr, "%s is %u%s, device only supports >= %u%s\n", param_name, value,
179 fprintf(stderr, "%s is %u%s, device only supports <= %u%s\n", param_name, value,
187 int sample_is_playable(unsigned int card, unsigned int device, unsigned int channels,
194 params = pcm_params_get(card, device, PCM_OUT);
196 fprintf(stderr, "Unable to open PCM device %u.\n", device)
    [all...]
  /cts/hostsidetests/sample/src/android/sample/cts/
SampleHostResultTest.java 27 import com.android.tradefed.device.ITestDevice;
40 * Test to measure the transfer time of a file from the host to the device.
57 * The device-side location to write the file to.
74 * A reference to the device under test.
97 // Get the device, this gives a handle to run commands and install APKs.
102 * Measures the time taken to transfer a file to the device and then back.
109 final ITestDevice device = mDevice; local
110 // Create the device side path where the file will be transfered.
117 device.executeShellCommand(String.format("rm %s", devicePath));
125 assertTrue("Could not push file", device.pushFile(testFile, devicePath))
    [all...]
  /developers/build/prebuilts/gradle/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/
DeviceListActivity.java 41 * devices detected in the area after discovery. When a device is chosen
42 * by the user, the MAC address of the device is sent back to the parent
78 // Initialize the button to perform device discovery
103 // Register for broadcasts when a device is discovered
120 for (BluetoothDevice device : pairedDevices) {
121 pairedDevicesArrayAdapter.add(device.getName() + "\n" + device.getAddress());
143 * Start device discover with the BluetoothAdapter
173 // Get the device MAC address, which is the last 17 chars in the View
196 // When discovery finds a device
    [all...]
  /developers/samples/android/connectivity/bluetooth/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/
DeviceListActivity.java 41 * devices detected in the area after discovery. When a device is chosen
42 * by the user, the MAC address of the device is sent back to the parent
78 // Initialize the button to perform device discovery
103 // Register for broadcasts when a device is discovered
120 for (BluetoothDevice device : pairedDevices) {
121 pairedDevicesArrayAdapter.add(device.getName() + "\n" + device.getAddress());
143 * Start device discover with the BluetoothAdapter
173 // Get the device MAC address, which is the last 17 chars in the View
196 // When discovery finds a device
    [all...]

Completed in 510 milliseconds

<<41424344454647484950>>