In cosmology dark energy and dark matter are included in the ΛCDM model, but they are still completely unknown. Because in black holes Lorentz invariance seems not to be applicable for curved space-time, we introduce a model for a reduced speed of light in black holes due to quantum gravity effects and the Heisenberg uncertainty relation. Then black holes are a source for a scalar field with dark energy characteristics. This model has no information paradox for black holes because particles / radiation entering the black hole are redshifted in their wavelength that far that the wavelength has the size of the Schwarzschild radius and thus they are in some way "frozen" in the black hole. We show that the scalar field also has characteristics of dark matter shortly after Planck time, when we use a Big Bounce model. This model also presents an alternative to cosmological inflation with the possibility to solve the flatness and horizon problem and the problem of density fluctuations.