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

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/third_party/libjingle/source/talk/media/base/
videoadapter_unittest.cc 48 void UpdateCpuLoad(CoordinatedVideoAdapter* adapter,
50 adapter->set_cpu_load_min_samples(1);
51 adapter->OnCpuLoadUpdated(current_cpus, max_cpus,
90 explicit VideoCapturerListener(VideoAdapter* adapter)
91 : video_adapter_(adapter),
180 // Test adapter remembers exact pixel count
186 // Test adapter is constructed but not activated. Expect no frame drop and no
192 // Call Adapter with some frames.
442 CoordinatedVideoAdapter adapter; local
443 adapter.set_cpu_adaptation(false)
584 CoordinatedVideoAdapter adapter; local
696 CoordinatedVideoAdapter adapter; local
808 CoordinatedVideoAdapter adapter; local
846 CoordinatedVideoAdapter adapter; local
897 CoordinatedVideoAdapter adapter; local
919 CoordinatedVideoAdapter adapter; local
970 CoordinatedVideoAdapter adapter; local
1013 CoordinatedVideoAdapter adapter; local
1071 CoordinatedVideoAdapter adapter; local
1131 CoordinatedVideoAdapter adapter; local
1200 CoordinatedVideoAdapter adapter; local
1226 CoordinatedVideoAdapter adapter; local
1254 CoordinatedVideoAdapter adapter; local
1297 CoordinatedVideoAdapter adapter; local
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
CursorTreeAdapterTest.java 155 CursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local
156 assertSame(mGroupCursor, adapter.getCursor());
158 adapter.changeCursor(null);
159 assertNull(adapter.getCursor());
161 adapter.setGroupCursor(mGroupCursor);
162 assertSame(mGroupCursor, adapter.getCursor());
167 CursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local
168 assertSame(mGroupCursor, adapter.getCursor());
170 adapter.setGroupCursor(null);
171 assertNull(adapter.getCursor())
179 MockCursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local
189 CursorTreeAdapter adapter = new MockCursorTreeAdapter(null, mContext); local
201 MockCursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local
240 MockCursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local
266 MockCursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local
292 MockCursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local
330 CursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local
339 CursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local
349 CursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local
357 MockCursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local
369 CursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local
381 CursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local
395 CursorTreeAdapter adapter = new MockCursorTreeAdapter(null, mContext); local
415 CursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local
424 CursorTreeAdapter adapter = new MockCursorTreeAdapter(null, mContext); local
444 CursorTreeAdapter adapter = new MockCursorTreeAdapter(null, mContext); local
476 CursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local
504 CursorTreeAdapter adapter = new MockCursorTreeAdapter(null, mContext); local
533 CursorTreeAdapter adapter = new MockCursorTreeAdapter(null, mContext); local
553 CursorTreeAdapter adapter = new MockCursorTreeAdapter(null, mContext); local
    [all...]
BaseExpandableListAdapterTest.java 30 MockBaseExpandableListAdapter adapter = new MockBaseExpandableListAdapter(); local
31 assertTrue(adapter.areAllItemsEnabled());
35 MockBaseExpandableListAdapter adapter = new MockBaseExpandableListAdapter(); local
37 long childID = adapter.getCombinedChildId(10, 100);
38 long groupID = adapter.getCombinedGroupId(10);
43 childID = adapter.getCombinedChildId(0, 0);
44 groupID = adapter.getCombinedGroupId(0);
49 MockBaseExpandableListAdapter adapter = new MockBaseExpandableListAdapter(); local
50 assertTrue(adapter.isEmpty());
51 adapter.setGroupCount(10)
56 MockBaseExpandableListAdapter adapter = new MockBaseExpandableListAdapter(); local
66 MockBaseExpandableListAdapter adapter = new MockBaseExpandableListAdapter(); local
76 MockBaseExpandableListAdapter adapter = new MockBaseExpandableListAdapter(); local
82 MockBaseExpandableListAdapter adapter = new MockBaseExpandableListAdapter(); local
88 MockBaseExpandableListAdapter adapter = new MockBaseExpandableListAdapter(); local
    [all...]
  /external/chromium_org/device/bluetooth/
bluetooth_adapter_factory.h 14 // A factory class for building a Bluetooth adapter on platforms where Bluetooth
18 typedef base::Callback<void(scoped_refptr<BluetoothAdapter> adapter)>
21 // Returns true if the Bluetooth adapter is available for the current
25 // Returns the shared instance of the default adapter, creating and
26 // initializing it if necessary. |callback| is called with the adapter
27 // instance passed only once the adapter is fully initialized and ready to
31 // Sets the shared instance of the default adapter for testing purposes only,
34 static void SetAdapterForTesting(scoped_refptr<BluetoothAdapter> adapter);
37 // adapter. Exposed for testing.
bluetooth_adapter_unittest.cc 126 scoped_refptr<BluetoothAdapter> adapter = new TestBluetoothAdapter(); local
129 EXPECT_TRUE(adapter->DefaultPairingDelegate() == NULL);
133 scoped_refptr<BluetoothAdapter> adapter = new TestBluetoothAdapter(); local
138 adapter->AddPairingDelegate(&delegate,
141 EXPECT_EQ(&delegate, adapter->DefaultPairingDelegate());
145 scoped_refptr<BluetoothAdapter> adapter = new TestBluetoothAdapter(); local
151 adapter->AddPairingDelegate(&delegate1,
153 adapter->AddPairingDelegate(&delegate2,
156 EXPECT_EQ(&delegate1, adapter->DefaultPairingDelegate());
159 adapter->RemovePairingDelegate(&delegate1)
165 scoped_refptr<BluetoothAdapter> adapter = new TestBluetoothAdapter(); local
180 scoped_refptr<BluetoothAdapter> adapter = new TestBluetoothAdapter(); local
    [all...]
bluetooth_adapter.h 28 // BluetoothAdapter represents a local Bluetooth adapter which may be used to
30 // determining whether an adapter is present and whether the radio is powered,
32 // known to the adapter, discovering new devices, and providing notification of
41 // Called when the presence of the adapter |adapter| changes. When |present|
42 // is true the adapter is now present, false means the adapter has been
44 virtual void AdapterPresentChanged(BluetoothAdapter* adapter,
47 // Called when the radio power state of the adapter |adapter| changes. Whe
    [all...]
  /cts/tests/tests/bluetooth/src/android/bluetooth/cts/
BasicAdapterTest.java 124 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); local
127 disable(adapter);
128 enable(adapter);
137 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); local
138 enable(adapter);
140 assertTrue(BluetoothAdapter.checkBluetoothAddress(adapter.getAddress()));
148 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); local
149 enable(adapter);
151 String name = adapter.getName();
160 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter() local
176 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); local
212 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); local
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
HceReaderTestActivity.java 39 ArrayTestListAdapter adapter = new ArrayTestListAdapter(this); local
42 adapter.add(TestListItem.newCategory(this, R.string.nfc_hce_reader_tests));
45 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_default_route_reader,
50 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_protocol_params_reader,
54 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_single_payment_reader,
58 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_dual_payment_reader,
62 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_change_default_reader,
66 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_foreground_payment_reader,
70 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_single_non_payment_reader,
74 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_dual_non_payment_reader
    [all...]
HceEmulatorTestActivity.java 41 ArrayTestListAdapter adapter = new ArrayTestListAdapter(this); local
46 adapter.add(TestListItem.newCategory(this, R.string.nfc_hce_emulator_tests));
50 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_default_route_emulator,
54 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_protocol_params_emulator,
58 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_single_payment_emulator,
62 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_dual_payment_emulator,
66 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_change_default_emulator,
70 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_foreground_payment_emulator,
74 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_single_non_payment_emulator,
78 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_dual_non_payment_emulator
    [all...]
  /external/chromium_org/extensions/browser/api/bluetooth/
bluetooth_extension_function.h 22 // bluetooth adapter and calls (on the UI thread) DoWork() implemented by
35 void RunOnAdapterReady(scoped_refptr<device::BluetoothAdapter> adapter);
38 // automatically on the UI thread once |adapter| has been initialized.
39 virtual bool DoWork(scoped_refptr<device::BluetoothAdapter> adapter) = 0;
bluetooth_api_utils.h 23 void PopulateAdapterState(const device::BluetoothAdapter& adapter,
bluetooth_event_router.h 46 // adapter is available for the current platform.
54 // initiated. |error_callback| is called, if the adapter failed to initiate
56 void StartDiscoverySession(device::BluetoothAdapter* adapter,
63 // successfully ended. |error_callback| is called, if the adapter failed to
66 void StopDiscoverySession(device::BluetoothAdapter* adapter,
89 void SetAdapterForTest(device::BluetoothAdapter* adapter) {
90 adapter_ = adapter;
94 virtual void AdapterPresentChanged(device::BluetoothAdapter* adapter,
96 virtual void AdapterPoweredChanged(device::BluetoothAdapter* adapter,
98 virtual void AdapterDiscoveringChanged(device::BluetoothAdapter* adapter,
    [all...]
  /external/antlr/antlr-3.4/gunit/src/main/antlr3/org/antlr/gunit/swingui/parsers/
StGUnit.g 49 public TestSuiteAdapter adapter ;;
53 : 'gunit' name=id {adapter.setGrammarName($name.text);}
64 {adapter.startRule($parserRule.text);}
66 {adapter.startRule($lexerRule.text);}
70 {adapter.endRule();}
75 {adapter.addTestCase($input.in, $expect.out);}
79 : OK {$out = adapter.createBoolOutput(true);}
80 | FAIL {$out = adapter.createBoolOutput(false);}
81 | 'returns' RETVAL {$out = adapter.createReturnOutput($RETVAL.text);}
82 | '->' output {$out = adapter.createStdOutput($output.text);
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/
NfcTestActivity.java 51 ArrayTestListAdapter adapter = new ArrayTestListAdapter(this); local
53 adapter.add(TestListItem.newCategory(this, R.string.nfc_pee_2_pee));
54 adapter.add(TestListItem.newTest(this, R.string.nfc_ndef_push_sender,
57 adapter.add(TestListItem.newTest(this, R.string.nfc_ndef_push_receiver,
61 adapter.add(TestListItem.newCategory(this, R.string.nfc_tag_verification));
62 adapter.add(TestListItem.newTest(this, R.string.nfc_ndef,
65 adapter.add(TestListItem.newTest(this, R.string.nfc_mifare_ultralight,
70 adapter.add(TestListItem.newCategory(this, R.string.nfc_hce));
71 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_reader_tests,
74 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_emulator_tests
    [all...]
  /cts/tests/tests/print/src/android/print/cts/
PrintDocumentAdapterContractTest.java 71 // Create a mock print adapter.
72 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( local
111 print(adapter);
132 InOrder inOrder = inOrder(adapter);
135 inOrder.verify(adapter).onStart();
146 verifyLayoutCall(inOrder, adapter, firstOldAttributes, firstNewAttributes, true);
150 inOrder.verify(adapter).onWrite(eq(firstPages), any(ParcelFileDescriptor.class),
164 verifyLayoutCall(inOrder, adapter, secondOldAttributes, secondNewAttributes, true);
167 verifyLayoutCall(inOrder, adapter, secondNewAttributes, secondNewAttributes, false);
170 // them when asking for the ones for a preview, and the adapter doe
191 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( local
284 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( local
461 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( local
619 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( local
746 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( local
851 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( local
973 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( local
1050 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( local
1149 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( local
1218 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( local
1305 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( local
1395 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( local
1461 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( local
    [all...]
  /external/chromium_org/remoting/protocol/
pseudotcp_channel_factory.cc 63 jingle_glue::PseudoTcpAdapter* adapter = local
65 pending_sockets_[name] = adapter;
67 adapter->SetSendBufferSize(kTcpSendBufferSize);
68 adapter->SetReceiveBufferSize(kTcpReceiveBufferSize);
69 adapter->SetNoDelay(true);
70 adapter->SetAckDelay(kTcpAckDelayMilliseconds);
75 adapter->SetWriteWaitsForSend(true);
77 int result = adapter->Connect(
  /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/gd3dapi/
galliumd3d10_1.idl 35 HRESULT GalliumD3D10DeviceCreate1(struct pipe_screen* screen, struct pipe_context* context, BOOL owns_context, unsigned creation_flags, IDXGIAdapter* adapter, ID3D10Device1** ppDevice);
galliumd3d11.idl 35 HRESULT GalliumD3D11DeviceCreate(struct pipe_screen* screen, struct pipe_context* context, BOOL owns_context, unsigned creation_flags, IDXGIAdapter* adapter, ID3D11Device** ppDevice);
  /external/mesa3d/src/gallium/state_trackers/d3d1x/gd3dapi/
galliumd3d10_1.idl 35 HRESULT GalliumD3D10DeviceCreate1(struct pipe_screen* screen, struct pipe_context* context, BOOL owns_context, unsigned creation_flags, IDXGIAdapter* adapter, ID3D10Device1** ppDevice);
galliumd3d11.idl 35 HRESULT GalliumD3D11DeviceCreate(struct pipe_screen* screen, struct pipe_context* context, BOOL owns_context, unsigned creation_flags, IDXGIAdapter* adapter, ID3D11Device** ppDevice);
  /development/samples/SupportLeanbackDemos/src/com/example/android/leanback/
BrowseAnimationFragment.java 92 ArrayObjectAdapter adapter = ((ArrayObjectAdapter) ((ListRow) row)
94 int index = adapter.indexOf(item);
98 adapter.removeItems(index, 1);
106 ArrayObjectAdapter adapter = ((ArrayObjectAdapter) ((ListRow) row)
108 int index = adapter.indexOf(item);
110 if (index < adapter.size() - 1)
112 adapter.removeItems(index, 1);
120 ArrayObjectAdapter adapter = ((ArrayObjectAdapter) ((ListRow) row)
122 int index = adapter.indexOf(item);
124 adapter.removeItems(index, 1)
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/dxgid3d11/
dxgid3d11.cpp 34 IDXGIAdapter *adapter,
48 if(!adapter)
57 adapter = adapter_to_release.p;
60 hr = adapter->QueryInterface(IID_IGalliumAdapter, (void**)&gallium_adapter);
77 hr = GalliumD3D11DeviceCreate(screen, context, TRUE, flags, adapter, &device);
93 IDXGIAdapter* adapter,
109 hr = D3D11CreateDevice(adapter, driver_type, software, flags, feature_levels, num_feature_levels, sdk_version, (ID3D11Device**)&dev, feature_level, (ID3D11DeviceContext**)&ctx);
116 ComPtr<IDXGIAdapter> adapter; local
121 hr = dxgi_device->GetAdapter(&adapter);
125 adapter->GetParent(IID_IDXGIFactory, (void**)&factory)
    [all...]
  /external/mesa3d/src/gallium/state_trackers/d3d1x/dxgid3d11/
dxgid3d11.cpp 34 IDXGIAdapter *adapter,
48 if(!adapter)
57 adapter = adapter_to_release.p;
60 hr = adapter->QueryInterface(IID_IGalliumAdapter, (void**)&gallium_adapter);
77 hr = GalliumD3D11DeviceCreate(screen, context, TRUE, flags, adapter, &device);
93 IDXGIAdapter* adapter,
109 hr = D3D11CreateDevice(adapter, driver_type, software, flags, feature_levels, num_feature_levels, sdk_version, (ID3D11Device**)&dev, feature_level, (ID3D11DeviceContext**)&ctx);
116 ComPtr<IDXGIAdapter> adapter; local
121 hr = dxgi_device->GetAdapter(&adapter);
125 adapter->GetParent(IID_IDXGIFactory, (void**)&factory)
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/dxgid3d10/
dxgid3d10.cpp 34 IDXGIAdapter *adapter,
45 if(!adapter)
54 adapter = adapter_to_release.p;
57 hr = adapter->QueryInterface(IID_IGalliumAdapter, (void**)&gallium_adapter);
74 hr = GalliumD3D10DeviceCreate1(screen, context, TRUE, flags, adapter, &device);
86 IDXGIAdapter* adapter,
99 hr = D3D10CreateDevice1(adapter, driver_type, software, flags, hardware_level, sdk_version, &dev);
106 ComPtr<IDXGIAdapter> adapter; local
111 hr = dxgi_device->GetAdapter(&adapter);
115 adapter->GetParent(IID_IDXGIFactory, (void**)&factory)
    [all...]
  /external/mesa3d/src/gallium/state_trackers/d3d1x/dxgid3d10/
dxgid3d10.cpp 34 IDXGIAdapter *adapter,
45 if(!adapter)
54 adapter = adapter_to_release.p;
57 hr = adapter->QueryInterface(IID_IGalliumAdapter, (void**)&gallium_adapter);
74 hr = GalliumD3D10DeviceCreate1(screen, context, TRUE, flags, adapter, &device);
86 IDXGIAdapter* adapter,
99 hr = D3D10CreateDevice1(adapter, driver_type, software, flags, hardware_level, sdk_version, &dev);
106 ComPtr<IDXGIAdapter> adapter; local
111 hr = dxgi_device->GetAdapter(&adapter);
115 adapter->GetParent(IID_IDXGIFactory, (void**)&factory)
    [all...]

Completed in 382 milliseconds

1 2 3 4 5 6 7 8 91011>>