/packages/modules/Connectivity/tests/unit/java/com/android/metrics/ |
D | NetworkNsdReportedMetricsTest.kt | 58 assertTrue(it.isLegacy) in testReportServiceRegistrationSucceeded() 59 assertEquals(clientId, it.clientId) in testReportServiceRegistrationSucceeded() 60 assertEquals(transactionId, it.transactionId) in testReportServiceRegistrationSucceeded() 61 assertEquals(NsdEventType.NET_REGISTER, it.type) in testReportServiceRegistrationSucceeded() 62 assertEquals(MdnsQueryResult.MQR_SERVICE_REGISTERED, it.queryResult) in testReportServiceRegistrationSucceeded() 63 assertEquals(durationMs, it.eventDurationMillisec) in testReportServiceRegistrationSucceeded() 78 assertFalse(it.isLegacy) in testReportServiceRegistrationFailed() 79 assertEquals(clientId, it.clientId) in testReportServiceRegistrationFailed() 80 assertEquals(transactionId, it.transactionId) in testReportServiceRegistrationFailed() 81 assertEquals(NsdEventType.NET_REGISTER, it.type) in testReportServiceRegistrationFailed() [all …]
|
/packages/modules/Bluetooth/system/gd/crypto_toolbox/ |
D | crypto_toolbox.cc | 50 auto it = msg.begin(); in f4() local 51 it = std::copy(&z, &z + 1, it); in f4() 52 it = std::copy(v, v + kOctet32Length, it); in f4() 53 it = std::copy(u, u + kOctet32Length, it); in f4() 72 auto it = msg.begin(); in calculate_mac_key_or_ltk() local 73 it = std::copy(length, length + 2, it); in calculate_mac_key_or_ltk() 74 it = std::copy(a2, a2 + 7, it); in calculate_mac_key_or_ltk() 75 it = std::copy(a1, a1 + 7, it); in calculate_mac_key_or_ltk() 76 it = std::copy(n2.begin(), n2.end(), it); in calculate_mac_key_or_ltk() 77 it = std::copy(n1.begin(), n1.end(), it); in calculate_mac_key_or_ltk() [all …]
|
/packages/modules/Bluetooth/system/stack/gatt/ |
D | connection_manager.cc | 97 const std::map<RawAddress, tAPPS_CONNECTING>::iterator it) { in is_anyone_interested_to_use_accept_list() argument 98 if (!it->second.doing_targeted_announcements_conn.empty()) { in is_anyone_interested_to_use_accept_list() 99 return (!it->second.doing_direct_conn.empty()); in is_anyone_interested_to_use_accept_list() 101 return (!it->second.doing_bg_conn.empty() || in is_anyone_interested_to_use_accept_list() 102 !it->second.doing_direct_conn.empty()); in is_anyone_interested_to_use_accept_list() 106 const std::map<RawAddress, tAPPS_CONNECTING>::iterator it) { in is_anyone_connecting() argument 107 return (!it->second.doing_bg_conn.empty() || in is_anyone_connecting() 108 !it->second.doing_direct_conn.empty() || in is_anyone_connecting() 109 !it->second.doing_targeted_announcements_conn.empty()); in is_anyone_connecting() 118 auto it = bgconn_dev.find(address); in get_apps_connecting_to() local [all …]
|
/packages/modules/Bluetooth/system/gd/dumpsys/internal/ |
D | filter_internal_test.cc | 133 for (auto it = object->fields()->cbegin(); it != object->fields()->cend(); ++it) { in TEST_F() local 134 …bluetooth::dumpsys::internal::FilterTypeInteger(**it, table, bluetooth::dumpsys::internal::Privacy… in TEST_F() 148 for (auto it = object->fields()->cbegin(); it != object->fields()->cend(); ++it) { in TEST_F() local 150 **it, table, bluetooth::dumpsys::internal::PrivacyLevel::kAnonymized); in TEST_F() 164 for (auto it = object->fields()->cbegin(); it != object->fields()->cend(); ++it) { in TEST_F() local 165 …bluetooth::dumpsys::internal::FilterTypeInteger(**it, table, bluetooth::dumpsys::internal::Privacy… in TEST_F() 179 for (auto it = object->fields()->cbegin(); it != object->fields()->cend(); ++it) { in TEST_F() local 180 …bluetooth::dumpsys::internal::FilterTypeInteger(**it, table, bluetooth::dumpsys::internal::Privacy… in TEST_F() 194 for (auto it = object->fields()->cbegin(); it != object->fields()->cend(); ++it) { in TEST_F() local 195 …bluetooth::dumpsys::internal::FilterTypeFloat(**it, table, bluetooth::dumpsys::internal::PrivacyLe… in TEST_F() [all …]
|
/packages/modules/Bluetooth/system/gd/discovery/device/ |
D | eir_data.cc | 61 auto it = gap_data.data_.begin(); in GetUuids16() local 62 while (std::distance(it, gap_data.data_.end()) >= (signed)Uuid::kNumBytes16) { in GetUuids16() 63 uuids.push_back(*it | *(it + 1) << 8); in GetUuids16() 64 it += Uuid::kNumBytes16; in GetUuids16() 74 auto it = gap_data.data_.begin(); in GetUuidsIncomplete16() local 75 while (std::distance(it, gap_data.data_.end()) >= (signed)Uuid::kNumBytes16) { in GetUuidsIncomplete16() 76 uuids.push_back(*it | *(it + 1) << 8); in GetUuidsIncomplete16() 77 it += Uuid::kNumBytes16; in GetUuidsIncomplete16() 87 auto it = gap_data.data_.begin(); in GetUuids32() local 88 while (std::distance(it, gap_data.data_.end()) >= (signed)Uuid::kNumBytes32) { in GetUuids32() [all …]
|
D | data_parser_unittest.cc | 61 auto it = Iterator<kLittleEndian>(data); in TEST() local 63 it = GapData::Parse(&gap_data, it); in TEST() 65 ASSERT_EQ(it.NumBytesRemaining(), 0U); in TEST() 72 auto it = Iterator<kLittleEndian>(data); in TEST() local 74 it = GapData::Parse(&gap_data, it); in TEST() 76 ASSERT_EQ(it.NumBytesRemaining(), 0U); in TEST() 84 auto it = Iterator<kLittleEndian>(data); in TEST() local 86 it = GapData::Parse(&gap_data, it); in TEST() 88 ASSERT_EQ(it.NumBytesRemaining(), 0U); in TEST() 95 auto it = Iterator<kLittleEndian>(data); in TEST() local [all …]
|
/packages/modules/StatsD/statsd/src/config/ |
D | ConfigManager.cpp | 80 auto it = uidIt->second.find(key); in UpdateConfig() local 81 if (it == uidIt->second.end() && in UpdateConfig() 129 auto it = mConfigReceivers.find(key); in RemoveConfigReceiver() local 130 if (it != mConfigReceivers.end() && it->second == pir) { in RemoveConfigReceiver() 149 auto it = mActiveConfigsChangedReceivers.find(uid); in RemoveActiveConfigsChangedReceiver() local 150 if (it != mActiveConfigsChangedReceivers.end() && it->second == pir) { in RemoveActiveConfigsChangedReceiver() 169 const auto& it = mRestrictedMetricsChangedReceivers.find(configKey); in RemoveRestrictedMetricsChangedReceiver() local 170 if (it != mRestrictedMetricsChangedReceivers.end()) { in RemoveRestrictedMetricsChangedReceiver() 171 it->second.erase(callingUid); in RemoveRestrictedMetricsChangedReceiver() 172 if (it->second.empty()) { in RemoveRestrictedMetricsChangedReceiver() [all …]
|
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/ |
D | CollectionUtilsTest.kt | 37 assertTrue(CollectionUtils.any(listOf("A", "B", "C", "D", "E")) { it == "E" }) in testAny() 38 assertFalse(CollectionUtils.any(listOf("A", "B", "C", "D", "E")) { it == "F" }) in testAny() 39 assertTrue(CollectionUtils.any(listOf("AA", "BBB")) { it.length >= 3 }) in testAny() 40 assertFalse(CollectionUtils.any(listOf("A", "BB", "CCC")) { it.length >= 4 }) in testAny() 41 assertFalse(CollectionUtils.any(listOf("A", "BB", "CCC")) { it.length < 0 }) in testAny() 50 assertEquals(4, CollectionUtils.indexOf(listOf("A", "B", "C", "D", "E")) { it == "E" }) in testIndexOf() 51 assertEquals(0, CollectionUtils.indexOf(listOf("A", "B", "C", "D", "E")) { it == "A" }) in testIndexOf() 52 assertEquals(1, CollectionUtils.indexOf(listOf("AA", "BBB", "CCCC")) { it.length >= 3 }) in testIndexOf() 53 assertEquals(1, CollectionUtils.indexOf(listOf("AA", null, "CCCC")) { it == null }) in testIndexOf() 54 assertEquals(1, CollectionUtils.indexOf(listOf(null, "CCCC")) { it != null }) in testIndexOf() [all …]
|
/packages/apps/TV/jni/ |
D | tunertvinput_jni.cpp | 42 std::map<jlong, DvbManager *>::iterator it = sDvbManagers.find(deviceId); in Java_com_android_tv_tuner_TunerHal_nativeFinalize() local 43 if (it != sDvbManagers.end()) { in Java_com_android_tv_tuner_TunerHal_nativeFinalize() 44 delete it->second; in Java_com_android_tv_tuner_TunerHal_nativeFinalize() 45 sDvbManagers.erase(it); in Java_com_android_tv_tuner_TunerHal_nativeFinalize() 58 std::map<jlong, DvbManager *>::iterator it = sDvbManagers.find(deviceId); in Java_com_android_tv_tuner_TunerHal_nativeTune__JILjava_lang_String_2I() local 60 if (it == sDvbManagers.end()) { in Java_com_android_tv_tuner_TunerHal_nativeTune__JILjava_lang_String_2I() 64 dvbManager = it->second; in Java_com_android_tv_tuner_TunerHal_nativeTune__JILjava_lang_String_2I() 80 std::map<jlong, DvbManager *>::iterator it = sDvbManagers.find(deviceId); in Java_com_android_tv_tuner_TunerHal_nativeTune__JIILjava_lang_String_2I() local 82 if (it == sDvbManagers.end()) { in Java_com_android_tv_tuner_TunerHal_nativeTune__JIILjava_lang_String_2I() 87 dvbManager = it->second; in Java_com_android_tv_tuner_TunerHal_nativeTune__JIILjava_lang_String_2I() [all …]
|
/packages/modules/Virtualization/zipfuse/src/ |
D | inode.rs | 265 let it = InodeTable::from_zip(&mut zip.unwrap()); in setup() localVariable 266 assert!(it.is_ok()); in setup() 267 it.unwrap() in setup() 270 fn check_dir(it: &InodeTable, parent: Inode, name: &str) -> Inode { in check_dir() 272 let inode = it.find(parent, &name); in check_dir() 275 let inode_data = it.get(inode); in check_dir() 283 fn check_file<'a>(it: &'a InodeTable, parent: Inode, name: &str) -> &'a InodeData { in check_file() 285 let inode = it.find(parent, &name); in check_file() 288 let inode_data = it.get(inode); in check_file() 297 let it = setup(|_| {}); in empty_zip_has_two_inodes() localVariable [all …]
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/ |
D | LightAppPermGroup.kt | 71 val backgroundPermNames = permissions.mapNotNull { it.value.backgroundPermission } in <lambda>() 80 permissions.filter { it.key in foregroundPermNames }, in <lambda>() 87 permissions.filter { it.key in backgroundPermNames }, in <lambda>() 96 val hasBackgroundGroup = backgroundPermNames.any { permissions.contains(it) } in <lambda>() 125 permissions.any { it.value.isOneTime } && in <lambda>() 126 permissions.none { !it.value.isOneTime && it.value.isGrantedIncludingAppOp }) || in <lambda>() 146 val isUserSensitive = permissions.any { it.value.isUserSensitive } in <lambda>() 149 val isRevokeWhenRequested = permissions.any { it.value.isRevokeWhenRequested } in <lambda>() 172 val isGranted = specialLocationGrant ?: permissions.any { it.value.isGrantedIncludingAppOp } in <lambda>() 184 it.value.isGrantedIncludingAppOp && !it.value.isRevokeWhenRequested in <lambda>() [all …]
|
/packages/modules/Bluetooth/system/gd/hci/ |
D | le_scanning_reassembler.cc | 168 auto it = FindFragment(key); in AppendFragment() local 169 if (it != cache_.end()) { in AppendFragment() 174 it->extended_event_type = in AppendFragment() 175 extended_event_type | (it->extended_event_type & (1 << kConnectableBit)); in AppendFragment() 177 it->extended_event_type = extended_event_type; in AppendFragment() 179 it->data.insert(it->data.end(), data.cbegin(), data.cend()); in AppendFragment() 180 return it; in AppendFragment() 192 auto it = FindFragment(key); in RemoveFragment() local 193 if (it != cache_.end()) { in RemoveFragment() 194 cache_.erase(it); in RemoveFragment() [all …]
|
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/policy/capabilities/ |
D | Capabilities.kt | 32 ranges = capabilities.map { it -> it.toRange() } in <lambda>() method 33 require(ranges.distinctBy { it.min.tag }.size == capabilities.size) { in <lambda>() 45 get() = getCapability<Capability.Encryption>()?.let { it.value } in <lambda>() 48 get() = getCapability<Capability.Queryable>()?.let { it.value } in <lambda>() 51 get() = getCapability<Capability.Shareable>()?.let { it.value } in <lambda>() 61 return ranges.find { it.isCompatible(capability) }?.contains(capability) ?: false in <lambda>() 72 return ranges.size == other.ranges.size && other.ranges.all { hasEquivalent(it) } in <lambda>() 76 return ranges.any { it.isCompatible(capability) && it.isEquivalent(capability) } in <lambda>() 82 return ranges.find { it.min is T }?.let { in <lambda>() 83 require(it.min.isEquivalent(it.max)) { "Cannot get capability for a range" } in <lambda>() [all …]
|
/packages/services/Car/cpp/evs/manager/aidl/tests/unit/src/ |
D | MockHidlEvsHal_1_0.cpp | 54 auto it = mCameraFrameThread.find(id); in ~MockHidlEvsHal_1_0() local 55 if (it == mCameraFrameThread.end() || !it->second.joinable()) { in ~MockHidlEvsHal_1_0() 60 it->second.join(); in ~MockHidlEvsHal_1_0() 87 auto it = mStreamState.find(deviceId); in forwardFrames() local 88 if (it != mStreamState.end() && it->second != StreamState::kStopped) { in forwardFrames() 108 auto it = mCameraClient.find(deviceId); in forwardFrames() local 109 if (it == mCameraClient.end() || it->second == nullptr) { in forwardFrames() 124 it->second->deliverFrame(bufferToForward); in forwardFrames() 172 auto it = mBufferRecord.find(descriptor.bufferId); in deinitializeBufferPoolLocked() local 173 if (it == mBufferRecord.end()) { in deinitializeBufferPoolLocked() [all …]
|
D | MockHidlEvsHal.cpp | 65 auto it = mCameraFrameThread.find(id); in ~MockHidlEvsHal() local 66 if (it == mCameraFrameThread.end() || !it->second.joinable()) { in ~MockHidlEvsHal() 71 it->second.join(); in ~MockHidlEvsHal() 120 auto it = mStreamState.find(deviceId); in forwardFrames() local 121 if (it != mStreamState.end() && it->second != StreamState::kStopped) { in forwardFrames() 141 auto it = mCameraClient.find(deviceId); in forwardFrames() local 142 if (it == mCameraClient.end() || it->second == nullptr) { in forwardFrames() 163 it->second->deliverFrame_1_1(packet); in forwardFrames() 212 auto it = mBufferRecord.find(descriptor.bufferId); in deinitializeBufferPoolLocked() local 213 if (it == mBufferRecord.end()) { in deinitializeBufferPoolLocked() [all …]
|
/packages/services/Car/cpp/telemetry/cartelemetryd/tests/ |
D | FakeLooperWrapper.h | 49 for (auto it = mUptimeEntries.begin(); it != mUptimeEntries.end();) { in removeMessages() local 50 auto [entryUptime, entries] = *it; in removeMessages() 59 it = mUptimeEntries.erase(it); in removeMessages() 61 ++it; in removeMessages() 68 auto it = mUptimeEntries.begin(); in poll() local 69 if (it == mUptimeEntries.end() || it->second.empty()) { in poll() 72 auto entry = std::move(it->second.front()); in poll() 73 it->second.pop_front(); in poll() 74 if (it->second.empty()) { in poll() 76 mUptimeEntries.erase(it); in poll() [all …]
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/legacy/ |
D | PermissionUsageViewModelLegacy.kt | 107 appPermissionUsages.filter { !exemptedPackages.contains(it.packageName) } in <lambda>() 143 permissionGroupsUsageCountMap[it] = 0 in <lambda>() 148 .filter { showSystem || !it.group.isSystem() } in <lambda>() 149 .filter { !EXEMPTED_PERMISSION_GROUPS.contains(it.group.name) } in <lambda>() 150 .filter { it.lastAccessTime >= startTime } in <lambda>() 152 permissionGroupsUsageCountMap[it.group.name] = in <lambda>() 153 permissionGroupsUsageCountMap.getOrDefault(it.group.name, 0) + 1 in <lambda>() 157 .map { PermissionGroupWithUsageCount(it.key, it.value) } in <lambda>() 160 { PERMISSION_GROUP_ORDER.getOrDefault(it.permGroup, DEFAULT_ORDER) }, in <lambda>() 161 { getPermGroupLabel(context, it.permGroup).toString() } in <lambda>() [all …]
|
/packages/modules/Bluetooth/system/gd/dumpsys/ |
D | reflection_schema.cc | 55 for (auto it = map->cbegin(); it != map->cend(); ++it) { in FindInReflectionSchema() local 56 if (it->name()->str() == name) { in FindInReflectionSchema() 57 …flatbuffers::Verifier verifier(reinterpret_cast<const uint8_t*>(it->data()->Data()), it->data()->s… in FindInReflectionSchema() 62 return reflection::GetSchema(it->data()->Data()); in FindInReflectionSchema() 74 for (auto it = map->cbegin(); it != map->cend(); ++it) { in PrintReflectionSchema() local 75 log::info("schema:{}", it->name()->c_str()); in PrintReflectionSchema() 82 for (auto it = map->cbegin(); it != map->cend(); ++it) { in VerifyReflectionSchema() local 83 …flatbuffers::Verifier verifier(reinterpret_cast<const uint8_t*>(it->data()->Data()), it->data()->s… in VerifyReflectionSchema()
|
/packages/providers/MediaProvider/pdf/framework/libs/pdfClient/ |
D | unchecked.h | 45 uint32_t next(octet_iterator& it) { in next() argument 46 uint32_t cp = utf8::mask8(*it); in next() 48 utf8::sequence_length(it); in next() 53 it++; in next() 54 cp = ((cp << 6) & 0x7ff) + ((*it) & 0x3f); in next() 57 ++it; in next() 58 cp = ((cp << 12) & 0xffff) + ((utf8::mask8(*it) << 6) & 0xfff); in next() 59 ++it; in next() 60 cp += (*it) & 0x3f; in next() 63 ++it; in next() [all …]
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/binder/ |
D | PreviewTooltipBinder.kt | 50 it.isVisible = true in <lambda>() 51 it.alpha = if (shouldShowTooltip) 0f else 1f in <lambda>() 52 it.pivotX = it.measuredWidth / 2f in <lambda>() 53 it.pivotY = it.measuredHeight.toFloat() in <lambda>() 54 it.scaleX = if (shouldShowTooltip) 0.2f else 1f in <lambda>() 55 it.scaleY = if (shouldShowTooltip) 0.2f else 1f in <lambda>() 58 it.animate() in <lambda>() 67 it.animate() in <lambda>() 96 it.isVisible = true in <lambda>() 97 it.alpha = if (shouldShowTooltip) 0f else 1f in <lambda>() [all …]
|
/packages/modules/Permission/tests/hostside/safetycenter/src/android/safetycenter/hostside/ |
D | SafetyCenterSystemEventReportedLoggingHostTest.kt | 70 it.atom.safetyCenterSystemEventReported in refreshAllSources_allSourcesSuccessful_successAtomsForEachSourceAndOverallCompletion() 73 assertThat(systemEventAtoms.groupingBy { it.eventType }.eachCount()) in refreshAllSources_allSourcesSuccessful_successAtomsForEachSourceAndOverallCompletion() 80 assertThat(systemEventAtoms.groupingBy { it.result }.eachCount()) in refreshAllSources_allSourcesSuccessful_successAtomsForEachSourceAndOverallCompletion() 93 it.atom.safetyCenterSystemEventReported in refreshAllSources_oneSourceError_errorAtomForThatSourceAndOverall() 96 assertThat(systemEventAtoms.groupingBy { Pair(it.eventType, it.result) }.eachCount()) in refreshAllSources_oneSourceError_errorAtomForThatSourceAndOverall() 116 it.atom.safetyCenterSystemEventReported in refreshAllSources_anyResult_atomsIncludeRefreshReason() 121 .that(systemEventAtoms.count { it.refreshReason == REFRESH_REASON_PAGE_OPEN }) in refreshAllSources_anyResult_atomsIncludeRefreshReason() 134 it.atom.safetyCenterSystemEventReported in refreshAllSources_differentRefreshReason_atomsIncludeCorrectRefreshReason() 139 .that(systemEventAtoms.count { it.refreshReason == REFRESH_REASON_BUTTON_CLICK }) in refreshAllSources_differentRefreshReason_atomsIncludeCorrectRefreshReason() 151 it.atom.safetyCenterSystemEventReported in refreshAllSources_firstTime_allSourcesSuccessful_dataChangedTrueForAll() [all …]
|
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/domain/menu/ |
D | MenuUtils.kt | 35 val newParent = it.findParentOf(node) in <lambda>() 57 val node = it.findSubMenuNavigationNode(nodeId) in findSubMenuNavigationNode() 80 it as MenuItem.Switch in modifySwitch() 82 it.copy( in modifySwitch() 84 action = it.action.clone(newValue = newState) in modifySwitch() 103 it as MenuItem.DropDown in modifyDropDown() 105 val newItems = it.items.map { item -> in modifyDropDown() 112 it.copy(items = newItems) in modifyDropDown() 155 val newSubmenu: List<MenuItem> = if (root.subMenu.any { it.displayTextRes == itemId }) { in modifyNode() 156 root.subMenu.map { if (it.displayTextRes == itemId) block(it) else it } in modifyNode() [all …]
|
/packages/modules/Bluetooth/system/gd/security/record/ |
D | security_record_database.h | 37 auto it = Find(address); in FindOrCreate() local 39 if (it != records_.end()) return *it; in FindOrCreate() 48 auto it = Find(address); in Remove() local 51 if (it == records_.end()) return; in Remove() 53 records_.erase(it); in Remove() 58 for (auto it = records_.begin(); it != records_.end(); ++it) { in Find() local 59 std::shared_ptr<SecurityRecord> record = *it; in Find() 60 … (record->identity_address_.has_value() && record->identity_address_.value() == address) return it; in Find() 61 if (record->GetPseudoAddress() == address) return it; in Find() 62 …cord->remote_irk.has_value() && address.IsRpaThatMatchesIrk(record->remote_irk.value())) return it; in Find()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/header/ |
D | header_read_write_utils.cpp | 97 AttributeMap::const_iterator it = headerAttributes->find(keyVector); in readCodePointTable() local 98 if (it == headerAttributes->end()) { in readCodePointTable() 101 return it->second.data(); in readCodePointTable() 141 for (AttributeMap::const_iterator it = headerAttributes->begin(); in writeHeaderAttributes() local 142 it != headerAttributes->end(); ++it) { in writeHeaderAttributes() 143 if (it->first.empty() || it->second.empty()) { in writeHeaderAttributes() 147 if (!buffer->writeCodePointsAndAdvancePosition(&(it->first.at(0)), it->first.size(), in writeHeaderAttributes() 152 if (!buffer->writeCodePointsAndAdvancePosition(&(it->second.at(0)), it->second.size(), in writeHeaderAttributes() 193 AttributeMap::const_iterator it = headerAttributes->find(keyVector); in readCodePointVectorAttributeValue() local 194 if (it == headerAttributes->end()) { in readCodePointVectorAttributeValue() [all …]
|
/packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/ |
D | arguments_and_options.h | 46 const auto &it = mOptions.find(optionName); in getOptionValue() local 47 ASSERT(it != mOptions.end()); in getOptionValue() 48 return it->second; in getOptionValue() 52 const auto &it = mArguments.find(name); in hasArgument() local 53 return it != mArguments.end() && !it->second.empty(); in hasArgument() 57 const auto &it = mArguments.find(name); in getSingleArgument() local 58 ASSERT(it != mArguments.end() && !it->second.empty()); in getSingleArgument() 59 return it->second.front(); in getSingleArgument() 63 const auto &it = mArguments.find(name); in getVariableLengthArguments() local 64 ASSERT(it != mArguments.end()); in getVariableLengthArguments() [all …]
|