Home
last modified time | relevance | path

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

/frameworks/support/compat/src/androidTest/java/androidx/core/content/
DFileProviderTest.java74 strat.addRoot("tag", mContext.getFilesDir()); in testStrategyUriSimple()
95 strat.addRoot("tag", mContext.getFilesDir()); in testStrategyUriJumpOutside()
108 strat.addRoot("tag1", mContext.getFilesDir()); in testStrategyUriShortestRoot()
109 strat.addRoot("tag2", new File("/")); in testStrategyUriShortestRoot()
116 strat.addRoot("tag1", new File("/")); in testStrategyUriShortestRoot()
117 strat.addRoot("tag2", mContext.getFilesDir()); in testStrategyUriShortestRoot()
127 strat.addRoot("tag", mContext.getFilesDir()); in testStrategyFileSimple()
142 strat.addRoot("tag", mContext.getFilesDir()); in testStrategyFileJumpOutside()
154 strat.addRoot("t/g", mContext.getFilesDir()); in testStrategyEscaping()
169 strat.addRoot("tag", mContext.getFilesDir()); in testStrategyExtraParams()
[all …]
/frameworks/support/compat/src/main/java/androidx/core/content/
DFileProvider.java648 strat.addRoot(name, buildPath(target, path)); in parsePathStrategy()
703 void addRoot(String name, File root) { in addRoot() method in FileProvider.SimplePathStrategy