Home
last modified time | relevance | path

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

/hardware/interfaces/keymaster/3.0/default/
DKeymasterDevice.cpp68 keymaster0_device_t* km0_device = NULL; in keymaster0_device_initialize() local
71 int rc = keymaster0_open(mod, &km0_device); in keymaster0_device_initialize()
77 if (km0_device->flags & KEYMASTER_SOFTWARE_ONLY) { in keymaster0_device_initialize()
79 km0_device->common.close(&km0_device->common); in keymaster0_device_initialize()
80 km0_device = NULL; in keymaster0_device_initialize()
87 error = soft_keymaster->SetHardwareDevice(km0_device); in keymaster0_device_initialize()
88 km0_device = NULL; // SoftKeymasterDevice has taken ownership. in keymaster0_device_initialize()
100 if (km0_device) km0_device->common.close(&km0_device->common); in keymaster0_device_initialize()