mirror of
https://github.com/ioacademy-jikim/android_framwork
synced 2025-06-07 16:06:29 +00:00
21 lines
357 B
C++
21 lines
357 B
C++
#include <android-base/logging.h>
|
|
#include <android/hardware/samples/1.0/IFoo.h>
|
|
#include <set>
|
|
#include <unistd.h>
|
|
#include <stdio.h>
|
|
|
|
using ::android::hardware::samples::V1_0::IFoo;
|
|
using ::android::hardware::Return;
|
|
using ::android::hardware::Void;
|
|
using ::android::sp;
|
|
|
|
|
|
int main()
|
|
{
|
|
sp<IFoo> foo;
|
|
foo = IFoo::getService();
|
|
foo->foo();
|
|
return 0;
|
|
}
|
|
|