Home | History | Annotate | Download | only in releasetools

Lines Matching refs:item

111 class Item:
123 self.parent = Item.Get(os.path.dirname(name), dir=True)
144 cls.ITEMS[name] = Item(name, dir=dir)
156 # uid, gid, and mode for every Item object. Note this uses the
192 sets the best_subtree of each directory Item to the (uid, gid,
194 Item.
236 def recurse(item, current):
238 # item (and all its children) have already been set to. We only
241 if item.dir:
242 if current != item.best_subtree:
243 script.SetPermissionsRecursive("/"+item.name, *item.best_subtree)
244 current = item.best_subtree
246 if item.uid != current[0] or item.gid != current[1] or \
247 item.mode != current[2]:
248 script.SetPermissions("/"+item.name, item.uid, item.gid, item.mode)
250 for i in item.children:
253 if item.uid != current[0] or item.gid != current[1] or \
254 item.mode != current[3]:
255 script.SetPermissions("/"+item.name, item.uid, item.gid, item.mode)
263 zip. Populates the Item class with their metadata, and returns a
290 Item.Get(fn[:-1], dir=True)
292 Item.Get(fn, dir=False)
323 Returns an Item for the shell script, which must be made
339 Item.Get("system/recovery-from-boot.p", dir=False)
362 return Item.Get("system/etc/install-recovery.sh", dir=False)
418 Item.GetMetadata(input_zip)
419 Item.Get("system").SetPermissions(script)
627 for item in patch_list:
628 fn, tf, sf, size, _ = item
630 deferred_patch_list.append(item)
678 Item.GetMetadata(target_zip)
679 Item.Get("system").SetPermissions(temp_script)
732 for item in deferred_patch_list:
733 fn, tf, sf, size, _ = item