暗室 most often refers to a photographic darkroom for developing film. There's also a classical idiom
不欺暗室 ("not to deceive even in a dark room"), meaning to behave with integrity even when no one is watching — a hallmark of moral character in Confucian thought.