Lines Matching refs:s
192 for s in sys.argv[1:]:
193 if s[:6] == "reboot":
195 if len(s) > 7 and s[6] == "=":
196 duration = int(s[7:])
281 for s in sys.argv[1:]:
282 if s[:7] == "camera=" and len(s) > 7:
283 camera_ids = s[7:].split(',')
581 formats = [s if s != 'jpg' else 'jpeg' for s in formats]
769 formats = [s if s != "jpg" else "jpeg" for s in formats]
784 for i,s in enumerate(cmd["outputSurfaces"]):
786 s['physicalCamera'] = self._hidden_physical_id
788 if 'physicalCamera' in s:
789 cam_id = s['physicalCamera']
801 yuv_surfaces = [s for s in cmd["outputSurfaces"] if s["format"]=="yuv"\
802 and "physicalCamera" not in s]
803 formats_for_id = [s["format"] for s in cmd["outputSurfaces"] if \
804 "physicalCamera" not in s]
806 yuv_surfaces = [s for s in cmd["outputSurfaces"] if s["format"]=="yuv"\
807 and "physicalCamera" in s and s["physicalCamera"] == cam_id]
808 formats_for_id = [s["format"] for s in cmd["outputSurfaces"] if \
809 "physicalCamera" in s and s["physicalCamera"] == cam_id]
814 for s in yuv_surfaces:
815 if not ("width" in s and "height" in s):
982 for s in sys.argv[1:]:
983 if s[:7] == "device=" and len(s) > 7:
984 device_id = str(s[7:])