Searched refs:fileName (Results 1 – 5 of 5) sorted by relevance
/hardware/ril/mock-ril/src/cpp/ |
D | js_support.cpp | 96 int ReadFile(const char *fileName, char** data, size_t *length) { in ReadFile() argument 102 DBG("ReadFile E fileName=%s", fileName); in ReadFile() 104 f = fopen(fileName, "rb"); in ReadFile() 106 DBG("Could not fopen '%s'", fileName); in ReadFile() 141 const char* fileName = ToCString(fileNameUtf8Value); in CreateFileName() local 144 int fullPathLength = strlen(directory) + strlen(fileName) + 1; in CreateFileName() 147 strncat(fullPath, fileName, fullPathLength); in CreateFileName() 162 char *fileName = CreateFileName(args); in ReadFileToString() local 165 int status = ReadFile(fileName, &buffer); in ReadFileToString() 187 char *fileName = CreateFileName(args); in ReadFileToBuffer() local [all …]
|
D | js_support.h | 30 extern int ReadFile(const char *fileName, char** data, size_t *length = NULL); 43 const char *fileName, const char *code);
|
D | requests.cpp | 471 const char *fileName= "/sdcard/data/mock_ril.js"; in testRequests() local 472 int status = ReadFile(fileName, &buffer); in testRequests() 474 runJs(context, &try_catch, fileName, buffer); in testRequests()
|
/hardware/libhardware_legacy/audio/ |
D | AudioDumpInterface.cpp | 290 if (mInterface->fileName() != "") { in write() 292 sprintf(name, "%s_out_%d_%d.pcm", mInterface->fileName().string(), mId, ++mFileCount); in write() 446 if (mInterface->fileName() != "") { in read() 448 … sprintf(name, "%s_in_%d_%d.pcm", mInterface->fileName().string(), mId, ++mFileCount); in read()
|
D | AudioDumpInterface.h | 157 String8 fileName() const { return mFileName; } in fileName() function
|