/development/scripts/ |
D | battery_simulator.py | 49 val = input("Type NUMBER, 'on', 'off' or 'q' > ").lower() 53 if val == 'q': 55 if val == "on": 58 if val == "off": 61 if re.match("\d+", val): 62 echo_run("adb shell dumpsys battery set level %s" % val)
|
D | lldbclient.py | 288 for key, val in to_add.items(): 290 base[key] = val 292 if isinstance(base[key], list) and not isinstance(val, list): 295 if not isinstance(base[key], list) and isinstance(val, list): 297 if isinstance(base[key], dict) != isinstance(val, dict): 307 base[key] += val 309 merge_launch_dict(base[key], val) 311 base[key] = val
|
D | gdbclient.py | 288 for key, val in to_add.items(): 290 base[key] = val 292 if isinstance(base[key], list) and not isinstance(val, list): 295 if not isinstance(base[key], list) and isinstance(val, list): 297 if isinstance(base[key], dict) != isinstance(val, dict): 307 base[key] += val 309 merge_launch_dict(base[key], val) 311 base[key] = val
|
/development/tools/axl/ |
D | chewie.py | 143 for val in vals: 144 y= val[9] 147 opened.append(val[2]) 148 pylab.text(0, y - 0.25, "%s %s %s" % (val[9], val[0][4], val[8]), font) 157 for val in vals: 158 thread, queued, opened, send, sent, reading, read, uri, server, y = val
|
/development/tools/repo_diff/service/repodiff/interactors/ |
D | common.go | 10 val, ok := t[key] 14 return val
|
D | strings.go | 66 for _, val := range s { 67 m[val] = true
|
/development/tools/repo_diff/service/repodiff/mappers/ |
D | csv.go | 44 for i, val := range s { 45 copied[i] = fmt.Sprintf("%q", val)
|
D | mappers.go | 64 for i, val := range intStrings { 66 ints[i], err = strconv.Atoi(val) 68 return nil, errors.Wrap(err, fmt.Sprintf("Could not convert from %s", val))
|
/development/apps/DumpViewer/app/src/main/java/com/android/dumpviewer/pickers/ |
D | PickerActivity.java | 95 final String val = mAdapter.getItem(position).toString(); in getSelectedItem() local 96 final int sepIndex = val.indexOf(' '); in getSelectedItem() 98 return val.substring(0, sepIndex); in getSelectedItem() 100 return val; in getSelectedItem()
|
/development/tools/repo_diff/service/repodiff/constants/ |
D | constants.go | 55 val, ok := displayToStatus[displayStatus] 61 return val, nil
|
/development/tools/winscope/src/trace_processor/ |
D | proto_ring_buffer.ts | 138 const val = data[pos++]; constant 139 len |= ((val & 0x7f) << shift) >>> 0; 140 if (val < 0x80) break;
|
/development/tools/repo_diff/service/repodiff/repositories/ |
D | source.go | 28 val, err := s.getOrCreateURLBranchIDPersistence(url, branch) 32 cacheSingleton.Add(cacheKey(url, branch), val) 33 return val, nil
|
/development/tools/external_crates/crate_health/src/ |
D | name_and_version_map.rs | 29 fn insert_or_error(&mut self, key: NameAndVersion, val: Self::Value) -> Result<(), CrateError>; in insert_or_error() 76 fn insert_or_error(&mut self, key: NameAndVersion, val: Self::Value) -> Result<(), CrateError> { in insert_or_error() 80 self.insert(key, val); in insert_or_error() 175 for (name, version, val) in nvs { in try_name_version_map_from_iter() 176 test_map.insert_or_error(NameAndVersion::try_from_str(name, version)?, val)?; in try_name_version_map_from_iter() 253 test_map.iter().filter(|(_nv, x)| x.starts_with("foo")).map(|(_nv, val)| val), in test_name_and_version_map_nonempty()
|
/development/vndk/tools/header-checker/src/repr/ |
D | ir_representation_internal.h | 38 inline static std::string BoolToString(bool val) { in BoolToString() argument 39 return val ? "true" : "false"; in BoolToString()
|
/development/vndk/tools/header-checker/tests/input/ |
D | example1.h | 95 explicit _Node(const T& val) : mVal(val) {} in _Node() argument
|
/development/samples/VirtualDeviceManager/host/src/com/example/android/vdmdemo/host/ |
D | InputController.java | 139 private static float clampMouseScroll(float val) { in clampMouseScroll() argument 140 return Math.max(Math.min(val, 1f), -1f); in clampMouseScroll()
|
/development/tools/winscope/src/trace/tree_node/ |
D | property_tree_node_factory.ts | 146 for (const [key, val] of Object.entries(value)) { constant 147 root.addOrReplaceChild(this.makeProperty(`${root.id}`, key, source, val));
|
/development/tools/logblame/ |
D | analyze_logs.py | 59 val = m.group(index) 60 if val: 61 return int(val)
|
/development/tools/external_crates/crate_health_proc_macros/src/ |
D | lib.rs | 54 … fn insert_or_error(&mut self, key: NameAndVersion, val: Self::Value) -> Result<(), CrateError> { in expand() 55 self.#mapfield_name.insert_or_error(key, val) in expand()
|
/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/ |
D | InteractiveLineGraphView.java | 424 private static int formatFloat(final char[] out, float val, int digits) { in formatFloat() argument 426 if (val == 0) { in formatFloat() 430 if (val < 0) { in formatFloat() 432 val = -val; in formatFloat() 437 val *= POW10[digits]; in formatFloat() 438 long lval = Math.round(val); in formatFloat()
|
/development/samples/VirtualDeviceManager/client/src/com/example/android/vdmdemo/client/ |
D | InputManager.java | 253 private static float clampMouseScroll(float val) { in clampMouseScroll() argument 254 return Math.max(Math.min(val, 1f), -1f); in clampMouseScroll()
|
/development/samples/NsdManagerSample/gradle/wrapper/ |
D | gradle-wrapper.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/gradle/
org/ ... |
/development/apps/ShareTest/gradle/wrapper/ |
D | gradle-wrapper.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/gradle/
org/ ... |
/development/samples/PictureInPicture/ComposePip/gradle/wrapper/ |
D | gradle-wrapper.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/gradle/
org/ ... |
/development/tools/winscope/protos/surfaceflinger/udc/ |
D | common.proto | 90 repeated float val = 1; field
|