Home
last modified time | relevance | path

Searched refs:st (Results 1 – 25 of 66) sorted by relevance

123

/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/remote/
DTransportUtils.java56 public static int parseUnsignedShort(byte[] bytes, int st) { in parseUnsignedShort() argument
57 return (bytes[st] & 0xff) + ((bytes[st + 1] & 0xff) << 8); in parseUnsignedShort()
66 public static void writeUnsignedShort(byte[] bytes, int st, int val) { in writeUnsignedShort() argument
67 bytes[st] = (byte) (val & 0xff); in writeUnsignedShort()
68 bytes[st + 1] = (byte) ((val >> 8) & 0xff); in writeUnsignedShort()
/device/google/cuttlefish/common/libs/utils/
Dfiles.cpp66 struct stat st {}; in FileExists() struct
67 return (follow_symlinks ? stat : lstat)(path.c_str(), &st) == 0; in FileExists()
86 struct stat st {}; in DirectoryExists() struct
87 if ((follow_symlinks ? stat : lstat)(path.c_str(), &st) == -1) { in DirectoryExists()
90 if ((st.st_mode & S_IFMT) != S_IFDIR) { in DirectoryExists()
290 struct stat st {}; in FileSize() struct
291 if (stat(path.c_str(), &st) == -1) { in FileSize()
294 return st.st_size; in FileSize()
304 struct stat st {}; in FileModificationTime() struct
305 if (stat(path.c_str(), &st) == -1) { in FileModificationTime()
[all …]
/device/generic/goldfish/sensors/
Dmultihal_sensors.cpp50 const auto st = m_sensorsTransportFactory(); in MultihalSensors() local
52 LOG_ALWAYS_FATAL_IF(!st->Ok(), "%s:%d: sensors transport is not opened", in MultihalSensors()
58 LOG_ALWAYS_FATAL_IF(st->Send(kListSensorsCmd.data(), kListSensorsCmd.size()) < 0, in MultihalSensors()
59 "%s:%d: send for %s failed", __func__, __LINE__, st->Name()); in MultihalSensors()
62 const int len = st->Receive(buffer, sizeof(buffer) - 1); in MultihalSensors()
64 st->Name()); in MultihalSensors()
411 const auto st = m_sensorsTransportFactory(); in qemuSensorListenerThread() local
414 *st, ::android::elapsedRealtimeNano())); in qemuSensorListenerThread()
416 *st, m_protocolState.sensorsUpdateIntervalMs)); in qemuSensorListenerThread()
418 *st, m_availableSensorsMask, true)); in qemuSensorListenerThread()
[all …]
Dmultihal_sensors_qemu.cpp56 bool MultihalSensors::setSensorsReportingImpl(SensorsTransport& st, in setSensorsReportingImpl() argument
65 if (st.Send(buffer, len) < 0) { in setSensorsReportingImpl()
66 ALOGE("%s:%d: send for %s failed", __func__, __LINE__, st.Name()); in setSensorsReportingImpl()
73 bool MultihalSensors::setAllSensorsReporting(SensorsTransport& st, in setAllSensorsReporting() argument
78 if (!setSensorsReportingImpl(st, i, enabled)) { in setAllSensorsReporting()
87 bool MultihalSensors::setSensorsGuestTime(SensorsTransport& st, const int64_t value) { in setSensorsGuestTime() argument
90 if (st.Send(buffer, len) < 0) { in setSensorsGuestTime()
91 ALOGE("%s:%d: send for %s failed", __func__, __LINE__, st.Name()); in setSensorsGuestTime()
98 bool MultihalSensors::setSensorsUpdateIntervalMs(SensorsTransport& st, in setSensorsUpdateIntervalMs() argument
102 if (st.Send(buffer, len) < 0) { in setSensorsUpdateIntervalMs()
[all …]
/device/google/pantah/conf/
Dinit.cheetah.rc10 setprop persist.vendor.nfc.config_file_name libnfc-hal-st-proto1.conf
13 setprop persist.vendor.nfc.config_file_name libnfc-hal-st-proto1.conf
16 setprop persist.vendor.nfc.config_file_name libnfc-hal-st-proto1.conf
19 setprop persist.vendor.nfc.config_file_name libnfc-hal-st-proto1.conf
/device/google/coral/gpt-utils/
Dgpt-utils.cpp669 struct stat st; in gpt_utils_set_xbl_boot_partition() local
677 if (!stat(XBL_BACKUP, &st)) in gpt_utils_set_xbl_boot_partition()
679 else if (!stat(XBL_AB_SECONDARY, &st)) in gpt_utils_set_xbl_boot_partition()
688 if (!stat(XBL_PRIMARY, &st)) in gpt_utils_set_xbl_boot_partition()
690 else if (!stat(XBL_AB_PRIMARY, &st)) in gpt_utils_set_xbl_boot_partition()
703 if((stat(XBL_PRIMARY, &st) || in gpt_utils_set_xbl_boot_partition()
704 stat(XBL_BACKUP, &st)) && in gpt_utils_set_xbl_boot_partition()
705 (stat(XBL_AB_PRIMARY, &st) || in gpt_utils_set_xbl_boot_partition()
706 stat(XBL_AB_SECONDARY, &st))) { in gpt_utils_set_xbl_boot_partition()
934 struct stat st; in add_lun_to_update_list() local
[all …]
/device/google/redbull/gpt-utils/
Dgpt-utils.cpp669 struct stat st; in gpt_utils_set_xbl_boot_partition() local
677 if (!stat(XBL_BACKUP, &st)) in gpt_utils_set_xbl_boot_partition()
679 else if (!stat(XBL_AB_SECONDARY, &st)) in gpt_utils_set_xbl_boot_partition()
688 if (!stat(XBL_PRIMARY, &st)) in gpt_utils_set_xbl_boot_partition()
690 else if (!stat(XBL_AB_PRIMARY, &st)) in gpt_utils_set_xbl_boot_partition()
703 if((stat(XBL_PRIMARY, &st) || in gpt_utils_set_xbl_boot_partition()
704 stat(XBL_BACKUP, &st)) && in gpt_utils_set_xbl_boot_partition()
705 (stat(XBL_AB_PRIMARY, &st) || in gpt_utils_set_xbl_boot_partition()
706 stat(XBL_AB_SECONDARY, &st))) { in gpt_utils_set_xbl_boot_partition()
934 struct stat st; in add_lun_to_update_list() local
[all …]
/device/google/sunfish/gpt-utils/
Dgpt-utils.cpp669 struct stat st; in gpt_utils_set_xbl_boot_partition() local
677 if (!stat(XBL_BACKUP, &st)) in gpt_utils_set_xbl_boot_partition()
679 else if (!stat(XBL_AB_SECONDARY, &st)) in gpt_utils_set_xbl_boot_partition()
688 if (!stat(XBL_PRIMARY, &st)) in gpt_utils_set_xbl_boot_partition()
690 else if (!stat(XBL_AB_PRIMARY, &st)) in gpt_utils_set_xbl_boot_partition()
703 if((stat(XBL_PRIMARY, &st) || in gpt_utils_set_xbl_boot_partition()
704 stat(XBL_BACKUP, &st)) && in gpt_utils_set_xbl_boot_partition()
705 (stat(XBL_AB_PRIMARY, &st) || in gpt_utils_set_xbl_boot_partition()
706 stat(XBL_AB_SECONDARY, &st))) { in gpt_utils_set_xbl_boot_partition()
934 struct stat st; in add_lun_to_update_list() local
[all …]
/device/generic/vulkan-cereal/stream-servers/gl/glestranslator/GLES_V2/
DANGLEShaderParser.cpp298 auto st = getSTDispatch(); in getShaderLinkInfo() local
299 auto stCopyVariable = st->copyVariable; in getShaderLinkInfo()
300 auto stCopyInterfaceBlock = st->copyInterfaceBlock; in getShaderLinkInfo()
423 auto st = getSTDispatch(); in translate() local
424 st->compileAndResolve(&ci, &res); in translate()
434 st->freeShaderResolveState(res); in translate()
/device/google/cuttlefish/host/libs/allocd/
Dutils.cpp140 RequestStatus StrToStatus(const std::string& st) { in StrToStatus() argument
141 auto it = StrToReqStatusMap.find(st); in StrToStatus()
149 std::string StatusToStr(RequestStatus st) { in StatusToStr() argument
150 switch (st) { in StatusToStr()
Dutils.h60 RequestStatus StrToStatus(const std::string& st);
62 std::string StatusToStr(RequestStatus st);
/device/generic/goldfish/sensors/include/
Dmultihal_sensors.h104 static bool setSensorsReportingImpl(SensorsTransport& st, int sensorHandle, bool enabled);
105 static bool setAllSensorsReporting(SensorsTransport& st,
107 static bool setSensorsGuestTime(SensorsTransport& st, int64_t value);
108 static bool setSensorsUpdateIntervalMs(SensorsTransport& st, uint32_t value);
/device/google/shusky/
Ddevice-ripcurrent.mk64 …device/google/shusky/nfc/libnfc-hal-st-disable.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-hal-st.co…
65 …device/google/shusky/nfc/libnfc-hal-st.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-hal-st-enable.con…
71 android.hardware.nfc-service.st
/device/google/bluejay/
Ddevice-bluejay.mk98 device/google/bluejay/nfc/libnfc-hal-st.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-hal-st.conf \
99 …device/google/bluejay/nfc/libnfc-hal-st-GB17L.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-hal-st-GB1…
105 android.hardware.nfc-service.st
/device/google/coral-kernel/sm8150/original-kernel-headers/linux/mfd/adnc/
Diaxxx-debug-intf.h180 uint32_t st; member
197 uint32_t st; member
224 uint32_t st; member
/device/google/coral-kernel/sm8150/kernel-headers/linux/mfd/adnc/
Diaxxx-debug-intf.h158 uint32_t st; member
168 uint32_t st; member
186 uint32_t st; member
/device/google/sunfish-sepolicy/vendor/st/
Dfile_contexts3 /(vendor|system/vendor)/bin/hw/android\.hardware\.nfc-service\.st u:object_r:ha…
4 /(vendor|system/vendor)/bin/hw/android\.hardware\.secure_element@1\.0-service\.st u:object_r:ha…
/device/google/redbull-sepolicy/vendor/st/
Dfile_contexts3 /(vendor|system/vendor)/bin/hw/android\.hardware\.nfc-service\.st u:object_r:ha…
4 /(vendor|system/vendor)/bin/hw/android\.hardware\.secure_element@1\.2-service\.st u:object_r:ha…
/device/google/coral-sepolicy/vendor/st/
Dfile_contexts3 /(vendor|system/vendor)/bin/hw/android\.hardware\.nfc-service\.st u:object_r:ha…
4 /(vendor|system/vendor)/bin/hw/android\.hardware\.secure_element@1\.0-service\.st u:object_r:ha…
/device/generic/goldfish/qemu-export-property/
Dmain.cpp62 struct stat st; in main() local
63 if (stat(argv[2], &st) == 0) { in main()
/device/google/trout/vport_trigger/
Dmain.cpp50 struct stat st; in main() local
51 if (stat(sysfs.c_str(), &st)) { in main()
/device/generic/car/tools/
DREADME.md49 * Deleting the WORKDIR will let the script create it from scratch next time as the 1st run.
52 … are created as the following default settings at the 1st run. You can also change them at the 1st
/device/google/raviole/
Ddevice-whitefin.mk78 device/google/raviole/nfc/libnfc-hal-st.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-hal-st.conf \
84 android.hardware.nfc-service.st
/device/google/pantah/
Ddevice-panther.mk85 …device/google/pantah/nfc/libnfc-hal-st-proto1.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-hal-st-pro…
86 device/google/pantah/nfc/libnfc-hal-st.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-hal-st.conf \
92 android.hardware.nfc-service.st
/device/google/atv/audio_proxy/
DAudioProxyDevice.cpp23 #define CHECK_API(st, func) \ argument
25 if (!st->func) { \

123