Searched refs:external_storage (Results 1 – 4 of 4) sorted by relevance
116 external_storage = under_test.Shell('echo $EXTERNAL_STORAGE')117 self.assertIsInstance(external_storage, str)118 self.assertTrue(posixpath.isabs(external_storage))123 external_storage = under_test.Shell('echo $EXTERNAL_STORAGE').strip()124 if not external_storage:129 path = posixpath.join(external_storage, name)
60 def substitute_external_storage(d, external_storage): argument62 return external_storage64 return '/'.join(p if p else external_storage for p in d)108 external_storage = dev.GetExternalStoragePath()110 (h, substitute_external_storage(d, external_storage))
244 external_storage = dev.GetExternalStoragePath()247 (h, d if d is not None else external_storage)
176 char const * external_storage = getenv("EXTERNAL_STORAGE"); in delete_file() local177 if (external_storage && strncmp(external_storage, path, strlen(external_storage)) == 0) { in delete_file()