Searched refs:strat (Results 1 – 2 of 2) sorted by relevance
73 final SimplePathStrategy strat = new SimplePathStrategy("authority"); in testStrategyUriSimple() local74 strat.addRoot("tag", mContext.getFilesDir()); in testStrategyUriSimple()78 strat.getUriForFile(file).toString()); in testStrategyUriSimple()82 strat.getUriForFile(file).toString()); in testStrategyUriSimple()86 strat.getUriForFile(file); in testStrategyUriSimple()94 final SimplePathStrategy strat = new SimplePathStrategy("authority"); in testStrategyUriJumpOutside() local95 strat.addRoot("tag", mContext.getFilesDir()); in testStrategyUriJumpOutside()99 strat.getUriForFile(file); in testStrategyUriJumpOutside()107 SimplePathStrategy strat = new SimplePathStrategy("authority"); in testStrategyUriShortestRoot() local108 strat.addRoot("tag1", mContext.getFilesDir()); in testStrategyUriShortestRoot()[all …]
574 PathStrategy strat; in getPathStrategy() local576 strat = sCache.get(authority); in getPathStrategy()577 if (strat == null) { in getPathStrategy()579 strat = parsePathStrategy(context, authority); in getPathStrategy()587 sCache.put(authority, strat); in getPathStrategy()590 return strat; in getPathStrategy()601 final SimplePathStrategy strat = new SimplePathStrategy(authority); in parsePathStrategy() local648 strat.addRoot(name, buildPath(target, path)); in parsePathStrategy()653 return strat; in parsePathStrategy()