Home
last modified time | relevance | path

Searched refs:fileToPush (Results 1 – 1 of 1) sorted by relevance

/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/contentprovider/
DContentProviderHandler.java239 public boolean pushFile(File fileToPush, String deviceFilePath) in pushFile() argument
241 if (!fileToPush.exists()) { in pushFile()
242 CLog.w("File '%s' to push does not exist.", fileToPush); in pushFile()
245 if (fileToPush.isDirectory()) { in pushFile()
246 CLog.w("'%s' is not a file but a directory, can't use #pushFile on it.", fileToPush); in pushFile()
250 boolean res = pushFileInternal(fileToPush, deviceFilePath, userId); in pushFile()
257 res = pushFileInternal(fileToPush, deviceFilePath, userId); in pushFile()
475 private boolean pushFileInternal(File fileToPush, String deviceFilePath, int userId) in pushFileInternal() argument
479 CommandResult pushResult = mDevice.executeShellV2Command(pushCommand, fileToPush); in pushFileInternal()
487 fileToPush, deviceFilePath, pushResult.getStderr()); in pushFileInternal()