Home | History | Annotate | Download | only in tools

Lines Matching refs:prop

19 # Put the modifications that you need to make into the /system/build.prop into this
20 # function. The prop object has get(name) and put(name,value) methods.
21 def mangle_build_prop(prop):
24 # Put the modifications that you need to make into the /system/build.prop into this
25 # function. The prop object has get(name) and put(name,value) methods.
26 def mangle_default_prop(prop):
29 if prop.get("ro.debuggable") == "1":
30 val = prop.get("persist.sys.usb.config")
35 prop.put("persist.sys.usb.config", val)
39 if not prop.get("persist.sys.usb.config"):
40 prop.put("persist.sys.usb.config", "none");
72 if filename.endswith("/build.prop"):
74 elif filename.endswith("/default.prop"):