Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/translation/
DTranslationManager.java96 private static final SecureRandom ID_GENERATOR = new SecureRandom(); field in TranslationManager
147 translatorId = Math.abs(ID_GENERATOR.nextInt()); in createOnDeviceTranslator()
188 translatorId = Math.abs(ID_GENERATOR.nextInt()); in createOnDeviceTranslator()
/frameworks/base/core/java/android/view/contentcapture/
DContentCaptureSession.java55 private static final SecureRandom ID_GENERATOR = new SecureRandom(); field in ContentCaptureSession
640 id = ID_GENERATOR.nextInt(); in getRandomSessionId()