Searched refs:capabilityListener (Results 1 – 2 of 2) sorted by relevance
281 @NonNull Consumer<TranslationCapability> capabilityListener) { in addOnDeviceTranslationCapabilityUpdateListener() argument283 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()
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...