/device/google/coral/usb/ |
D | Usb.cpp | 58 int32_t readFile(const std::string &filename, std::string *contents) { in readFile() function 91 if ((ret != EOF) && !readFile(filename, &written) && written == contents) in writeFile() 108 if (readFile(kEnabledPath, &enabled)) { in queryMoistureDetectionStatus() 114 if (readFile(kDetectedPath, &status)) { in queryMoistureDetectionStatus() 323 if ((ret != EOF) && !readFile(filename, &written)) { in switchRole() 357 if (readFile(filename, accessory)) { in getAccessoryConnected() 402 if (readFile(filename, &roleName)) { in getCurrentRoleHelper() 465 if (!readFile(filename, &supportsPD)) { in canSwitchRoleHelper()
|
/device/google/wahoo/usb/ |
D | Usb.cpp | 52 static int32_t readFile(const std::string &filename, std::string *contents) { in readFile() function 265 if ((ret != EOF) && !readFile(filename, &written)) { in switchRole() 301 if (readFile(filename, accessory)) { in getAccessoryConnected() 346 if (readFile(filename, &roleName)) { in getCurrentRoleHelper() 411 if (!readFile(filename, &supportsPD)) { in canSwitchRoleHelper() 763 readFile(devicePath + "/idVendor", &deviceIdVendor); in canUsbDeviceAutoSuspend() 764 readFile(devicePath + "/idProduct", &deviceIdProduct); in canUsbDeviceAutoSuspend()
|
/device/google/contexthub/lib/include/nanohub/ |
D | nanoapp.h | 29 bool readFile(void *dst, uint32_t len, const char *fileName);
|
/device/google/cuttlefish/guest/hals/camera/ |
D | VSoCEmulatedCameraHotplugThread.cpp | 83 int EmulatedCameraHotplugThread::readFile(String8 /*filePath*/) const { in readFile() function in android::EmulatedCameraHotplugThread
|
D | EmulatedCameraHotplugThread.h | 58 int readFile(String8 filePath) const;
|
D | EmulatedCameraHotplugThread.cpp | 177 int newStatus = readFile(filePath); in threadLoop() 314 int EmulatedCameraHotplugThread::readFile(String8 filePath) const { in readFile() function in android::EmulatedCameraHotplugThread
|
/device/generic/goldfish/camera/ |
D | EmulatedCameraHotplugThread.h | 61 int readFile(const String8& filePath) const;
|
D | EmulatedCameraHotplugThread.cpp | 180 int newStatus = readFile(filePath); in threadLoop() 300 int EmulatedCameraHotplugThread::readFile(const String8& filePath) const { in readFile() function in android::EmulatedCameraHotplugThread
|
/device/google/bonito/usb/ |
D | Usb.cpp | 47 int32_t readFile(const std::string &filename, std::string *contents) { in readFile() function 239 if ((ret != EOF) && !readFile(filename, &written)) { in switchRole() 275 if (readFile(filename, accessory)) { in getAccessoryConnected() 320 if (readFile(filename, &roleName)) { in getCurrentRoleHelper() 385 if (!readFile(filename, &supportsPD)) { in canSwitchRoleHelper()
|
/device/google/crosshatch/usb/ |
D | Usb.cpp | 49 int32_t readFile(const std::string &filename, std::string *contents) { in readFile() function 241 if ((ret != EOF) && !readFile(filename, &written)) { in switchRole() 277 if (readFile(filename, accessory)) { in getAccessoryConnected() 322 if (readFile(filename, &roleName)) { in getCurrentRoleHelper() 387 if (!readFile(filename, &supportsPD)) { in canSwitchRoleHelper()
|
/device/google/contexthub/lib/nanohub/ |
D | nanoapp.c | 46 bool readFile(void *dst, uint32_t len, const char *fileName) in readFile() function
|
/device/google/contexthub/util/nanoapp_sign/ |
D | nanoapp_sign.c | 503 if (!readFile(rsa.exponent, sizeof(rsa.exponent), keyPvtFile)) in main() 512 if (!readFile(rsa.modulus, sizeof(rsa.modulus), keyPubFile)) in main()
|
/device/google/contexthub/util/nanoapp_encr/ |
D | nanoapp_encr.c | 329 if (!readFile(key, sizeof(key), keyFile)) in main()
|