Home | History | Annotate | Download | only in mtp

Lines Matching refs:open

2  * Copyright (C) 2010 The Android Open Source Project
229 // commit any open edits
729 mfr.fd = open(filePath, O_RDONLY);
794 mfr.fd = open(filePath, O_RDONLY);
935 mfr.fd = open(mSendObjectFilePath, O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR);
1102 ALOGE("object not open for edit in doSendPartialObject");
1159 ALOGE("object not open for edit in doTruncateObject");
1177 ALOGE("object already open for edit in doBeginEditObject");
1188 int fd = open((const char *)path, O_RDWR | O_EXCL);
1190 ALOGE("open failed for %s in doBeginEditObject (%d)", (const char *)path, errno);
1202 ALOGE("object not open for edit in doEndEditObject");