OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:NfcNdefRecord
(Results
1 - 13
of
13
) sorted by null
/external/chromium_org/device/nfc/
nfc_ndef_record_utils_chromeos.h
12
class
NfcNdefRecord
;
18
// Converts the
NfcNdefRecord
|record| to a dictionary that can be passed to
22
const device::
NfcNdefRecord
* record,
25
// Converts an NDEF record D-Bus properties structure to an
NfcNdefRecord
31
device::
NfcNdefRecord
* out);
nfc_ndef_record_unittest.cc
30
scoped_ptr<
NfcNdefRecord
> record(new
NfcNdefRecord
());
33
EXPECT_FALSE(record->Populate(
NfcNdefRecord
::kTypeText, &data));
37
data.SetInteger(
NfcNdefRecord
::kFieldText, 0);
38
EXPECT_FALSE(record->Populate(
NfcNdefRecord
::kTypeText, &data));
43
data.SetString(
NfcNdefRecord
::kFieldText, kTestText);
44
EXPECT_FALSE(record->Populate(
NfcNdefRecord
::kTypeText, &data));
48
EXPECT_FALSE(record->Populate(
NfcNdefRecord
::kTypeText, &data));
51
data.SetInteger(
NfcNdefRecord
::kFieldLanguageCode, 0);
52
EXPECT_FALSE(record->Populate(
NfcNdefRecord
::kTypeText, &data))
[
all
...]
nfc_ndef_record.h
15
//
NfcNdefRecord
represents an NDEF (NFC Data Exchange Format) record. NDEF is
21
class
NfcNdefRecord
{
99
NfcNdefRecord
();
100
virtual ~
NfcNdefRecord
();
117
//
NfcNdefRecord
is allowed only once and after a successful call to this
129
DISALLOW_COPY_AND_ASSIGN(
NfcNdefRecord
);
140
typedef std::vector<
NfcNdefRecord
*> RecordList;
151
void AddRecord(
NfcNdefRecord
* record);
156
bool RemoveRecord(
NfcNdefRecord
* record);
nfc_ndef_record_utils_chromeos.cc
12
using device::
NfcNdefRecord
;
20
// device::
NfcNdefRecord
::Type value.
21
NfcNdefRecord
::Type DBusRecordTypeValueToNfcNdefRecordType(
24
return
NfcNdefRecord
::kTypeSmartPoster;
26
return
NfcNdefRecord
::kTypeText;
28
return
NfcNdefRecord
::kTypeURI;
30
return
NfcNdefRecord
::kTypeHandoverRequest;
32
return
NfcNdefRecord
::kTypeHandoverSelect;
34
return
NfcNdefRecord
::kTypeHandoverCarrier;
35
return
NfcNdefRecord
::kTypeUnknown
[
all
...]
nfc_ndef_record.cc
23
if (!data->GetString(
NfcNdefRecord
::kFieldURI, &uri)) {
89
required_fields[
NfcNdefRecord
::kFieldText] = base::Value::TYPE_STRING;
90
required_fields[
NfcNdefRecord
::kFieldEncoding] = base::Value::TYPE_STRING;
91
required_fields[
NfcNdefRecord
::kFieldLanguageCode] = base::Value::TYPE_STRING;
100
if (!data->GetString(
NfcNdefRecord
::kFieldEncoding, &encoding)) {
101
if (encoding !=
NfcNdefRecord
::kEncodingUtf8 ||
102
encoding !=
NfcNdefRecord
::kEncodingUtf16) {
115
required_fields[
NfcNdefRecord
::kFieldURI] = base::Value::TYPE_STRING;
117
optional_fields[
NfcNdefRecord
::kFieldAction] = base::Value::TYPE_STRING;
118
optional_fields[
NfcNdefRecord
::kFieldMimeType] = base::Value::TYPE_STRING
[
all
...]
nfc_chromeos_unittest.cc
26
using device::
NfcNdefRecord
;
114
NfcPeer* peer, const
NfcNdefRecord
* record) OVERRIDE {
122
NfcTag* tag, const
NfcNdefRecord
* record) OVERRIDE {
433
const
NfcNdefRecord
* record = message.records()[0];
435
EXPECT_TRUE(record->data().GetString(
NfcNdefRecord
::kFieldURI, &uri));
623
record_data.SetString(
NfcNdefRecord
::kFieldURI, kTestURI);
624
NfcNdefRecord
written_record;
625
written_record.Populate(
NfcNdefRecord
::kTypeURI, &record_data);
642
NfcNdefRecord
* received_record =
644
EXPECT_EQ(
NfcNdefRecord
::kTypeURI, received_record->type())
[
all
...]
nfc_peer.h
45
virtual void RecordReceived(NfcPeer* peer, const
NfcNdefRecord
* record) {}
nfc_peer_chromeos.cc
18
using device::
NfcNdefRecord
;
81
const
NfcNdefRecord
* record = message.records()[0];
123
NfcNdefRecord
* record = iter->second;
179
NfcNdefRecord
* record = new
NfcNdefRecord
();
nfc_tag_technology_chromeos.cc
13
using device::
NfcNdefRecord
;
80
const
NfcNdefRecord
* record = message.records()[0];
113
NfcNdefRecord
* record = iter->second;
171
NfcNdefRecord
* record = new
NfcNdefRecord
();
nfc_tag_technology.h
86
virtual void RecordReceived(NfcTag* tag, const
NfcNdefRecord
* record) {}
nfc_peer_chromeos.h
38
// Mapping from D-Bus object paths to
NfcNdefRecord
objects.
39
typedef std::map<dbus::ObjectPath, device::
NfcNdefRecord
*> NdefRecordMap;
nfc_tag_technology_chromeos.h
48
// Mapping from D-Bus object paths to
NfcNdefRecord
objects.
49
typedef std::map<dbus::ObjectPath, device::
NfcNdefRecord
*> NdefRecordMap;
/external/chromium_org/chrome/browser/ui/webui/chromeos/
nfc_debug_ui.cc
25
using device::
NfcNdefRecord
;
107
std::string RecordTypeToString(
NfcNdefRecord
::Type type) {
109
case
NfcNdefRecord
::kTypeHandoverCarrier:
111
case
NfcNdefRecord
::kTypeHandoverRequest:
113
case
NfcNdefRecord
::kTypeHandoverSelect:
115
case
NfcNdefRecord
::kTypeSmartPoster:
117
case
NfcNdefRecord
::kTypeText:
119
case
NfcNdefRecord
::kTypeURI:
121
case
NfcNdefRecord
::kTypeUnknown:
127
NfcNdefRecord
::Type RecordTypeStringValueToEnum(const std::string& type)
[
all
...]
Completed in 98 milliseconds