Home | History | Annotate | Download | only in scripts

Lines Matching refs:adb_flags

43 def GetProp(adb_flags, name):
44 args = ("adb",) + adb_flags + ("shell", "/system/bin/getprop", name)
47 def SetProp(adb_flags, name, value):
48 args = ("adb",) + adb_flags + ("shell", "/system/bin/setprop", name, value)
51 def DbExists(adb_flags):
52 args = ("adb",) + adb_flags + ("shell", "/system/bin/ls", DB)
75 adb_flags = tuple(argv)
78 db = DbExists(adb_flags)
94 hosted_account = GetProp(adb_flags, "ro.config.hosted_account").strip()
95 google_account = GetProp(adb_flags, "ro.config.google_account").strip()
114 SetProp(adb_flags, "ro.config.hosted_account", hosted)
117 SetProp(adb_flags, "ro.config.google_account", gmail)