/build/tools/ |
H A D | fileslist.py | 18 import operator, os, sys namespace 21 st = os.lstat(path) 28 base = len(root[:root.rfind(os.path.sep)]) 29 for dir, dirs, files in os.walk(root): 34 get_file_size(os.path.sep.join((dir, f))), 35 os.path.sep.join((relative, f)), 38 except os.error:
|
H A D | adbs | 17 import os namespace 36 stream = os.popen(cmd) 46 stream = os.popen(cmd) 64 uname = os.uname()[0] 66 proc = os.uname()[-1] 79 stream = os.popen(cmd) 113 path = os.environ['ANDROID_PRODUCT_OUT'] + "/symbols" 118 stream = os.popen(cmd) 123 if (not os.path.exists(path)): 138 uname = os [all...] |
H A D | findleaves.py | 23 import os namespace 28 pruneleaves = set(map(lambda x: os.path.split(x)[1], prune)) 31 for root, dirs, files in os.walk(rootdir, followlinks=True): 52 result.append(os.path.join(root, filename)) 65 "progName": os.path.split(sys.argv[0])[1],
|
H A D | java-event-log-tags.py | 28 import os namespace 29 import os.path namespace 98 basename, _ = os.path.splitext(os.path.basename(fn)) 148 output_dir = os.path.dirname(output_file) 149 if not os.path.exists(output_dir): 150 os.makedirs(output_dir)
|
H A D | compare_fileslist.py | 18 import cgi, os, string, sys namespace 85 combo = input.split(os.path.sep)[1]
|
H A D | generate-notice-files.py | 27 import os namespace 28 import os.path namespace 172 input_dir = os.path.normpath(args[3]) 174 for root, dir, files in os.walk(input_dir): 177 filename = os.path.join(root, file)
|
H A D | check_radio_versions.py | 18 import os namespace
|
H A D | java-layers.py | 3 import os namespace 179 for root, dirs, files in os.walk(d): 180 result.extend([os.sep.join((root,f)) for f in files
|
H A D | product_debug.py | 17 import os namespace
|
/build/tools/releasetools/ |
H A D | img_from_target_files | 39 import os namespace 47 if not hasattr(os, "SEEK_SET"): 48 os.SEEK_SET = 0 68 os.symlink(os.path.join(OPTIONS.input_tmp, "SYSTEM"), 69 os.path.join(OPTIONS.input_tmp, "system")) 73 # os.path.join(OPTIONS.input_tmp, "system")) 83 succ = build_image.BuildImage(os.path.join(OPTIONS.input_tmp, "system"), 87 img.seek(os.SEEK_SET, 0) 113 if not os [all...] |
H A D | build_image.py | 23 import os namespace 24 import os.path namespace 82 unsparse_image = os.path.join( 83 os.path.dirname(out_file), "unsparse_" + os.path.basename(out_file)) 87 os.remove(unsparse_image) 94 os.remove(unsparse_image) 162 image_filename = os.path.basename(out_file)
|
H A D | common.py | 20 import os namespace 38 if not hasattr(os, "SEEK_SET"): 39 os.SEEK_SET = 0 78 stat = os.fstat(d) 82 os.close(d) 267 if (not os.access(os.path.join(sourcedir, "RAMDISK"), os.F_OK) or 268 not os.access(os [all...] |
H A D | sign_target_files_apks | 76 import os namespace 113 name = os.path.basename(info.filename) 141 maxsize = max([len(os.path.basename(i.filename)) 149 name = os.path.basename(info.filename) 250 os.path.join(OPTIONS.search_path, "framework", "dumpkey.jar")] 276 devkeydir = os.path.dirname(devkey)
|
H A D | check_target_files_signatures | 48 import os namespace 130 for dirpath, dirnames, filenames in os.walk(top): 131 certs = [os.path.join(dirpath, i) 140 name, _ = os.path.splitext(i) 141 name, _ = os.path.splitext(name) 256 for dirpath, dirnames, filenames in os.walk(d): 259 fullname = os.path.join(dirpath, fn) 263 self.apks_by_basename[os.path.basename(apk.filename)] = apk
|
H A D | ota_from_target_files | 65 import os namespace 125 self.parent = Item.Get(os.path.dirname(name), dir=True) 340 path = os.path.join(input_tmp, "SYSTEM", "etc", "recovery-resource.dat") 341 if os.path.exists(path): 453 basename = os.path.basename(file_context) 811 OPTIONS.info_dict["selinux_fc"] = os.path.join(OPTIONS.input_tmp, "BOOT", "RAMDISK", 821 OPTIONS.device_specific = os.path.normpath(OPTIONS.device_specific)
|
H A D | edify_generator.py | 15 import os namespace 282 data = open(os.path.join(input_path, "updater")).read()
|
/build/core/ |
H A D | checktree | 3 import sys, os, re namespace 53 fd = os.popen(command); 80 cwd = os.getcwd()
|
H A D | config.mk | 248 # $(1): os/arch
|
/build/tools/droiddoc/templates-ds/ |
H A D | sdkpage.cs | 322 var os; 327 os = "Windows"; 331 os = "Mac"; 335 os = "Linux"; 340 if (os) { 345 $('#download-bundle-button').append("Download the SDK <br/><span class='small'>ADT Bundle for " + os + "</span>"); 350 $('#download-tools-button').append("Download the SDK Tools for " + os);
|
/build/tools/droiddoc/templates-sac/ |
H A D | sdkpage.cs | 321 var os; 326 os = "Windows"; 330 os = "Mac"; 334 os = "Linux"; 339 if (os) { 344 $('#download-bundle-button').append("Download the SDK <br/><span class='small'>ADT Bundle for " + os + "</span>"); 349 $('#download-tools-button').append("Download the SDK Tools for " + os);
|
/build/tools/droiddoc/templates-sdk/ |
H A D | sdkpage.cs | 397 var os; 402 os = "Windows"; 406 os = "Mac"; 410 os = "Linux"; 415 if (os) { 420 $('#download-bundle-button').append("Download the SDK <br/><span class='small'>ADT Bundle for " + os + "</span>"); 425 $('#download-tools-button').append("Download the SDK Tools for " + os);
|
/build/tools/droiddoc/templates-ds/assets/js/ |
H A D | global-libraries-combined.js | 64 if(ay.arrowScrollOnHover){ax.bind("mouseover.jsp",aD(-1,0,ax));x.bind("mouseover.jsp",aD(1,0,x))}ak(G,ay.horizontalArrowPositions,ax,x)}h.hover(function(){h.addClass("jspHover")},function(){h.removeClass("jspHover")}).bind("mousedown.jsp",function(aI){b("html").bind("dragstart.jsp selectstart.jsp",aB);h.addClass("jspActive");var s=aI.pageX-h.position().left;b("html").bind("mousemove.jsp",function(aJ){W(aJ.pageX-s,false)}).bind("mouseup.jsp mouseleave.jsp",aw);return false});l=al.innerWidth();ah()}}function ah(){al.find(">.jspHorizontalBar>.jspCap:visible,>.jspHorizontalBar>.jspArrow").each(function(){l-=b(this).outerWidth()});G.width(l+"px");aa=0}function F(){if(aE&&az){var aI=G.outerHeight(),s=ap.outerWidth();t-=aI;b(am).find(">.jspCap:visible,>.jspArrow").each(function(){l+=b(this).outerWidth()});l-=s;v-=s;aj-=aI;G.parent().append(b('<div class="jspCorner" />').css("width",aI+"px"));o();ah()}if(aE){Y.width((al.outerWidth()-f)+"px")}Z=Y.outerHeight();q=Z/v;if(aE){at=Math.ceil(1/y*l);if(at>ay.horizontalDragMaxWidth){at=ay.horizontalDragMaxWidth}else{if(at<ay.horizontalDragMinWidth){at=ay.horizontalDragMinWidth}}h.width(at+"px");j=l-at;ae(aa)}if(az){A=Math.ceil(1/q*t);if(A>ay.verticalDragMaxHeight){A=ay.verticalDragMaxHeight}else{if(A<ay.verticalDragMinHeight){A=ay.verticalDragMinHeight}}au.height(A+"px");i=t-A;ad(I)}}function ak(aJ,aL,aI,s){var aN="before",aK="after",aM;if(aL=="os"){aL=/Mac/.test(navigator.platform)?"after":"split"}if(aL==aN){aK=aL}else{if(aL==aK){aN=aL;aM=aI;aI=s;s=aM}}aJ[aN](aI)[aK](s)}function aD(aI,s,aJ){return function(){H(aI,s,this,aJ);this.blur();return false}}function H(aL,aK,aO,aN){aO=b(aO).addClass("jspActive");var aM,aJ,aI=true,s=function(){if(aL!==0){Q.scrollByX(aL*ay.arrowButtonSpeed)}if(aK!==0){Q.scrollByY(aK*ay.arrowButtonSpeed)}aJ=setTimeout(s,aI?ay.initialDelay:ay.arrowRepeatFreq);aI=false};s();aM=aN?"mouseout.jsp":"mouseup.jsp";aN=aN||b("html");aN.bind(aM,function(){aO.removeClass("jspActive");aJ&&clearTimeout(aJ);aJ=null;aN.unbind(aM)})}function p(){w();if(az){ap.bind("mousedown.jsp",function(aN){if(aN.originalTarget===c||aN.originalTarget==aN.currentTarget){var aL=b(this),aO=aL.offset(),aM=aN.pageY-aO.top-I,aJ,aI=true,s=function(){var aR=aL.offset(),aS=aN.pageY-aR.top-A/2,aP=v*ay.scrollPagePercent,aQ=i*aP/(Z-v);if(aM<0){if(I-aQ>aS){Q.scrollByY(-aP)}else{V(aS)}}else{if(aM>0){if(I+aQ<aS){Q.scrollByY(aP)}else{V(aS)}}else{aK();return}}aJ=setTimeout(s,aI?ay.initialDelay:ay.trackClickRepeatFreq);aI=false},aK=function(){aJ&&clearTimeout(aJ);aJ=null;b(document).unbind("mouseup.jsp",aK)};s();b(document).bind("mouseup.jsp",aK);return false}})}if(aE){G.bind("mousedown.jsp",function(aN){if(aN.originalTarget===c||aN.originalTarget==aN.currentTarget){var aL=b(this),aO=aL.offset(),aM=aN.pageX-aO.left-aa,aJ,aI=true,s=function(){var aR=aL.offset(),aS=aN.pageX-aR.left-at/2,aP=aj*ay.scrollPagePercent,aQ=j*aP/(T-aj);if(aM<0){if(aa-aQ>aS){Q.scrollByX(-aP)}else{W(aS)}}else{if(aM>0){if(aa+aQ<aS){Q.scrollByX(aP)}else{W(aS)}}else{aK();return}}aJ=setTimeout(s,aI?ay.initialDelay:ay.trackClickRepeatFreq);aI=false},aK=function(){aJ&&clearTimeout(aJ);aJ=null;b(document).unbind("mouseup.jsp",aK)};s();b(document).bind("mouseup.jsp",aK);return false}})}}function w(){if(G){G.unbind("mousedown.jsp")}if(ap){ap.unbind("mousedown.jsp")}}function aw(){b("html").unbind("dragstart.jsp selectstart.jsp mousemove.jsp mouseup.jsp mouseleave.jsp");if(au){au.removeClass("jspActive")}if(h){h.removeClass("jspActive")}}function V(s,aI){if(!az){return}if(s<0){s=0}else{if(s>i){s=i}}if(aI===c){aI=ay.animateScroll}if(aI){Q.animate(au,"top",s,ad)}else{au.css("top",s);ad(s)}}function ad(aI){if(aI===c){aI=au.position().top}al.scrollTop(0);I=aI;var aL=I===0,aJ=I==i,aK=aI/i,s=-aK*(Z-v);if(ai!=aL||aG!=aJ){ai=aL;aG=aJ;D.trigger("jsp-arrow-change",[ai,aG,P,k])}u(aL,aJ);Y.css("top",s);D.trigger("jsp-scroll-y",[-s,aL,aJ]).trigger("scroll")}function W(aI,s){if(!aE){return}if(aI<0){aI=0}else{if(aI>j){aI=j}}if(s===c){s=ay.animateScroll}if(s){Q.animate(h,"left",aI,ae)
|