Home
last modified time | relevance | path

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

/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/btm/
H A Dbtm_snoop.c82 static char *g_outputPath = NULL; variable
219 bool exists = BtmIsFileExists(g_outputPath); in BtmPrepareSnoopFile()
230 rename(g_outputPath, bakPath); in BtmPrepareSnoopFile()
235 g_outputFile = fopen(g_outputPath, "w"); in BtmPrepareSnoopFile()
261 g_outputPath = (char *)MEM_MALLOC.alloc(length + 1); in BTM_SetSnoopFilePath()
262 if (g_outputPath == NULL) { in BTM_SetSnoopFilePath()
266 (void)memcpy_s(g_outputPath, length + 1, path, length); in BTM_SetSnoopFilePath()
267 g_outputPath[length] = '\0'; in BTM_SetSnoopFilePath()
326 if (g_outputPath != NULL) { in BtmCloseSnoop()
327 MEM_MALLOC.free(g_outputPath); in BtmCloseSnoop()
[all …]