-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
issues summary: Uncheck return vaule; self assign; pass nullpointer; Tracked-On: OAM-108581 Signed-off-by: Ke Xiao <[email protected]> Signed-off-by: Zhnang Yichi <[email protected]>
- Loading branch information
Showing
10 changed files
with
87 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -93,7 +93,14 @@ int main(int /* argc */, char** /* argv */) { | |
ALOGD("[email protected] starting..."); | ||
|
||
signal(SIGPIPE, SIG_IGN); | ||
android::SetUpMinijail(kBaseSeccompPolicyPath, kExtSeccompPolicyPath); | ||
try | ||
{ | ||
android::SetUpMinijail(kBaseSeccompPolicyPath, kExtSeccompPolicyPath); | ||
} | ||
catch(const std::exception& e) | ||
{ | ||
ALOGE("SetUpMinijail function execution error"); | ||
} | ||
|
||
// vndbinder is needed by BufferQueue. | ||
android::ProcessState::initWithDriver("/dev/vndbinder"); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,7 @@ | |
|
||
#include <C2Work.h> | ||
|
||
#include <utils/Log.h> | ||
#include <functional> | ||
#include <queue> | ||
#include <thread> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters