/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowAdapterView.java | 26 private Adapter adapter; field in ShadowAdapterView 38 public void setAdapter(Adapter adapter) { in setAdapter() argument 39 this.adapter = adapter; in setAdapter() 41 if (null != adapter) { in setAdapter() 42 adapter.registerDataSetObserver(new AdapterViewDataSetObserver()); in setAdapter() 52 updateEmptyStatus(adapter == null || adapter.isEmpty()); in setEmptyView() 72 itemCount = adapter == null ? 0 : adapter.getCount(); in invalidateAndScheduleUpdate() 176 return adapter; in getAdapter() 216 Adapter adapter = getAdapter(); in getItemAtPosition() local 217 return (adapter == null || position < 0) ? null : adapter.getItem(position); in getItemAtPosition() [all …]
|
D | ShadowViewPager.java | 14 private PagerAdapter adapter; field in ShadowViewPager 19 public void setAdapter(PagerAdapter adapter) { in setAdapter() argument 20 this.adapter = adapter; in setAdapter() 25 return adapter; in getAdapter()
|
D | ShadowAutoCompleteTextView.java | 18 private ListAdapter adapter; field in ShadowAutoCompleteTextView 24 return adapter; in getAdapter() 28 public <T extends ListAdapter & Filterable> void setAdapter(T adapter) { in setAdapter() argument 29 this.adapter = adapter; in setAdapter()
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/dxgid3d10/ |
D | dxgid3d10.cpp | 34 IDXGIAdapter *adapter, in D3D10CreateDevice1() argument 45 if(!adapter) in D3D10CreateDevice1() 54 adapter = adapter_to_release.p; in D3D10CreateDevice1() 57 hr = adapter->QueryInterface(IID_IGalliumAdapter, (void**)&gallium_adapter); in D3D10CreateDevice1() 74 hr = GalliumD3D10DeviceCreate1(screen, context, TRUE, flags, adapter, &device); in D3D10CreateDevice1() 86 IDXGIAdapter* adapter, in D3D10CreateDeviceAndSwapChain1() argument 99 hr = D3D10CreateDevice1(adapter, driver_type, software, flags, hardware_level, sdk_version, &dev); in D3D10CreateDeviceAndSwapChain1() 106 ComPtr<IDXGIAdapter> adapter; in D3D10CreateDeviceAndSwapChain1() local 111 hr = dxgi_device->GetAdapter(&adapter); in D3D10CreateDeviceAndSwapChain1() 115 adapter->GetParent(IID_IDXGIFactory, (void**)&factory); in D3D10CreateDeviceAndSwapChain1() [all …]
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/dxgid3d10/ |
D | dxgid3d10.cpp | 34 IDXGIAdapter *adapter, in D3D10CreateDevice1() argument 45 if(!adapter) in D3D10CreateDevice1() 54 adapter = adapter_to_release.p; in D3D10CreateDevice1() 57 hr = adapter->QueryInterface(IID_IGalliumAdapter, (void**)&gallium_adapter); in D3D10CreateDevice1() 74 hr = GalliumD3D10DeviceCreate1(screen, context, TRUE, flags, adapter, &device); in D3D10CreateDevice1() 86 IDXGIAdapter* adapter, in D3D10CreateDeviceAndSwapChain1() argument 99 hr = D3D10CreateDevice1(adapter, driver_type, software, flags, hardware_level, sdk_version, &dev); in D3D10CreateDeviceAndSwapChain1() 106 ComPtr<IDXGIAdapter> adapter; in D3D10CreateDeviceAndSwapChain1() local 111 hr = dxgi_device->GetAdapter(&adapter); in D3D10CreateDeviceAndSwapChain1() 115 adapter->GetParent(IID_IDXGIFactory, (void**)&factory); in D3D10CreateDeviceAndSwapChain1() [all …]
|
/external/libpcap/ |
D | pcap-win32.c | 95 if(PacketGetStats(p->adapter, (struct bpf_stat*)ps) != TRUE){ in pcap_stats_win32() 126 if(PacketReceivePacket(p->adapter,p->Packet,TRUE)==FALSE){ in pcap_read_win32_npf() 201 unsigned dfp = p->adapter->DagFastProcess; in pcap_read_win32_dag() 207 if(PacketReceivePacket(p->adapter, p->Packet, TRUE)==FALSE){ in pcap_read_win32_dag() 216 header = (dag_record_t*)p->adapter->DagBuffer; in pcap_read_win32_dag() 362 if(PacketSendPacket(p->adapter,PacketToSend,TRUE) == FALSE){ in pcap_inject_win32() 382 if (p->adapter != NULL) { in pcap_close_win32() 383 PacketCloseAdapter(p->adapter); in pcap_close_win32() 384 p->adapter = NULL; in pcap_close_win32() 409 p->adapter=NULL; in pcap_open_live() [all …]
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | CursorAdapterTest.java | 34 private CursorAdapter adapter; field in CursorAdapterTest 60 adapter = new TestAdapter(curs); in setUp() 65 assertThat(adapter.getCursor(), notNullValue()); in testChangeCursor() 66 assertThat(adapter.getCursor(), sameInstance(curs)); in testChangeCursor() 68 adapter.changeCursor( null ); in testChangeCursor() 71 assertThat(adapter.getCursor(), nullValue() ); in testChangeCursor() 76 assertThat(adapter.getCount(), equalTo(curs.getCount())); in testCount() 77 adapter.changeCursor( null ); in testCount() 78 assertThat(adapter.getCount(), equalTo(0) ); in testCount() 84 assertThat(adapter.getItemId(i), equalTo((long) 1234 + i)); in testGetItemId() [all …]
|
D | BaseAdapterTest.java | 18 BaseAdapter adapter = new TestBaseAdapter(); in shouldRecordNotifyDataSetChanged() local 19 adapter.notifyDataSetChanged(); in shouldRecordNotifyDataSetChanged() 20 assertTrue(shadowOf(adapter).wasNotifyDataSetChangedCalled()); in shouldRecordNotifyDataSetChanged() 25 BaseAdapter adapter = new TestBaseAdapter(); in canResetNotifyDataSetChangedFlag() local 26 adapter.notifyDataSetChanged(); in canResetNotifyDataSetChangedFlag() 27 shadowOf(adapter).clearWasDataSetChangedCalledFlag(); in canResetNotifyDataSetChangedFlag() 28 assertFalse(shadowOf(adapter).wasNotifyDataSetChangedCalled()); in canResetNotifyDataSetChangedFlag()
|
D | AdapterViewBehavior.java | 106 CountingAdapter adapter = new CountingAdapter(2); in testSetAdapter_ShouldFireOnNothingSelectedWhenAdapterCountIsReducedToZero() local 107 adapterView.setAdapter(adapter); in testSetAdapter_ShouldFireOnNothingSelectedWhenAdapterCountIsReducedToZero() 110 adapter.setCount(0); in testSetAdapter_ShouldFireOnNothingSelectedWhenAdapterCountIsReducedToZero() 146 CountingAdapter adapter = new CountingAdapter(0); in testSetEmptyView_ShouldHideEmptyViewWhenAdapterGetsNewItem() local 147 adapterView.setAdapter(adapter); in testSetEmptyView_ShouldHideEmptyViewWhenAdapterGetsNewItem() 155 adapter.setCount(1); in testSetEmptyView_ShouldHideEmptyViewWhenAdapterGetsNewItem() 164 CountingAdapter adapter = new CountingAdapter(1); in testSetEmptyView_ShouldHideAdapterViewWhenAdapterBecomesEmpty() local 165 adapterView.setAdapter(adapter); in testSetEmptyView_ShouldHideAdapterViewWhenAdapterBecomesEmpty() 173 adapter.setCount(0); in testSetEmptyView_ShouldHideAdapterViewWhenAdapterBecomesEmpty() 183 CountingAdapter adapter = new CountingAdapter(2) { in shouldOnlyUpdateOnceIfInvalidatedMultipleTimes() local [all …]
|
D | ListActivityTest.java | 24 ListAdapter adapter = new CountingAdapter(5); in shouldSupportSettingAndGettingListAdapter() local 25 listActivity.setListAdapter(adapter); in shouldSupportSettingAndGettingListAdapter() 48 ListAdapter adapter = new CountingAdapter(5); in shouldSetAdapterOnListView() local 51 listActivity.setListAdapter(adapter); in shouldSetAdapterOnListView() 52 assertThat(listView.getAdapter(), sameInstance(adapter)); in shouldSetAdapterOnListView()
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/dxgid3d11/ |
D | dxgid3d11.cpp | 34 IDXGIAdapter *adapter, in D3D11CreateDevice() argument 48 if(!adapter) in D3D11CreateDevice() 57 adapter = adapter_to_release.p; in D3D11CreateDevice() 60 hr = adapter->QueryInterface(IID_IGalliumAdapter, (void**)&gallium_adapter); in D3D11CreateDevice() 77 hr = GalliumD3D11DeviceCreate(screen, context, TRUE, flags, adapter, &device); in D3D11CreateDevice() 93 IDXGIAdapter* adapter, in D3D11CreateDeviceAndSwapChain() argument 109 …hr = D3D11CreateDevice(adapter, driver_type, software, flags, feature_levels, num_feature_levels, … in D3D11CreateDeviceAndSwapChain() 116 ComPtr<IDXGIAdapter> adapter; in D3D11CreateDeviceAndSwapChain() local 121 hr = dxgi_device->GetAdapter(&adapter); in D3D11CreateDeviceAndSwapChain() 125 adapter->GetParent(IID_IDXGIFactory, (void**)&factory); in D3D11CreateDeviceAndSwapChain()
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/dxgid3d11/ |
D | dxgid3d11.cpp | 34 IDXGIAdapter *adapter, in D3D11CreateDevice() argument 48 if(!adapter) in D3D11CreateDevice() 57 adapter = adapter_to_release.p; in D3D11CreateDevice() 60 hr = adapter->QueryInterface(IID_IGalliumAdapter, (void**)&gallium_adapter); in D3D11CreateDevice() 77 hr = GalliumD3D11DeviceCreate(screen, context, TRUE, flags, adapter, &device); in D3D11CreateDevice() 93 IDXGIAdapter* adapter, in D3D11CreateDeviceAndSwapChain() argument 109 …hr = D3D11CreateDevice(adapter, driver_type, software, flags, feature_levels, num_feature_levels, … in D3D11CreateDeviceAndSwapChain() 116 ComPtr<IDXGIAdapter> adapter; in D3D11CreateDeviceAndSwapChain() local 121 hr = dxgi_device->GetAdapter(&adapter); in D3D11CreateDeviceAndSwapChain() 125 adapter->GetParent(IID_IDXGIFactory, (void**)&factory); in D3D11CreateDeviceAndSwapChain()
|
/external/chromium_org/chrome/browser/extensions/api/bluetooth/ |
D | bluetooth_api_utils.cc | 25 void PopulateAdapterState(const device::BluetoothAdapter& adapter, in PopulateAdapterState() argument 27 out->discovering = adapter.IsDiscovering(); in PopulateAdapterState() 28 out->available = adapter.IsPresent(); in PopulateAdapterState() 29 out->powered = adapter.IsPowered(); in PopulateAdapterState() 30 out->name = adapter.GetName(); in PopulateAdapterState() 31 out->address = adapter.GetAddress(); in PopulateAdapterState()
|
D | bluetooth_event_router.cc | 196 device::BluetoothAdapter* adapter, bool present) { in AdapterPresentChanged() argument 197 if (adapter != adapter_.get()) { in AdapterPresentChanged() 198 DVLOG(1) << "Ignoring event for adapter " << adapter->GetAddress(); in AdapterPresentChanged() 205 device::BluetoothAdapter* adapter, bool has_power) { in AdapterPoweredChanged() argument 206 if (adapter != adapter_.get()) { in AdapterPoweredChanged() 207 DVLOG(1) << "Ignoring event for adapter " << adapter->GetAddress(); in AdapterPoweredChanged() 214 device::BluetoothAdapter* adapter, bool discovering) { in AdapterDiscoveringChanged() argument 215 if (adapter != adapter_.get()) { in AdapterDiscoveringChanged() 216 DVLOG(1) << "Ignoring event for adapter " << adapter->GetAddress(); in AdapterDiscoveringChanged() 230 device::BluetoothAdapter* adapter, in DeviceAdded() argument [all …]
|
D | bluetooth_event_router.h | 99 virtual void AdapterPresentChanged(device::BluetoothAdapter* adapter, 101 virtual void AdapterPoweredChanged(device::BluetoothAdapter* adapter, 103 virtual void AdapterDiscoveringChanged(device::BluetoothAdapter* adapter, 105 virtual void DeviceAdded(device::BluetoothAdapter* adapter, 109 void SetAdapterForTest(device::BluetoothAdapter* adapter) { in SetAdapterForTest() argument 110 adapter_ = adapter; in SetAdapterForTest() 114 void InitializeAdapter(scoped_refptr<device::BluetoothAdapter> adapter);
|
D | bluetooth_api.h | 98 virtual bool DoWork(scoped_refptr<device::BluetoothAdapter> adapter) OVERRIDE; 110 virtual bool DoWork(scoped_refptr<device::BluetoothAdapter> adapter) OVERRIDE; 123 virtual bool DoWork(scoped_refptr<device::BluetoothAdapter> adapter) OVERRIDE; 140 virtual bool DoWork(scoped_refptr<device::BluetoothAdapter> adapter) OVERRIDE; 157 virtual bool DoWork(scoped_refptr<device::BluetoothAdapter> adapter) OVERRIDE; 225 virtual bool DoWork(scoped_refptr<device::BluetoothAdapter> adapter) OVERRIDE; 242 virtual bool DoWork(scoped_refptr<device::BluetoothAdapter> adapter) OVERRIDE; 254 virtual bool DoWork(scoped_refptr<device::BluetoothAdapter> adapter) OVERRIDE; 269 virtual bool DoWork(scoped_refptr<device::BluetoothAdapter> adapter) OVERRIDE;
|
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
D | capturemanager.cc | 53 CaptureRenderAdapter* adapter() { return adapter_.get(); } in adapter() function in cricket::VideoCapturerState 54 VideoCapturer* GetVideoCapturer() { return adapter()->video_capturer(); } in GetVideoCapturer() 65 explicit VideoCapturerState(CaptureRenderAdapter* adapter); 77 VideoCapturerState::VideoCapturerState(CaptureRenderAdapter* adapter) in VideoCapturerState() argument 78 : adapter_(adapter), start_count_(1) {} in VideoCapturerState() 81 CaptureRenderAdapter* adapter = CaptureRenderAdapter::Create(video_capturer); in Create() local 82 if (!adapter) { in Create() 85 return new VideoCapturerState(adapter); in Create() 273 CaptureRenderAdapter* adapter = GetAdapter(video_capturer); in AddVideoRenderer() local 274 if (!adapter) { in AddVideoRenderer() [all …]
|
/external/antlr/antlr-3.4/gunit/src/main/antlr3/org/antlr/gunit/swingui/parsers/ |
D | 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 …]
|
/external/chromium/net/base/ |
D | net_util_win.cc | 101 for (IP_ADAPTER_ADDRESSES *adapter = adapters; adapter != NULL; in GetNetworkList() local 102 adapter = adapter->Next) { in GetNetworkList() 104 if (adapter->IfType == IF_TYPE_SOFTWARE_LOOPBACK) { in GetNetworkList() 109 for (address = adapter->FirstUnicastAddress; address != NULL; in GetNetworkList() 116 std::string name = adapter->AdapterName; in GetNetworkList()
|
/external/chromium_org/chrome_frame/turndown_prompt/ |
D | turndown_prompt.cc | 43 ReadyModeWebBrowserAdapter* adapter); 94 ReadyModeWebBrowserAdapter* adapter) in BrowserObserver() argument 96 adapter_(adapter) { in BrowserObserver() 177 bool CreateWebBrowserAdapter(ReadyModeWebBrowserAdapter** adapter) { in CreateWebBrowserAdapter() argument 178 *adapter = NULL; in CreateWebBrowserAdapter() 191 *adapter = com_object; in CreateWebBrowserAdapter() 197 base::win::ScopedComPtr<ReadyModeWebBrowserAdapter, NULL> adapter; in InstallPrompts() local 199 if (!CreateWebBrowserAdapter(adapter.Receive())) in InstallPrompts() 204 new BrowserObserver(web_browser, adapter)); in InstallPrompts() 207 return adapter->Initialize(web_browser, browser_observer.release()); in InstallPrompts()
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
D | PODIntervalTree.h | 116 IntervalSearchAdapterType adapter(result, interval.low(), interval.high()); in allOverlaps() 117 searchForOverlapsFrom<IntervalSearchAdapterType>(this->root(), adapter); in allOverlaps() 121 void allOverlapsWithAdapter(AdapterType& adapter) const in allOverlapsWithAdapter() argument 125 searchForOverlapsFrom<AdapterType>(this->root(), adapter); in allOverlapsWithAdapter() 158 void searchForOverlapsFrom(IntervalNode* node, AdapterType& adapter) const in searchForOverlapsFrom() argument 171 && !(left->data().maxHigh() < adapter.lowValue())) in searchForOverlapsFrom() 172 searchForOverlapsFrom<AdapterType>(left, adapter); in searchForOverlapsFrom() 175 adapter.collectIfNeeded(node->data()); in searchForOverlapsFrom() 180 if (!(adapter.highValue() < node->data().low())) in searchForOverlapsFrom() 181 searchForOverlapsFrom<AdapterType>(node->right(), adapter); in searchForOverlapsFrom()
|
/external/chromium_org/content/public/test/ |
D | browser_test_utils.h | 138 bool ExecuteScriptInFrame(const internal::ToRenderViewHost& adapter, 148 const internal::ToRenderViewHost& adapter, 153 const internal::ToRenderViewHost& adapter, 158 const internal::ToRenderViewHost& adapter, 164 bool ExecuteScript(const internal::ToRenderViewHost& adapter, 166 bool ExecuteScriptAndExtractInt(const internal::ToRenderViewHost& adapter, 169 bool ExecuteScriptAndExtractBool(const internal::ToRenderViewHost& adapter, 172 bool ExecuteScriptAndExtractString(const internal::ToRenderViewHost& adapter, 180 bool ExecuteWebUIResourceTest(const internal::ToRenderViewHost& adapter,
|
/external/chromium_org/net/base/ |
D | net_util_win.cc | 162 for (IP_ADAPTER_ADDRESSES *adapter = adapters; adapter != NULL; in GetNetworkList() local 163 adapter = adapter->Next) { in GetNetworkList() 165 if (adapter->IfType == IF_TYPE_SOFTWARE_LOOPBACK) { in GetNetworkList() 169 if (adapter->OperStatus != IfOperStatusUp) { in GetNetworkList() 173 std::string name = adapter->AdapterName; in GetNetworkList() 175 for (IP_ADAPTER_UNICAST_ADDRESS* address = adapter->FirstUnicastAddress; in GetNetworkList() 189 for (IP_ADAPTER_PREFIX* prefix = adapter->FirstPrefix; prefix; in GetNetworkList() 204 (family == AF_INET) ? adapter->IfIndex : adapter->Ipv6IfIndex; in GetNetworkList() 206 NetworkInterface(adapter->AdapterName, index, endpoint.address(), in GetNetworkList()
|
/external/chromium_org/device/bluetooth/ |
D | bluetooth_adapter.h | 37 virtual void AdapterPresentChanged(BluetoothAdapter* adapter, in AdapterPresentChanged() argument 43 virtual void AdapterPoweredChanged(BluetoothAdapter* adapter, in AdapterPoweredChanged() argument 49 virtual void AdapterDiscoveringChanged(BluetoothAdapter* adapter, in AdapterDiscoveringChanged() argument 55 virtual void DeviceAdded(BluetoothAdapter* adapter, in DeviceAdded() argument 61 virtual void DeviceChanged(BluetoothAdapter* adapter, in DeviceChanged() argument 67 virtual void DeviceRemoved(BluetoothAdapter* adapter, in DeviceRemoved() argument
|
/external/chromium_org/device/nfc/ |
D | nfc_adapter.h | 46 virtual void AdapterPresentChanged(NfcAdapter* adapter, bool present) {} in AdapterPresentChanged() argument 51 virtual void AdapterPoweredChanged(NfcAdapter* adapter, bool powered) {} in AdapterPoweredChanged() argument 58 virtual void AdapterPollingChanged(NfcAdapter* adapter, bool polling) {} in AdapterPollingChanged() argument 68 virtual void TagFound(NfcAdapter* adapter, NfcTag* tag) {} in TagFound() argument 72 virtual void TagLost(NfcAdapter* adapter, NfcTag* tag) {} in TagLost() argument 87 virtual void PeerLost(NfcAdapter* adapter, NfcPeer* peer) {} in PeerLost() argument
|