/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/sitemap/ |
D | SiteMapManager.java | 82 final SiteMapPair pair = lookUpParent(currentClass, currentTitle); in buildBreadCrumb() local 83 if (pair == null) { in buildBreadCrumb() 89 final String parentTitle = pair.getParentTitle(); in buildBreadCrumb() 93 currentClass = pair.getParentClass(); in buildBreadCrumb() 94 currentTitle = pair.getParentTitle(); in buildBreadCrumb() 107 for (SiteMapPair pair : mPairs) { in getTopLevelPair() 108 if (TextUtils.equals(pair.getChildClass(), clazz)) { in getTopLevelPair() 109 currentPair = pair; in getTopLevelPair() 111 screenTitle = pair.getChildTitle(); in getTopLevelPair() 123 SiteMapPair pair = lookUpParent(currentClass, currentTitle); in getTopLevelPair() local [all …]
|
D | HighlightableMenu.java | 72 SiteMapPair pair = siteMap.getTopLevelPair(context, row.className, row.screenTitle); in getMenuKey() local 73 if (pair != null) { in getMenuKey() 74 menuKey = pair.getHighlightableMenuKey(); in getMenuKey() 117 + ", top-level: " + (pair != null ? pair.getParentTitle() : row.screenTitle) in getMenuKey()
|
/packages/modules/Bluetooth/system/gd/packet/parser/ |
D | enum_gen.cc | 30 for (const auto& pair : e_.constants_) { in GenDefinition() local 31 stream << pair.second << " = 0x" << std::hex << pair.first << std::dec << ","; in GenDefinition() 38 for (const auto& pair : e_.constants_) { in GenDefinitionPybind11() local 39 stream << ".value(\"" << pair.second << "\", " << e_.name_ << "::" << pair.second << ")"; in GenDefinitionPybind11() 48 for (const auto& pair : e_.constants_) { in GenLogging() local 49 stream << "case " << e_.name_ << "::" << pair.second << ":"; in GenLogging() 50 stream << " return \"" << pair.second << "\";"; in GenLogging() 67 for (const auto& pair : e_.constants_) { in GenRustDef() local 68 …stream << util::ConstantCaseToCamelCase(pair.second) << " = 0x" << std::hex << pair.first << std::… in GenRustDef() 75 for (const auto& pair : e_.constants_) { in GenRustDef() local [all …]
|
D | declarations.h | 37 type_defs_.insert(std::pair(name, def)); in AddTypeDef() 38 type_defs_queue_.push_back(std::pair(name, def)); in AddTypeDef() 55 packet_defs_.insert(std::pair(name, def)); in AddPacketDef() 56 packet_defs_queue_.push_back(std::pair(name, def)); in AddPacketDef() 73 group_defs_.insert(std::pair(name, group_def)); in AddGroupDef() 87 std::deque<std::pair<std::string, TypeDef*>> type_defs_queue_; 89 std::deque<std::pair<std::string, PacketDef*>> packet_defs_queue_;
|
/packages/modules/Bluetooth/tools/rootcanal/model/controller/ |
D | acl_connection_handler.cc | 92 for (auto pair : acl_connections_) { in CreatePendingLeConnection() local 93 auto connection = std::get<AclConnection>(pair); in CreatePendingLeConnection() 182 for (auto pair : acl_connections_) { in GetHandle() local 183 if (std::get<AclConnection>(pair).GetAddress() == addr) { in GetHandle() 184 return std::get<0>(pair); in GetHandle() 192 for (auto pair : acl_connections_) { in GetHandleOnlyAddress() local 193 if (std::get<AclConnection>(pair).GetAddress().GetAddress() == addr) { in GetHandleOnlyAddress() 194 return std::get<0>(pair); in GetHandleOnlyAddress() 498 for (const auto& pair : sco_connections_) { in HasPendingScoConnection() local 499 if (std::get<ScoConnection>(pair).GetAddress() == addr) { in HasPendingScoConnection() [all …]
|
/packages/modules/StatsD/statsd/src/ |
D | stats_log_util.cpp | 473 void writePullerStatsToStream(const std::pair<int, StatsdStats::PulledAtomStats>& pair, in writePullerStatsToStream() argument 477 protoOutput->write(FIELD_TYPE_INT32 | FIELD_ID_PULL_ATOM_ID, (int32_t)pair.first); in writePullerStatsToStream() 478 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_TOTAL_PULL, (long long)pair.second.totalPull); in writePullerStatsToStream() 480 (long long)pair.second.totalPullFromCache); in writePullerStatsToStream() 482 (long long)pair.second.minPullIntervalSec); in writePullerStatsToStream() 484 (long long)pair.second.avgPullTimeNs); in writePullerStatsToStream() 486 (long long)pair.second.maxPullTimeNs); in writePullerStatsToStream() 488 (long long)pair.second.avgPullDelayNs); in writePullerStatsToStream() 490 (long long)pair.second.maxPullDelayNs); in writePullerStatsToStream() 491 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_DATA_ERROR, (long long)pair.second.dataError); in writePullerStatsToStream() [all …]
|
/packages/modules/StatsD/statsd/src/guardrail/ |
D | StatsdStats.cpp | 159 const std::map<int, std::pair<size_t, size_t>> StatsdStats::kAtomDimensionKeySizeLimitMap = { 185 int alertsCount, const std::list<std::pair<const int64_t, const int32_t>>& annotations, in noteConfigReceived() 952 for (auto& pair : mConfigStats) { in dumpStats() local 953 auto& configStats = pair.second; in dumpStats() 1002 for (const auto& stats : pair.second->matcher_stats) { in dumpStats() 1006 for (const auto& stats : pair.second->condition_stats) { in dumpStats() 1011 for (const auto& stats : pair.second->condition_stats) { in dumpStats() 1016 for (const auto& stats : pair.second->alert_stats) { in dumpStats() 1052 for (const auto& pair : mNonPlatformPushedAtomStats) { in dumpStats() local 1054 pair.first, pair.second.logCount, getPushedAtomErrorsLocked(pair.first), in dumpStats() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/ |
D | MetadataUtils.java | 96 String [] pair; in convertRationalLatLonToFloat() local 97 pair = parts[0].split("/"); in convertRationalLatLonToFloat() 98 double degrees = Double.parseDouble(pair[0].trim()) in convertRationalLatLonToFloat() 99 / Double.parseDouble(pair[1].trim()); in convertRationalLatLonToFloat() 101 pair = parts[1].split("/"); in convertRationalLatLonToFloat() 102 double minutes = Double.parseDouble(pair[0].trim()) in convertRationalLatLonToFloat() 103 / Double.parseDouble(pair[1].trim()); in convertRationalLatLonToFloat() 105 pair = parts[2].split("/"); in convertRationalLatLonToFloat() 106 double seconds = Double.parseDouble(pair[0].trim()) in convertRationalLatLonToFloat() 107 / Double.parseDouble(pair[1].trim()); in convertRationalLatLonToFloat()
|
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/activities/ |
D | ProvisionNotRequiredFragment.java | 94 pair -> { in onViewCreated() 95 if (pair.first > 0 && !TextUtils.isEmpty(pair.second)) { in onViewCreated() 96 headerTextView.setText(getString(pair.first, pair.second)); in onViewCreated() 103 pair -> { in onViewCreated() 104 if (pair.first > 0 && !TextUtils.isEmpty(pair.second)) { in onViewCreated() 105 subheaderTextView.setText(getString(pair.first, pair.second)); in onViewCreated()
|
D | DeviceEnrollmentInfoFragment.java | 89 pair -> { in onViewCreated() 90 if (pair.first > 0 && !TextUtils.isEmpty(pair.second)) { in onViewCreated() 91 headerTextView.setText(getString(pair.first, pair.second)); in onViewCreated() 98 pair -> { in onViewCreated() 99 if (pair.first > 0 && !TextUtils.isEmpty(pair.second)) { in onViewCreated() 100 bodyTextView.setText(getString(pair.first, pair.second)); in onViewCreated()
|
D | ProvisionInfoFragment.java | 145 pair -> { in onViewCreated() 146 if (pair.first > 0 && !TextUtils.isEmpty(pair.second)) { in onViewCreated() 147 headerTextView.setText(getString(pair.first, pair.second)); in onViewCreated() 157 pair -> { in onViewCreated() 158 if (pair.first > 0 && !TextUtils.isEmpty(pair.second)) { in onViewCreated() 159 headerTextView.setText(getString(pair.first, pair.second)); in onViewCreated()
|
/packages/services/Car/car-lib/src/android/car/occupantconnection/ |
D | CarOccupantConnectionManager.java | 348 Pair<ConnectionRequestCallback, Executor> pair = 350 if (pair == null) { 355 ConnectionRequestCallback callback = pair.first; 356 Executor executor = pair.second; 367 Pair<ConnectionRequestCallback, Executor> pair = 369 if (pair == null) { 374 ConnectionRequestCallback callback = pair.first; 375 Executor executor = pair.second; 385 Pair<ConnectionRequestCallback, Executor> pair = 387 if (pair == null) { [all …]
|
/packages/modules/StatsD/statsd/src/condition/ |
D | SimpleConditionTracker.cpp | 94 auto pair = atomMatchingTrackerMap.find(simplePredicate.start()); in setMatcherIndices() local 95 if (pair == atomMatchingTrackerMap.end()) { in setMatcherIndices() 99 mStartLogMatcherIndex = pair->second; in setMatcherIndices() 106 auto pair = atomMatchingTrackerMap.find(simplePredicate.stop()); in setMatcherIndices() local 107 if (pair == atomMatchingTrackerMap.end()) { in setMatcherIndices() 111 mStopLogMatcherIndex = pair->second; in setMatcherIndices() 118 auto pair = atomMatchingTrackerMap.find(simplePredicate.stop_all()); in setMatcherIndices() local 119 if (pair == atomMatchingTrackerMap.end()) { in setMatcherIndices() 124 mStopAllLogMatcherIndex = pair->second; in setMatcherIndices() 133 for (const auto& pair : mSlicedConditionState) { in dumpState() local [all …]
|
/packages/modules/StatsD/statsd/src/metrics/duration_helper/ |
D | MaxDurationTracker.cpp | 149 for (auto& pair : mInfos) { in hasAccumulatingDuration() local 150 if (pair.second.state == kStarted) { in hasAccumulatingDuration() 159 for (const auto& pair : mInfos) { in noteStopAll() local 160 keys.insert(pair.first); in noteStopAll() 236 for (auto& pair : mInfos) { in onSlicedConditionMayChange() local 237 if (pair.second.state == kStopped) { in onSlicedConditionMayChange() 241 mConditionTrackerIndex, pair.second.conditionKeys, in onSlicedConditionMayChange() 245 VLOG("key: %s, condition: %d", pair.first.toString().c_str(), conditionMet); in onSlicedConditionMayChange() 246 noteConditionChanged(pair.first, conditionMet, timestamp); in onSlicedConditionMayChange() 256 for (auto& pair : mInfos) { in onConditionChanged() local [all …]
|
/packages/services/Telephony/testapps/ImsTestService/src/com/android/phone/testapps/imstestapp/ |
D | TestMmTelFeatureImpl.java | 81 for (CapabilityChangeRequest.CapabilityPair pair : request.getCapabilitiesToEnable()) { in changeEnabledCapabilities() 82 mEnabledCapabilities.get(pair.getRadioTech()).addCapabilities(pair.getCapability()); in changeEnabledCapabilities() 84 for (CapabilityChangeRequest.CapabilityPair pair : request.getCapabilitiesToDisable()) { in changeEnabledCapabilities() 85 mEnabledCapabilities.get(pair.getRadioTech()).removeCapabilities(pair.getCapability()); in changeEnabledCapabilities()
|
/packages/modules/Bluetooth/system/btif/src/ |
D | btif_sock_sco.cc | 130 int pair[2] = {INVALID_FD, INVALID_FD}; in sco_socket_establish_locked() local 135 if (socketpair(AF_LOCAL, SOCK_STREAM, 0, pair) == -1) { in sco_socket_establish_locked() 156 socket = socket_new_from_fd(pair[1]); in sco_socket_establish_locked() 159 pair[1]); in sco_socket_establish_locked() 163 *sock_fd = pair[0]; // Transfer ownership of one end to caller. in sco_socket_establish_locked() 172 if (pair[0] != INVALID_FD) close(pair[0]); in sco_socket_establish_locked() 173 if (pair[1] != INVALID_FD) close(pair[1]); in sco_socket_establish_locked()
|
/packages/services/Car/tools/cpu_perf/ |
D | config.py | 82 for pair in pairs: 83 min_max = pair.split('-') 92 values.append(int(pair)) 116 pair = words[1].split('=') 117 if len(pair) != 2: 119 cores = parse_ints(pair[0]) 120 freq = int(pair[1])
|
/packages/modules/Bluetooth/system/bta/gatt/ |
D | database_builder.h | 30 constexpr static std::pair<uint16_t, uint16_t> EXPLORE_END = 47 const std::pair<uint16_t, uint16_t>& CurrentlyExploredService(); 52 std::pair<uint16_t, uint16_t> NextDescriptorRangeToExplore(); 86 std::pair<uint16_t, uint16_t> pending_service; 92 std::set<std::pair<uint16_t, uint16_t>> services_to_discover;
|
/packages/apps/Camera2/src/com/android/camera/async/ |
D | ConcurrentState.java | 68 for (ExecutorListenerPair pair : mListeners) { in update() 69 pair.run(); in update() 77 final ExecutorListenerPair pair = new ExecutorListenerPair(executor, callback); in addCallback() local 78 mListeners.add(pair); in addCallback() 82 mListeners.remove(pair); in addCallback()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/audio/ |
D | AudioTrackMonitor.java | 92 Pair<Long, Integer> pair = mPtsList.get(mPtsList.size() - 1); in addPts() local 93 mPtsList.set(mPtsList.size() - 1, Pair.create(pair.first, pair.second + 1)); in addPts() 119 for (Pair<Long, Integer> pair : mPtsList) { in maybeLog() 122 .append(pair.first) in maybeLog() 124 .append(pair.second) in maybeLog()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastReceiverMetrics.java | 393 : o1.first - o2.first).forEach(pair -> { in convertToProtoBuffer() 396 rangeBuilder.setStart(pair.first); in convertToProtoBuffer() 397 rangeBuilder.setEnd(pair.second); in convertToProtoBuffer() 400 Log.d(TAG, "[first] : " + pair.first + " [second] : " + pair.second); in convertToProtoBuffer() 455 curChRangeSet.forEach(pair -> strChannelList.add( in getStringFromChannelSet() 456 pair.first.equals(pair.second) in getStringFromChannelSet() 457 ? String.valueOf(pair.first) : pair.first + RANGE_DELIMITER + pair.second)); in getStringFromChannelSet()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeCertReqPayloadTest.java | 42 Pair<IkePayload, Integer> pair = in testDecode() local 48 IkeCertReqPayload certPayload = (IkeCertReqPayload) pair.first; in testDecode() 53 assertEquals(NEXT_PAYLOAD_TYPE, (int) pair.second); in testDecode() 58 Pair<IkePayload, Integer> pair = in testEncode() local 63 IkeCertReqPayload certPayload = (IkeCertReqPayload) pair.first; in testEncode()
|
/packages/modules/StatsD/statsd/src/matchers/ |
D | CombinationAtomMatchingTracker.cpp | 66 auto pair = matcherMap.find(child); in init() local 67 if (pair == matcherMap.end()) { in init() 76 int childIndex = pair->second; in init() 114 const auto& pair = atomMatchingTrackerMap.find(child); in onConfigUpdated() local 115 if (pair == atomMatchingTrackerMap.end()) { in onConfigUpdated() 123 mChildren.push_back(pair->second); in onConfigUpdated()
|
/packages/modules/Bluetooth/system/btif/test/ |
D | btif_core_test.cc | 185 std::vector<std::pair<int, std::string>> events = { in TEST_F() 222 std::vector<std::pair<uint16_t, std::string>> events = { in TEST_F() 244 std::vector<std::pair<bt_property_type_t, std::string>> types = { in TEST_F() 272 std::vector<std::pair<uint8_t, std::string>> events = { in TEST_F() 304 std::vector<std::pair<uint8_t, std::string>> events = { in TEST_F() 349 std::vector<std::pair<int, std::string>> events = { in TEST_F() 391 std::vector<std::pair<int, std::string>> events = { in TEST_F() 418 std::vector<std::pair<uint16_t, std::string>> events = { in TEST_F() 443 std::vector<std::pair<bt_cb_thread_evt, std::string>> events = { in TEST_F() 457 std::vector<std::pair<uint16_t, std::string>> events = { in TEST_F() [all …]
|
/packages/services/Car/car-lib/src/android/car/hardware/power/ |
D | CarPowerManager.java | 624 Pair<Executor, CarPowerPolicyFilter> pair = in addPowerPolicyListener() local 626 mPolicyListenerMap.put(listener, pair); in addPowerPolicyListener() 660 Pair<Executor, CarPowerPolicyFilter> pair = mPolicyListenerMap.remove(listener); in removePowerPolicyListener() local 661 if (pair == null) { in removePowerPolicyListener() 664 int[] filterComponents = pair.second.getComponents(); in removePowerPolicyListener() 862 Pair<Executor, CarPowerPolicyFilter> pair = mPolicyListenerMap.valueAt(i); in notifyPowerPolicyListeners() local 863 if (PowerComponentUtil.hasComponents(appliedPolicy, pair.second)) { in notifyPowerPolicyListeners() 865 new Pair<CarPowerPolicyListener, Executor>(listener, pair.first)); in notifyPowerPolicyListeners() 870 Pair<CarPowerPolicyListener, Executor> pair = listeners.get(i); in notifyPowerPolicyListeners() local 871 pair.second.execute(() -> pair.first.onPolicyChanged(accumulatedPolicy)); in notifyPowerPolicyListeners()
|