/system/nvram/hal/tests/ |
scoped_nvram_device.cc | 44 result = nvram_open(module, &device_); 47 device_ = nullptr; 50 if (device_->common.version != NVRAM_DEVICE_API_VERSION_1_1) { 52 nvram_close(device_); 53 device_ = nullptr; 59 if (device_) { 60 int result = nvram_close(device_); 69 if (!device_) { 72 return device_->get_total_size_in_bytes(device_, total_size) [all...] |
/test/vts/testcases/target/hal_lights/ |
hal_lights_basic_test.cpp | 44 reinterpret_cast<struct hw_device_t**>(&device_)); 45 if (rc || !device_) { 63 struct light_device_t* device_; member in class:__anon115365::VtsStructuralTestHalLightsBasicTest 70 ASSERT_TRUE(device_); 78 EXPECT_EQ(0, device_->set_light(device_, arg));
|
/hardware/libhardware/modules/camera/3_4/metadata/ |
v4l2_control_delegate.h | 34 : device_(std::move(device)), 40 int res = device_->GetControl(control_id_, &v4l2_value); 55 return device_->SetControl(control_id_, v4l2_value); 59 std::shared_ptr<V4L2Wrapper> device_; member in class:v4l2_camera_hal::V4L2ControlDelegate
|
/system/nvram/hal/include/nvram/hal/ |
nvram_device_adapter.h | 51 hw_device_t* as_device() { return &device_.common; } 55 nvram_device_t device_; member in struct:nvram::NvramDeviceAdapter 60 // that casting from/to the type of the first non-static member (i.e. |device_|)
|
/test/vts/drivers/hal/common/component_loader/ |
DllLoader.cpp | 30 DllLoader::DllLoader() : handle_(NULL), hmi_(NULL), device_(NULL) {} 72 device_ = NULL; 88 device_ = NULL; 94 hmi_->methods->open(hmi_, module_name, (struct hw_device_t**)&device_); 98 ret = hmi_->methods->open(hmi_, hmi_->name, (struct hw_device_t**)&device_); 103 cout << __func__ << ":" << __LINE__ << " device_ " << device_ << endl; 104 return device_;
|
/system/core/trusty/gatekeeper/ |
trusty_gatekeeper.cpp | 40 static_assert(offsetof(TrustyGateKeeperDevice, device_) == 0, 41 "device_ must be the first member of TrustyGateKeeperDevice"); 42 static_assert(offsetof(TrustyGateKeeperDevice, device_.common) == 0, 45 assert(reinterpret_cast<gatekeeper_device_t *>(this) == &device_); 46 assert(reinterpret_cast<hw_device_t *>(this) == &(device_.common)); 49 memset(&device_, 0, sizeof(device_)); 50 device_.common.tag = HARDWARE_DEVICE_TAG; 51 device_.common.version = 1; 52 device_.common.module = const_cast<hw_module_t *>(module) [all...] |
trusty_gatekeeper.h | 119 gatekeeper_device device_; member in class:gatekeeper::TrustyGateKeeperDevice
|
/external/eigen/bench/tensors/ |
tensor_benchmarks.h | 21 : m_(m), k_(k), n_(n), device_(device) { 26 : m_(m), k_(m), n_(m), device_(device) { 31 device_.deallocate(a_); 32 device_.deallocate(b_); 33 device_.deallocate(c_); 40 device_.memcpy(c_, a_, m_ * m_ * sizeof(T)); 61 B.device(device_) = A.template cast<T>(); 76 C.device(device_) = C.random(); 99 C.slice(first_quadrant, quarter_sizes).device(device_) = 101 C.slice(second_quadrant, quarter_sizes).device(device_) 476 Device device_; member in class:BenchmarkSuite [all...] |
/external/libmojo/base/android/ |
build_info.h | 54 return device_; 124 const char* const device_; member in class:base::android::BuildInfo
|
build_info.cc | 47 : device_(StrDupJString(Java_BuildInfo_getDevice(env))),
|
/hardware/libhardware/modules/camera/3_4/ |
v4l2_wrapper.h | 45 : device_(std::move(device)), connect_result_(device_->Connect()) {} 48 device_->Disconnect(); 55 std::shared_ptr<V4L2Wrapper> device_; member in class:v4l2_camera_hal::V4L2Wrapper::Connection
|
v4l2_camera.cpp | 74 device_(std::move(v4l2_wrapper)), 97 connection_.reset(new V4L2Wrapper::Connection(device_)); 104 // This is checked by the HAL, but the device at |device_|'s path may 127 int res = device_->StreamOff(); 269 res = device_->EnqueueBuffer(&request->output_buffers[0], &index); 277 res = device_->StreamOn(); 298 int res = device_->DequeueBuffer(&result_index); 387 int res = device_->StreamOff(); 395 res = device_->SetFormat(stream_format, &max_buffers);
|
v4l2_camera.h | 95 std::shared_ptr<V4L2Wrapper> device_; member in class:v4l2_camera_hal::V4L2Camera
|
/system/nvram/hal/ |
nvram_device_adapter.cpp | 302 memset(&device_, 0, sizeof(nvram_device_t)); 304 device_.common.tag = HARDWARE_DEVICE_TAG; 305 device_.common.version = NVRAM_DEVICE_API_VERSION_1_1; 306 device_.common.module = const_cast<hw_module_t *>(module); 307 device_.common.close = device_nvram_device_close; 309 device_.get_total_size_in_bytes = device_get_total_size_in_bytes; 310 device_.get_available_size_in_bytes = device_get_available_size_in_bytes; 311 device_.get_max_space_size_in_bytes = device_get_max_space_size_in_bytes; 312 device_.get_max_spaces = device_get_max_spaces; 313 device_.get_space_list = device_get_space_list [all...] |
/test/vts/compilation_tools/vtsc/test/golden/DRIVER/ |
BluetoothHalV1.driver.cpp | 16 bluetooth_module_t* local_device = reinterpret_cast<bluetooth_module_t*>(device_); 22 cerr << "both device_ and hmi_ are NULL." << endl; 29 cout << "hit2." << device_ << endl; 50 bluetooth_module_t* local_device = reinterpret_cast<bluetooth_module_t*>(device_); 56 cerr << "both device_ and hmi_ are NULL." << endl;
|
CameraHalV2.driver.cpp | 65 camera_module_t* local_device = reinterpret_cast<camera_module_t*>(device_); 71 cerr << "both device_ and hmi_ are NULL." << endl; 82 hw_device_t** arg2 = (struct hw_device_t**) &device_ 88 cout << "hit2." << device_ << endl; 126 camera_module_t* local_device = reinterpret_cast<camera_module_t*>(device_); 132 cerr << "both device_ and hmi_ are NULL." << endl; 139 cout << "hit2." << device_ << endl; 160 cout << "hit2." << device_ << endl; 186 cout << "hit2." << device_ << endl; 204 cout << "hit2." << device_ << endl [all...] |
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
TensorDeviceCuda.h | 103 cudaGetDevice(&device_); 107 CudaStreamDevice(int device) : stream_(&default_stream), device_(device), scratch_(NULL), semaphore_(NULL) { 115 : stream_(stream), device_(device), scratch_(NULL), semaphore_(NULL) { 117 cudaGetDevice(&device_); 124 device_ = device; 137 return m_deviceProperties[device_]; 140 cudaError_t err = cudaSetDevice(device_); 150 cudaError_t err = cudaSetDevice(device_); 178 int device_;
|
/test/vts/drivers/hal/common/include/component_loader/ |
DllLoader.h | 74 struct hw_device_t* device_; member in class:android::vts::DllLoader
|
/test/vts/drivers/hal/common/include/driver_base/ |
DriverBase.h | 93 struct hw_device_t* device_; member in class:android::vts::DriverBase
|
/device/generic/goldfish/keymaster/ |
trusty_keymaster_device.cpp | 82 static_assert(offsetof(TrustyKeymasterDevice, device_) == 0, 83 "device_ must be the first member of TrustyKeymasterDevice"); 84 static_assert(offsetof(TrustyKeymasterDevice, device_.common) == 0, 90 device_ = {}; 92 device_.common.tag = HARDWARE_DEVICE_TAG; 93 device_.common.version = 1; 94 device_.common.module = const_cast<hw_module_t*>(module); 95 device_.common.close = close_device; 97 device_.flags = KEYMASTER_SUPPORTS_EC | KEYMASTER_BLOBS_ARE_STANDALONE ; 99 device_.configure = configure [all...] |
/system/core/trusty/keymaster/ |
trusty_keymaster_device.cpp | 81 static_assert(offsetof(TrustyKeymasterDevice, device_) == 0, 82 "device_ must be the first member of TrustyKeymasterDevice"); 83 static_assert(offsetof(TrustyKeymasterDevice, device_.common) == 0, 89 device_ = {}; 91 device_.common.tag = HARDWARE_DEVICE_TAG; 92 device_.common.version = 1; 93 device_.common.module = const_cast<hw_module_t*>(module); 94 device_.common.close = close_device; 96 device_.flags = KEYMASTER_SUPPORTS_EC; 98 device_.configure = configure [all...] |
/system/keymaster/ |
android_keymaster_test_utils.cpp | 181 device_ = GetParam()->CreateDevice(); 187 device_->common.close(reinterpret_cast<hw_device_t*>(device_)); 191 return device_; 683 memset(&device_, 0, sizeof(device_)); 684 device_.common.module = &new_module; 686 device_.common.close = close_device; 687 device_.get_supported_algorithms = get_supported_algorithms; 688 device_.get_supported_block_modes = get_supported_block_modes 887 keymaster1_device_t device_; member in class:keymaster::test::Sha256OnlyWrapper [all...] |
android_keymaster_test_utils.h | 323 keymaster2_device_t* device_; member in class:keymaster::test::Keymaster2Test 336 explicit Keymaster0CountingWrapper(keymaster0_device_t* device) : device_(device), counter_(0) { 337 common = device_->common; 339 client_version = device_->client_version; 340 flags = device_->flags; 372 return wrapper->device_; 387 wrapper->device_->common.close(reinterpret_cast<hw_device_t*>(wrapper->device_)); 464 keymaster0_device_t* device_; member in struct:keymaster::test::Keymaster0CountingWrapper
|
/system/nvram/hal/include/nvram/hal/tests/ |
scoped_nvram_device.h | 77 nvram_device_t* device_ = nullptr; member in class:nvram::ScopedNvramDevice
|
/system/security/keystore/ |
operation.cpp | 150 const OperationMap::km_device_t& device_, 152 : handle(handle_), keyid(keyid_), purpose(purpose_), device(device_),
|