/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)
|
/development/testrunner/ |
D | am_instrument_parser.py | 87 val = '' 97 val = re_result.search(line).group(2).strip(string.whitespace) 99 result_dict[key] = float(val) 101 result_dict[key] = val 103 result_dict[key] = val 107 val = re_code.search(line).group(1).strip(string.whitespace) 108 result_dict[key] = val 112 val = '' 113 result_dict[key] = val
|
/development/vendor_snapshot/ |
D | update.py | 49 val = prop[key] 53 if type(val) == list or type(val) == dict: 54 if len(val) == 0: 58 if type(val) == bool: 59 bp += "true,\n" if val else "false,\n" 60 elif type(val) == str: 61 bp += '"%s",\n' % val 62 elif type(val) == list: 64 for elem in val: 67 elif type(val) == dict: [all …]
|
/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/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/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/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/repo_diff/service/repodiff/constants/ |
D | constants.go | 55 val, ok := displayToStatus[displayStatus] 61 return val, nil
|
/development/vndk/tools/header-checker/src/repr/ |
D | ir_representation_internal.h | 43 inline static std::string BoolToString(bool val) { in BoolToString() argument 44 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/tools/logblame/ |
D | analyze_logs.py | 59 val = m.group(index) 60 if val: 61 return int(val)
|
/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/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/ |
D | commit.csv | 44258 …ke_j7Gvmzz5R9enluN8uGOkJg@fakeemail.com,i965/fs: Optimize saturating SEL.G(E) with imm val <= 0.0f. 57678 …ake_j7Gvmzz5R9enluN8uGOkJg@fakeemail.com,i965/fs: Optimize saturating SEL.L(E) with imm val >= 1.0. 84283 …nal/strace,fake_AKdg7W07RAePn4i_engkjw@fakeemail.com,futex: avoid printing val when it is not used… 84301 …xternal/strace,fake_5XQNrNobQZar6ji1_pgaRw@fakeemail.com,Change type of struct xlat.val to uint64_t 96285 …ameworks/base,fake_wEaC-W2gRuaKlcqxAiIzJA@fakeemail.com,Not specify return val of View#onSaveInsta… 99820 …s/base,fake_OzQiyoQnS8OyUZGtYqRbSw@fakeemail.com,Ensures zen rule update locale retains enabled val 108926 …tion-layers,fake_N5X5Ec39QUGBbWyHOZjAYQ@fakeemail.com,layers: Add new ranged_enum_array val routine 108951 …on-layers,fake_N5X5Ec39QUGBbWyHOZjAYQ@fakeemail.com,layers: Split CmdResolveImage val/state updates 109195 …ayers,fake_N5X5Ec39QUGBbWyHOZjAYQ@fakeemail.com,"layers: GH2145, fix comp<->uncomp copy val errors" 109294 …alidation-layers,fake_N5X5Ec39QUGBbWyHOZjAYQ@fakeemail.com,Layers: Add code-gen'd calls to val exts [all …]
|