Lines Matching full:tombstones
32 lines = adb.RunShellCommand('TZ=UTC su -c ls -a -l /data/tombstones')
64 return adb.GetProtectedFileContents('/data/tombstones/' + tombstone_file)
73 return adb.RunShellCommandWithSU('rm /data/tombstones/' + tombstone_file)
110 def _ResolveTombstones(jobs, tombstones):
111 """Resolve a list of tombstones.
115 tombstones: a list of tombstones.
117 if not tombstones:
118 print 'No device attached? Or no tombstones?'
120 if len(tombstones) == 1:
121 data = _ResolveTombstone(tombstones[0])
124 data = pool.map(_ResolveTombstone, tombstones)
130 """Returns a list of tombstones on a given adb connection.
139 print 'No device attached? Or no tombstones?'
142 # Sort the tombstones in date order, descending
145 # Only resolve the most recent unless --all-tombstones given.
146 tombstones = all_tombstones if options.all_tombstones else [all_tombstones[0]]
149 for tombstone_file, tombstone_time in tombstones:
157 # Erase all the tombstones if desired.
169 parser.add_option('-a', '--all-tombstones', action='store_true',
170 help="""Resolve symbols for all tombstones, rather than just
174 parser.add_option('-w', '--wipe-tombstones', action='store_true',
175 help='Erase all tombstones from device after processing')
187 tombstones = []
190 tombstones += _GetTombstonesForDevice(adb, options)
192 _ResolveTombstones(options.jobs, tombstones)