Home
last modified time | relevance | path

Searched refs:mapped (Results 1 – 25 of 114) sorted by relevance

12345

/aosp12/packages/modules/adb/fastdeploy/deploypatchgenerator/
H A Dapk_archive.cpp115 FileRegion mapped(fd_, readOffset, sizeToRead); in FindEndOfCDRecord() local
118 auto* start = mapped.data(); in FindEndOfCDRecord()
119 auto* cursor = start + mapped.size() - sizeof(endOfCDSignature); in FindEndOfCDRecord()
165 FileRegion mapped(fd_, eocdRecord, cdEntryHeaderSizeBytes); in GetCDLocation() local
166 location = FindCDRecord(mapped.data()); in GetCDLocation()
187 FileRegion mapped(fd_, signatureOffset, endOfSignatureSize); in GetSignatureLocation() local
189 uint64_t signatureSize = *(uint64_t*)mapped.data(); in GetSignatureLocation()
190 auto* signature = mapped.data() + sizeof(signatureSize); in GetSignatureLocation()
205 FileRegion mapped(fd_, loc.offset, loc.size); in ReadMetadata() local
206 return {mapped.data(), mapped.size()}; in ReadMetadata()
/aosp12/frameworks/base/location/java/android/location/
H A DLocationResult.java220 ArrayList<Location> mapped = mLocations; in map() local
225 if (mapped != mLocations) { in map()
226 mapped.add(newLocation); in map()
228 mapped = new ArrayList<>(mLocations.size()); in map()
230 mapped.add(mLocations.get(j)); in map()
232 mapped.add(newLocation); in map()
236 if (mapped == mLocations) { in map()
239 return new LocationResult(mapped); in map()
/aosp12/frameworks/base/location/java/android/location/provider/
H A DLocationProviderBase.java277 List<Location> mapped = locations; in stripExtras() local
282 if (mapped != locations) { in stripExtras()
283 mapped.add(newLocation); in stripExtras()
285 mapped = new ArrayList<>(size); in stripExtras()
291 mapped.add(copiedLocation); in stripExtras()
294 mapped.add(newLocation); in stripExtras()
299 return mapped; in stripExtras()
/aosp12/frameworks/base/location/lib/java/com/android/location/provider/
H A DLocationProviderBase.java431 List<Location> mapped = locations; in stripExtras() local
436 if (mapped != locations) { in stripExtras()
437 mapped.add(newLocation); in stripExtras()
439 mapped = new ArrayList<>(size); in stripExtras()
445 mapped.add(copiedLocation); in stripExtras()
448 mapped.add(newLocation); in stripExtras()
453 return mapped; in stripExtras()
/aosp12/system/vold/
H A DFileDeviceUtils.cpp82 auto mapped = fiemap->fm_mapped_extents; in PathFiemap() local
83 if (mapped < 1 || mapped > extent_count) { in PathFiemap()
84 LOG(ERROR) << "Extent count not in bounds 1 <= " << mapped << " <= " << extent_count in PathFiemap()
H A Dsecdiscard.cpp200 auto mapped = fiemap.fm_mapped_extents; in check_fiemap() local
201 if (!(fiemap.fm_extents[mapped - 1].fe_flags & FIEMAP_EXTENT_LAST)) { in check_fiemap()
202 LOG(ERROR) << "Extent " << mapped - 1 << " was not the last in " << path; in check_fiemap()
205 for (uint32_t i = 0; i < mapped; i++) { in check_fiemap()
/aosp12/frameworks/av/media/libmediaformatshaper/
H A DCodecProperties.cpp87 auto mapped = mFeatures.find(key); in getFeatureValue() local
88 if (mapped != mFeatures.end()) { in getFeatureValue()
89 *valuep = mapped->second; in getFeatureValue()
171 auto mapped = mFeatures.find(key); in getTuningValue() local
172 if (mapped != mFeatures.end()) { in getTuningValue()
173 value = mapped->second; in getTuningValue()
421 auto mapped = mMappings.find(kind + "-" + key); in getMapping() local
422 if (mapped != mMappings.end()) { in getMapping()
423 std::string result = mapped->second; in getMapping()
/aosp12/hardware/interfaces/radio/config/1.0/
H A DIRadioConfig.hal58 * Logical slots that are already mapped to the requested physical slot are not impacted.
61 * The only logical slot (index 0) can be mapped to first physical slot (value 0) or second
66 * First logical slot (index 0) can be mapped to physical slot 1 or 2 and other logical slot
67 * can be mapped to other physical slot. Each logical slot must be mapped to a physical slot.
/aosp12/system/sepolicy/prebuilts/api/28.0/private/
H A Dpolicy_capabilities9 # mapped to the socket class and for
10 # ICMP and SCTP sockets previously mapped
H A Dsecurity_classes101 # These two were previously mapped to rawip_socket.
104 # These were previously mapped to socket.
/aosp12/system/sepolicy/prebuilts/api/26.0/private/
H A Dpolicy_capabilities9 # mapped to the socket class and for
10 # ICMP and SCTP sockets previously mapped
H A Dsecurity_classes100 # These two were previously mapped to rawip_socket.
103 # These were previously mapped to socket.
/aosp12/system/sepolicy/prebuilts/api/27.0/private/
H A Dpolicy_capabilities9 # mapped to the socket class and for
10 # ICMP and SCTP sockets previously mapped
H A Dsecurity_classes100 # These two were previously mapped to rawip_socket.
103 # These were previously mapped to socket.
/aosp12/system/sepolicy/prebuilts/api/30.0/private/
H A Dpolicy_capabilities9 # mapped to the socket class and for
10 # ICMP and SCTP sockets previously mapped
/aosp12/system/sepolicy/prebuilts/api/31.0/private/
H A Dpolicy_capabilities9 # mapped to the socket class and for
10 # ICMP and SCTP sockets previously mapped
/aosp12/system/sepolicy/prebuilts/api/29.0/private/
H A Dpolicy_capabilities9 # mapped to the socket class and for
10 # ICMP and SCTP sockets previously mapped
/aosp12/system/sepolicy/prebuilts/api/32.0/private/
H A Dpolicy_capabilities9 # mapped to the socket class and for
10 # ICMP and SCTP sockets previously mapped
/aosp12/system/sepolicy/private/
H A Dpolicy_capabilities9 # mapped to the socket class and for
10 # ICMP and SCTP sockets previously mapped
/aosp12/frameworks/base/services/core/jni/BroadcastRadio/
H A Dregions.cpp183 auto mapped = regionalBand.withConfig(tunerBand); in mapRegions() local
184 out.insert(out.end(), mapped.begin(), mapped.end()); in mapRegions()
/aosp12/frameworks/base/mime/java-res/
H A Dandroid.mime.types44 # If <mimeType> was not already mapped to an extension then it will be
45 # mapped to <extension1>.
46 # <extension1> and <extension2> are mapped (or remapped) to <mimeType>.
137 # <mimeType> is mapped to <extension1>
138 # <extension1>, <extension2>, ... are all mapped to <mimeType>
/aosp12/packages/modules/NeuralNetworks/runtime/test/
H A DTestUtils.h35 TestAshmem(::android::base::unique_fd fd, std::unique_ptr<::android::base::MappedFile> mapped, in TestAshmem() argument
37 : mFd(std::move(fd)), mMapped(std::move(mapped)), mMemory(std::move(memory)) {} in TestAshmem()
H A DSupportLibraryTestUtils.h34 TestAshmem(::android::base::unique_fd fd, std::unique_ptr<::android::base::MappedFile> mapped, in TestAshmem() argument
36 : mFd(std::move(fd)), mMapped(std::move(mapped)), mMemory(std::move(memory)) {} in TestAshmem()
/aosp12/frameworks/native/services/inputflinger/reader/mapper/
H A DKeyboardInputMapper.cpp162 int32_t mapped = 0; in mapStemKey() local
163 if (config.tryGetProperty(String8(property), mapped) && mapped > 0) { in mapStemKey()
166 stemKeyRotationMap[i][1] = mapped; in mapStemKey()
/aosp12/hardware/interfaces/camera/common/1.0/default/
H A DHandleImporter.cpp151 void* mapped = nullptr; variable
158 mapped = tmpPtr; in __anone99ea02c0402()
164 if (mapped == nullptr) {
177 uint8_t* data = reinterpret_cast<uint8_t*>(mapped);

12345