.class public Landroidx/webkit/internal/ApiHelperForN; .super Ljava/lang/Object; .source "SourceFile" # annotations .annotation build Landroidx/annotation/RequiresApi; value = 0x18 .end annotation # direct methods .method private constructor ()V .locals 0 .line 42 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method .method public static getAllowContentAccess(Landroid/webkit/ServiceWorkerWebSettings;)Z .locals 0 .param p0 # Landroid/webkit/ServiceWorkerWebSettings; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/DoNotInline; .end annotation .line 138 invoke-virtual {p0}, Landroid/webkit/ServiceWorkerWebSettings;->getAllowContentAccess()Z move-result p0 return p0 .end method .method public static getAllowFileAccess(Landroid/webkit/ServiceWorkerWebSettings;)Z .locals 0 .param p0 # Landroid/webkit/ServiceWorkerWebSettings; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/DoNotInline; .end annotation .line 156 invoke-virtual {p0}, Landroid/webkit/ServiceWorkerWebSettings;->getAllowFileAccess()Z move-result p0 return p0 .end method .method public static getBlockNetworkLoads(Landroid/webkit/ServiceWorkerWebSettings;)Z .locals 0 .param p0 # Landroid/webkit/ServiceWorkerWebSettings; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/DoNotInline; .end annotation .line 174 invoke-virtual {p0}, Landroid/webkit/ServiceWorkerWebSettings;->getBlockNetworkLoads()Z move-result p0 return p0 .end method .method public static getCacheMode(Landroid/webkit/ServiceWorkerWebSettings;)I .locals 0 .param p0 # Landroid/webkit/ServiceWorkerWebSettings; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/DoNotInline; .end annotation .line 119 invoke-virtual {p0}, Landroid/webkit/ServiceWorkerWebSettings;->getCacheMode()I move-result p0 return p0 .end method .method public static getDataDir(Landroid/content/Context;)Ljava/io/File; .locals 0 .param p0 # Landroid/content/Context; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/DoNotInline; .end annotation .annotation build Landroidx/annotation/NonNull; .end annotation .line 51 invoke-virtual {p0}, Landroid/content/Context;->getDataDir()Ljava/io/File; move-result-object p0 return-object p0 .end method .method public static getDisabledActionModeMenuItems(Landroid/webkit/WebSettings;)I .locals 0 .param p0 # Landroid/webkit/WebSettings; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/DoNotInline; .end annotation .line 198 invoke-virtual {p0}, Landroid/webkit/WebSettings;->getDisabledActionModeMenuItems()I move-result p0 return p0 .end method .method public static getServiceWorkerControllerInstance()Landroid/webkit/ServiceWorkerController; .locals 1 .annotation build Landroidx/annotation/DoNotInline; .end annotation .annotation build Landroidx/annotation/NonNull; .end annotation .line 60 invoke-static {}, Landroid/webkit/ServiceWorkerController;->getInstance()Landroid/webkit/ServiceWorkerController; move-result-object v0 return-object v0 .end method .method public static getServiceWorkerWebSettings(Landroid/webkit/ServiceWorkerController;)Landroid/webkit/ServiceWorkerWebSettings; .locals 0 .param p0 # Landroid/webkit/ServiceWorkerController; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/DoNotInline; .end annotation .annotation build Landroidx/annotation/NonNull; .end annotation .line 70 invoke-virtual {p0}, Landroid/webkit/ServiceWorkerController;->getServiceWorkerWebSettings()Landroid/webkit/ServiceWorkerWebSettings; move-result-object p0 return-object p0 .end method .method public static getServiceWorkerWebSettingsImpl(Landroid/webkit/ServiceWorkerController;)Landroidx/webkit/internal/ServiceWorkerWebSettingsImpl; .locals 1 .param p0 # Landroid/webkit/ServiceWorkerController; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/DoNotInline; .end annotation .annotation build Landroidx/annotation/NonNull; .end annotation .line 80 new-instance v0, Landroidx/webkit/internal/ServiceWorkerWebSettingsImpl; .line 81 invoke-static {p0}, Landroidx/webkit/internal/ApiHelperForN;->getServiceWorkerWebSettings(Landroid/webkit/ServiceWorkerController;)Landroid/webkit/ServiceWorkerWebSettings; move-result-object p0 invoke-direct {v0, p0}, Landroidx/webkit/internal/ServiceWorkerWebSettingsImpl;->(Landroid/webkit/ServiceWorkerWebSettings;)V return-object v0 .end method .method public static isRedirect(Landroid/webkit/WebResourceRequest;)Z .locals 0 .param p0 # Landroid/webkit/WebResourceRequest; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/DoNotInline; .end annotation .line 182 invoke-interface {p0}, Landroid/webkit/WebResourceRequest;->isRedirect()Z move-result p0 return p0 .end method .method public static setAllowContentAccess(Landroid/webkit/ServiceWorkerWebSettings;Z)V .locals 0 .param p0 # Landroid/webkit/ServiceWorkerWebSettings; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/DoNotInline; .end annotation .line 129 invoke-virtual {p0, p1}, Landroid/webkit/ServiceWorkerWebSettings;->setAllowContentAccess(Z)V return-void .end method .method public static setAllowFileAccess(Landroid/webkit/ServiceWorkerWebSettings;Z)V .locals 0 .param p0 # Landroid/webkit/ServiceWorkerWebSettings; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/DoNotInline; .end annotation .line 147 invoke-virtual {p0, p1}, Landroid/webkit/ServiceWorkerWebSettings;->setAllowFileAccess(Z)V return-void .end method .method public static setBlockNetworkLoads(Landroid/webkit/ServiceWorkerWebSettings;Z)V .locals 0 .param p0 # Landroid/webkit/ServiceWorkerWebSettings; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/DoNotInline; .end annotation .line 165 invoke-virtual {p0, p1}, Landroid/webkit/ServiceWorkerWebSettings;->setBlockNetworkLoads(Z)V return-void .end method .method public static setCacheMode(Landroid/webkit/ServiceWorkerWebSettings;I)V .locals 0 .param p0 # Landroid/webkit/ServiceWorkerWebSettings; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/DoNotInline; .end annotation .line 111 invoke-virtual {p0, p1}, Landroid/webkit/ServiceWorkerWebSettings;->setCacheMode(I)V return-void .end method .method public static setDisabledActionModeMenuItems(Landroid/webkit/WebSettings;I)V .locals 0 .param p0 # Landroid/webkit/WebSettings; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/DoNotInline; .end annotation .line 190 invoke-virtual {p0, p1}, Landroid/webkit/WebSettings;->setDisabledActionModeMenuItems(I)V return-void .end method .method public static setServiceWorkerClient(Landroid/webkit/ServiceWorkerController;Landroid/webkit/ServiceWorkerClient;)V .locals 0 .param p0 # Landroid/webkit/ServiceWorkerController; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p1 # Landroid/webkit/ServiceWorkerClient; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .annotation build Landroidx/annotation/DoNotInline; .end annotation .line 91 invoke-virtual {p0, p1}, Landroid/webkit/ServiceWorkerController;->setServiceWorkerClient(Landroid/webkit/ServiceWorkerClient;)V return-void .end method .method public static setServiceWorkerClientCompat(Landroid/webkit/ServiceWorkerController;Landroidx/webkit/ServiceWorkerClientCompat;)V .locals 1 .param p0 # Landroid/webkit/ServiceWorkerController; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p1 # Landroidx/webkit/ServiceWorkerClientCompat; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/DoNotInline; .end annotation .line 101 new-instance v0, Landroidx/webkit/internal/FrameworkServiceWorkerClient; invoke-direct {v0, p1}, Landroidx/webkit/internal/FrameworkServiceWorkerClient;->(Landroidx/webkit/ServiceWorkerClientCompat;)V invoke-virtual {p0, v0}, Landroid/webkit/ServiceWorkerController;->setServiceWorkerClient(Landroid/webkit/ServiceWorkerClient;)V return-void .end method