summaryrefslogtreecommitdiff
path: root/libs/binder/ProcessState.cpp
diff options
context:
space:
mode:
author Victor Hsieh <victorhsieh@google.com> 2020-08-13 16:11:13 -0700
committer Victor Hsieh <victorhsieh@google.com> 2020-08-26 08:07:25 -0700
commitcb35a06ff45d43b2dcf73f183a899da3a2084f3d (patch)
tree6d23e66ebdb54c464f638158973889fcaa501bfb /libs/binder/ProcessState.cpp
parent6d4f6b9bb31169162c2df9ab87be78b70e07ff8f (diff)
installd: Replace Dex2oatFileWrapper with UniqueFile
UniqueFile is based on the original Dex2oatFileWrapper, but support extra features. The class now maintains the file path as a member variable. This the client to access both fd and file path when they see fit. As a result, the client no longer provides the cleanup function with a closure capture, since the class can provide the file path. Additionally, reduce code duplication in constructors. Bug: 161470356 Test: atest run_dex2oat_test Test: atest installd_dexopt_test Change-Id: I1b66bc58b1885933d1601fdc2f4218c4a262d9f3
Diffstat (limited to 'libs/binder/ProcessState.cpp')
0 files changed, 0 insertions, 0 deletions