Home
last modified time | relevance | path

Searched refs:fileName (Results 1 – 5 of 5) sorted by relevance

/hardware/ril/mock-ril/src/cpp/
Djs_support.cpp96 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 …]
Djs_support.h30 extern int ReadFile(const char *fileName, char** data, size_t *length = NULL);
43 const char *fileName, const char *code);
Drequests.cpp471 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/
DAudioDumpInterface.cpp290 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()
DAudioDumpInterface.h157 String8 fileName() const { return mFileName; } in fileName() function