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

<<61626364656667686970>>

  /prebuilts/misc/windows/sdl2/test/
testgamecontroller.c 296 int device = atoi(argv[1]); local
297 if (device >= SDL_NumJoysticks()) {
298 SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "%i is an invalid joystick index.\n", device);
301 SDL_JoystickGetGUIDString(SDL_JoystickGetDeviceGUID(device),
303 SDL_Log("Attempting to open device %i, guid %s\n", device, guid);
304 gamecontroller = SDL_GameControllerOpen(device);
309 SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Couldn't open gamecontroller %d: %s\n", device, SDL_GetError());
  /system/connectivity/shill/pppoe/
pppoe_service_unittest.cc 140 // Setup device factory.
146 MockPPPDevice* device = new MockPPPDevice( local
151 .WillOnce(Return(device));
152 EXPECT_CALL(device_info_, RegisterDevice(IsRefPtrTo(device)));
153 EXPECT_CALL(*device, SetEnabled(true));
154 EXPECT_CALL(*device, SelectService(_));
155 EXPECT_CALL(*device, UpdateIPConfigFromPPP(params, false));
159 EXPECT_CALL(*device, AcquireIPv6Config());
  /bootable/recovery/
recovery.cpp 52 #include "device.h"
660 int menu_only, int initial_selection, Device* device) {
683 int action = device->HandleMenuKey(key, visible);
687 case Device::kHighlightUp:
690 case Device::kHighlightDown:
693 case Device::kInvokeItem:
696 case Device::kNoAction:
713 static char* browse_directory(const char* path, Device* device) {
1389 Device* device = make_device(); local
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
BluetoothChatService.java 37 * incoming connections, a thread for connecting with a device, and a
81 public static final int STATE_CONNECTED = 3; // now connected to a remote device
139 * Start the ConnectThread to initiate a connection to a remote device.
140 * @param device The BluetoothDevice to connect
143 public synchronized void connect(BluetoothDevice device, boolean secure) {
144 if (D) Log.d(TAG, "connect to: " + device);
154 // Start the thread to connect with the given device
155 mConnectThread = new ConnectThread(device, secure);
163 * @param device The BluetoothDevice that has been connected
166 device, final String socketType)
    [all...]
BleServerService.java 279 public void onConnectionStateChange(BluetoothDevice device, int status, int newState) {
283 mDevice = device;
301 public void onCharacteristicReadRequest(BluetoothDevice device, int requestId,
310 mGattServer.sendResponse(device, requestId, BluetoothGatt.GATT_SUCCESS, 0,
315 public void onCharacteristicWriteRequest(BluetoothDevice device, int requestId,
330 mGattServer.sendResponse(device, requestId, BluetoothGatt.GATT_SUCCESS, 0, null);
334 public void onDescriptorReadRequest(BluetoothDevice device, int requestId,
344 mGattServer.sendResponse(device, requestId, BluetoothGatt.GATT_SUCCESS, 0,
349 public void onDescriptorWriteRequest(BluetoothDevice device, int requestId,
363 mGattServer.sendResponse(device, requestId, BluetoothGatt.GATT_SUCCESS, 0, null)
    [all...]
  /developers/build/prebuilts/gradle/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/
BluetoothChatService.java 38 * incoming connections, a thread for connecting with a device, and a
68 public static final int STATE_CONNECTED = 3; // now connected to a remote device
135 * Start the ConnectThread to initiate a connection to a remote device.
137 * @param device The BluetoothDevice to connect
140 public synchronized void connect(BluetoothDevice device, boolean secure) {
141 Log.d(TAG, "connect to: " + device);
157 // Start the thread to connect with the given device
158 mConnectThread = new ConnectThread(device, secure);
167 * @param device The BluetoothDevice that has been connected
170 device, final String socketType)
    [all...]
  /developers/samples/android/connectivity/bluetooth/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/
BluetoothChatService.java 38 * incoming connections, a thread for connecting with a device, and a
68 public static final int STATE_CONNECTED = 3; // now connected to a remote device
135 * Start the ConnectThread to initiate a connection to a remote device.
137 * @param device The BluetoothDevice to connect
140 public synchronized void connect(BluetoothDevice device, boolean secure) {
141 Log.d(TAG, "connect to: " + device);
157 // Start the thread to connect with the given device
158 mConnectThread = new ConnectThread(device, secure);
167 * @param device The BluetoothDevice that has been connected
170 device, final String socketType)
    [all...]
  /development/samples/BluetoothChat/src/com/example/android/BluetoothChat/
BluetoothChatService.java 37 * incoming connections, a thread for connecting with a device, and a
68 public static final int STATE_CONNECTED = 3; // now connected to a remote device
125 * Start the ConnectThread to initiate a connection to a remote device.
126 * @param device The BluetoothDevice to connect
129 public synchronized void connect(BluetoothDevice device, boolean secure) {
130 if (D) Log.d(TAG, "connect to: " + device);
140 // Start the thread to connect with the given device
141 mConnectThread = new ConnectThread(device, secure);
149 * @param device The BluetoothDevice that has been connected
152 device, final String socketType)
    [all...]
  /development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/
BluetoothChatService.java 38 * incoming connections, a thread for connecting with a device, and a
68 public static final int STATE_CONNECTED = 3; // now connected to a remote device
135 * Start the ConnectThread to initiate a connection to a remote device.
137 * @param device The BluetoothDevice to connect
140 public synchronized void connect(BluetoothDevice device, boolean secure) {
141 Log.d(TAG, "connect to: " + device);
157 // Start the thread to connect with the given device
158 mConnectThread = new ConnectThread(device, secure);
167 * @param device The BluetoothDevice that has been connected
170 device, final String socketType)
    [all...]
  /external/skia/src/opts/
SkBlitMask_opts_arm_neon.cpp 140 reg = vld1q_lane_u16(device, reg, n); \
141 device = (uint16_t*)((char*)device + deviceRB);
147 void SkRGB16BlitterBlitV_neon(uint16_t* device,
154 uint16_t* dst = device;
203 uint32_t dst32 = SkExpand_rgb_16(*device) * scale;
204 *device = SkCompact_rgb_16((src32 + dst32) >> 5);
205 device = (uint16_t*)((char*)device + deviceRB);
  /packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/
MtpImageView.java 84 public void setMtpDeviceAndObjectInfo(MtpDevice device, IngestObjectInfo object, int gen) {
100 mFetchDevice = device;
110 protected Object fetchMtpImageDataFromDevice(MtpDevice device, IngestObjectInfo info) {
113 return MtpBitmapFetch.getFullsize(device, info);
115 return new BitmapWithMetadata(MtpBitmapFetch.getThumbnail(device, info), 0);
253 MtpDevice device; local
256 device = parent.mFetchDevice;
259 if (device == null) {
262 Object result = parent.fetchMtpImageDataFromDevice(device, objectInfo);
  /system/sepolicy/
Android.mk 207 # 2. Collect all device specific file_contexts files and process them with m4
208 # into a tmp file called file_contexts.device.tmp.
209 # 3. Run checkfc -e (allow no device fc entries ie empty) and fc_sort on
210 # file_contexts.device.tmp and output to file_contexts.device.sorted.tmp.
211 # 4. Concatenate file_contexts.local.tmp and file_contexts.device.tmp into
233 file_contexts.device.tmp := $(intermediates)/file_contexts.device.tmp
234 $(file_contexts.device.tmp): PRIVATE_ADDITIONAL_M4DEFS := $(LOCAL_ADDITIONAL_M4DEFS)
235 $(file_contexts.device.tmp): $(device_fcfiles_with_nl
    [all...]
  /cts/hostsidetests/theme/
android_device.py 25 # class for running android device from python
26 # it will fork the device processor
41 os.system("adb -s %s wait-for-device" %self._adbDevice)
98 for device in devices:
99 if device is not "":
100 info = device.split('\t')
101 if info[1] == "device":
  /external/autotest/client/site_tests/hardware_VideoDecodeCapable/
hardware_VideoDecodeCapable.py 23 KEY_DEVICE = 'device'
117 @param video_device: device interrogated (e.g. /dev/video-dec).
134 """Check supported image formats for all expected device nodes
141 for device in devices:
142 missed = set(formats) - set(self._enum_formats(device))
144 'Formats: %s is not supported for device: %s',
145 missed, device)
  /external/autotest/client/site_tests/network_3GModemControl/
network_3GModemControl.py 92 """Control the modem using shill device interfaces."""
93 def __init__(self, shill, device, slow_connect):
95 self.device = device
103 'Service failed to appear when using device commands.')
107 self.device.Enable(timeout=DEVICE_TIMEOUT)
111 self.device.Disable(timeout=DEVICE_TIMEOUT)
129 return 'Device Commands'
133 """Control the modem using a mixture of commands on device, modems, etc."""
171 def CompareDevicePowerState(self, device, expected_state)
    [all...]
  /external/autotest/client/site_tests/network_DhcpBrokenDefaultGateway/
network_DhcpBrokenDefaultGateway.py 30 device = proxy.find_object('Device', {'Name': interface_name})
31 if device is None:
32 raise error.TestFail('Device was not found.')
33 device_properties = device.GetProperties(utf8_strings=True)
  /external/autotest/client/site_tests/network_DhcpMTU/
network_DhcpMTU.py 30 device = proxy.find_object(
31 'Device',
33 if device is None:
34 raise error.TestFail('Device was not found.')
35 device_properties = device.GetProperties(utf8_strings=True)
  /external/autotest/client/site_tests/network_LTEActivate/files/
modems.py 26 device='pseudomodem0',
32 device=device,