Lines Matching full:android
17 android::binder::Status Supplicant::CreateInterface( in CreateInterface()
18 const android::os::PersistableBundle ¶ms, in CreateInterface()
19 android::sp<fi::w1::wpa_supplicant::IIface> *aidl_return) in CreateInterface()
21 android::String16 driver, ifname, confname, bridge_ifname; in CreateInterface()
24 if (!params.getString(android::String16("Ifname"), &ifname)) in CreateInterface()
25 return android::binder::Status::fromServiceSpecificError( in CreateInterface()
27 android::String8("Ifname missing in params.")); in CreateInterface()
29 params.getString(android::String16("Driver"), &driver); in CreateInterface()
30 params.getString(android::String16("ConfigFile"), &confname); in CreateInterface()
31 params.getString(android::String16("BridgeIfname"), &bridge_ifname); in CreateInterface()
38 wpa_global_, android::String8(ifname).string()) != NULL) in CreateInterface()
39 return android::binder::Status::fromServiceSpecificError( in CreateInterface()
41 android::String8("wpa_supplicant already controls this " in CreateInterface()
44 android::binder::Status status; in CreateInterface()
49 iface.driver = os_strdup(android::String8(driver).string()); in CreateInterface()
50 iface.ifname = os_strdup(android::String8(ifname).string()); in CreateInterface()
51 iface.confname = os_strdup(android::String8(confname).string()); in CreateInterface()
53 os_strdup(android::String8(bridge_ifname).string()); in CreateInterface()
59 status = android::binder::Status::fromServiceSpecificError( in CreateInterface()
61 android::String8( in CreateInterface()
70 android::binder::Status::fromServiceSpecificError( in CreateInterface()
72 android::String8("wpa_supplicant encountered a " in CreateInterface()
75 status = android::binder::Status::ok(); in CreateInterface()
84 android::binder::Status Supplicant::RemoveInterface(const std::string &ifname) in RemoveInterface()
90 return android::binder::Status::fromServiceSpecificError( in RemoveInterface()
92 android::String8("wpa_supplicant does not control this " in RemoveInterface()
95 return android::binder::Status::fromServiceSpecificError( in RemoveInterface()
97 android::String8( in RemoveInterface()
99 return android::binder::Status::ok(); in RemoveInterface()
102 android::binder::Status Supplicant::GetInterface( in GetInterface()
104 android::sp<fi::w1::wpa_supplicant::IIface> *aidl_return) in GetInterface()
110 return android::binder::Status::fromServiceSpecificError( in GetInterface()
112 android::String8( in GetInterface()
119 return android::binder::Status::fromServiceSpecificError( in GetInterface()
121 android::String8( in GetInterface()
124 return android::binder::Status::ok(); in GetInterface()