Merge "Add usage information tests to device files unit tests" into oc-dev

am: 3b68424d1f

Change-Id: I841b1a2cbb445415996b0328ded5a36daf99b1df
This commit is contained in:
Rahul Frias
2017-04-19 18:24:38 +00:00
committed by android-build-merger
2 changed files with 939 additions and 443 deletions

View File

@@ -737,6 +737,11 @@ bool DeviceFiles::ListUsageInfoFiles(
return false;
}
if (usage_info_file_names == NULL) {
LOGW("DeviceFiles::ListUsageInfoFiles: usage_info_file_names not provided");
return false;
}
// Get list of filenames
std::vector<std::string> filenames;
if (!ListFiles(&filenames)) {

File diff suppressed because it is too large Load Diff