github.com/primecitizens/pcz/std@v0.2.1/plat/js/webext/chromeos/telemetry/bindings/import_wasm.go (about)

     1  // SPDX-License-Identifier: Apache-2.0
     2  // Copyright 2023 The Prime Citizens
     3  
     4  //go:build wasm
     5  
     6  package bindings
     7  
     8  import (
     9  	"unsafe"
    10  
    11  	"github.com/primecitizens/pcz/std/ffi/js"
    12  )
    13  
    14  type (
    15  	_ unsafe.Pointer
    16  	_ js.Ref
    17  )
    18  
    19  //go:wasmimport plat/js/webext/chromeos/telemetry store_AudioOutputNodeInfo
    20  //go:noescape
    21  func AudioOutputNodeInfoJSStore(
    22  	ptr unsafe.Pointer, ref js.Ref)
    23  
    24  //go:wasmimport plat/js/webext/chromeos/telemetry load_AudioOutputNodeInfo
    25  //go:noescape
    26  func AudioOutputNodeInfoJSLoad(
    27  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
    28  
    29  //go:wasmimport plat/js/webext/chromeos/telemetry store_AudioInputNodeInfo
    30  //go:noescape
    31  func AudioInputNodeInfoJSStore(
    32  	ptr unsafe.Pointer, ref js.Ref)
    33  
    34  //go:wasmimport plat/js/webext/chromeos/telemetry load_AudioInputNodeInfo
    35  //go:noescape
    36  func AudioInputNodeInfoJSLoad(
    37  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
    38  
    39  //go:wasmimport plat/js/webext/chromeos/telemetry store_AudioInfo
    40  //go:noescape
    41  func AudioInfoJSStore(
    42  	ptr unsafe.Pointer, ref js.Ref)
    43  
    44  //go:wasmimport plat/js/webext/chromeos/telemetry load_AudioInfo
    45  //go:noescape
    46  func AudioInfoJSLoad(
    47  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
    48  
    49  //go:wasmimport plat/js/webext/chromeos/telemetry store_BatteryInfo
    50  //go:noescape
    51  func BatteryInfoJSStore(
    52  	ptr unsafe.Pointer, ref js.Ref)
    53  
    54  //go:wasmimport plat/js/webext/chromeos/telemetry load_BatteryInfo
    55  //go:noescape
    56  func BatteryInfoJSLoad(
    57  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
    58  
    59  //go:wasmimport plat/js/webext/chromeos/telemetry constof_CpuArchitectureEnum
    60  //go:noescape
    61  func ConstOfCpuArchitectureEnum(str js.Ref) uint32
    62  
    63  //go:wasmimport plat/js/webext/chromeos/telemetry store_CpuCStateInfo
    64  //go:noescape
    65  func CpuCStateInfoJSStore(
    66  	ptr unsafe.Pointer, ref js.Ref)
    67  
    68  //go:wasmimport plat/js/webext/chromeos/telemetry load_CpuCStateInfo
    69  //go:noescape
    70  func CpuCStateInfoJSLoad(
    71  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
    72  
    73  //go:wasmimport plat/js/webext/chromeos/telemetry store_LogicalCpuInfo
    74  //go:noescape
    75  func LogicalCpuInfoJSStore(
    76  	ptr unsafe.Pointer, ref js.Ref)
    77  
    78  //go:wasmimport plat/js/webext/chromeos/telemetry load_LogicalCpuInfo
    79  //go:noescape
    80  func LogicalCpuInfoJSLoad(
    81  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
    82  
    83  //go:wasmimport plat/js/webext/chromeos/telemetry store_PhysicalCpuInfo
    84  //go:noescape
    85  func PhysicalCpuInfoJSStore(
    86  	ptr unsafe.Pointer, ref js.Ref)
    87  
    88  //go:wasmimport plat/js/webext/chromeos/telemetry load_PhysicalCpuInfo
    89  //go:noescape
    90  func PhysicalCpuInfoJSLoad(
    91  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
    92  
    93  //go:wasmimport plat/js/webext/chromeos/telemetry store_CpuInfo
    94  //go:noescape
    95  func CpuInfoJSStore(
    96  	ptr unsafe.Pointer, ref js.Ref)
    97  
    98  //go:wasmimport plat/js/webext/chromeos/telemetry load_CpuInfo
    99  //go:noescape
   100  func CpuInfoJSLoad(
   101  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   102  
   103  //go:wasmimport plat/js/webext/chromeos/telemetry constof_DisplayInputType
   104  //go:noescape
   105  func ConstOfDisplayInputType(str js.Ref) uint32
   106  
   107  //go:wasmimport plat/js/webext/chromeos/telemetry store_EmbeddedDisplayInfo
   108  //go:noescape
   109  func EmbeddedDisplayInfoJSStore(
   110  	ptr unsafe.Pointer, ref js.Ref)
   111  
   112  //go:wasmimport plat/js/webext/chromeos/telemetry load_EmbeddedDisplayInfo
   113  //go:noescape
   114  func EmbeddedDisplayInfoJSLoad(
   115  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   116  
   117  //go:wasmimport plat/js/webext/chromeos/telemetry store_ExternalDisplayInfo
   118  //go:noescape
   119  func ExternalDisplayInfoJSStore(
   120  	ptr unsafe.Pointer, ref js.Ref)
   121  
   122  //go:wasmimport plat/js/webext/chromeos/telemetry load_ExternalDisplayInfo
   123  //go:noescape
   124  func ExternalDisplayInfoJSLoad(
   125  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   126  
   127  //go:wasmimport plat/js/webext/chromeos/telemetry store_DisplayInfo
   128  //go:noescape
   129  func DisplayInfoJSStore(
   130  	ptr unsafe.Pointer, ref js.Ref)
   131  
   132  //go:wasmimport plat/js/webext/chromeos/telemetry load_DisplayInfo
   133  //go:noescape
   134  func DisplayInfoJSLoad(
   135  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   136  
   137  //go:wasmimport plat/js/webext/chromeos/telemetry constof_FwupdVersionFormat
   138  //go:noescape
   139  func ConstOfFwupdVersionFormat(str js.Ref) uint32
   140  
   141  //go:wasmimport plat/js/webext/chromeos/telemetry store_FwupdFirmwareVersionInfo
   142  //go:noescape
   143  func FwupdFirmwareVersionInfoJSStore(
   144  	ptr unsafe.Pointer, ref js.Ref)
   145  
   146  //go:wasmimport plat/js/webext/chromeos/telemetry load_FwupdFirmwareVersionInfo
   147  //go:noescape
   148  func FwupdFirmwareVersionInfoJSLoad(
   149  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   150  
   151  //go:wasmimport plat/js/webext/chromeos/telemetry constof_NetworkType
   152  //go:noescape
   153  func ConstOfNetworkType(str js.Ref) uint32
   154  
   155  //go:wasmimport plat/js/webext/chromeos/telemetry constof_NetworkState
   156  //go:noescape
   157  func ConstOfNetworkState(str js.Ref) uint32
   158  
   159  //go:wasmimport plat/js/webext/chromeos/telemetry store_NetworkInfo
   160  //go:noescape
   161  func NetworkInfoJSStore(
   162  	ptr unsafe.Pointer, ref js.Ref)
   163  
   164  //go:wasmimport plat/js/webext/chromeos/telemetry load_NetworkInfo
   165  //go:noescape
   166  func NetworkInfoJSLoad(
   167  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   168  
   169  //go:wasmimport plat/js/webext/chromeos/telemetry store_InternetConnectivityInfo
   170  //go:noescape
   171  func InternetConnectivityInfoJSStore(
   172  	ptr unsafe.Pointer, ref js.Ref)
   173  
   174  //go:wasmimport plat/js/webext/chromeos/telemetry load_InternetConnectivityInfo
   175  //go:noescape
   176  func InternetConnectivityInfoJSLoad(
   177  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   178  
   179  //go:wasmimport plat/js/webext/chromeos/telemetry store_MarketingInfo
   180  //go:noescape
   181  func MarketingInfoJSStore(
   182  	ptr unsafe.Pointer, ref js.Ref)
   183  
   184  //go:wasmimport plat/js/webext/chromeos/telemetry load_MarketingInfo
   185  //go:noescape
   186  func MarketingInfoJSLoad(
   187  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   188  
   189  //go:wasmimport plat/js/webext/chromeos/telemetry store_MemoryInfo
   190  //go:noescape
   191  func MemoryInfoJSStore(
   192  	ptr unsafe.Pointer, ref js.Ref)
   193  
   194  //go:wasmimport plat/js/webext/chromeos/telemetry load_MemoryInfo
   195  //go:noescape
   196  func MemoryInfoJSLoad(
   197  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   198  
   199  //go:wasmimport plat/js/webext/chromeos/telemetry store_NonRemovableBlockDeviceInfo
   200  //go:noescape
   201  func NonRemovableBlockDeviceInfoJSStore(
   202  	ptr unsafe.Pointer, ref js.Ref)
   203  
   204  //go:wasmimport plat/js/webext/chromeos/telemetry load_NonRemovableBlockDeviceInfo
   205  //go:noescape
   206  func NonRemovableBlockDeviceInfoJSLoad(
   207  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   208  
   209  //go:wasmimport plat/js/webext/chromeos/telemetry store_NonRemovableBlockDeviceInfoResponse
   210  //go:noescape
   211  func NonRemovableBlockDeviceInfoResponseJSStore(
   212  	ptr unsafe.Pointer, ref js.Ref)
   213  
   214  //go:wasmimport plat/js/webext/chromeos/telemetry load_NonRemovableBlockDeviceInfoResponse
   215  //go:noescape
   216  func NonRemovableBlockDeviceInfoResponseJSLoad(
   217  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   218  
   219  //go:wasmimport plat/js/webext/chromeos/telemetry store_OemData
   220  //go:noescape
   221  func OemDataJSStore(
   222  	ptr unsafe.Pointer, ref js.Ref)
   223  
   224  //go:wasmimport plat/js/webext/chromeos/telemetry load_OemData
   225  //go:noescape
   226  func OemDataJSLoad(
   227  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   228  
   229  //go:wasmimport plat/js/webext/chromeos/telemetry store_OsVersionInfo
   230  //go:noescape
   231  func OsVersionInfoJSStore(
   232  	ptr unsafe.Pointer, ref js.Ref)
   233  
   234  //go:wasmimport plat/js/webext/chromeos/telemetry load_OsVersionInfo
   235  //go:noescape
   236  func OsVersionInfoJSLoad(
   237  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   238  
   239  //go:wasmimport plat/js/webext/chromeos/telemetry store_StatefulPartitionInfo
   240  //go:noescape
   241  func StatefulPartitionInfoJSStore(
   242  	ptr unsafe.Pointer, ref js.Ref)
   243  
   244  //go:wasmimport plat/js/webext/chromeos/telemetry load_StatefulPartitionInfo
   245  //go:noescape
   246  func StatefulPartitionInfoJSLoad(
   247  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   248  
   249  //go:wasmimport plat/js/webext/chromeos/telemetry store_TpmDictionaryAttack
   250  //go:noescape
   251  func TpmDictionaryAttackJSStore(
   252  	ptr unsafe.Pointer, ref js.Ref)
   253  
   254  //go:wasmimport plat/js/webext/chromeos/telemetry load_TpmDictionaryAttack
   255  //go:noescape
   256  func TpmDictionaryAttackJSLoad(
   257  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   258  
   259  //go:wasmimport plat/js/webext/chromeos/telemetry constof_TpmGSCVersion
   260  //go:noescape
   261  func ConstOfTpmGSCVersion(str js.Ref) uint32
   262  
   263  //go:wasmimport plat/js/webext/chromeos/telemetry store_TpmVersion
   264  //go:noescape
   265  func TpmVersionJSStore(
   266  	ptr unsafe.Pointer, ref js.Ref)
   267  
   268  //go:wasmimport plat/js/webext/chromeos/telemetry load_TpmVersion
   269  //go:noescape
   270  func TpmVersionJSLoad(
   271  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   272  
   273  //go:wasmimport plat/js/webext/chromeos/telemetry store_TpmStatus
   274  //go:noescape
   275  func TpmStatusJSStore(
   276  	ptr unsafe.Pointer, ref js.Ref)
   277  
   278  //go:wasmimport plat/js/webext/chromeos/telemetry load_TpmStatus
   279  //go:noescape
   280  func TpmStatusJSLoad(
   281  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   282  
   283  //go:wasmimport plat/js/webext/chromeos/telemetry store_TpmInfo
   284  //go:noescape
   285  func TpmInfoJSStore(
   286  	ptr unsafe.Pointer, ref js.Ref)
   287  
   288  //go:wasmimport plat/js/webext/chromeos/telemetry load_TpmInfo
   289  //go:noescape
   290  func TpmInfoJSLoad(
   291  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   292  
   293  //go:wasmimport plat/js/webext/chromeos/telemetry store_UsbBusInterfaceInfo
   294  //go:noescape
   295  func UsbBusInterfaceInfoJSStore(
   296  	ptr unsafe.Pointer, ref js.Ref)
   297  
   298  //go:wasmimport plat/js/webext/chromeos/telemetry load_UsbBusInterfaceInfo
   299  //go:noescape
   300  func UsbBusInterfaceInfoJSLoad(
   301  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   302  
   303  //go:wasmimport plat/js/webext/chromeos/telemetry constof_UsbVersion
   304  //go:noescape
   305  func ConstOfUsbVersion(str js.Ref) uint32
   306  
   307  //go:wasmimport plat/js/webext/chromeos/telemetry constof_UsbSpecSpeed
   308  //go:noescape
   309  func ConstOfUsbSpecSpeed(str js.Ref) uint32
   310  
   311  //go:wasmimport plat/js/webext/chromeos/telemetry store_UsbBusInfo
   312  //go:noescape
   313  func UsbBusInfoJSStore(
   314  	ptr unsafe.Pointer, ref js.Ref)
   315  
   316  //go:wasmimport plat/js/webext/chromeos/telemetry load_UsbBusInfo
   317  //go:noescape
   318  func UsbBusInfoJSLoad(
   319  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   320  
   321  //go:wasmimport plat/js/webext/chromeos/telemetry store_UsbBusDevices
   322  //go:noescape
   323  func UsbBusDevicesJSStore(
   324  	ptr unsafe.Pointer, ref js.Ref)
   325  
   326  //go:wasmimport plat/js/webext/chromeos/telemetry load_UsbBusDevices
   327  //go:noescape
   328  func UsbBusDevicesJSLoad(
   329  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   330  
   331  //go:wasmimport plat/js/webext/chromeos/telemetry store_VpdInfo
   332  //go:noescape
   333  func VpdInfoJSStore(
   334  	ptr unsafe.Pointer, ref js.Ref)
   335  
   336  //go:wasmimport plat/js/webext/chromeos/telemetry load_VpdInfo
   337  //go:noescape
   338  func VpdInfoJSLoad(
   339  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   340  
   341  //go:wasmimport plat/js/webext/chromeos/telemetry has_GetAudioInfo
   342  //go:noescape
   343  func HasFuncGetAudioInfo() js.Ref
   344  
   345  //go:wasmimport plat/js/webext/chromeos/telemetry func_GetAudioInfo
   346  //go:noescape
   347  func FuncGetAudioInfo(fn unsafe.Pointer)
   348  
   349  //go:wasmimport plat/js/webext/chromeos/telemetry call_GetAudioInfo
   350  //go:noescape
   351  func CallGetAudioInfo(
   352  	retPtr unsafe.Pointer)
   353  
   354  //go:wasmimport plat/js/webext/chromeos/telemetry try_GetAudioInfo
   355  //go:noescape
   356  func TryGetAudioInfo(
   357  	retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   358  
   359  //go:wasmimport plat/js/webext/chromeos/telemetry has_GetBatteryInfo
   360  //go:noescape
   361  func HasFuncGetBatteryInfo() js.Ref
   362  
   363  //go:wasmimport plat/js/webext/chromeos/telemetry func_GetBatteryInfo
   364  //go:noescape
   365  func FuncGetBatteryInfo(fn unsafe.Pointer)
   366  
   367  //go:wasmimport plat/js/webext/chromeos/telemetry call_GetBatteryInfo
   368  //go:noescape
   369  func CallGetBatteryInfo(
   370  	retPtr unsafe.Pointer)
   371  
   372  //go:wasmimport plat/js/webext/chromeos/telemetry try_GetBatteryInfo
   373  //go:noescape
   374  func TryGetBatteryInfo(
   375  	retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   376  
   377  //go:wasmimport plat/js/webext/chromeos/telemetry has_GetCpuInfo
   378  //go:noescape
   379  func HasFuncGetCpuInfo() js.Ref
   380  
   381  //go:wasmimport plat/js/webext/chromeos/telemetry func_GetCpuInfo
   382  //go:noescape
   383  func FuncGetCpuInfo(fn unsafe.Pointer)
   384  
   385  //go:wasmimport plat/js/webext/chromeos/telemetry call_GetCpuInfo
   386  //go:noescape
   387  func CallGetCpuInfo(
   388  	retPtr unsafe.Pointer)
   389  
   390  //go:wasmimport plat/js/webext/chromeos/telemetry try_GetCpuInfo
   391  //go:noescape
   392  func TryGetCpuInfo(
   393  	retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   394  
   395  //go:wasmimport plat/js/webext/chromeos/telemetry has_GetDisplayInfo
   396  //go:noescape
   397  func HasFuncGetDisplayInfo() js.Ref
   398  
   399  //go:wasmimport plat/js/webext/chromeos/telemetry func_GetDisplayInfo
   400  //go:noescape
   401  func FuncGetDisplayInfo(fn unsafe.Pointer)
   402  
   403  //go:wasmimport plat/js/webext/chromeos/telemetry call_GetDisplayInfo
   404  //go:noescape
   405  func CallGetDisplayInfo(
   406  	retPtr unsafe.Pointer)
   407  
   408  //go:wasmimport plat/js/webext/chromeos/telemetry try_GetDisplayInfo
   409  //go:noescape
   410  func TryGetDisplayInfo(
   411  	retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   412  
   413  //go:wasmimport plat/js/webext/chromeos/telemetry has_GetInternetConnectivityInfo
   414  //go:noescape
   415  func HasFuncGetInternetConnectivityInfo() js.Ref
   416  
   417  //go:wasmimport plat/js/webext/chromeos/telemetry func_GetInternetConnectivityInfo
   418  //go:noescape
   419  func FuncGetInternetConnectivityInfo(fn unsafe.Pointer)
   420  
   421  //go:wasmimport plat/js/webext/chromeos/telemetry call_GetInternetConnectivityInfo
   422  //go:noescape
   423  func CallGetInternetConnectivityInfo(
   424  	retPtr unsafe.Pointer)
   425  
   426  //go:wasmimport plat/js/webext/chromeos/telemetry try_GetInternetConnectivityInfo
   427  //go:noescape
   428  func TryGetInternetConnectivityInfo(
   429  	retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   430  
   431  //go:wasmimport plat/js/webext/chromeos/telemetry has_GetMarketingInfo
   432  //go:noescape
   433  func HasFuncGetMarketingInfo() js.Ref
   434  
   435  //go:wasmimport plat/js/webext/chromeos/telemetry func_GetMarketingInfo
   436  //go:noescape
   437  func FuncGetMarketingInfo(fn unsafe.Pointer)
   438  
   439  //go:wasmimport plat/js/webext/chromeos/telemetry call_GetMarketingInfo
   440  //go:noescape
   441  func CallGetMarketingInfo(
   442  	retPtr unsafe.Pointer)
   443  
   444  //go:wasmimport plat/js/webext/chromeos/telemetry try_GetMarketingInfo
   445  //go:noescape
   446  func TryGetMarketingInfo(
   447  	retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   448  
   449  //go:wasmimport plat/js/webext/chromeos/telemetry has_GetMemoryInfo
   450  //go:noescape
   451  func HasFuncGetMemoryInfo() js.Ref
   452  
   453  //go:wasmimport plat/js/webext/chromeos/telemetry func_GetMemoryInfo
   454  //go:noescape
   455  func FuncGetMemoryInfo(fn unsafe.Pointer)
   456  
   457  //go:wasmimport plat/js/webext/chromeos/telemetry call_GetMemoryInfo
   458  //go:noescape
   459  func CallGetMemoryInfo(
   460  	retPtr unsafe.Pointer)
   461  
   462  //go:wasmimport plat/js/webext/chromeos/telemetry try_GetMemoryInfo
   463  //go:noescape
   464  func TryGetMemoryInfo(
   465  	retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   466  
   467  //go:wasmimport plat/js/webext/chromeos/telemetry has_GetNonRemovableBlockDevicesInfo
   468  //go:noescape
   469  func HasFuncGetNonRemovableBlockDevicesInfo() js.Ref
   470  
   471  //go:wasmimport plat/js/webext/chromeos/telemetry func_GetNonRemovableBlockDevicesInfo
   472  //go:noescape
   473  func FuncGetNonRemovableBlockDevicesInfo(fn unsafe.Pointer)
   474  
   475  //go:wasmimport plat/js/webext/chromeos/telemetry call_GetNonRemovableBlockDevicesInfo
   476  //go:noescape
   477  func CallGetNonRemovableBlockDevicesInfo(
   478  	retPtr unsafe.Pointer)
   479  
   480  //go:wasmimport plat/js/webext/chromeos/telemetry try_GetNonRemovableBlockDevicesInfo
   481  //go:noescape
   482  func TryGetNonRemovableBlockDevicesInfo(
   483  	retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   484  
   485  //go:wasmimport plat/js/webext/chromeos/telemetry has_GetOemData
   486  //go:noescape
   487  func HasFuncGetOemData() js.Ref
   488  
   489  //go:wasmimport plat/js/webext/chromeos/telemetry func_GetOemData
   490  //go:noescape
   491  func FuncGetOemData(fn unsafe.Pointer)
   492  
   493  //go:wasmimport plat/js/webext/chromeos/telemetry call_GetOemData
   494  //go:noescape
   495  func CallGetOemData(
   496  	retPtr unsafe.Pointer)
   497  
   498  //go:wasmimport plat/js/webext/chromeos/telemetry try_GetOemData
   499  //go:noescape
   500  func TryGetOemData(
   501  	retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   502  
   503  //go:wasmimport plat/js/webext/chromeos/telemetry has_GetOsVersionInfo
   504  //go:noescape
   505  func HasFuncGetOsVersionInfo() js.Ref
   506  
   507  //go:wasmimport plat/js/webext/chromeos/telemetry func_GetOsVersionInfo
   508  //go:noescape
   509  func FuncGetOsVersionInfo(fn unsafe.Pointer)
   510  
   511  //go:wasmimport plat/js/webext/chromeos/telemetry call_GetOsVersionInfo
   512  //go:noescape
   513  func CallGetOsVersionInfo(
   514  	retPtr unsafe.Pointer)
   515  
   516  //go:wasmimport plat/js/webext/chromeos/telemetry try_GetOsVersionInfo
   517  //go:noescape
   518  func TryGetOsVersionInfo(
   519  	retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   520  
   521  //go:wasmimport plat/js/webext/chromeos/telemetry has_GetStatefulPartitionInfo
   522  //go:noescape
   523  func HasFuncGetStatefulPartitionInfo() js.Ref
   524  
   525  //go:wasmimport plat/js/webext/chromeos/telemetry func_GetStatefulPartitionInfo
   526  //go:noescape
   527  func FuncGetStatefulPartitionInfo(fn unsafe.Pointer)
   528  
   529  //go:wasmimport plat/js/webext/chromeos/telemetry call_GetStatefulPartitionInfo
   530  //go:noescape
   531  func CallGetStatefulPartitionInfo(
   532  	retPtr unsafe.Pointer)
   533  
   534  //go:wasmimport plat/js/webext/chromeos/telemetry try_GetStatefulPartitionInfo
   535  //go:noescape
   536  func TryGetStatefulPartitionInfo(
   537  	retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   538  
   539  //go:wasmimport plat/js/webext/chromeos/telemetry has_GetTpmInfo
   540  //go:noescape
   541  func HasFuncGetTpmInfo() js.Ref
   542  
   543  //go:wasmimport plat/js/webext/chromeos/telemetry func_GetTpmInfo
   544  //go:noescape
   545  func FuncGetTpmInfo(fn unsafe.Pointer)
   546  
   547  //go:wasmimport plat/js/webext/chromeos/telemetry call_GetTpmInfo
   548  //go:noescape
   549  func CallGetTpmInfo(
   550  	retPtr unsafe.Pointer)
   551  
   552  //go:wasmimport plat/js/webext/chromeos/telemetry try_GetTpmInfo
   553  //go:noescape
   554  func TryGetTpmInfo(
   555  	retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   556  
   557  //go:wasmimport plat/js/webext/chromeos/telemetry has_GetUsbBusInfo
   558  //go:noescape
   559  func HasFuncGetUsbBusInfo() js.Ref
   560  
   561  //go:wasmimport plat/js/webext/chromeos/telemetry func_GetUsbBusInfo
   562  //go:noescape
   563  func FuncGetUsbBusInfo(fn unsafe.Pointer)
   564  
   565  //go:wasmimport plat/js/webext/chromeos/telemetry call_GetUsbBusInfo
   566  //go:noescape
   567  func CallGetUsbBusInfo(
   568  	retPtr unsafe.Pointer)
   569  
   570  //go:wasmimport plat/js/webext/chromeos/telemetry try_GetUsbBusInfo
   571  //go:noescape
   572  func TryGetUsbBusInfo(
   573  	retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   574  
   575  //go:wasmimport plat/js/webext/chromeos/telemetry has_GetVpdInfo
   576  //go:noescape
   577  func HasFuncGetVpdInfo() js.Ref
   578  
   579  //go:wasmimport plat/js/webext/chromeos/telemetry func_GetVpdInfo
   580  //go:noescape
   581  func FuncGetVpdInfo(fn unsafe.Pointer)
   582  
   583  //go:wasmimport plat/js/webext/chromeos/telemetry call_GetVpdInfo
   584  //go:noescape
   585  func CallGetVpdInfo(
   586  	retPtr unsafe.Pointer)
   587  
   588  //go:wasmimport plat/js/webext/chromeos/telemetry try_GetVpdInfo
   589  //go:noescape
   590  func TryGetVpdInfo(
   591  	retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)