Searched defs:map (Results 26 - 50 of 147) sorted by relevance

123456

/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMasRequestSetMessageStatus.java17 package android.bluetooth.client.map;
19 import android.bluetooth.client.map.utils.ObexAppParameters;
H A DBluetoothMasRequestSetNotificationRegistration.java17 package android.bluetooth.client.map;
19 import android.bluetooth.client.map.utils.ObexAppParameters;
H A DBluetoothMasRequestSetPath.java17 package android.bluetooth.client.map;
H A DBluetoothMapRfcommTransport.java17 package android.bluetooth.client.map;
H A DBluetoothMasRequestPushMessage.java17 package android.bluetooth.client.map;
26 import android.bluetooth.client.map.BluetoothMasClient.CharsetType;
27 import android.bluetooth.client.map.utils.ObexAppParameters;
H A DBluetoothMasRequestGetMessagesListing.java17 package android.bluetooth.client.map;
19 import android.bluetooth.client.map.BluetoothMasClient.MessagesFilter;
20 import android.bluetooth.client.map.utils.ObexAppParameters;
21 import android.bluetooth.client.map.utils.ObexTime;
H A DBluetoothMnsObexServer.java17 package android.bluetooth.client.map;
22 import android.bluetooth.client.map.utils.ObexAppParameters;
H A DBluetoothMnsService.java17 package android.bluetooth.client.map;
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/
H A DObexTime.java17 package android.bluetooth.client.map.utils;
/frameworks/base/services/core/java/com/android/server/am/
H A DCoreSettingsObserver.java111 void populateSettings(Bundle snapshot, Map<String, Class<?>> map) { argument
113 for (Map.Entry<String, Class<?>> entry : map.entrySet()) {
116 if (map == sSecureSettingToTypeMap) {
118 } else if (map == sSystemSettingToTypeMap) {
/frameworks/base/tools/aapt2/io/
H A DData.h93 explicit MmappedData(android::FileMap&& map) : map_(std::forward<android::FileMap>(map)) {} argument
H A DFileSystem.cpp35 android::FileMap map; local
36 if (Maybe<android::FileMap> map = file::MmapPath(source_.path, nullptr)) {
37 if (map.value().getDataPtr() && map.value().getDataLength() > 0) {
38 return util::make_unique<MmappedData>(std::move(map.value()));
/frameworks/base/tools/aapt2/unflatten/
H A DBinaryResourceParser.h71 const android::ResTable_map_entry* map);
75 const android::ResTable_map_entry* map);
79 const android::ResTable_map_entry* map);
83 const android::ResTable_map_entry* map);
87 const android::ResTable_map_entry* map);
121 std::map<ResourceId, ResourceName> id_index_;
132 inline const ResTable_map* begin(const ResTable_map_entry* map) { argument
133 return (const ResTable_map*)((const uint8_t*)map +
134 aapt::util::DeviceToHost32(map->size));
137 inline const ResTable_map* end(const ResTable_map_entry* map) { argument
[all...]
/frameworks/base/tools/validatekeymaps/
H A DMain.cpp81 sp<KeyLayoutMap> map; local
82 status_t status = KeyLayoutMap::load(String8(filename), &map);
91 sp<KeyCharacterMap> map; local
93 KeyCharacterMap::FORMAT_ANY, &map);
95 fprintf(stderr, "Error %d parsing key character map file.\n\n", status);
102 PropertyMap* map; local
103 status_t status = PropertyMap::load(String8(filename), &map);
108 delete map;
113 VirtualKeyMap* map; local
114 status_t status = VirtualKeyMap::load(String8(filename), &map);
[all...]
/frameworks/support/compat/java/android/support/v4/util/
H A DArrayMap.java30 * avoid having to create an extra object for every entry put in to the map, and it
33 * a hash map).
67 public ArrayMap(SimpleArrayMap map) { argument
68 super(map);
124 * Determine if the array map contains all of the keys in the given collection.
126 * @return Returns true if this array map contains a key for every entry
134 * Perform a {@link #put(Object, Object)} of all key/value pairs in <var>map</var>
135 * @param map The map whose contents are to be retrieved.
138 public void putAll(Map<? extends K, ? extends V> map) { argument
[all...]
/frameworks/av/drm/libdrmframework/plugins/common/util/include/
H A DSessionMap.h42 * Adds a new value in the session map table. It expects memory to be allocated already
53 map.add(key, value);
72 * returns the number of objects in the session map table
78 return map.size();
82 * returns the session object by the index in the session map table
92 if (map.size() > index) {
93 value = map.valueAt(index);
99 * deletes the object from session map. It also frees up memory for the session object.
107 map.removeItem(key);
126 map
131 KeyedVector<int, TValue> map; member in class:android::SessionMap
[all...]
/frameworks/base/core/java/android/util/
H A DLruCache.java63 private final LinkedHashMap<K, V> map; field in class:LruCache
85 this.map = new LinkedHashMap<K, V>(0, 0.75f, true);
117 mapValue = map.get(key);
126 * Attempt to create a value. This may take a long time, and the map
128 * added to the map while create() was working, we leave that value in
129 * the map and release the created value.
139 mapValue = map.put(key, createdValue);
143 map.put(key, mapValue);
173 previous = map.put(key, value);
199 if (size < 0 || (map
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DCollectionUtils.java95 * This is similar to {@link Stream#map} but without the overhead of creating an intermediate
98 public static @NonNull <I, O> List<O> map(@Nullable List<I> cur, method in class:CollectionUtils
109 * @see #map(List, Function)
111 public static @NonNull <I, O> Set<O> map(@Nullable Set<I> cur, method in class:CollectionUtils
130 * {@link #map(List, Function)} + {@link #filter(List, java.util.function.Predicate)}
136 * map(cur, f),
/frameworks/base/libs/androidfw/
H A DApkAssets.cpp99 std::unique_ptr<FileMap> map = util::make_unique<FileMap>(); local
100 if (!map->create(path_.c_str(), ::GetFileDescriptor(zip_handle_.get()), entry.offset,
107 Asset::createFromCompressedMap(std::move(map), entry.uncompressed_length, mode);
114 std::unique_ptr<FileMap> map = util::make_unique<FileMap>(); local
115 if (!map->create(path_.c_str(), ::GetFileDescriptor(zip_handle_.get()), entry.offset,
121 std::unique_ptr<Asset> asset = Asset::createFromUncompressedMap(std::move(map), mode);
/frameworks/base/libs/hwui/
H A DPixelBuffer.cpp38 uint8_t* map(AccessMode mode = kAccessMode_ReadWrite) override;
54 uint8_t* CpuPixelBuffer::map(AccessMode mode) { function in class:android::uirenderer::CpuPixelBuffer
79 uint8_t* map(AccessMode mode = kAccessMode_ReadWrite) override;
108 uint8_t* GpuPixelBuffer::map(AccessMode mode) { function in class:android::uirenderer::GpuPixelBuffer
114 LOG_ALWAYS_FATAL("Failed to map PBO");
H A DUvMapper.h26 * This class can be used to map UV coordinates from the [0..1]
49 * Returns true if calling the map*() methods has no effect (that is,
89 void map(Rect& texCoords) const { function in class:android::uirenderer::UvMapper
101 void map(float& u1, float& v1, float& u2, float& v2) const { function in class:android::uirenderer::UvMapper
/frameworks/ex/common/java/com/android/common/content/
H A DProjectionMap.java24 * A convenience wrapper for a projection map. Makes it easier to create and use projection maps.
49 public Builder addAll(ProjectionMap map) { argument
50 for (Map.Entry<String, String> entry : map.entrySet()) {
73 * Returns a sorted array of all column names in the projection map.
89 public void putAll(Map<? extends String, ? extends String> map) { argument
/frameworks/hardware/interfaces/sensorservice/1.0/vts/functional/
H A DVtsHalSensorManagerV1_0TargetTest.cpp116 map_region map(const hidl_memory &mem) { function
228 map_region buf = map(mem);
/frameworks/layoutlib/bridge/src/android/util/
H A DLruCache.java67 private final LinkedHashMap<K, V> map; field in class:LruCache
89 this.map = new LinkedHashMap<K, V>(0, 0.75f, true);
122 mapValue = map.get(key);
131 * Attempt to create a value. This may take a long time, and the map
133 * added to the map while create() was working, we leave that value in
134 * the map and release the created value.
144 mapValue = map.put(key, createdValue);
148 map.put(key, mapValue);
178 previous = map.put(key, value);
201 if (size < 0 || (map
[all...]
/frameworks/native/libs/input/
H A DVirtualKeyMap.cpp55 ALOGE("Error %d opening virtual key map file %s.", status, filename.string());
57 VirtualKeyMap* map = new VirtualKeyMap(); local
58 if (!map) {
59 ALOGE("Error allocating virtual key map.");
65 Parser parser(map, tokenizer);
69 ALOGD("Parsed key character map file '%s' %d lines in %0.3fms.",
74 delete map;
76 *outMap = map;
87 VirtualKeyMap::Parser::Parser(VirtualKeyMap* map, Tokenizer* tokenizer) : argument
88 mMap(map), mTokenize
[all...]

Completed in 645 milliseconds

123456