/system/bt/service/ipc/ |
ipc_handler.h | 25 class Adapter; 34 IPCHandler(bluetooth::Adapter* adapter, IPCManager::Delegate* delegate); 47 bluetooth::Adapter* adapter() const { return adapter_; } function in class:ipc::IPCHandler 53 // Weak reference to the global Adapter instance. 54 bluetooth::Adapter* adapter_;
|
ipc_handler.cc | 23 IPCHandler::IPCHandler(bluetooth::Adapter* adapter, 25 : adapter_(adapter), delegate_(delegate) {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/ |
TestListActivity.java | 61 ArrayTestListAdapter adapter = new ArrayTestListAdapter(this); local 63 adapter.add(TestListAdapter.TestListItem.newCategory(this, 65 adapter.add(TestListAdapter.TestListItem.newTest(this, 69 adapter.add(TestListAdapter.TestListItem.newTest(this, 73 adapter.add(TestListAdapter.TestListItem.newCategory(this, 75 adapter.add(TestListAdapter.TestListItem.newTest(this, 79 adapter.add(TestListAdapter.TestListItem.newTest(this, 83 adapter.add(TestListAdapter.TestListItem.newCategory(this, 85 adapter.add(TestListAdapter.TestListItem.newTest(this, 89 adapter.add(TestListAdapter.TestListItem.newTest(this [all...] |
/system/bt/test/suite/adapter/ |
adapter_unittest.cc | 19 #include "adapter/bluetooth_test.h" 36 << "Test should be run with Adapter disabled"; 40 EXPECT_EQ(GetState(), BT_STATE_ON) << "Adapter did not turn on."; 44 EXPECT_EQ(GetState(), BT_STATE_OFF) << "Adapter did not turn off."; 49 << "Test should be run with Adapter disabled"; 54 EXPECT_EQ(GetState(), BT_STATE_ON) << "Adapter did not turn on."; 58 EXPECT_EQ(GetState(), BT_STATE_OFF) << "Adapter did not turn off."; 68 << "Test should be run with Adapter enabled"; 78 << "Expected at least one adapter property to change"; 90 << "Expected at least one adapter property to change" [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/ |
ListViewTest.java | 47 Adapter<String> adapter = new Adapter<String>(context, 0, items); local 48 listView.setAdapter(adapter); 52 adapter.notifyDataSetChanged(); 77 Adapter<String> adapter = new Adapter<String>(context, 0, items); local 78 listView.setAdapter(adapter); 84 adapter.notifyDataSetChanged() [all...] |
/developers/samples/android/wearable/wear/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/util/ |
PrescrollToBottom.java | 22 /** Prescrolls to the last element in the adapter before draw and removes itself. */ 28 private RecyclerView.Adapter mAdapter; 30 public PrescrollToBottom(RecyclerView recyclerView, RecyclerView.Adapter adapter) { 32 mAdapter = adapter;
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowAutoCompleteTextView.java | 18 private ListAdapter adapter; field in class:ShadowAutoCompleteTextView 24 return adapter; 28 public <T extends ListAdapter & Filterable> void setAdapter(T adapter) { 29 this.adapter = adapter;
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
ListActivityTest.java | 24 ListAdapter adapter = new CountingAdapter(5); local 25 listActivity.setListAdapter(adapter); 48 ListAdapter adapter = new CountingAdapter(5); local 51 listActivity.setListAdapter(adapter); 52 assertThat(listView.getAdapter(), sameInstance(adapter));
|
CursorAdapterTest.java | 34 private CursorAdapter adapter; field in class:CursorAdapterTest 60 adapter = new TestAdapter(curs); 65 assertThat(adapter.getCursor(), notNullValue()); 66 assertThat(adapter.getCursor(), sameInstance(curs)); 68 adapter.changeCursor( null ); 71 assertThat(adapter.getCursor(), nullValue() ); 76 assertThat(adapter.getCount(), equalTo(curs.getCount())); 77 adapter.changeCursor( null ); 78 assertThat(adapter.getCount(), equalTo(0) ); 84 assertThat(adapter.getItemId(i), equalTo((long) 1234 + i)) [all...] |
/external/testng/src/main/java/org/testng/remote/adapter/ |
IMasterAdapter.java | 1 package org.testng.remote.adapter;
9 * This interface should be implemented by the Master-Slave transport adapter.
19 * Initializes the Master adapter.
21 * @throws Exception adapter might throw any exception on initialization, which will abort this adapter.
|
IWorkerAdapter.java | 1 package org.testng.remote.adapter;
10 * This interface should be implemented by the Master-Slave transport adapter.
20 * Initializes the worker adapter.
22 * @throws Exception adapter might throw any exception on initialization, which will abort this adapter.
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
PhoneNumberPickerFragment.java | 166 + " adapter is ready. Ignoring"); 176 final PhoneNumberListAdapter adapter = (PhoneNumberListAdapter) getAdapter(); local 177 return adapter.getPhoneNumber(position); 181 final PhoneNumberListAdapter adapter = (PhoneNumberListAdapter) getAdapter(); local 182 return adapter.getDataUri(position); 186 final PhoneNumberListAdapter adapter = (PhoneNumberListAdapter) getAdapter(); local 187 return adapter.getLookupKey(position); 214 PhoneNumberListAdapter adapter = new PhoneNumberListAdapter(getActivity()); local 215 adapter.setDisplayPhotos(true); 216 adapter.setUseCallableUri(mUseCallableUri) 224 final ContactEntryListAdapter adapter = getAdapter(); local 285 final PhoneNumberListAdapter adapter = (PhoneNumberListAdapter) getAdapter(); local [all...] |
EmailAddressPickerFragment.java | 44 EmailAddressListAdapter adapter = (EmailAddressListAdapter)getAdapter(); local 48 pickEmailAddress(adapter.getDataUri(position)); 53 EmailAddressListAdapter adapter = new EmailAddressListAdapter(getActivity()); local 54 adapter.setSectionHeaderDisplayEnabled(true); 55 adapter.setDisplayPhotos(true); 56 return adapter;
|
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/ |
AdapterInformation.h | 2 EFI Adapter Information Protocol definition.
3 The EFI Adapter Information Protocol is used to dynamically and quickly discover
4 or set device information for an adapter.
57 /// EFI_SUCCESS: There is media attached to the network adapter. EFI_NOT_READY: This detects a bounced state.
58 /// There was media attached to the network adapter, but it was removed and reattached. EFI_NO_MEDIA: There is
69 /// TRUE if the adapter supports booting from iSCSI IPv4 targets.
73 /// TRUE if the adapter supports booting from iSCSI IPv6 targets.
77 /// TRUE if the adapter supports booting from FCoE targets.
81 /// TRUE if the adapter supports an offload engine (such as TCP
86 /// TRUE if the adapter supports multipath I/O (MPIO) for its iSCSI [all...] |
/packages/apps/Dialer/java/com/android/dialer/contactsfragment/ |
ContactsFragment.java | 41 private ContactsAdapter adapter; field in class:ContactsFragment 72 adapter = new ContactsAdapter(getContext(), cursor); 73 recyclerView.setAdapter(adapter); 74 if (adapter.getItemCount() > 1) { 83 adapter = null; 102 // between this method updating headers and adapter#onBindViewHolder updating headers. 105 adapter.refreshHeaders(); 109 adapter.getHeader(firstVisibleItem).equals(adapter.getHeader(firstCompletelyVisible)); 110 anchoredHeader.setText(adapter.getHeader(firstCompletelyVisible)) [all...] |
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
BluetoothTestUtils.java | 425 * @param adapter The BT adapter. 427 public void enable(BluetoothAdapter adapter) { 428 writeOutput("Enabling Bluetooth adapter."); 429 assertFalse(adapter.isEnabled()); 430 int btState = adapter.getState(); 449 assertTrue(adapter.enable()); 468 * @param adapter The BT adapter. 470 public void disable(BluetoothAdapter adapter) { [all...] |
/system/bt/service/ |
adapter.cc | 17 #include "service/adapter.h" 42 const char Adapter::kDefaultAddress[] = "00:00:00:00:00:00"; 44 const char Adapter::kDefaultName[] = "not-initialized"; 61 void Adapter::Observer::OnAdapterStateChanged(Adapter* adapter, 67 void Adapter::Observer::OnDeviceConnectionStateChanged( 68 Adapter* adapter, const std::string& device_address, bool connected) { 72 // The real Adapter implementation used in production [all...] |
/frameworks/base/core/java/android/nfc/ |
NfcManager.java | 48 NfcAdapter adapter; local 55 adapter = NfcAdapter.getNfcAdapter(context); 57 adapter = null; 59 mAdapter = adapter; 63 * Get the default NFC Adapter for this device. 65 * @return the default NFC Adapter
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
ListRow.java | 31 public ListRow(HeaderItem header, ObjectAdapter adapter) { 33 mAdapter = adapter; 37 public ListRow(long id, HeaderItem header, ObjectAdapter adapter) { 39 mAdapter = adapter; 43 public ListRow(ObjectAdapter adapter) { 45 mAdapter = adapter;
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
ClusteredSuggestionsView.java | 36 public void setSuggestionsAdapter(SuggestionsAdapter<ExpandableListAdapter> adapter) { 37 mSuggestionsAdapter = adapter; 38 super.setAdapter(adapter == null ? null : adapter.getListAdapter()); 63 ExpandableListAdapter adapter = mSuggestionsAdapter.getListAdapter(); local 64 for (int i = 0; i < adapter.getGroupCount(); ++i) {
|
/external/autotest/server/site_tests/bluetooth_Sanity_ValidAddress/ |
bluetooth_Sanity_ValidAddress.py | 13 Verify that the client Bluetooth adapter has a valid address. 18 # Reset the adapter to the powered off state. 29 'BlueZ and Kernel adapter address differ: %s != %s' % 33 logging.debug('Bluetooth address of adapter is %s', address) 37 raise error.TestFail('Adapter address is all zeros') 44 raise error.TestFail('Adapter address is all ones') 57 'BlueZ adapter address changed after power on: %s != %s' % 61 'Kernel adapter address changed after power on: %s != %s' %
|
/cts/tests/tests/print/src/android/print/cts/ |
PrintDocumentAdapterContractTest.java | 82 // Create a mock print adapter. 83 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( local 113 print(adapter); 137 InOrder inOrder = inOrder(adapter); 140 inOrder.verify(adapter).onStart(); 152 verifyLayoutCall(inOrder, adapter, firstOldAttributes, firstNewAttributes, true); 156 inOrder.verify(adapter).onWrite(eq(firstPages), any(ParcelFileDescriptor.class), 171 verifyLayoutCall(inOrder, adapter, secondOldAttributes, secondNewAttributes, true); 174 verifyLayoutCall(inOrder, adapter, secondNewAttributes, secondNewAttributes, false); 177 // them when asking for the ones for a preview, and the adapter doe 190 PrintDocumentAdapter adapter = createDefaultPrintDocumentAdapter(1); local 244 PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( local 315 PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( local 386 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( local 576 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( local 659 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( local 809 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( local 927 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( local 1021 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( local 1134 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( local 1197 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( local 1279 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( local 1337 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( local 1411 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( local 1476 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( local 1542 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( local 1617 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( local 1672 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( local 1742 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( local 1813 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( local 1904 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( local [all...] |
/external/autotest/client/cros/nfc/ |
console.py | 74 IADAPTER = NEARD_SERVICE_NAME + '.Adapter' 129 def _get_adapter_proxy(self, adapter): 131 self._bus.get_object(self.NEARD_SERVICE_NAME, adapter), 134 def _get_cached_adapter_proxy(self, adapter): 135 adapter_proxy = self._adapters.get(adapter, None) 137 raise NfcClientException('Adapter "' + adapter + '" not found.') 160 def _get_adapter_properties(self, adapter): 161 adapter_proxy = self._get_cached_adapter_proxy(adapter) 170 Creates a manager proxy and subscribes to adapter signals. This metho [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
KeyguardDisabledFeaturesActivity.java | 105 protected void setupDisableTrustAgentsTest(ArrayTestListAdapter adapter) { 106 adapter.add(new DialogTestListItem(this, R.string.provisioning_byod_disable_trust_agents, 112 protected void setupDisableUnredactedWorkNotification(ArrayTestListAdapter adapter) { 113 adapter.add(new DialogTestListItemWithIcon(this, 121 protected void setupFingerprintTests(ArrayTestListAdapter adapter) { 124 adapter.add(new DialogTestListItem(this, 129 adapter.add(new DialogTestListItem(this, R.string.provisioning_byod_disable_fingerprint, 137 protected void setupTests(ArrayTestListAdapter adapter) { 139 setupDisableTrustAgentsTest(adapter); 141 setupDisableUnredactedWorkNotification(adapter); [all...] |
/external/webrtc/talk/app/webrtc/objc/ |
RTCVideoTrack.mm | 80 for (RTCVideoRendererAdapter *adapter in _adapters) { 81 self.nativeVideoTrack->RemoveRenderer(adapter.nativeVideoRenderer); 87 for (RTCVideoRendererAdapter* adapter in _adapters) { 88 NSParameterAssert(adapter.videoRenderer != renderer); 91 RTCVideoRendererAdapter* adapter = 93 [_adapters addObject:adapter]; 94 self.nativeVideoTrack->AddRenderer(adapter.nativeVideoRenderer); 98 RTCVideoRendererAdapter* adapter = nil; 101 adapter = _adapters[i]; 102 if (adapter.videoRenderer == renderer) [all...] |