Home
last modified time | relevance | path

Searched refs:records (Results 1 – 25 of 28) sorted by relevance

12

/packages/apps/Tag/src/com/android/apps/tag/record/
DSmartPoster.java137 Iterable<ParsedNdefRecord> records = NdefMessageParser.getRecords(recordsRaw); in parse() local
138 UriRecord uri = Iterables.getOnlyElement(Iterables.filter(records, UriRecord.class)); in parse()
139 TextRecord title = getFirstIfExists(records, TextRecord.class); in parse()
140 ImageRecord image = getFirstIfExists(records, ImageRecord.class); in parse()
224 private static NdefRecord getByType(byte[] type, NdefRecord[] records) { in getByType() argument
225 for (NdefRecord record : records) { in getByType()
235 private static RecommendedAction parseRecommendedAction(NdefRecord[] records) { in parseRecommendedAction() argument
236 NdefRecord record = getByType(ACTION_RECORD_TYPE, records); in parseRecommendedAction()
249 private static String parseType(NdefRecord[] records) { in parseType() argument
250 NdefRecord type = getByType(TYPE_TYPE, records); in parseType()
/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp222 void StartDns(test::DNSResponder& dns, const std::vector<DnsRecord>& records) { in StartDns() argument
223 for (const auto& r : records) { in StartDns()
398 const std::vector<DnsRecord> records = { in TEST_F() local
408 StartDns(dns, records); in TEST_F()
418 std::string domain_name = records[i].host_name.substr(0, records[i].host_name.size() - 1); in TEST_F()
423 ASSERT_EQ(cnamecount, records.size() - 2); in TEST_F()
436 std::string domain_name = records[i].host_name.substr(0, records[i].host_name.size() - 1); in TEST_F()
441 ASSERT_EQ(cnamecount, records.size() - 2); in TEST_F()
451 const std::vector<DnsRecord> records = { in TEST_F() local
455 StartDns(dns, records); in TEST_F()
[all …]
/packages/apps/TV/src/com/android/tv/recommendation/
DRecommender.java121 List<Pair<Channel, Double>> records = new ArrayList<>(); in recommendChannels() local
132 records.add(Pair.create(cr.getChannel(), maxScore)); in recommendChannels()
135 if (size > records.size()) { in recommendChannels()
136 size = records.size(); in recommendChannels()
138 Collections.sort(records, mChannelScoreComparator); in recommendChannels()
146 mChannelSortKey.put(records.get(i).first.getId(), String.format(sortKeyFormat, i)); in recommendChannels()
147 results.add(records.get(i).first); in recommendChannels()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DTestActivity.java260 Integer records = null;
262 records = Integer.parseInt(mInsertView.getText().toString().trim());
263 Log.v(Constants.TAG, "parseInt " + records);
265 if (records == null) {
266 records = 1;
268 for (int i = 0; i < records; i++) {
/packages/apps/Tag/src/com/android/apps/tag/
DTagViewer.java100 List<ParsedNdefRecord> records = parsedMsg.getRecords(); in buildTagViews() local
101 final int size = records.size(); in buildTagViews()
106 ParsedNdefRecord record = records.get(i); in buildTagViews()
/packages/apps/Tag/src/com/android/apps/tag/message/
DParsedNdefMessage.java37 public ParsedNdefMessage(List<ParsedNdefRecord> records) { in ParsedNdefMessage() argument
38 mRecords = ImmutableList.copyOf(records); in ParsedNdefMessage()
DNdefMessageParser.java51 public static List<ParsedNdefRecord> getRecords(NdefRecord[] records) { in getRecords() argument
53 for (NdefRecord record : records) { in getRecords()
/packages/services/Car/service/src/com/android/car/storagemonitoring/
DWearHistory.java58 public static WearHistory fromRecords(@NonNull WearEstimateRecord... records) { in fromRecords() argument
60 Arrays.stream(records).forEach(wearHistory::add); in fromRecords()
/packages/modules/DnsResolver/
DDnsQueryLogTest.cpp69 std::vector<DnsQueryLog::Record> records = { in TEST_F() local
76 for (auto& r : records) { in TEST_F()
Dstats.proto143 NS_T_MAILB = 253; // Transfer mailbox records.
144 NS_T_MAILA = 254; // Transfer mail agent records.
DREADME-DoT.md70 query a new ID for transmission, records the mapping from input IDs to sent IDs, and
/packages/apps/Nfc/src/com/android/nfc/
DNfcWifiProtectedSetup.java99 NdefRecord[] records = message.getRecords(); in parse() local
101 for (NdefRecord record : records) { in parse()
/packages/services/Telecomm/src/com/android/server/telecom/
DCreateConnectionProcessor.java460 List<CallAttemptRecord> records) { in getConnectionServices() argument
462 for (CallAttemptRecord record : records) { in getConnectionServices()
DAnalytics.java193 public void setCallEvents(EventManager.EventRecord records) { in setCallEvents() argument
345 public void setCallEvents(EventManager.EventRecord records) { in setCallEvents() argument
346 this.callEvents = records; in setCallEvents()
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_sdp.cpp134 bluetooth_sdp_record* records) { in sdp_search_callback() argument
156 bluetooth_sdp_record* record = &records[i]; in sdp_search_callback()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dinternals.md3 This section records some design and implementation details.
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java9133 final List<String[]> records = DeletedContactUtil.querySinceTimestamp(mResolver, projection, in testQueryDeletedContactsSinceTimestamp() local
9135 for (String[] record : records) { in testQueryDeletedContactsSinceTimestamp()
/packages/inputmethods/LatinIME/dictionaries/
Dsl_wordlist.combined.gz1dictionary=main:sl,locale=sl,description=Slovenščina,date=1393228152, ...
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dnl_wordlist.combined.gz1dictionary=main:nl,locale=nl,description=Nederlands,date=1414726258, ...
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dhr_wordlist.combined.gz1dictionary=main:hr,locale=hr,description=Hrvatski,date=1393228135, ...
Dfi_wordlist.combined.gz1dictionary=main:fi,locale=fi,description=Suomi,date=1393228135, ...

12