Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/translation/
DTranslationManager.java281 @NonNull Consumer<TranslationCapability> capabilityListener) { in addOnDeviceTranslationCapabilityUpdateListener() argument
283 Objects.requireNonNull(capabilityListener, "capability listener should not be null"); in addOnDeviceTranslationCapabilityUpdateListener()
286 if (mCapabilityCallbacks.containsKey(capabilityListener)) { in addOnDeviceTranslationCapabilityUpdateListener()
288 + capabilityListener + " already registered; ignoring."); in addOnDeviceTranslationCapabilityUpdateListener()
292 capabilityListener); in addOnDeviceTranslationCapabilityUpdateListener()
299 mCapabilityCallbacks.put(capabilityListener, remoteCallback); in addOnDeviceTranslationCapabilityUpdateListener()
341 @NonNull Consumer<TranslationCapability> capabilityListener) { in removeOnDeviceTranslationCapabilityUpdateListener()
342 Objects.requireNonNull(capabilityListener, "capability callback should not be null"); in removeOnDeviceTranslationCapabilityUpdateListener()
345 final IRemoteCallback remoteCallback = mCapabilityCallbacks.get(capabilityListener); in removeOnDeviceTranslationCapabilityUpdateListener()
357 mCapabilityCallbacks.remove(capabilityListener); in removeOnDeviceTranslationCapabilityUpdateListener()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...