Frangula californica—California coffeeberry. These berries will turn black as they ripen.  People can, if they wish, extract the 2 or 3 seeds (stones) from several ripe berries to dry and  then grind for a drink prepared as if it was coffee.  The taste, I read, is more tea- than coffee-like.  It may also cause a few people to vomit.  The bark of the tree once used by Native Americans as a laxative has entered the United State Pharmacopeia and is available at herbal medicines shops.  Some eat the flesh of the berries  with no ill effects, but first time users are advised to do their tasting somewhere near a rest room.  As always, people are cautioned that foraging is prohibited on all public lands.  Photographed at Regional Parks Botanic Garden located in Tilden Regional Park near Berkeley, CA.
<a rel="nofollow" class="external text" href="https://www.flickr.com/people/12303842@N00">John Rusk</a> from Berkeley, CA, United States of America
CC BY 2.0
<a rel="nofollow" class="external text" href="https://www.flickr.com/photos/john_d_rusk/35861699452/">J20170713-0016—Frangula californica—RPBG—DxO</a>