HomeSort by relevance Sort by last modified time
    Searched refs:adapter (Results 1 - 25 of 256) sorted by null

1 2 3 4 5 6 7 8 91011

  /frameworks/base/core/tests/coretests/src/android/bluetooth/
BluetoothRebootStressTest.java 54 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); local
55 mTestUtils.enable(adapter);
64 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); local
66 assertTrue(adapter.isEnabled());
75 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); local
77 assertTrue(adapter.isEnabled());
79 mTestUtils.disable(adapter);
80 mTestUtils.enable(adapter);
88 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); local
90 assertTrue(adapter.isEnabled())
    [all...]
BluetoothStressTest.java 45 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); local
49 mTestUtils.enable(adapter);
50 mTestUtils.disable(adapter);
56 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); local
57 mTestUtils.enable(adapter);
61 mTestUtils.discoverable(adapter);
62 mTestUtils.undiscoverable(adapter);
65 mTestUtils.disable(adapter);
70 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); local
71 mTestUtils.enable(adapter);
84 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); local
99 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); local
114 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); local
133 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); local
    [all...]
  /external/bluetooth/bluez/network/
server.h 26 int server_register(struct btd_adapter *adapter);
27 int server_unregister(struct btd_adapter *adapter);
  /external/bluetooth/bluez/src/
manager.c 49 #include "adapter.h"
64 void manager_update_svc(struct btd_adapter* adapter, uint8_t svc)
66 adapter_update(adapter, svc);
80 "No such adapter");
87 struct btd_adapter *adapter; local
90 adapter = manager_find_adapter_by_id(default_adapter_id);
91 if (!adapter)
98 path = adapter_get_path(adapter);
110 struct btd_adapter *adapter; local
128 adapter = manager_find_adapter_by_id(dev_id)
166 struct btd_adapter *adapter = l->data; local
201 struct btd_adapter *adapter = list->data; local
252 struct btd_adapter *adapter = list->data; local
303 struct btd_adapter *adapter = (struct btd_adapter *) a; local
312 struct btd_adapter *adapter = (struct btd_adapter *) a; local
321 struct btd_adapter *adapter = (struct btd_adapter *) a; local
332 struct btd_adapter *adapter = (struct btd_adapter *) a; local
407 struct btd_adapter *adapter; local
426 struct btd_adapter *adapter; local
444 struct btd_adapter *adapter; local
465 struct btd_adapter *adapter; local
483 struct btd_adapter *adapter; local
506 struct btd_adapter *adapter = l->data; local
    [all...]
adapter.c 52 #include "adapter.h"
78 struct btd_adapter *adapter; member in struct:session_req
91 struct btd_adapter *adapter; member in struct:service_auth
97 char *path; /* adapter object path */
98 bdaddr_t bdaddr; /* adapter Bluetooth Address */
120 sdp_list_t *services; /* Services associated to adapter */
127 gboolean already_up; /* adapter was already up on init */
131 uint32_t current_cod; /* Adapter's current class */
140 static void adapter_set_pairable_timeout(struct btd_adapter *adapter,
152 "Adapter is not ready")
372 struct btd_adapter *adapter = user_data; local
516 struct btd_adapter *adapter = data; local
535 struct btd_adapter *adapter = data; local
559 struct btd_adapter *adapter = data; local
654 struct btd_adapter *adapter = req->adapter; local
772 struct btd_adapter *adapter = data; local
799 struct btd_adapter *adapter = data; local
852 struct btd_adapter *adapter; local
903 struct btd_adapter *adapter; local
925 struct btd_adapter *adapter; local
960 struct btd_adapter *adapter; local
982 struct btd_adapter *adapter = data; local
1084 struct btd_adapter *adapter; local
1219 struct btd_adapter *adapter = data; local
1254 struct btd_adapter *adapter = data; local
1279 struct btd_adapter *adapter = data; local
1381 struct btd_adapter *adapter = data; local
1463 struct btd_adapter *adapter = data; local
1506 struct btd_adapter *adapter = data; local
1523 struct btd_adapter *adapter = data; local
1558 struct btd_adapter *adapter = data; local
1591 struct btd_adapter *adapter = data; local
1636 struct btd_adapter *adapter = data; local
1692 struct btd_adapter *adapter = data; local
1728 struct btd_adapter *adapter = data; local
1773 struct btd_adapter *adapter = data; local
1832 struct btd_adapter *adapter = data; local
1894 struct btd_adapter *adapter = data; local
1937 struct btd_adapter *adapter = data; local
1956 struct btd_adapter *adapter = data; local
1994 struct btd_adapter *adapter = data; local
2224 struct btd_adapter *adapter = user_data; local
2248 struct btd_adapter *adapter = user_data; local
2265 struct btd_adapter *adapter = user_data; local
2317 struct btd_adapter *adapter = data; local
2740 struct btd_adapter *adapter = user_data; local
2785 struct btd_adapter *adapter; local
3288 struct btd_adapter *adapter = auth->adapter; local
3357 struct btd_adapter *adapter; local
3390 struct btd_adapter *adapter = manager_find_adapter(src); local
    [all...]
adapter.h 30 #define ADAPTER_INTERFACE "org.bluez.Adapter"
75 int adapter_start(struct btd_adapter *adapter);
77 int adapter_stop(struct btd_adapter *adapter);
79 int adapter_update(struct btd_adapter *adapter, uint8_t cls);
81 int adapter_update_ssp_mode(struct btd_adapter *adapter, uint8_t mode);
84 struct btd_adapter *adapter, const char *address);
86 struct btd_device *adapter_find_device(struct btd_adapter *adapter, const char *dest);
88 struct btd_device *adapter_find_connection(struct btd_adapter *adapter, uint16_t handle);
90 void adapter_remove_device(DBusConnection *conn, struct btd_adapter *adapter,
94 struct btd_adapter *adapter, const char *address)
    [all...]
dbus-hci.c 53 #include "adapter.h"
71 struct btd_adapter **adapter,
77 *adapter = manager_find_adapter(src);
78 if (!*adapter) {
79 error("Unable to find matching adapter");
86 *device = adapter_get_device(connection, *adapter, peer_addr);
88 *device = adapter_find_device(*adapter, peer_addr);
172 struct btd_adapter *adapter = device_get_adapter(device); local
177 uint16_t dev_id = adapter_get_dev_id(adapter);
186 adapter_get_address(adapter, &sba)
212 struct btd_adapter *adapter; local
258 struct btd_adapter *adapter = device_get_adapter(device); local
268 struct btd_adapter *adapter = device_get_adapter(device); local
300 struct btd_adapter *adapter = device_get_adapter(device); local
362 struct btd_adapter *adapter = device_get_adapter(device); local
376 struct btd_adapter *adapter = device_get_adapter(device); local
438 struct btd_adapter *adapter; local
516 struct btd_adapter *adapter; local
528 struct btd_adapter *adapter; local
541 struct btd_adapter *adapter; local
565 struct btd_adapter *adapter; local
599 struct btd_adapter *adapter; local
701 struct btd_adapter *adapter; local
722 struct btd_adapter *adapter; local
746 struct btd_adapter *adapter; local
793 struct btd_adapter *adapter; local
879 struct btd_adapter *adapter; local
899 struct btd_adapter *adapter; local
925 struct btd_adapter *adapter; local
952 struct btd_adapter *adapter; local
1003 struct btd_adapter *adapter; local
1039 struct btd_adapter *adapter; local
1050 struct btd_adapter *adapter; local
1171 struct btd_adapter *adapter; local
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
CursorTreeAdapterTest.java 176 CursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local
177 assertSame(mGroupCursor, adapter.getCursor());
179 adapter.changeCursor(null);
180 assertNull(adapter.getCursor());
182 adapter.setGroupCursor(mGroupCursor);
183 assertSame(mGroupCursor, adapter.getCursor());
193 CursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local
194 assertSame(mGroupCursor, adapter.getCursor());
196 adapter.setGroupCursor(null);
197 assertNull(adapter.getCursor())
210 MockCursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local
225 CursorTreeAdapter adapter = new MockCursorTreeAdapter(null, mContext); local
242 MockCursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local
286 MockCursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local
317 MockCursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local
351 MockCursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local
394 CursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local
408 CursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local
423 CursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local
436 MockCursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local
459 CursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local
476 CursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local
495 CursorTreeAdapter adapter = new MockCursorTreeAdapter(null, mContext); local
520 CursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local
534 CursorTreeAdapter adapter = new MockCursorTreeAdapter(null, mContext); local
559 CursorTreeAdapter adapter = new MockCursorTreeAdapter(null, mContext); local
599 CursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local
635 CursorTreeAdapter adapter = new MockCursorTreeAdapter(null, mContext); local
669 CursorTreeAdapter adapter = new MockCursorTreeAdapter(null, mContext); local
698 CursorTreeAdapter adapter = new MockCursorTreeAdapter(null, mContext); local
    [all...]
BaseExpandableListAdapterTest.java 42 MockBaseExpandableListAdapter adapter = new MockBaseExpandableListAdapter(); local
43 assertTrue(adapter.areAllItemsEnabled());
64 MockBaseExpandableListAdapter adapter = new MockBaseExpandableListAdapter(); local
66 long childID = adapter.getCombinedChildId(10, 100);
67 long groupID = adapter.getCombinedGroupId(10);
72 childID = adapter.getCombinedChildId(0, 0);
73 groupID = adapter.getCombinedGroupId(0);
84 MockBaseExpandableListAdapter adapter = new MockBaseExpandableListAdapter(); local
85 assertTrue(adapter.isEmpty());
86 adapter.setGroupCount(10)
97 MockBaseExpandableListAdapter adapter = new MockBaseExpandableListAdapter(); local
113 MockBaseExpandableListAdapter adapter = new MockBaseExpandableListAdapter(); local
129 MockBaseExpandableListAdapter adapter = new MockBaseExpandableListAdapter(); local
141 MockBaseExpandableListAdapter adapter = new MockBaseExpandableListAdapter(); local
159 MockBaseExpandableListAdapter adapter = new MockBaseExpandableListAdapter(); local
    [all...]
  /cts/tests/tests/bluetooth/src/android/bluetooth/cts/
BasicAdapterTest.java 108 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); local
111 disable(adapter);
112 enable(adapter);
117 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); local
118 enable(adapter);
120 assertTrue(BluetoothAdapter.checkBluetoothAddress(adapter.getAddress()));
124 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); local
125 enable(adapter);
127 String name = adapter.getName();
132 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter() local
144 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); local
164 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); local
    [all...]
  /external/bluetooth/bluez/test/
test-adapter 25 adapter = dbus.Interface(bus.get_object("org.bluez", adapter_path), variable
26 "org.bluez.Adapter")
42 properties = adapter.GetProperties()
48 properties = adapter.GetProperties()
51 adapter.SetProperty("Name", args[1])
56 properties = adapter.GetProperties()
65 adapter.SetProperty("Powered", value)
70 properties = adapter.GetProperties()
79 adapter.SetProperty("Pairable", value)
84 properties = adapter.GetProperties(
    [all...]
gaptest.c 40 #define ADAPTER_INTF BLUEZ_SERVICE ".Adapter"
74 printf("Using default adapter %s\n", path);
84 static char *find_device(DBusConnection *conn, const char *adapter,
92 message = dbus_message_new_method_call(BLUEZ_SERVICE, adapter,
130 static int remove_device(DBusConnection *conn, const char *adapter,
136 message = dbus_message_new_method_call(BLUEZ_SERVICE, adapter,
167 static int set_property(DBusConnection *conn, const char *adapter,
175 message = dbus_message_new_method_call(BLUEZ_SERVICE, adapter,
218 printf("Set property %s for %s\n", key, adapter);
240 char *adapter, *device local
    [all...]
  /packages/apps/Camera/src/com/android/camera/ui/
OtherSettingsIndicator.java 105 UberAdapter adapter = buildUberAdapter(); local
106 mPopupContent.setOnItemSelectedListener(adapter);
107 mPopupContent.setDataModel(adapter);
116 for (GLListView.Model adapter : mAdapters) {
117 if (index < adapter.size()) {
118 return adapter.getView(index);
120 index -= adapter.size();
126 for (GLListView.Model adapter : mAdapters) {
127 if (index < adapter.size()) {
128 return adapter.isSelectable(index)
    [all...]
  /external/bluetooth/bluez/plugins/
maemo6.c 32 #include "adapter.h"
57 struct btd_adapter *adapter = user_data; local
70 btd_adapter_switch_online(adapter);
72 btd_adapter_switch_offline(adapter);
83 struct btd_adapter *adapter = user_data; local
106 btd_adapter_switch_online(adapter);
112 static int mce_probe(struct btd_adapter *adapter)
117 DBG("path %s", adapter_get_path(adapter));
128 dbus_pending_call_set_notify(call, read_radio_states_cb, adapter, NULL);
134 mce_signal_callback, adapter, NULL)
    [all...]
  /libcore/luni/src/test/java/tests/api/org/xml/sax/helpers/
ParserAdapterTest.java 70 private ParserAdapter adapter = new ParserAdapter(parser); field in class:ParserAdapterTest
82 adapter.setContentHandler(handler);
83 adapter.setDTDHandler(handler);
84 adapter.setErrorHandler(handler);
115 ParserAdapter adapter = new ParserAdapter(parser); local
119 adapter = new ParserAdapter(null);
144 adapter.setFeature(s, true);
145 assertEquals(true, adapter.getFeature(s));
147 adapter.setFeature(s, false);
148 assertEquals(false, adapter.getFeature(s))
    [all...]
XMLReaderAdapterTest.java 59 private XMLReaderAdapter adapter = new XMLReaderAdapter(reader); field in class:XMLReaderAdapterTest
71 adapter.setDocumentHandler(handler);
72 adapter.setDTDHandler(handler);
73 adapter.setErrorHandler(handler);
104 XMLReaderAdapter adapter = new XMLReaderAdapter(reader); local
108 adapter = new XMLReaderAdapter(null);
123 adapter.setLocale(Locale.getDefault());
139 adapter.setEntityResolver(resolver);
143 adapter.setEntityResolver(null);
157 adapter.setDTDHandler(null)
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/view/
AutoComplete3.java 34 ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, local
39 textView.setAdapter(adapter);
41 textView.setAdapter(adapter);
Controls1.java 41 ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, local
43 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
44 s1.setAdapter(adapter);
Controls2.java 41 ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, local
43 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
44 s1.setAdapter(adapter);
Spinner1.java 45 ArrayAdapter<CharSequence> adapter = ArrayAdapter.createFromResource( local
47 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
48 s1.setAdapter(adapter);
62 adapter = ArrayAdapter.createFromResource(this, R.array.planets,
64 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
65 s2.setAdapter(adapter);
AutoComplete2.java 34 ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, local
39 textView.setAdapter(adapter);
  /external/bluetooth/bluez/serial/
manager.c 55 #include "adapter.h"
75 struct btd_adapter *adapter = device_get_adapter(device); local
100 adapter_get_address(adapter, &src);
138 static int proxy_probe(struct btd_adapter *adapter)
140 const char *path = adapter_get_path(adapter);
144 return proxy_register(connection, adapter);
147 static void proxy_remove(struct btd_adapter *adapter)
149 const char *path = adapter_get_path(adapter);
153 proxy_unregister(adapter);
  /external/libpcap/
pcap-win32.c 95 if(PacketGetStats(p->adapter, (struct bpf_stat*)ps) != TRUE){
126 if(PacketReceivePacket(p->adapter,p->Packet,TRUE)==FALSE){
201 unsigned dfp = p->adapter->DagFastProcess;
207 if(PacketReceivePacket(p->adapter, p->Packet, TRUE)==FALSE){
216 header = (dag_record_t*)p->adapter->DagBuffer;
362 if(PacketSendPacket(p->adapter,PacketToSend,TRUE) == FALSE){
382 if (p->adapter != NULL) {
383 PacketCloseAdapter(p->adapter);
384 p->adapter = NULL;
409 p->adapter=NULL
    [all...]
  /frameworks/base/core/java/android/widget/
AdapterView.java 36 * An AdapterView is a view whose children are determined by an {@link Adapter}.
42 public abstract class AdapterView<T extends Adapter> extends ViewGroup {
45 * The item view type returned by {@link Adapter#getItemViewType(int)} when
46 * the adapter does not want the item's view recycled.
51 * The item view type returned by {@link Adapter#getItemViewType(int)} when
141 * The position within the adapter's data set of the item to select
153 * The position within the adapter's data set of the currently selected item.
169 * The number of items in the current adapter.
175 * The number of items in the adapter before a data changed event occured.
181 * number of items in the current adapter
549 T adapter = getAdapter(); local
635 final T adapter = getAdapter(); local
663 final T adapter = getAdapter(); local
676 final T adapter = getAdapter(); local
688 final T adapter = getAdapter(); local
739 T adapter = getAdapter(); local
744 T adapter = getAdapter(); local
1031 T adapter = getAdapter(); local
1127 T adapter = getAdapter(); local
    [all...]
  /external/bluetooth/bluez/input/
manager.c 38 #include "../src/adapter.h"
61 struct btd_adapter *adapter = device_get_adapter(device); local
71 adapter_get_address(adapter, &src);
85 struct btd_adapter *adapter = device_get_adapter(device); local
114 adapter_get_address(adapter, &src);
126 static int hid_server_probe(struct btd_adapter *adapter)
131 adapter_get_address(adapter, &src);
137 adapters = g_slist_append(adapters, btd_adapter_ref(adapter));
142 static void hid_server_remove(struct btd_adapter *adapter)
146 adapter_get_address(adapter, &src)
    [all...]

Completed in 378 milliseconds

1 2 3 4 5 6 7 8 91011