/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/ndk/platforms/android-14/include/ |
D | zconf.h | 317 # pragma map(deflateInit_,"DEIN") 318 # pragma map(deflateInit2_,"DEIN2") 319 # pragma map(deflateEnd,"DEEND") 320 # pragma map(deflateBound,"DEBND") 321 # pragma map(inflateInit_,"ININ") 322 # pragma map(inflateInit2_,"ININ2") 323 # pragma map(inflateEnd,"INEND") 324 # pragma map(inflateSync,"INSY") 325 # pragma map(inflateSetDictionary,"INSEDI") 326 # pragma map(compressBound,"CMBND") [all …]
|
/development/ide/emacs/ |
D | android-host.el | 55 (let ((map android-host-command-map)) 56 (define-key map (kbd "a") 'android-adb-root) 57 (define-key map (kbd "r") 'android-adb-remount) 58 (define-key map (kbd "s") 'android-adb-sync) 59 (define-key map (kbd "b") 'android-adb-shell-reboot-bootloader) 60 (define-key map (kbd "f") 'android-fastboot-flashall))
|
/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/tools/winscope/src/ |
D | transform.js | 22 return [].concat(...arg.map((item) => { 27 if (typeof childs.map != 'function'){ 30 return transform ? childs.map(transformFunc) : childs; 41 return [arg].concat(...args.map(argsmap)); 43 return [].concat(...args.map(argsmap)); 66 …bounds: call(bounds, obj) || transformed_children.map((e) => e.bounds).find((e) => true) || undefi…
|
D | transform_sf.js | 103 e.resolvedChildren = e.children.map( 123 var transformed_roots = roots.map(transform_layer);
|
/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/vndk/tools/header-checker/header-abi-util/include/ |
D | header_abi_util.h | 136 const std::map<K, T> &old_elements_map, in FindRemovedElements() 137 const std::map<K, T> &new_elements_map) { in FindRemovedElements() 151 inline void AddToMap(std::map<K, T> *dst, Iterable &src, KeyGetter get_key, in AddToMap() 167 const std::map<K, T> &old_elements_map, in FindCommonElements() 168 const std::map<K, T> &new_elements_map) { in FindCommonElements() 170 typename std::map<K, T>::const_iterator old_element = in FindCommonElements() 172 typename std::map<K, T>::const_iterator new_element = in FindCommonElements()
|
/development/vndk/tools/header-checker/header-abi-dumper/src/ |
D | ast_util.h | 43 std::map<const clang::Decl *, std::string> decl_to_source_file_cache_; 44 std::map<std::string, uint64_t> qual_type_to_type_id_cache_;
|
D | header_checker.cpp | 64 llvm::StringMap<llvm::cl::Option *> &map = llvm::cl::getRegisteredOptions(); in HideIrrelevantCommandLineOptions() local 65 for (llvm::StringMapEntry<llvm::cl::Option *> &p : map) { in HideIrrelevantCommandLineOptions()
|
/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/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/host/windows/usb/api/ |
D | adb_api_instance.h | 111 typedef std::map< ADBAPIINSTANCEHANDLE, AdbApiInstance* > AdbApiInstanceMap;
|
D | adb_object_handle.h | 185 typedef std::map< ADBAPIHANDLE, AdbObjectHandle* > AdbObjectHandleMap;
|
/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/vndk/tools/sourcedr/sourcedr/commands/ |
D | collect.py | 9 from sourcedr.map import (
|
/development/tools/axl/ |
D | log.py | 40 for ln in " ".join(map(str, logstrs)).split("\n"):
|
/development/samples/browseable/SpeedTracker/ |
D | _index.jd | 16 coordinates on a map on the phone.
|
/development/samples/ApiDemos/src/com/example/android/apis/ |
D | ApiDemos.java | 144 Map<String, Object> map = (Map<String, Object>)l.getItemAtPosition(position); in onListItemClick() local 146 Intent intent = new Intent((Intent) map.get("intent")); in onListItemClick()
|