Home
last modified time | relevance | path

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

/hardware/libhardware/tests/input/evdev/
DTestHelpers.cpp41 mName = new char[nameLen]; in TempFile()
42 strcpy(mName, path); in TempFile()
44 strcat(mName, "/"); in TempFile()
46 strcat(mName, "XXXXXX"); in TempFile()
47 mName = mktemp(mName); in TempFile()
48 LOG_FATAL_IF(mName == nullptr, "could not create temp filename %s. errno=%d", mName, errno); in TempFile()
50 int result = TEMP_FAILURE_RETRY(mkfifo(mName, S_IRWXU)); in TempFile()
51 LOG_FATAL_IF(result < 0, "could not create fifo %s. errno=%d", mName, errno); in TempFile()
53 mFd = TEMP_FAILURE_RETRY(open(mName, O_RDWR | O_NONBLOCK)); in TempFile()
54 LOG_FATAL_IF(mFd < 0, "could not open fifo %s. errno=%d", mName, errno); in TempFile()
[all …]
DTestHelpers.h52 const char* getName() const { return mName; } in getName()
56 char* mName;
73 const char* getName() const { return mName; } in getName()
78 char* mName;
DInputMocks.h36 virtual const std::string& getName() const override { return mName; } in getName()
41 void setName(const std::string& name) { mName = name; } in setName()
105 std::string mName = "Test Device"; variable
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/devices/
DPhysicalDevice.cpp42 mName = "Primary"; in PhysicalDevice()
45 mName = "External"; in PhysicalDevice()
48 mName = "Unknown"; in PhysicalDevice()
452 return mName; in getName()
475 d.append("Device Name: %s (%s)\n", mName, in dump()
DDummyDevice.cpp31 mName("Dummy") in DummyDevice()
222 d.append("Device Name: %s (%s)\n", mName, in dump()
/hardware/intel/img/hwcomposer/merrifield/common/devices/
DPhysicalDevice.cpp41 mName = "Primary"; in PhysicalDevice()
44 mName = "External"; in PhysicalDevice()
47 mName = "Unknown"; in PhysicalDevice()
465 return mName; in getName()
489 d.append("Device Name: %s (%s)\n", mName, in dump()
DVirtualDevice.cpp558 VTRACE("Returning %s buffer %p (%ux%u) to list", mList.mName, mHandle, mWidth, mHeight); in ~HeldBuffer()
561 VTRACE("Deleting %s buffer %p (%ux%u)", mList.mName, mHandle, mWidth, mHeight); in ~HeldBuffer()
578 mName(name), in BufferList()
594 mName, mWidth, mHeight, width, height); in get()
609 ETRACE("failed to allocate %s buffer", mName); in get()
625 ITRACE("Releasing %s buffers (%ux%u)", mName, mWidth, mHeight); in clear()
/hardware/intel/img/hwcomposer/moorefield_hdmi/include/
DDummyDevice.h68 const char *mName; variable
DPhysicalDevice.h83 const char *mName; variable
/hardware/intel/img/hwcomposer/merrifield/include/
DPhysicalDevice.h93 const char *mName; variable
DVirtualDevice.h81 const char* mName; variable
/hardware/libhardware/modules/input/evdev/
DInputHub.cpp96 virtual const std::string& getName() const override { return mName; } in getName()
133 std::string mName; member in android::EvdevDeviceNode
192 mName = buffer; in queryProperties()
236 mName.c_str(), mLocation.c_str(), mUniqueId.c_str(), in queryProperties()
/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dwifi_hal.cpp525 const char *mName; member in GetMulticastIdCommand
532 mName = name; in GetMulticastIdCommand()
548 ret = mMsg.put_string(CTRL_ATTR_FAMILY_NAME, mName); in create()
/hardware/qcom/wlan/qcwcn/wifi_hal/
Dwifi_hal.cpp829 const char *mName; member in GetMulticastIdCommand
836 mName = name; in GetMulticastIdCommand()
852 ret = mMsg.put_string(CTRL_ATTR_FAMILY_NAME, mName); in create()
/hardware/libhardware_legacy/include/hardware_legacy/
DAudioPolicyManagerBase.h193 const char *const mName; // base name of the audio HW module (primary, a2dp ...) variable
/hardware/libhardware_legacy/audio/
DAudioPolicyManagerBase.cpp953 ALOGE("getInput(): HW module %s not opened", profile->mModule->mName); in getInput()
1578 mHwModules[i]->mHandle = mpClientInterface->loadHwModule(mHwModules[i]->mName); in AudioPolicyManagerBase()
1580 ALOGW("could not open HW module %s", mHwModules[i]->mName); in AudioPolicyManagerBase()
3740 : mName(strndup(name, AUDIO_HARDWARE_MODULE_ID_MAX_LEN)), mHandle(AUDIO_MODULE_HANDLE_NONE) in HwModule()
3752 free((void *)mName); in ~HwModule()
3761 snprintf(buffer, SIZE, " - name: %s\n", mName); in dump()