/frameworks/base/media/java/android/media/ |
H A D | MediaFormat.java | 938 /* package private */ MediaFormat(Map<String, Object> map) { argument 939 mMap = map;
|
H A D | MediaCodecInfo.java | 623 final Map<String, Object> map = format.getMap(); 624 final String mime = (String)map.get(MediaFormat.KEY_MIME); 633 Integer yesNo = (Integer)map.get(MediaFormat.KEY_FEATURE_ + feat.mName); 643 Integer profile = (Integer)map.get(MediaFormat.KEY_PROFILE); 644 Integer level = (Integer)map.get(MediaFormat.KEY_LEVEL); 668 Map<String, Object> mapWithoutProfile = new HashMap<>(map); 689 Map<String, Object> map = format.getMap(); 692 Integer maxBitrate = (Integer)map.get(MediaFormat.KEY_MAX_BIT_RATE); 693 Integer bitrate = (Integer)map.get(MediaFormat.KEY_BIT_RATE); 892 final Map<String, Object> map 1651 getMeasuredFrameRates(Map<String, Object> map) argument [all...] |
H A D | ExifInterface.java | 3363 private boolean isThumbnail(HashMap map) throws IOException { argument 3364 ExifAttribute imageLengthAttribute = (ExifAttribute) map.get(TAG_IMAGE_LENGTH); 3365 ExifAttribute imageWidthAttribute = (ExifAttribute) map.get(TAG_IMAGE_WIDTH);
|
/frameworks/base/media/jni/ |
H A D | android_media_Utils.cpp | 283 JNIEnv *env, const sp<AMessage> &msg, jobject *map) { 417 *map = hashMap; 678 // only map until last pixel 694 // only map until last pixel 282 ConvertMessageToMap( JNIEnv *env, const sp<AMessage> &msg, jobject *map) argument
|
H A D | android_media_MediaDrm.cpp | 602 static jobject KeyedVectorToHashMap (JNIEnv *env, KeyedVector<String8, String8> const &map) { argument 605 for (size_t i = 0; i < map.size(); ++i) { 606 jstring jkey = env->NewStringUTF(map.keyAt(i).string()); 607 jstring jvalue = env->NewStringUTF(map.valueAt(i).string());
|
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/ |
H A D | ViewDataBinding.java | 931 protected static <K, T> T getFrom(Map<K, T> map, K key) { argument 932 if (map == null) { 935 return map.get(key); 939 protected static <K, T> void setTo(Map<K, T> map, K key, T value) { argument 940 if (map == null) { 943 map.put(key, value);
|
/frameworks/native/libs/input/ |
H A D | KeyCharacterMap.cpp | 116 ALOGE("Error %d opening key character map file %s.", status, filename.string()); 131 ALOGE("Error %d opening key character map.", status); 142 sp<KeyCharacterMap> map = new KeyCharacterMap(); local 143 if (!map.get()) { 144 ALOGE("Error allocating key character map."); 150 Parser parser(map.get(), tokenizer, format); 154 ALOGD("Parsed key character map file '%s' %d lines in %0.3fms.", 159 *outMap = map; 174 sp<KeyCharacterMap> map = new KeyCharacterMap(*base.get()); local 178 ssize_t oldIndex = map 604 sp<KeyCharacterMap> map = new KeyCharacterMap(); local 720 Parser(KeyCharacterMap* map, Tokenizer* tokenizer, Format format) argument 873 KeyedVector<int32_t, int32_t>& map = local [all...] |
/frameworks/rs/script_api/ |
H A D | Specification.cpp | 803 // Read the specification, adding the definitions to the global functions map. 871 // Returns the named entry in the map. Creates it if it's not there. 873 T* findOrCreate(const string& name, map<string, T*>* map, bool* created) { argument 874 auto iter = map->find(name); 875 if (iter != map->end()) { 881 map->insert(pair<string, T*>(name, f));
|
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.cpp | 193 status_t BootAnimation::initTexture(FileMap* map, int* width, int* height) argument 196 sk_sp<SkData> data = SkData::MakeWithoutCopy(map->getDataPtr(), 197 map->getDataLength()); 204 delete map; 533 if (font->map != nullptr) { 537 status = initTexture(font->map, &font->texture.w, &font->texture.h); 721 FileMap* map = zip->createEntryFileMap(entry); local 722 if (map) { 723 animation.clockFont.map = map; 734 FileMap* map = zip->createEntryFileMap(entry); local [all...] |
/frameworks/base/core/java/android/service/notification/ |
H A D | ZenModeConfig.java | 320 private static <T> void addKeys(ArraySet<T> set, ArrayMap<T, ?> map) { argument 321 if (map != null) { 322 for (int i = 0; i < map.size(); i++) { 323 set.add(map.keyAt(i));
|
/frameworks/base/core/java/com/android/internal/inputmethod/ |
H A D | InputMethodUtils.java | 822 @NonNull final ArrayMap<String, ArraySet<String>> map) { 826 for (ArrayMap.Entry<String, ArraySet<String>> entry : map.entrySet()) { 821 buildInputMethodsAndSubtypesString( @onNull final ArrayMap<String, ArraySet<String>> map) argument
|
/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkStatsService.java | 1175 ArrayMap<K, NetworkIdentitySet> map, K key) { 1176 NetworkIdentitySet ident = map.get(key); 1179 map.put(key, ident); 1174 findOrCreateNetworkIdentitySet( ArrayMap<K, NetworkIdentitySet> map, K key) argument
|
/frameworks/base/services/core/java/com/android/server/tv/ |
H A D | TvInputHardwareManager.java | 93 /* A map from a device ID to the matching TV input ID. */ 95 /* A map from a HDMI logical address to the matching TV input ID. */ 311 private static <T> int indexOfEqualValue(SparseArray<T> map, T value) { argument 312 for (int i = 0; i < map.size(); ++i) { 313 if (map.valueAt(i).equals(value)) {
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/ |
H A D | SetterStore.java | 432 private static <K, V> void removeFromMap(Map<K, V> map, List<K> keys) { argument 434 map.remove(key);
|
/frameworks/native/opengl/libs/EGL/ |
H A D | eglApi.cpp | 255 const extention_map_t* map, size_t n))() { 257 if (!strcmp(name, map[i].name)) { 258 return map[i].address; 254 findProcAddress(const char* name, const extention_map_t* map, size_t n) argument
|
/frameworks/native/services/inputflinger/ |
H A D | EventHub.cpp | 443 // check the possible scan codes identified by the layout map against the 444 // map of codes actually emitted by the driver 466 // Check the key character map first. 588 const sp<KeyCharacterMap>& map) { 592 if (map != device->overlayKeyMap) { 593 device->overlayKeyMap = map; 595 device->keyMap.keyCharacterMap, map); 1302 // Load the key map. 1509 // The virtual key map is supplied by the kernel as a system board property file. 587 setKeyboardLayoutOverlay(int32_t deviceId, const sp<KeyCharacterMap>& map) argument
|
H A D | InputReader.cpp | 123 const int32_t map[][4], size_t mapSize) { 126 if (value == map[i][0]) { 127 return map[i][orientation]; 154 const int32_t map[][2], size_t mapSize) { 157 if (value == map[i][0]) { 158 return map[i][1]; 4943 // Walk through the the active pointers and map device coordinates onto 122 rotateValueUsingRotationMap(int32_t value, int32_t orientation, const int32_t map[][4], size_t mapSize) argument 153 rotateStemKey(int32_t value, int32_t orientation, const int32_t map[][2], size_t mapSize) argument
|
/frameworks/rs/rsov/driver/ |
H A D | rsovScript.cpp | 175 std::map<std::string, int> *GA2ID) 666 // The result is stored in a refence to a map<string, int> 669 ParseMD(std::string s, std::map<std::string, int> &map) argument 670 : mString(s), mMapping(map) {} 737 std::map<std::string, int> &mMapping; 744 ExtractRSoVMD() : mGAMapping(new std::map<std::string, int>) {} 748 std::map<std::string, int> mapping; 755 std::map<std::string, int> *takeMapping(void) { return mGAMapping.release(); } 758 std::unique_ptr<std::map<st [all...] |
/frameworks/base/services/core/java/com/android/server/job/ |
H A D | JobSchedulerService.java | 259 * Outer SparseArray slices by user handle; inner map of package name to heartbeat 2219 int findJobContextIdFromMap(JobStatus jobStatus, JobStatus[] map) { argument 2220 for (int i=0; i<map.length; i++) { 2221 if (map[i] != null && map[i].matches(jobStatus.getUid(), jobStatus.getJobId())) { 2976 private String printContextIdToJobMap(JobStatus[] map, String initial) { argument 2978 for (int i=0; i<map.length; i++) { 2980 .append(map[i] == null? -1: map[i].getJobId()) 2981 .append(map[ [all...] |
/frameworks/native/libs/binder/ |
H A D | Parcel.cpp | 1356 using ::std::map; 1384 status_t Parcel::writeNullableMap(const std::unique_ptr<binder::Map>& map) argument 1386 if (map == NULL) { 1390 return writeMap(*map.get()); 1395 using ::std::map; 1443 status_t Parcel::readNullableMap(std::unique_ptr<binder::Map>* map) const 1448 map->reset(); 1455 map->reset(new binder::Map()); 1457 status = readMap(map->get()); 1460 map [all...] |
/frameworks/native/opengl/libagl/ |
H A D | egl.cpp | 2065 extention_map_t const * const map = gExtentionMap; local 2067 if (!strcmp(procname, map[i].name)) { 2068 return map[i].address;
|
/frameworks/base/libs/androidfw/include/androidfw/ |
H A D | ResourceTypes.h | 1482 * Extended form of a ResTable_entry for map entries, defining a parent map 1565 // supplied as additional entries in the map. 1569 // supplied as additional entries in the map. 1778 ResTable_map map; member in struct:ResTable::bag_entry
|
/frameworks/base/tools/aapt/ |
H A D | ResourceTable.cpp | 2811 const std::map<String8, SourcePos>& configSrcMap = nameIter.second; 3816 ResTable_map map; local 3817 map.name.ident = htodl(it.bagKeyId); 3818 map.value.size = htods(it.parsedValue.size); 3819 map.value.dataType = it.parsedValue.dataType; 3820 map.value.res0 = it.parsedValue.res0; 3821 map.value.data = htodl(it.parsedValue.data); 3822 err = data->writeData(&map, sizeof(map)); 3827 amt += sizeof(map); [all...] |
/frameworks/data-binding/prebuilds/1.0-rc0/ |
H A D | databinding-studio-bundle.jar | ... java.lang.Object implements java.util.Map {
public abstract void addOnMapChangedCallback (android.databinding.ObservableMap$ ... |
/frameworks/av/media/libstagefright/ |
H A D | ACodec.cpp | 75 // Currently this is a direct map. 7540 std::map<std::string, std::string> vendorKeys; // maps reduced name to actual name 8456 status_t ACodec::getOMXChannelMapping(size_t numChannels, OMX_AUDIO_CHANNELTYPE map[]) { argument 8459 map[0] = OMX_AUDIO_ChannelCF; 8462 map[0] = OMX_AUDIO_ChannelLF; 8463 map[1] = OMX_AUDIO_ChannelRF; 8466 map[0] = OMX_AUDIO_ChannelLF; 8467 map[1] = OMX_AUDIO_ChannelRF; 8468 map[2] = OMX_AUDIO_ChannelCF; 8471 map[ [all...] |