/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 | 45 const std::map<K, T> &old_elements_map, in FindRemovedElements() 46 const std::map<K, T> &new_elements_map) { in FindRemovedElements() 60 inline void AddToMap(std::map<K, T> *dst, Iterable &src, KeyGetter get_key, in AddToMap() 76 const std::map<K, T> &old_elements_map, in FindCommonElements() 77 const std::map<K, T> &new_elements_map) { in FindCommonElements() 79 typename std::map<K, T>::const_iterator old_element = in FindCommonElements() 81 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/ndk/zlib/ |
D | zconf.h | 491 #pragma map(deflateInit_,"DEIN") 492 #pragma map(deflateInit2_,"DEIN2") 493 #pragma map(deflateEnd,"DEEND") 494 #pragma map(deflateBound,"DEBND") 495 #pragma map(inflateInit_,"ININ") 496 #pragma map(inflateInit2_,"ININ2") 497 #pragma map(inflateEnd,"INEND") 498 #pragma map(inflateSync,"INSY") 499 #pragma map(inflateSetDictionary,"INSEDI") 500 #pragma map(compressBound,"CMBND") [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/tools/winscope/src/ |
D | transform.js | 27 return [].concat(...arg.map((item) => { 32 if (typeof childs.map != 'function'){ 35 return transform ? childs.map(transformFunc) : childs; 46 return [arg].concat(...args.map(argsmap)); 48 return [].concat(...args.map(argsmap)); 74 …bounds: call(bounds, obj) || transformed_children.map((e) => e.bounds).find((e) => true) || undefi…
|
D | sf_visibility.js | 241 layer.occludedBy = globalState.opaqueRects.filter(fullyOccludes).map(layer => layer.id); 242 …layer.partiallyOccludedBy = globalState.opaqueRects.filter(partiallyOccludes).map(layer => layer.i… 243 layer.coveredBy = globalState.transparentRects.filter(covers).map(layer => layer.id); 261 const relatives = rootLayers[i].relatives.map(id => layerMap[id]); 262 const children = rootLayers[i].children.map(id => layerMap[id]) 305 const children = rootLayers[i].children.map(id => layerMap[id]);
|
/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/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/samples/ApiDemos/src/com/example/android/mmslib/pdu/ |
D | PduParser.java | 784 HashMap<Integer, Object> map = in parseHeaders() local 787 parseContentType(pduDataStream, map); in parseHeaders() 805 mStartParam = (byte[]) map.get(PduPart.P_START); in parseHeaders() 808 mTypeParam= (byte[]) map.get(PduPart.P_TYPE); in parseHeaders() 854 HashMap<Integer, Object> map = new HashMap<Integer, Object>(); in parseParts() local 855 byte[] contentType = parseContentType(pduDataStream, map); in parseParts() 863 byte[] name = (byte[]) map.get(PduPart.P_NAME); in parseParts() 869 Integer charset = (Integer) map.get(PduPart.P_CHARSET); in parseParts() 1341 HashMap<Integer, Object> map, Integer length) { in parseContentTypeParams() argument 1396 map.put(PduPart.P_TYPE, type); in parseContentTypeParams() [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/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/vndk/tools/header-checker/src/dumper/ |
D | ast_util.h | 36 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"))
|
D | Tracking.java | 167 List<Task> tasks = mTaskOrdering.stream().map(Task::copyForUi).collect(toList()); in notifyListeners() 183 private static Task getOrCreateTask(Map<Integer, Task> map, int id) { in getOrCreateTask() argument 185 Task task = map.putIfAbsent(id, backup); in getOrCreateTask()
|
/development/host/windows/usb/api/ |
D | adb_api_instance.h | 111 typedef std::map< ADBAPIINSTANCEHANDLE, AdbApiInstance* > AdbApiInstanceMap;
|
/development/samples/browseable/NfcProvisioning/src/com.example.android.nfcprovisioning/ |
D | ProvisioningValuesLoader.java | 187 private static <Key, Value> void putIfMissing(HashMap<Key, Value> map, Key key, Value value) { in putIfMissing() argument 188 if (!map.containsKey(key)) { in putIfMissing() 189 map.put(key, value); in putIfMissing()
|
/development/tools/axl/ |
D | log.py | 40 for ln in " ".join(map(str, logstrs)).split("\n"):
|