Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/runtime/
DManager.cpp403 bool createIfNotExist) { in createCacheHandle() argument
404 auto fd = base::unique_fd(open(filename.c_str(), createIfNotExist ? (O_RDWR | O_CREAT) : O_RDWR, in createCacheHandle()
408 << "Failed to " << (createIfNotExist ? "open or create" : "open") << " cache file " in createCacheHandle()
417 uint32_t numCacheFiles, const std::string& baseFilename, bool createIfNotExist) { in createCacheHandleVec() argument
424 handles.push_back(NN_TRY(createCacheHandle(filename, createIfNotExist))); in createCacheHandleVec()
433 const std::pair<uint32_t, uint32_t>& numCacheFiles, bool createIfNotExist) { in getCacheHandles() argument
463 NN_TRY(createCacheHandleVec(numCacheFiles.first, cacheFileName, createIfNotExist)); in getCacheHandles()
467 NN_TRY(createCacheHandleVec(numCacheFiles.second, cacheFileName, createIfNotExist)); in getCacheHandles()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java7355 private ClientInfo getClientInfo(Messenger m, boolean createIfNotExist) { in getClientInfo() argument
7357 if (clientInfo == null && createIfNotExist) { in getClientInfo()