Lines Matching refs:path
18 import os.path
74 apk_name = os.path.basename(entry)
100 apk_path = os.path.join(payload_dir, entry)
101 assert os.path.exists(self.apex_path)
103 key_name = apk_keys.get(os.path.basename(entry))
124 'manifest': os.path.join(apex_dir, 'apex_manifest.pb'),
125 'build_info': os.path.join(apex_dir, 'apex_build_info.pb'),
129 assert os.path.exists(filename), 'file {} not found'.format(filename)
133 path = os.path.join(payload_dir, name)
134 if os.path.isfile(path):
135 os.remove(path)
136 elif os.path.isdir(path):
137 shutil.rmtree(path)
142 payload_img = os.path.join(apex_dir, APEX_PAYLOAD_IMAGE)
155 manifest_json = os.path.join(apex_dir, 'apex_manifest.json')
156 if os.path.exists(manifest_json):
228 if not os.path.exists(payload_path):