/development/testrunner/tests/ |
D | am_instrument_parser_tests.py | 77 map = result.GetResultFields() 78 self.assertEquals('testLaunchComplexActivity', map['test']) 79 self.assertEquals('LaunchPerformanceTest', map['class']) 80 self.assertEquals('1', map['current']) 81 self.assertEquals('2', map['numtests']) 82 self.assertEquals('InstrumentationTestRunner', map['id']) 86 map = result.GetResultFields() 87 self.assertEquals('testLaunchComplexActivity', map['test']) 88 self.assertEquals('866', map['cpu_time']) 89 self.assertEquals('1242', map['execution_time']) [all …]
|
/development/vndk/tools/header-checker/src/utils/ |
D | header_abi_util.h | 50 const std::map<K, T> &old_elements_map, in FindRemovedElements() 51 const std::map<K, T> &new_elements_map) { in FindRemovedElements() 65 inline void AddToMap(std::map<K, T> *dst, Iterable &src, KeyGetter get_key, in AddToMap() 81 const std::map<K, T> &old_elements_map, in FindCommonElements() 82 const std::map<K, T> &new_elements_map) { in FindCommonElements() 84 typename std::map<K, T>::const_iterator old_element = in FindCommonElements() 86 typename std::map<K, T>::const_iterator new_element = in FindCommonElements()
|
D | command_line_utils.cpp | 38 llvm::StringMap<llvm::cl::Option *> &map = llvm::cl::getRegisteredOptions(); in HideIrrelevantCommandLineOptions() local 39 for (llvm::StringMapEntry<llvm::cl::Option *> &p : map) { in HideIrrelevantCommandLineOptions()
|
D | config_file.h | 33 using MapType = std::map<std::string, std::string>; 73 std::map<std::string, std::string> map_; 81 using MapType = std::map<std::string, ConfigSection>; 137 std::map<std::string, ConfigSection> map_;
|
/development/apps/Development/src/com/android/development/ |
D | MediaScannerActivity.java | 177 final ContentValues map = mValues[i]; in addAlbum() local 178 map.put(MediaStore.MediaColumns.DATA, in addAlbum() 180 map.put(MediaStore.MediaColumns.TITLE, in addAlbum() 182 map.put(MediaStore.MediaColumns.MIME_TYPE, "audio/mp3"); in addAlbum() 184 map.put(Audio.Media.ARTIST, artist); in addAlbum() 185 map.put("album_artist", albumArtist); in addAlbum() 186 map.put(Audio.Media.ALBUM, albumName); in addAlbum() 187 map.put(Audio.Media.TRACK, i + 1); in addAlbum() 188 map.put(Audio.Media.DURATION, 4*60*1000); in addAlbum() 189 map.put(Audio.Media.IS_MUSIC, 1); in addAlbum() [all …]
|
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/ |
D | DictionaryDatabase.java | 70 HashMap<String,String> map = new HashMap<String,String>(); in buildColumnMap() local 71 map.put(KEY_WORD, KEY_WORD); in buildColumnMap() 72 map.put(KEY_DEFINITION, KEY_DEFINITION); in buildColumnMap() 73 map.put(BaseColumns._ID, "rowid AS " + in buildColumnMap() 75 map.put(SearchManager.SUGGEST_COLUMN_INTENT_DATA_ID, "rowid AS " + in buildColumnMap() 77 map.put(SearchManager.SUGGEST_COLUMN_SHORTCUT_ID, "rowid AS " + in buildColumnMap() 79 return map; in buildColumnMap()
|
/development/vndk/tools/header-checker/src/repr/json/ |
D | converter.h | 85 static const std::map<AccessSpecifierIR, std::string> access_ir_to_json{ 91 static const std::map<RecordTypeIR::RecordKind, std::string> 98 static const std::map<VTableComponentIR::Kind, std::string> 110 static const std::map<ElfSymbolIR::ElfSymbolBinding, std::string> 119 static inline const V &FindInMap(const std::map<K, V> &m, const K &k, in FindInMap()
|
/development/vndk/tools/definition-tool/assets/visual/ |
D | dep-graph.js | 291 let map = {}; 294 let node = map[name], i; 296 node = map[name] = data || { name : name, children : [] }; 308 return d3.hierarchy(map[""]); 312 let map = {}, depends = []; 315 nodes.forEach(function(d) { map[d.data.name] = d; }); 321 let l = map[d.data.name].path(map[i]); 326 map[d.data.name].not_allow = true; 328 map[i[0]].not_allow = true; 329 let l = map[d.data.name].path(map[i[0]]); [all …]
|
/development/samples/LunarLander/src/com/example/android/lunarlander/ |
D | LunarView.java | 386 public Bundle saveState(Bundle map) { in saveState() argument 388 if (map != null) { in saveState() 389 map.putInt(KEY_DIFFICULTY, Integer.valueOf(mDifficulty)); in saveState() 390 map.putDouble(KEY_X, Double.valueOf(mX)); in saveState() 391 map.putDouble(KEY_Y, Double.valueOf(mY)); in saveState() 392 map.putDouble(KEY_DX, Double.valueOf(mDX)); in saveState() 393 map.putDouble(KEY_DY, Double.valueOf(mDY)); in saveState() 394 map.putDouble(KEY_HEADING, Double.valueOf(mHeading)); in saveState() 395 map.putInt(KEY_LANDER_WIDTH, Integer.valueOf(mLanderWidth)); in saveState() 396 map.putInt(KEY_LANDER_HEIGHT, Integer in saveState() [all …]
|
/development/tools/winscope/src/flickerlib/ |
D | ObjectFormatter.ts | 24 const map = new Map<string, string>(); constant 29 map.set(key, value); 32 return map; 167 const fixedVals = vals.map((v) => v.toFixed(1)); 236 const knownFlagValues = Object.keys(mapping).reverse().map(x => parseInt(x));
|
D | WindowManagerState.ts | 46 proto.rootWindowContainer.pendingActivities.map(it => it.title), 61 entry.rects = entry.windowStates.reverse().map(it => it.rect);
|
/development/tools/winscope/src/flickerlib/layers/ |
D | LayerTraceEntry.ts | 23 const layers = protos.map(it => Layer.fromProto(it)); 24 const displays = (displayProtos || []).map(it => newDisplay(it)); 39 .map(it => it.rect);
|
/development/samples/browseable/DeviceOwner/src/com.example.android.deviceowner/ |
D | DeviceOwnerFragment.java | 318 HashMap<String, String> map = new HashMap<>(); in createData() local 319 map.put(KEY_PACKAGE_NAME, info.activityInfo.packageName); in createData() 320 map.put(KEY_ACTIVITY_NAME, info.activityInfo.name); in createData() 321 data.add(map); in createData() 328 HashMap<String, String> map = (HashMap<String, String>) getItem(position); in getComponentName() local 329 return new ComponentName(map.get(KEY_PACKAGE_NAME), map.get(KEY_ACTIVITY_NAME)); in getComponentName()
|
/development/samples/Snake/src/com/example/android/snake/ |
D | Snake.java | 70 Bundle map = savedInstanceState.getBundle(ICICLE_KEY); in onCreate() local 71 if (map != null) { in onCreate() 72 mSnakeView.restoreState(map); in onCreate()
|
D | SnakeView.java | 207 Bundle map = new Bundle(); in saveState() local 209 map.putIntArray("mAppleList", coordArrayListToArray(mAppleList)); in saveState() 210 map.putInt("mDirection", Integer.valueOf(mDirection)); in saveState() 211 map.putInt("mNextDirection", Integer.valueOf(mNextDirection)); in saveState() 212 map.putLong("mMoveDelay", Long.valueOf(mMoveDelay)); in saveState() 213 map.putLong("mScore", Long.valueOf(mScore)); in saveState() 214 map.putIntArray("mSnakeTrail", coordArrayListToArray(mSnakeTrail)); in saveState() 216 return map; in saveState()
|
/development/scripts/ |
D | get_rust_pkg.py | 234 all_base_names = set(map(lambda t: t[0], tuples)) 242 map(lambda t: (t[0].difference(external_names), t[1]), new_tuples)) 254 first_group = list(map(lambda t: t[1], first_group)) 258 base_names = set(map(lambda t: t[0], first_group)) 260 map(lambda t: (t[0].difference(base_names), t[1]), other_group)) 267 list(map(lambda t: t[1][1], other_group)))) 269 other_group = list(map(lambda t: t[1], other_group)) 355 all_deps = dict(map(lambda t: (t[0], t), found_pkgs)) 356 core_pkgs = set(map(lambda t: t[0], found_pkgs)) 382 found_pkgs = list(map(lambda p: all_deps[p], core_pkgs)) [all …]
|
/development/vndk/tools/header-checker/src/repr/symbol/ |
D | exported_symbol_set.h | 32 using FunctionMap = std::map<std::string, ElfFunctionIR, std::less<>>; 33 using VarMap = std::map<std::string, ElfObjectIR, std::less<>>;
|
/development/tools/winscope/src/flickerlib/tags/ |
D | TagState.ts | 21 const tags = protos.map(it => Tag.fromProto(it));
|
/development/tools/winscope/src/flickerlib/errors/ |
D | ErrorState.ts | 21 const errors = protos.map(it => Error.fromProto(it));
|
/development/samples/TtsEngine/src/com/example/android/ttsengine/ |
D | RobotSpeakTtsService.java | 218 Map<Character, Integer> map = new HashMap<Character, Integer>(); in buildFrequencyMap() local 225 map.put(parts[0].charAt(0), Integer.parseInt(parts[1])); in buildFrequencyMap() 227 map.put(' ', 0); in buildFrequencyMap() 228 return map; in buildFrequencyMap()
|
/development/samples/ShortcutDemo/publisher/src/com/example/android/pm/shortcutdemo/ |
D | ShortcutPublisher.java | 106 final Map<String, ShortcutInfo> map = new ArrayMap<>(); in getAllShortcuts() local 109 if (!map.containsKey(si.getId())) { in getAllShortcuts() 110 map.put(si.getId(), si); in getAllShortcuts() 115 if (!map.containsKey(si.getId())) { in getAllShortcuts() 116 map.put(si.getId(), si); in getAllShortcuts() 121 if (!map.containsKey(si.getId())) { in getAllShortcuts() 122 map.put(si.getId(), si); in getAllShortcuts() 125 return new ArrayList<>(map.values()); in getAllShortcuts()
|
/development/tools/winscope/src/ |
D | transform.js | 47 return [].concat(...arg.map((item) => { 52 if (typeof childs.map != 'function') { 56 return transform ? childs.map(transformFunc) : childs; 67 return [arg].concat(...args.map(argsmap)); 69 return [].concat(...args.map(argsmap)); 97 bounds: call(bounds, obj) || transformedChildren.map(
|
/development/vndk/tools/header-checker/src/dumper/ |
D | ast_util.h | 39 std::map<const clang::Decl *, std::string> decl_to_source_file_cache_;
|
/development/samples/IntentPlayground/src/com/example/android/intentplayground/ |
D | FlagUtils.java | 63 .map(Field::getName) // map present Fields to their string names in discoverFlags() 74 .map(Field::getName) 274 .map(Field::getName) // map present Fields to their string names 275 .map(name -> camelify(name.substring(ACTIVITY_INFO_FLAG_PREFIX.length()))) 276 .map(s -> s.concat("=true"))
|
/development/host/windows/usb/api/ |
D | adb_api_instance.h | 111 typedef std::map< ADBAPIINSTANCEHANDLE, AdbApiInstance* > AdbApiInstanceMap;
|