Home
last modified time | relevance | path

Searched +defs:device +defs:path (Results 26 – 50 of 935) sorted by relevance

12345678910>>...38

/aosp_15_r20/system/core/libusbhost/
H A Dusbhost.c141 char path[100]; in watch_existing_subdirs() local
227 char path[100]; in usb_host_read_event() local
358 void usb_device_close(struct usb_device *device) in usb_device_close()
366 struct usb_device *device = calloc(1, sizeof(struct usb_device)); in usb_device_new() local
393 static int usb_device_reopen_writeable(struct usb_device *device) in usb_device_reopen_writeable()
409 int usb_device_get_fd(struct usb_device *device) in usb_device_get_fd()
416 const char* usb_device_get_name(struct usb_device *device) in usb_device_get_name()
421 int usb_device_get_unique_id(struct usb_device *device) in usb_device_get_unique_id()
444 uint16_t usb_device_get_vendor_id(struct usb_device *device) in usb_device_get_vendor_id()
450 uint16_t usb_device_get_product_id(struct usb_device *device) in usb_device_get_product_id()
[all …]
/aosp_15_r20/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DMetricsLogger.java165 public boolean initBloomFilter(String path) { in initBloomFilter()
198 public boolean initMedicalDeviceBloomFilter(String path) { in initMedicalDeviceBloomFilter()
342 BluetoothDevice device = connIntent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in logConnectionStateChanges() local
503 public byte[] getRemoteDeviceInfoProto(BluetoothDevice device) { in getRemoteDeviceInfoProto()
516 public byte[] getRemoteDeviceInfoProto(BluetoothDevice device, boolean includeMedicalDevices) { in getRemoteDeviceInfoProto()
521 BluetoothDevice device, boolean includeMedicalDevices) { in buildRemoteDeviceInfoProto()
560 private int getDeviceTypeMetaData(BluetoothDevice device) { in getDeviceTypeMetaData()
596 private int getOui(BluetoothDevice device) { in getOui()
771 public void logBluetoothEvent(BluetoothDevice device, int eventType, int state, int uid) { in logBluetoothEvent()
846 BluetoothDevice device, int profileId, int state, int prevState) { in logProfileConnectionStateChange()
[all …]
/aosp_15_r20/external/libusb/examples/
H A Dezusb.c125 static int ezusb_write(libusb_device_handle *device, const char *label, in ezusb_write()
152 static int ezusb_read(libusb_device_handle *device, const char *label, in ezusb_read()
180 static bool ezusb_cpucs(libusb_device_handle *device, uint32_t addr, bool doRun) in ezusb_cpucs()
209 static bool ezusb_fx3_jump(libusb_device_handle *device, uint32_t addr) in ezusb_fx3_jump()
506 libusb_device_handle *device; member
576 static int fx3_load_ram(libusb_device_handle *device, const char *path) in fx3_load_ram()
728 int ezusb_load_ram(libusb_device_handle *device, const char *path, int fx_type, int img_type, int s… in ezusb_load_ram()
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/service/
H A Dhlo_module_group_metadata.cc178 auto device = GetInstructionDevice(*comm_instruction); in VerifyCompanionSets() local
183 for (int64_t device : comm_devices) { in VerifyCompanionSets() local
261 std::vector<TrackedInstruction> path; in GetCompanionsPath() local
306 std::optional<int64_t> device = instruction.sharding_unique_device(); in GetInstructionDevice() local
513 std::vector<TrackedInstruction> path = GetCompanionsPath(channel.send); in VerifyChannelInstructions() local
564 auto device = GetInstructionDevice(*instruction); in DumpCollectedStats() local
/aosp_15_r20/system/vold/model/
H A DDisk.cpp94 Disk::Disk(const std::string& eventPath, dev_t device, const std::string& nickname, int flags) in Disk()
173 void Disk::createPublicVolume(dev_t device) { in createPublicVolume()
189 void Disk::createPrivateVolume(dev_t device, const std::string& partGuid) { in createPrivateVolume()
259 std::string path(mSysPath + "/device/vendor"); in readMetadata() local
270 std::string path(mSysPath + "/device/manfid"); in readMetadata() local
303 std::string path(mSysPath + "/device/model"); in readMetadata() local
/aosp_15_r20/packages/apps/Gallery2/src/com/android/gallery3d/ingest/
DIngestService.java116 private void setDevice(MtpDevice device) { in setDevice()
205 public void deviceAdded(MtpDevice device) { in deviceAdded()
212 public void deviceRemoved(MtpDevice device) { in deviceRemoved()
306 public void scanPath(String path) { in scanPath()
331 public void onScanCompleted(String path, Uri uri) { in onScanCompleted()
/aosp_15_r20/external/rootdev/
H A Drootdev.c224 int rootdev_symlink_active(const char *path) { in rootdev_symlink_active()
273 const char *device, const char *search) { in rootdev_get_device_slave()
345 int rootdev_get_path(char *path, size_t size, const char *device, in rootdev_get_path()
367 int rootdev_wrapper(char *path, size_t size, in rootdev_wrapper()
403 int rootdev(char *path, size_t size, bool full, bool strip) { in rootdev()
/aosp_15_r20/external/crosvm/devices/src/virtio/vhost/user/
H A Dmod.rs5 pub mod device; module
29 pub device: T, field
58 let device = T::deserialize(&mut deserializer)?; in from_arg_value() localVariable
84 path: PathBuf, field
95 let device = from_arg_value("vhost=vhost_sock,path=/path/to/dummy,boom-range=42").unwrap(); in vhost_user_params() localVariable
106 let device = from_arg_value("vhost=vhost_sock,path=/path/to/dummy").unwrap(); in vhost_user_params() localVariable
126 let device = from_arg_value("vhost=vhost_sock,path=10").unwrap(); in vhost_user_params() localVariable
/aosp_15_r20/external/mesa3d/src/loader/
H A Dloader.c177 drmDevicePtr devices[MAX_DRM_DEVICES], device; in loader_open_render_node_platform_device() local
244 loader_get_render_node(dev_t device) in loader_get_render_node()
317 static char *drm_construct_id_path_tag(drmDevicePtr device) in drm_construct_id_path_tag()
360 static bool drm_device_matches_tag(drmDevicePtr device, const char *prime_tag) in drm_device_matches_tag()
376 drmDevicePtr device; in drm_get_id_path_tag_for_fd() local
591 drmDevicePtr device; in drm_get_pci_id_for_fd() local
613 char path[PATH_MAX + 1]; in loader_get_linux_pci_field() local
794 char path[PATH_MAX]; in loader_open_driver_lib() local
/aosp_15_r20/external/autotest/client/cros/cellular/pseudomodem/
H A Ddbus_std_ifaces.py56 def __init__(self, path, bus=None, config=None): argument
108 def SetPath(self, path): argument
334 def __init__(self, bus, path): argument
341 def Add(self, device): argument
356 def Remove(self, device): argument
/aosp_15_r20/system/vold/
H A DVolumeManager.cpp156 dev_t device = mVirtualDisk->getDevice(); in updateVirtualDisk() local
216 dev_t device = makedev(major, minor); in handleBlockEvent() local
276 void VolumeManager::handleDiskChanged(dev_t device) { in handleDiskChanged()
288 void VolumeManager::handleDiskRemoved(dev_t device) { in handleDiskRemoved()
1047 for (const auto& path : toUnmount) { in unmountAll() local
1067 int VolumeManager::setupAppDir(const std::string& path, int32_t appUid, bool fixupExistingOnly, in setupAppDir()
1135 int VolumeManager::fixupAppDir(const std::string& path, int32_t appUid) { in fixupAppDir()
1250 static android::status_t getDeviceSize(std::string& device, int64_t* storageSize) { in getDeviceSize()
1321 for (auto device : entry->user_devices) { in GetStorageSize() local
/aosp_15_r20/external/webrtc/modules/audio_device/win/
H A Dcore_audio_utility_win.cc207 wchar_t path[MAX_PATH] = {0}; in LoadAudiosesDll() local
216 wchar_t path[MAX_PATH] = {0}; in LoadAvrtDll() local
277 bool IsDeviceActive(IMMDevice* device) { in IsDeviceActive()
336 std::string GetDeviceIdInternal(IMMDevice* device) { in GetDeviceIdInternal()
349 std::string GetDeviceFriendlyNameInternal(IMMDevice* device) { in GetDeviceFriendlyNameInternal()
723 ComPtr<IMMDevice> device( in GetDefaultInputDeviceID() local
730 ComPtr<IMMDevice> device( in GetDefaultOutputDeviceID() local
737 ComPtr<IMMDevice> device(CreateDevice(AudioDeviceName::kDefaultDeviceId, in GetCommunicationsInputDeviceID() local
744 ComPtr<IMMDevice> device(CreateDevice(AudioDeviceName::kDefaultDeviceId, in GetCommunicationsOutputDeviceID() local
756 AudioDeviceName GetDeviceName(IMMDevice* device) { in GetDeviceName()
[all …]
/aosp_15_r20/system/core/fs_mgr/libsnapshot/
H A Dsnapshot_test.cpp300 bool CreatePartition(const std::string& name, uint64_t size, std::string* path = nullptr, in CreatePartition()
314 std::string* path, const std::string& group) { in CreatePartition()
364 AssertionResult MapUpdateSnapshot(const std::string& name, std::string* path) { in MapUpdateSnapshot()
397 AssertionResult DeleteDevice(const std::string& device) { in DeleteDevice()
423 const std::chrono::milliseconds& timeout_ms, std::string* path) { in MapCowImage()
524 init->SetUeventRegenCallback([](const std::string& device) -> bool { in NewManagerForFirstStageMount()
662 std::string path; in TEST_F() local
1080 std::string path; in SetUp() local
1132 std::string path; in IsPartitionUnchanged() local
1180 std::string path; in MapOneUpdateSnapshot() local
[all …]
/aosp_15_r20/external/cronet/components/cronet/tools/
H A Dperf_test_utils.py81 def WriteFile(self, path, data): argument
85 def GetConfig(device): argument
99 def GetAndroidRndisConfig(device): argument
103 def GetServersHost(device): argument
109 def GetHttpServerURL(device, resource): argument
119 def StartupQuicServer(self, device): argument
168 def GenerateQuicTestResources(device): argument
/aosp_15_r20/external/chromium-trace/catapult/devil/devil/android/
H A Dforwarder.py54 def _LogMapFailureDiagnostics(device): argument
87 def __init__(self, path): argument
124 def Map(port_pairs, device, tool=None): argument
201 def UnmapDevicePort(device_port, device): argument
212 def UnmapAllDevicePorts(device): argument
309 def _UnmapDevicePortLocked(device_port, device): argument
376 def _InitDeviceLocked(self, device, tool): argument
474 def KillDevice(device, tool=None): argument
486 def _KillDeviceLocked(self, device, tool): argument
/aosp_15_r20/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
H A DDeviceInteractionHelperInstaller.java74 ITestDevice device = testInfo.getDevice(); in setUp() local
122 ITestDevice device = testInfo.getDevice(); in tearDown() local
139 private void checkApkFile(ITestDevice device, File apkFile, String expectedPackage) in checkApkFile()
141 String path = apkFile.getPath(); in checkApkFile() local
171 private void installHelperApk(ITestDevice device, File apkFile, String apkPackage) in installHelperApk()
/aosp_15_r20/art/libnativeloader/test/src/android/test/hostside/
H A DLibnativeloaderTest.java169 CleanupPaths(ITestDevice device) { in CleanupPaths()
174 CleanupPaths(ITestDevice device, String pathList) { in CleanupPaths()
184 File path = new File(devicePath); in addPath() local
240 void pushPublicLibrariesFile(String path) throws DeviceNotAvailableException { in pushPublicLibrariesFile()
298 String path = partitionDir + "/framework/" + packageName + ".jar"; in pushSharedLib() local
/aosp_15_r20/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
H A DBrailleDisplayControllerTest.java176 String path = HIDRAW_NODE_PREFIX + i; in oneTimeSetup() local
271 private static Bundle getTestBrailleDisplay(String path, byte[] descriptor, String uniq, in getTestBrailleDisplay()
351 String path = Path.of(FAKE_HIDRAW_DIR, name).toString(); in createFakeHidrawNode() local
359 Executor executor, BluetoothDevice device, Consumer<byte[]> onInput, in expectConnectionSuccess()
396 Executor executor, BluetoothDevice device) throws Exception { in expectConnectionSuccess()
403 Executor executor, BluetoothDevice device) throws Exception { in expectConnectionFailed()
/aosp_15_r20/external/coreboot/util/sconfig/
H A Dsconfig.h116 struct device { struct
120 /* non-zero if the device should be included in all cases */ argument
123 /* Subsystem IDs for the device. */ argument
125 int subsystem_device; argument
128 /* Name of this device. */ argument
131 /* Alias of this device (for internal references) */ argument
134 /* Path of this device. */ argument
135 char *path; member
139 /* Type of bus that exists under this device. */ argument
142 /* Pointer to bus of parent on which this device resides. */ argument
[all …]
/aosp_15_r20/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/util/
DTargetFileUtils.java71 public static String getPermission(String filepath, ITestDevice device) in getPermission()
147 String path, String namePattern, List<String> options, ITestDevice device) in findFile()
174 public static boolean isReadOnly(String filepath, ITestDevice device) in isReadOnly()
189 public static boolean isReadWriteOnly(String filepath, ITestDevice device) in isReadWriteOnly()
/aosp_15_r20/frameworks/base/tests/utils/hostutils/src/com/android/internal/util/test/
H A DSystemPreparer.java94 final ITestDevice device = mDeviceProvider.getDevice(); in pushResourceFile() local
104 final ITestDevice device = mDeviceProvider.getDevice(); in pushFile() local
111 private void addPushedFile(ITestDevice device, String outputPath) in addPushedFile()
126 final ITestDevice device = mDeviceProvider.getDevice(); in deleteFile() local
135 final ITestDevice device = mDeviceProvider.getDevice(); in installResourceApk() local
147 final ITestDevice device = mDeviceProvider.getDevice(); in stageMultiplePackages() local
164 final ITestDevice device = mDeviceProvider.getDevice(); in setOverlayEnabled() local
190 ITestDevice device = mDeviceProvider.getDevice(); in reboot() local
220 private static @Nullable String getFileExtension(@Nullable String path) { in getFileExtension()
260 final ITestDevice device = mDeviceProvider.getDevice(); in after() local
/aosp_15_r20/external/OpenCL-CTS/test_common/harness/
H A DkernelHelpers.cpp245 static int save_kernel_build_options_to_disk(const std::string &path, in save_kernel_build_options_to_disk()
263 static int save_kernel_source_to_disk(const std::string &path, in save_kernel_source_to_disk()
315 static cl_int get_cl_device_info_str(const cl_device_id device, in get_cl_device_info_str()
352 static int write_cl_device_info(const cl_device_id device, in write_cl_device_info()
423 static int invoke_offline_compiler(const cl_device_id device, in invoke_offline_compiler()
464 cl_device_id &device) in get_first_device_id()
487 static cl_int get_device_address_bits(const cl_device_id device, in get_device_address_bits()
506 std::ifstream &ifs, const cl_device_id device, cl_uint deviceAddrSpaceSize, in get_offline_compiler_output()
567 cl_context context, cl_device_id device, cl_program *outProgram, in create_single_kernel_helper_create_program_offline()
682 cl_context context, cl_device_id device, cl_program *outProgram, in create_single_kernel_helper_create_program()
[all …]
/aosp_15_r20/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiCecNetwork.java116 private static boolean isConnectedToCecSwitch(int path, Collection<Integer> switches) { in isConnectedToCecSwitch()
138 public void addLocalDevice(int deviceType, HdmiCecLocalDevice device) { in addLocalDevice()
506 HdmiDeviceInfo device = getCecDeviceInfo(logicalAddress); in isInDeviceList() local
764 int path = it.next(); in removeCecSwitches() local
789 boolean updateCecSwitchInfo(int address, int type, int path) { in updateCecSwitchInfo()
840 final HdmiDeviceInfo getDeviceInfoByPath(int path) { in getDeviceInfoByPath()
858 HdmiDeviceInfo getSafeDeviceInfoByPath(int path) { in getSafeDeviceInfoByPath()
960 int physicalAddressToPortId(int path) { in physicalAddressToPortId()
/aosp_15_r20/external/coreboot/src/soc/intel/xeon_sp/
H A Dchip_common.c26 struct device *dev_find_all_devices_on_socket(uint8_t socket, u16 vendor, u16 device, in dev_find_all_devices_on_socket()
36 struct device *dev_find_device_on_socket(uint8_t socket, u16 vendor, u16 device) in dev_find_device_on_socket()
42 u16 vendor, u16 device) in filter_device_on_stack()
83 u16 vendor, u16 device, struct device *from) in dev_find_all_devices_on_stack()
112 u16 device, struct device *from) in dev_find_all_devices_on_domain()
175 struct device_path path; in create_domain() local
/aosp_15_r20/external/chromium-trace/catapult/devil/devil/
H A Ddevil_env.py23 def SysPath(path): argument
170 def FetchPath(self, dependency, arch=None, device=None): argument
177 def LocalPath(self, dependency, arch=None, device=None): argument
182 def PrefetchPaths(self, dependencies=None, arch=None, device=None): argument
187 def GetPlatform(arch=None, device=None): argument

12345678910>>...38