/external/webrtc/talk/media/base/ |
videoadapter_unittest.cc | 47 void UpdateCpuLoad(CoordinatedVideoAdapter* adapter, 49 adapter->set_cpu_load_min_samples(1); 50 adapter->OnCpuLoadUpdated(current_cpus, max_cpus, 87 explicit VideoCapturerListener(VideoAdapter* adapter) 88 : video_adapter_(adapter), 159 // Test adapter remembers exact pixel count 165 // Test adapter is constructed but not activated. Expect no frame drop and no 171 // Call Adapter with some frames. 410 CoordinatedVideoAdapter adapter; local 411 adapter.set_cpu_adaptation(false) 552 CoordinatedVideoAdapter adapter; local 664 CoordinatedVideoAdapter adapter; local 776 CoordinatedVideoAdapter adapter; local 811 CoordinatedVideoAdapter adapter; local 858 CoordinatedVideoAdapter adapter; local 880 CoordinatedVideoAdapter adapter; local 931 CoordinatedVideoAdapter adapter; local 974 CoordinatedVideoAdapter adapter; local 1032 CoordinatedVideoAdapter adapter; local 1092 CoordinatedVideoAdapter adapter; local 1161 CoordinatedVideoAdapter adapter; local 1187 CoordinatedVideoAdapter adapter; local 1215 CoordinatedVideoAdapter adapter; local 1258 CoordinatedVideoAdapter adapter; local [all...] |
/external/adhd/cras/src/server/ |
cras_bt_adapter.c | 34 static int cras_bt_adapter_query_bus_type(struct cras_bt_adapter *adapter) 42 pos = strstr(adapter->object_path, hci_str); 62 adapter->bus_type = (dev_info.type & 0x0f); 70 struct cras_bt_adapter *adapter; local 72 adapter = calloc(1, sizeof(*adapter)); 73 if (adapter == NULL) 76 adapter->object_path = strdup(object_path); 77 if (adapter->object_path == NULL) { 78 free(adapter); 113 struct cras_bt_adapter *adapter; local 128 struct cras_bt_adapter *adapter; local [all...] |
cras_bt_adapter.h | 14 void cras_bt_adapter_destroy(struct cras_bt_adapter *adapter); 20 const char *cras_bt_adapter_object_path(const struct cras_bt_adapter *adapter); 21 const char *cras_bt_adapter_address(const struct cras_bt_adapter *adapter); 22 const char *cras_bt_adapter_name(const struct cras_bt_adapter *adapter); 24 int cras_bt_adapter_powered(const struct cras_bt_adapter *adapter); 27 void cras_bt_adapter_update_properties(struct cras_bt_adapter *adapter, 31 int cras_bt_adapter_on_usb(struct cras_bt_adapter *adapter);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
CursorTreeAdapterTest.java | 175 CursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local 176 assertSame(mGroupCursor, adapter.getCursor()); 178 adapter.changeCursor(null); 179 assertNull(adapter.getCursor()); 181 adapter.setGroupCursor(mGroupCursor); 182 assertSame(mGroupCursor, adapter.getCursor()); 188 CursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local 189 assertSame(mGroupCursor, adapter.getCursor()); 191 adapter.setGroupCursor(null); 192 assertNull(adapter.getCursor()) 201 MockCursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local 212 CursorTreeAdapter adapter = new MockCursorTreeAdapter(null, mContext); local 225 MockCursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local 265 MockCursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local 292 MockCursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local 319 MockCursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local 358 CursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local 368 CursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local 379 CursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local 388 MockCursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local 401 CursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local 414 CursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local 429 CursorTreeAdapter adapter = new MockCursorTreeAdapter(null, mContext); local 450 CursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local 460 CursorTreeAdapter adapter = new MockCursorTreeAdapter(null, mContext); local 481 CursorTreeAdapter adapter = new MockCursorTreeAdapter(null, mContext); local 514 CursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local 543 CursorTreeAdapter adapter = new MockCursorTreeAdapter(null, mContext); local 573 CursorTreeAdapter adapter = new MockCursorTreeAdapter(null, mContext); local 594 CursorTreeAdapter adapter = new MockCursorTreeAdapter(null, mContext); local [all...] |
BaseExpandableListAdapterTest.java | 49 BaseExpandableListAdapter adapter = new MockBaseExpandableListAdapter(); local 50 assertEquals(1, adapter.getGroupTypeCount()); 51 assertEquals(0, adapter.getGroupType(0)); 52 assertEquals(1, adapter.getChildTypeCount()); 53 assertEquals(0, adapter.getChildType(0, 0)); 58 BaseExpandableListAdapter adapter = new MockBaseExpandableListAdapter(); local 59 assertTrue(adapter.areAllItemsEnabled()); 64 BaseExpandableListAdapter adapter = new MockBaseExpandableListAdapter(); local 66 long childID = adapter.getCombinedChildId(10, 100); 67 long groupID = adapter.getCombinedGroupId(10) 79 MockBaseExpandableListAdapter adapter = new MockBaseExpandableListAdapter(); local 87 BaseExpandableListAdapter adapter = new MockBaseExpandableListAdapter(); local 98 BaseExpandableListAdapter adapter = new MockBaseExpandableListAdapter(); local 109 BaseExpandableListAdapter adapter = new MockBaseExpandableListAdapter(); local 116 BaseExpandableListAdapter adapter = new MockBaseExpandableListAdapter(); local 123 BaseExpandableListAdapter adapter = new MockBaseExpandableListAdapter(); local [all...] |
/cts/tests/tests/animation/src/android/animation/cts/ |
AnimatorListenerAdapterTest.java | 38 AnimatorListenerAdapter adapter = new MyAdapter(); local 39 adapter.onAnimationStart(null); 40 adapter.onAnimationEnd(null); 41 adapter.onAnimationRepeat(null); 42 adapter.onAnimationCancel(null); 43 adapter.onAnimationPause(null); 44 adapter.onAnimationResume(null);
|
/cts/tests/tests/transition/src/android/transition/cts/ |
TransitionListenerAdapterTest.java | 38 TransitionListenerAdapter adapter = new MyAdapter(); local 39 adapter.onTransitionStart(null); 40 adapter.onTransitionEnd(null); 41 adapter.onTransitionCancel(null); 42 adapter.onTransitionPause(null); 43 adapter.onTransitionResume(null);
|
/external/swiftshader/src/D3D9/ |
Direct3D9Ex.cpp | 92 long Direct3D9Ex::GetAdapterIdentifier(unsigned int adapter, unsigned long flags, D3DADAPTER_IDENTIFIER9 *identifier) 94 TRACE("unsigned int adapter = %d, unsigned long flags = 0x%0.8X, D3DADAPTER_IDENTIFIER9 *identifier = 0x%0.8p", adapter, flags, identifier); 96 return Direct3D9::GetAdapterIdentifier(adapter, flags, identifier); 99 unsigned int Direct3D9Ex::GetAdapterModeCount(unsigned int adapter, D3DFORMAT format) 101 TRACE("unsigned int adapter = %d, D3DFORMAT format = %d", adapter, format); 103 return Direct3D9::GetAdapterModeCount(adapter, format); 106 long Direct3D9Ex::EnumAdapterModes(unsigned int adapter, D3DFORMAT format, unsigned int index, D3DDISPLAYMODE *mode) 108 TRACE("unsigned int adapter = %d, D3DFORMAT format = %d, unsigned int index = %d, D3DDISPLAYMODE *mode = 0x%0.8p", adapter, fo (…) [all...] |
Direct3D9Ex.hpp | 42 long __stdcall GetAdapterIdentifier(unsigned int adapter, unsigned long flags, D3DADAPTER_IDENTIFIER9 *identifier) override; 43 unsigned int __stdcall GetAdapterModeCount(unsigned int adapter, D3DFORMAT format) override; 44 long __stdcall EnumAdapterModes(unsigned int adapter, D3DFORMAT format, unsigned int index, D3DDISPLAYMODE *mode) override; 45 long __stdcall GetAdapterDisplayMode(unsigned int adapter, D3DDISPLAYMODE *mode) override; 46 long __stdcall CheckDeviceType(unsigned int adapter, D3DDEVTYPE checkType, D3DFORMAT displayFormat, D3DFORMAT backBufferFormat, int windowed) override; 47 long __stdcall CheckDeviceFormat(unsigned int adapter, D3DDEVTYPE deviceType, D3DFORMAT adapterFormat, unsigned long usage, D3DRESOURCETYPE type, D3DFORMAT checkFormat) override; 48 long __stdcall CheckDeviceMultiSampleType(unsigned int adapter, D3DDEVTYPE deviceType, D3DFORMAT surfaceFormat, int windowed, D3DMULTISAMPLE_TYPE multiSampleType, unsigned long *qualityLevels) override; 49 long __stdcall CheckDepthStencilMatch(unsigned int adapter, D3DDEVTYPE deviceType, D3DFORMAT adapterFormat, D3DFORMAT renderTargetFormat, D3DFORMAT depthStencilFormat) override; 50 long __stdcall CheckDeviceFormatConversion(unsigned int adapter, D3DDEVTYPE deviceType, D3DFORMAT sourceFormat, D3DFORMAT targetFormat) override; 51 long __stdcall GetDeviceCaps(unsigned int adapter, D3DDEVTYPE deviceType, D3DCAPS9 *caps) override [all...] |
Direct3D9.hpp | 42 long __stdcall GetAdapterIdentifier(unsigned int adapter, unsigned long flags, D3DADAPTER_IDENTIFIER9 *identifier) override; 43 unsigned int __stdcall GetAdapterModeCount(unsigned int adapter, D3DFORMAT format) override; 44 long __stdcall EnumAdapterModes(unsigned int adapter, D3DFORMAT format, unsigned int index, D3DDISPLAYMODE *mode) override; 45 long __stdcall GetAdapterDisplayMode(unsigned int adapter, D3DDISPLAYMODE *mode) override; 46 long __stdcall CheckDeviceType(unsigned int adapter, D3DDEVTYPE checkType, D3DFORMAT displayFormat, D3DFORMAT backBufferFormat, int windowed) override; 47 long __stdcall CheckDeviceFormat(unsigned int adapter, D3DDEVTYPE deviceType, D3DFORMAT adapterFormat, unsigned long usage, D3DRESOURCETYPE type, D3DFORMAT checkFormat) override; 48 long __stdcall CheckDeviceMultiSampleType(unsigned int adapter, D3DDEVTYPE deviceType, D3DFORMAT surfaceFormat, int windowed, D3DMULTISAMPLE_TYPE multiSampleType, unsigned long *qualityLevels) override; 49 long __stdcall CheckDepthStencilMatch(unsigned int adapter, D3DDEVTYPE deviceType, D3DFORMAT adapterFormat, D3DFORMAT renderTargetFormat, D3DFORMAT depthStencilFormat) override; 50 long __stdcall CheckDeviceFormatConversion(unsigned int adapter, D3DDEVTYPE deviceType, D3DFORMAT sourceFormat, D3DFORMAT targetFormat) override; 51 long __stdcall GetDeviceCaps(unsigned int adapter, D3DDEVTYPE deviceType, D3DCAPS9 *caps) override [all...] |
/external/testng/src/test/java/test/name/ |
NameTest.java | 21 TestListenerAdapter adapter = new TestListenerAdapter(); local 22 tng.addListener(adapter); 26 Assert.assertTrue(adapter.getFailedTests().isEmpty()); 27 Assert.assertTrue(adapter.getSkippedTests().isEmpty()); 28 Assert.assertEquals(adapter.getPassedTests().size(), 1); 29 ITestResult result = adapter.getPassedTests().get(0); 38 TestListenerAdapter adapter = new TestListenerAdapter(); local 39 tng.addListener(adapter); 43 Assert.assertTrue(adapter.getFailedTests().isEmpty()); 44 Assert.assertTrue(adapter.getSkippedTests().isEmpty()) 55 TestListenerAdapter adapter = new TestListenerAdapter(); local 72 TestListenerAdapter adapter = new TestListenerAdapter(); local 89 TestListenerAdapter adapter = new TestListenerAdapter(); local 106 TestListenerAdapter adapter = new TestListenerAdapter(); local 123 TestListenerAdapter adapter = new TestListenerAdapter(); local [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...] |
/external/glide/library/src/main/java/com/bumptech/glide/request/animation/ |
ViewPropertyAnimation.java | 33 * @param adapter {@inheritDoc} 37 public boolean animate(R current, ViewAdapter adapter) { 38 final View view = adapter.getView(); 40 animator.animate(adapter.getView());
|
DrawableCrossFadeViewAnimation.java | 39 * @param adapter {@inheritDoc} 43 public boolean animate(T current, ViewAdapter adapter) { 44 Drawable previous = adapter.getCurrentDrawable(); 49 adapter.setDrawable(transitionDrawable); 52 defaultAnimation.animate(current, adapter);
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowListView.java | 17 HeaderViewListAdapter adapter = (HeaderViewListAdapter) realListView.getAdapter(); local 19 int headersCount = adapter.getHeadersCount(); 21 headerViews.add(adapter.getView(i, null, realListView)); 27 HeaderViewListAdapter adapter = (HeaderViewListAdapter) realListView.getAdapter(); local 29 int offset = adapter.getHeadersCount() + adapter.getCount() - adapter.getFootersCount(); 30 int itemCount = adapter.getCount(); 32 footerViews.add(adapter.getView(i, null, realListView));
|
/external/swiftshader/src/D3D8/ |
Direct3D8.hpp | 41 long __stdcall CheckDepthStencilMatch(unsigned int adapter, D3DDEVTYPE deviceType, D3DFORMAT adapterFormat, D3DFORMAT renderTargetFormat, D3DFORMAT depthStencilFormat) override; 42 long __stdcall CheckDeviceFormat(unsigned int adapter, D3DDEVTYPE deviceType, D3DFORMAT adapaterFormat, unsigned long usage, D3DRESOURCETYPE type, D3DFORMAT checkFormat) override; 43 long __stdcall CheckDeviceMultiSampleType(unsigned int adapter, D3DDEVTYPE deviceType, D3DFORMAT surfaceFormat, int windowed, D3DMULTISAMPLE_TYPE multiSampleType) override; 44 long __stdcall CheckDeviceType(unsigned int adapter, D3DDEVTYPE checkType, D3DFORMAT displayFormat, D3DFORMAT backBufferFormat, int windowed) override; 45 long __stdcall CreateDevice(unsigned int adapter, D3DDEVTYPE deviceType, HWND focusWindow, unsigned long behaviorFlags, D3DPRESENT_PARAMETERS *presentParameters, IDirect3DDevice8 **returnedDeviceInterface) override; 46 long __stdcall EnumAdapterModes(unsigned int adapter, unsigned int index, D3DDISPLAYMODE *mode) override; 48 long __stdcall GetAdapterDisplayMode(unsigned int adapter, D3DDISPLAYMODE *mode) override; 49 long __stdcall GetAdapterIdentifier(unsigned int adapter, unsigned long flags, D3DADAPTER_IDENTIFIER8 *identifier) override; 50 unsigned int __stdcall GetAdapterModeCount(unsigned int adapter) override; 51 HMONITOR __stdcall GetAdapterMonitor(unsigned int adapter) override [all...] |
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
ShadowSimpleCursorAdapterTest.java | 27 SimpleCursorAdapter adapter = local 32 adapter.changeCursor(cursor); 34 assertThat(adapter.getCursor()).isSameAs(cursor); 39 SimpleCursorAdapter adapter = local 44 adapter.swapCursor(cursor); 46 assertThat(adapter.getCursor()).isSameAs(cursor); 51 SimpleCursorAdapter adapter = local 56 adapter.swapCursor(cursor); 57 adapter.swapCursor(null); 59 assertThat(adapter.getCursor()).isNull() [all...] |
ShadowNfcAdapterTest.java | 36 final NfcAdapter adapter = NfcAdapter.getDefaultAdapter(activity); local 38 adapter.setNdefPushMessageCallback(callback, activity); 39 assertThat(shadowOf(adapter).getNdefPushMessageCallback()).isSameAs(callback); 47 final NfcAdapter adapter = NfcAdapter.getDefaultAdapter(activity); local 49 adapter.setOnNdefPushCompleteCallback(callback, activity); 50 assertThat(shadowOf(adapter).getOnNdefPushCompleteCallback()).isSameAs(callback); 59 final NfcAdapter adapter = NfcAdapter.getDefaultAdapter(activity); local 63 adapter.setOnNdefPushCompleteCallback(callback, nullActivity); 72 final NfcAdapter adapter = NfcAdapter.getDefaultAdapter(activity); local 77 adapter.setOnNdefPushCompleteCallback(callback, activity, nullActivity) 82 final NfcAdapter adapter = NfcAdapter.getDefaultAdapter(context); local 94 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(context); local 101 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(context); local 108 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(context); local 115 final NfcAdapter adapter = NfcAdapter.getDefaultAdapter(activity); local 125 final NfcAdapter adapter = NfcAdapter.getDefaultAdapter(activity); local 137 final NfcAdapter adapter = NfcAdapter.getDefaultAdapter(activity); local [all...] |
ShadowBaseAdapterTest.java | 18 BaseAdapter adapter = new TestBaseAdapter(); local 19 adapter.notifyDataSetChanged(); 20 assertTrue(shadowOf(adapter).wasNotifyDataSetChangedCalled()); 25 BaseAdapter adapter = new TestBaseAdapter(); local 26 adapter.notifyDataSetChanged(); 27 shadowOf(adapter).clearWasDataSetChangedCalledFlag(); 28 assertFalse(shadowOf(adapter).wasNotifyDataSetChangedCalled());
|
ShadowCursorAdapterTest.java | 21 private CursorAdapter adapter; field in class:ShadowCursorAdapterTest 43 adapter = new TestAdapter(curs); 48 assertThat(adapter.getCursor()).isNotNull(); 49 assertThat(adapter.getCursor()).isSameAs(curs); 51 adapter.changeCursor(null); 54 assertThat(adapter.getCursor()).isNull(); 59 assertThat(adapter.getCursor()).isNotNull(); 60 assertThat(adapter.getCursor()).isSameAs(curs); 62 Cursor oldCursor = adapter.swapCursor(null); 66 assertThat(adapter.getCursor()).isNull() [all...] |
/developers/samples/android/tv/ChannelsPrograms/Application/src/main/java/com/example/android/tv/channelsprograms/playback/ |
SimplePlaybackTransportControlGlue.java | 54 protected void onCreatePrimaryActions(ArrayObjectAdapter adapter) { 55 super.onCreatePrimaryActions(adapter); 56 adapter.add(mRepeatAction); 57 adapter.add(mClosedCaptioningAction); 61 protected void onCreateSecondaryActions(ArrayObjectAdapter adapter) { 62 super.onCreateSecondaryActions(adapter); 63 adapter.add(mThumbsUpAction); 64 adapter.add(mThumbsDownAction); 65 adapter.add(mPipAction); 90 private boolean dispatchAction(KeyEvent keyEvent, ArrayObjectAdapter adapter) { [all...] |
/external/setupdesign/main/src/com/google/android/setupdesign/ |
SetupWizardItemsLayout.java | 40 final ListAdapter adapter = super.getAdapter(); local 41 if (adapter instanceof ItemAdapter) { 42 return (ItemAdapter) adapter;
|
/external/autotest/client/cros/cellular/ |
base_station_8960_test_noautorun.py | 24 adapter = x['gpib_adapter'] 27 hostname=adapter['address'], 28 port=adapter['ip_port'], 29 gpib_address=adapter['gpib_address'],
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/ |
TestListActivity.java | 65 ArrayTestListAdapter adapter = new ArrayTestListAdapter(this); local 67 adapter.add(TestListAdapter.TestListItem.newCategory(this, 69 adapter.add(TestListAdapter.TestListItem.newTest(this, 73 adapter.add(TestListAdapter.TestListItem.newTest(this, 77 adapter.add(TestListAdapter.TestListItem.newCategory(this, 79 adapter.add(TestListAdapter.TestListItem.newTest(this, 83 adapter.add(TestListAdapter.TestListItem.newTest(this, 87 adapter.add(TestListAdapter.TestListItem.newCategory(this, 89 adapter.add(TestListAdapter.TestListItem.newTest(this, 93 adapter.add(TestListAdapter.TestListItem.newTest(this [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/ |
NfcTestActivity.java | 54 ArrayTestListAdapter adapter = new ArrayTestListAdapter(this); local 57 adapter.add(TestListItem.newCategory(this, R.string.nfc_pee_2_pee)); 58 adapter.add(TestListItem.newTest(this, R.string.nfc_ndef_push_sender, 61 adapter.add(TestListItem.newTest(this, R.string.nfc_ndef_push_receiver, 66 adapter.add(TestListItem.newTest(this, R.string.nfc_llcp_version_check, 72 adapter.add(TestListItem.newCategory(this, R.string.nfc_tag_verification)); 73 adapter.add(TestListItem.newTest(this, R.string.nfc_ndef, 76 adapter.add(TestListItem.newTest(this, R.string.nfc_mifare_ultralight, 81 adapter.add(TestListItem.newCategory(this, R.string.nfc_hce)); 82 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_reader_tests [all...] |