/aosp_15_r20/external/pytorch/benchmarks/sparse/dlmc/ |
H A D | utils.py | 24 def read_matrix_params(path): argument 41 def load_sparse_matrix(path, device): argument 56 def gen_vector(path, device): argument 64 def gen_matrix(path, device): argument 72 def load_spmv_dataset(dataset_path, hidden_size, sparsity, device, n_limit=math.inf): argument 111 dataset_path, hidden_size, sparsity, spmm_type, device, n_limit=math.inf argument 161 device, argument
|
/aosp_15_r20/external/intel-media-driver/cmrtlib/linux/hardware/ |
H A D | drm_device.h | 235 drm_device_has_rdev(drmDevicePtr device, dev_t find_rdev) in drm_device_has_rdev() 261 char path[64]; in drmNodeIsDRM() local 304 drmDevicePtr device; in drmDeviceAlloc() local 337 sysfs_uevent_get(const char *path, const char *fmt, ...) in sysfs_uevent_get() 382 char path[PATH_MAX + 1]; in drmParseHost1xDeviceInfo() local 430 char path[PATH_MAX + 1], *name; in drmParseHost1xBusInfo() local 441 static int drmProcessHost1xDevice(drmDevicePtr *device, in drmProcessHost1xDevice() 483 char path[PATH_MAX + 1], *name; in drmParsePlatformBusInfo() local 497 char path[PATH_MAX + 1], *value; in drmParsePlatformDeviceInfo() local 540 char path[PATH_MAX + 1], *term; in get_pci_path() local [all …]
|
/aosp_15_r20/system/core/fastboot/device/ |
H A D | utility.cpp | 43 std::optional<std::string> path = FindPhysicalPartition(name); in OpenPhysicalPartition() local 51 bool OpenLogicalPartition(FastbootDevice* device, const std::string& partition_name, in OpenLogicalPartition() 55 auto path = FindPhysicalPartition(fs_mgr_get_super_partition_name(slot_number)); in OpenLogicalPartition() local 79 bool OpenPartition(FastbootDevice* device, const std::string& name, PartitionHandle* handle, in OpenPartition() 100 std::string path = "/dev/block/by-name/" + name; in FindPhysicalPartition() local 117 bool LogicalPartitionExists(FastbootDevice* device, const std::string& name, bool* is_zero_length) { in LogicalPartitionExists() 120 auto path = FindPhysicalPartition(fs_mgr_get_super_partition_name(slot_number)); in LogicalPartitionExists() local 150 std::vector<std::string> ListPartitions(FastbootDevice* device) { in ListPartitions() 161 std::string path = "/dev/block/by-name/" + std::string(de->d_name); in ListPartitions() local 201 bool UpdateAllPartitionMetadata(FastbootDevice* device, const std::string& super_name, in UpdateAllPartitionMetadata() [all …]
|
/aosp_15_r20/cts/hostsidetests/media/bitstreams/src/android/media/cts/bitstreams/ |
H A D | MediaBitstreamsTest.java | 121 ConformanceEntry(String path, String codecName, String status) { in ConformanceEntry() 212 …public MediaBitstreamsTest(String prefix, String path, BitstreamPackage pkg, BitstreamPackage pack… in MediaBitstreamsTest() 217 …public MediaBitstreamsTest(String prefix, String path, BitstreamPackage pkg, BitstreamPackage pack… in MediaBitstreamsTest() 238 public void setDevice(ITestDevice device) { in setDevice() 262 private boolean bitstreamsExistOnDevice(ITestDevice device) in bitstreamsExistOnDevice() 310 void setUp(ITestDevice device) throws DeviceNotAvailableException { in setUp() 322 void process(ITestDevice device, String reportPath) in process() 359 private void pushBitstreams(ITestDevice device) in pushBitstreams() 385 void setUp(ITestDevice device) throws DeviceNotAvailableException, IOException { in setUp() 398 private void parse(ITestDevice device, String reportPath) in parse() [all …]
|
/aosp_15_r20/external/cronet/build/android/ |
H A D | provision_devices.py | 92 def ProvisionDevice(device, denylist, options): argument 149 def CheckExternalStorage(device): argument 168 def WipeChromeData(device, options): argument 213 def WipeDevice(device, options): argument 253 def _WriteAdbKeysFile(device, adb_keys_string): argument 264 def SetProperties(device, options): argument 330 def _ConfigureLocalProperties(device, java_debug=True): argument 355 def FinishProvisioning(device, options): argument 422 def _UninstallIfMatch(device, pattern, app_to_keep): argument 434 def _WipeUnderDirIfMatch(device, path, pattern): argument [all …]
|
/aosp_15_r20/external/angle/build/android/ |
H A D | provision_devices.py | 92 def ProvisionDevice(device, denylist, options): argument 149 def CheckExternalStorage(device): argument 168 def WipeChromeData(device, options): argument 213 def WipeDevice(device, options): argument 253 def _WriteAdbKeysFile(device, adb_keys_string): argument 264 def SetProperties(device, options): argument 330 def _ConfigureLocalProperties(device, java_debug=True): argument 355 def FinishProvisioning(device, options): argument 422 def _UninstallIfMatch(device, pattern, app_to_keep): argument 434 def _WipeUnderDirIfMatch(device, path, pattern): argument [all …]
|
/aosp_15_r20/bootable/recovery/install/ |
H A D | fuse_install.cpp | 58 static std::string BrowseDirectory(const std::string& path, Device* device, RecoveryUI* ui) { in BrowseDirectory() 124 static bool StartInstallPackageFuse(std::string_view path) { in StartInstallPackageFuse() 149 InstallResult InstallWithFuseFromPath(std::string_view path, Device* device) { in InstallWithFuseFromPath() 208 InstallResult ApplyFromSdcard(Device* device) { in ApplyFromSdcard() 215 std::string path = BrowseDirectory(SDCARD_ROOT, device, ui); in ApplyFromSdcard() local
|
/aosp_15_r20/frameworks/base/services/usb/java/com/android/server/usb/ |
H A D | UsbAlsaManager.java | 211 private void addDeviceToAttachedDevicesMap(int deviceType, UsbAlsaDevice device) { in addDeviceToAttachedDevicesMap() 224 private void addAlsaDevice(UsbAlsaDevice device) { in addAlsaDevice() 226 addDeviceToAttachedDevicesMap(device.getInputDeviceType(), device); in addAlsaDevice() local 227 addDeviceToAttachedDevicesMap(device.getOutputDeviceType(), device); in addAlsaDevice() local 230 private void removeDeviceFromAttachedDevicesMap(int deviceType, UsbAlsaDevice device) { in removeDeviceFromAttachedDevicesMap() 244 UsbAlsaDevice device = mAlsaDevices.remove(index); in removeAlsaDevice() local 245 removeDeviceFromAttachedDevicesMap(device.getOutputDeviceType(), device); in removeAlsaDevice() local 246 removeDeviceFromAttachedDevicesMap(device.getInputDeviceType(), device); in removeAlsaDevice() local 443 /* package */ void setPeripheralMidiState(boolean enabled, int card, int device) { in setPeripheralMidiState() 499 private int getCardNumberFromAlsaFilePath(String path) { in getCardNumberFromAlsaFilePath() [all …]
|
/aosp_15_r20/external/chromium-trace/catapult/devil/devil/android/tools/ |
H A D | provision_devices.py | 150 def ProvisionDevice(device, steps, denylist, reboot_timeout=None): argument 183 def Wipe(device, adb_key_files=None): argument 198 def WipeChromeData(device): argument 243 def _UninstallIfMatch(device, pattern): argument 257 def _WipeUnderDirIfMatch(device, path, pattern): argument 263 def _WipeFileOrDir(device, path): argument 268 def WipeDevice(device, adb_key_files): argument 304 def _WriteAdbKeysFile(device, adb_keys_string): argument 318 def SetProperties(device, enable_java_debug, disable_location, argument 350 def DisableNetwork(device): argument [all …]
|
/aosp_15_r20/external/pdfium/core/fxge/ |
H A D | cfx_defaultrenderdevice_unittest.cpp | 17 CFX_DefaultRenderDevice device; in TEST() local 32 CFX_DefaultRenderDevice device; in TEST() local 36 CFX_Path path; in TEST() local 50 CFX_DefaultRenderDevice device; in TEST() local 54 CFX_Path path; in TEST() local 63 CFX_DefaultRenderDevice device; in TEST() local 73 CFX_DefaultRenderDevice device; in TEST() local
|
/aosp_15_r20/system/core/fs_mgr/libfiemap/ |
H A D | image_manager.cpp | 63 std::string path; in Open() local 238 auto device = MappedDevice::Open(this, 10s, name); in ZeroFillNewImage() local 299 const std::chrono::milliseconds& timeout_ms, std::string* path) { in MapWithDmLinear() 334 const std::chrono::milliseconds& timeout_ms, std::string* path) { in CreateLoopDevice() 356 for (const auto& device : devices_) { in ~AutoDetachLoopDevices() local 374 std::string* path) { in MapWithLoopDeviceList() 444 for (const auto& device : device_list) { in OptimizeLoopDevices() local 460 std::string* path) { in MapWithLoopDevice() 518 const std::chrono::milliseconds& timeout_ms, std::string* path) { in MapImageDevice() 710 bool ImageManager::GetMappedImageDevice(const std::string& name, std::string* device) { in GetMappedImageDevice() [all …]
|
/aosp_15_r20/system/core/init/ |
H A D | devices.cpp | 64 static bool FindPciDevicePrefix(const std::string& path, std::string* result) { in FindPciDevicePrefix() 95 static bool FindVbdDevicePrefix(const std::string& path, std::string* result) { in FindVbdDevicePrefix() 166 bool SysfsPermissions::MatchWithSubsystem(const std::string& path, in MatchWithSubsystem() 238 auto device = GetBlockDeviceInfo(uevent.path); in IsBootDevice() local 275 bool DeviceHandler::FindSubsystemDevice(std::string path, std::string* device_path, in FindSubsystemDevice() 314 bool DeviceHandler::FindPlatformDevice(const std::string& path, in FindPlatformDevice() 324 bool DeviceHandler::FindMmcDevice(const std::string& path, std::string* mmc_device_path) const { in FindMmcDevice() argument 332 bool DeviceHandler::FindNvmeDevice(const std::string& path, std::string* nvme_device_path) const { in FindNvmeDevice() argument 340 bool DeviceHandler::FindScsiDevice(const std::string& path, std::string* scsi_device_path) const { in FindScsiDevice() argument 361 std::string path = sysfs_mount_point_ + uevent.path + "/device"; in TrackDeviceUevent() local [all …]
|
/aosp_15_r20/external/igt-gpu-tools/lib/ |
H A D | igt_sysfs.c | 99 char *igt_sysfs_path(int device, char *path, int pathlen) in igt_sysfs_path() 128 int igt_sysfs_open(int device) in igt_sysfs_open() 130 char path[80]; in igt_sysfs_open() local 146 bool igt_sysfs_set_parameter(int device, in igt_sysfs_set_parameter() 177 int igt_sysfs_open_parameters(int device) in igt_sysfs_open_parameters() 192 char path[PATH_MAX]; in igt_sysfs_open_parameters() local 503 const char *path = "/sys/class/vtconsole"; in bind_con() local 576 const char *path = "/sys/bus/pci/drivers/snd_hda_intel/unbind"; in kick_snd_hda_intel() local
|
H A D | igt_debugfs.c | 89 static bool is_mountpoint(const char *path) in is_mountpoint() 139 static const char *path; in igt_debugfs_mount() local 158 char *igt_debugfs_path(int device, char *path, int pathlen) in igt_debugfs_path() 228 int igt_debugfs_dir(int device) in igt_debugfs_dir() 230 char path[200]; in igt_debugfs_dir() local 251 int igt_debugfs_connector_dir(int device, char *conn_name, int mode) in igt_debugfs_connector_dir() 277 int igt_debugfs_open(int device, const char *filename, int mode) in igt_debugfs_open() 345 bool igt_debugfs_search(int device, const char *filename, const char *substring) in igt_debugfs_search() 1155 void __igt_debugfs_dump(int device, const char *filename, int level) in __igt_debugfs_dump()
|
/aosp_15_r20/frameworks/base/tests/FsVerityTest/block_device_writer/src/com/android/blockdevicewriter/ |
H A D | BlockDeviceWriter.java | 54 public static void damageFileAgainstBlockDevice(ITestDevice device, String path, in damageFileAgainstBlockDevice() 78 public static void dropCaches(ITestDevice device) throws DeviceNotAvailableException { in dropCaches() 84 public static void assertFileNotOpen(ITestDevice device, String path) in assertFileNotOpen() 95 public static boolean canReadByte(ITestDevice device, String filePath, long offset) in canReadByte()
|
/aosp_15_r20/external/chromium-trace/catapult/devil/devil/android/ |
H A D | apk_helper.py | 220 def path(self): member in BaseApkHelper 419 device, argument 450 def path(self): member in ApkHelper 457 device, argument 475 def path(self): member in SplitApkHelper 490 device, argument 537 device, argument 572 def path(self): member in ApksHelper 587 def path(self): member in BundleScriptHelper
|
/aosp_15_r20/frameworks/native/services/inputflinger/reader/ |
H A D | EventHub.cpp | 299 static std::vector<std::filesystem::path> allFilesInPath(const std::filesystem::path& path) { in allFilesInPath() 322 for (auto path = sysfsRoot; path != "/" && nodes.empty(); path = path.parent_path()) { in findSysfsNodes() local 329 std::filesystem::path path) { in getColorIndexArray() 534 EventHub::Device::Device(int fd, int32_t id, std::string path, InputDeviceIdentifier identifier, in Device() 994 Device* device = getDeviceLocked(deviceId); in getDeviceIdentifier() local 1000 Device* device = getDeviceLocked(deviceId); in getDeviceClasses() local 1006 Device* device = getDeviceLocked(deviceId); in getDeviceControllerNumber() local 1012 Device* device = getDeviceLocked(deviceId); in getConfiguration() local 1024 const Device* device = getDeviceLocked(deviceId); in getAbsoluteAxisInfo() local 1043 Device* device = getDeviceLocked(deviceId); in hasRelativeAxis() local [all …]
|
/aosp_15_r20/external/skia/infra/bots/recipe_modules/flavor/ |
H A D | ios.py | 142 def copy_file_to_device(self, host, device): argument 145 def copy_directory_contents_to_device(self, host, device): argument 148 def copy_directory_contents_to_host(self, device, host): argument 151 def remove_file_on_device(self, path): argument 154 def create_clean_device_dir(self, path): argument 158 def read_file_on_device(self, path, **kwargs): argument
|
H A D | android.py | 379 def copy_file_to_device(self, host, device): argument 382 def copy_directory_contents_to_device(self, host, device): argument 389 def copy_directory_contents_to_host(self, device, host): argument 403 def read_file_on_device(self, path, **kwargs): argument 419 def remove_file_on_device(self, path): argument 425 def create_clean_device_dir(self, path): argument
|
/aosp_15_r20/packages/modules/Virtualization/tests/pvmfw/java/com/android/pvmfw/test/ |
D | DebugPolicyHostTests.java | 135 ITestDevice device = launchProtectedVmAndWaitForBootCompleted(MICRODROID_DEBUG_NONE); in testRamdumpInDebugPolicy_withDebugLevelNone_hasRamdumpArgs() local 146 ITestDevice device = launchProtectedVmAndWaitForBootCompleted(MICRODROID_DEBUG_NONE); in testNoRamdumpInDebugPolicy_withDebugLevelNone_noRamdumpArgs() local 159 ITestDevice device = launchProtectedVmAndWaitForBootCompleted(MICRODROID_DEBUG_FULL); in testNoRamdumpInDebugPolicy_withDebugLevelFull_hasRamdumpArgs() local 179 private String readFileAsString(@NonNull ITestDevice device, @NonNull String path) in readFileAsString() 185 private String readFileAsHexString(@NonNull ITestDevice device, @NonNull String path) in readFileAsHexString()
|
/aosp_15_r20/external/libdrm/ |
H A D | xf86drm.c | 798 static int chown_check_return(const char *path, uid_t owner, gid_t group) in chown_check_return() 1042 char path[DRM_NODE_NAME_MAX]; in drmGetMinorType() local 3318 char path[64]; in drmNodeIsDRM() local 3529 sysfs_uevent_get(const char *path, const char *fmt, ...) in sysfs_uevent_get() 3577 char path[PATH_MAX + 1] = ""; in get_subsystem_type() local 3614 char path[PATH_MAX + 1] = ""; in drmParseSubsystemType() local 3644 char path[PATH_MAX + 1], *term; in get_pci_path() local 3824 drmPciDeviceInfoPtr device, in parse_separate_sysfs_files() 3834 char path[PATH_MAX + 1], pci_path[PATH_MAX + 1]; in parse_separate_sysfs_files() local 3866 drmPciDeviceInfoPtr device) in parse_config_sysfs_file() [all …]
|
/aosp_15_r20/system/update_engine/aosp/ |
H A D | dynamic_partition_control_android.cc | 212 std::string* path) { in MapPartitionInternal() 252 std::string* path) { in MapPartitionOnDeviceMapper() 369 bool DynamicPartitionControlAndroid::DeviceExists(const std::string& path) { in DeviceExists() 379 const std::string& name, std::string* path) { in GetDmDevicePathByName() 655 explicit AvbFooterEraser(const std::string& path) : path_(path) {} in AvbFooterEraser() 697 auto path = base::FilePath(prefix).Append("etc/fstab.postinstall").value(); in IsAvbEnabledOnSystemOther() local 702 const std::string& path) { in IsAvbEnabledInFstab() 723 std::string* path, in GetSystemOtherPath() 838 std::string path; in EraseSystemOtherAvbFooter() local 1143 std::string* device, in GetPartitionDevice() [all …]
|
H A D | dynamic_partition_control_android_unittest.cc | 63 .WillByDefault(Invoke([](auto path) { in SetUp() 72 .WillByDefault(Invoke([](auto partition_name_suffix, auto device) { in SetUp() 420 std::string device; in TEST_P() local 463 std::string device; in TEST_P() local 526 Invoke([](const auto&, const auto& name, auto, auto, auto* device) { in TEST_P() argument 916 auto should_unmap) { in TEST_P() 930 std::string path; in TEST_P() local 954 std::string path; in TEST_P() local 964 auto path, in TEST_P() 965 auto should_unmap) { in TEST_P() [all …]
|
/aosp_15_r20/external/mesa3d/src/amd/vulkan/meta/ |
H A D | radv_meta.c | 275 struct radv_device *device = _device; in meta_alloc() local 283 struct radv_device *device = _device; in meta_realloc() local 291 struct radv_device *device = _device; in meta_free() local 297 radv_builtin_cache_path(char *path) in radv_builtin_cache_path() 335 radv_load_meta_pipeline(struct radv_device *device) in radv_load_meta_pipeline() 390 radv_store_meta_pipeline(struct radv_device *device) in radv_store_meta_pipeline() 393 char path[PATH_MAX + 1], path2[PATH_MAX + 7]; in radv_store_meta_pipeline() local 433 radv_device_init_meta(struct radv_device *device) in radv_device_init_meta() 584 radv_device_finish_meta(struct radv_device *device) in radv_device_finish_meta() 657 radv_meta_build_resolve_shader_core(struct radv_device *device, nir_builder *b, bool is_integer, in… in radv_meta_build_resolve_shader_core() [all …]
|
/aosp_15_r20/external/autotest/client/cros/faft/utils/ |
H A D | os_interface.py | 117 def read_file(self, path): argument 121 def write_file(self, path, data): argument 125 def append_file(self, path, data): argument 129 def path_exists(self, path): argument 134 def is_dir(self, path): argument 139 def create_dir(self, path): argument 160 def remove_file(self, path): argument 165 def remove_dir(self, path): argument 170 def get_file_size(self, path): argument 185 def is_removable_device(self, device): argument [all …]
|