Home
last modified time | relevance | path

Searched refs:LowpanCredential (Results 1 – 13 of 13) sorted by relevance

/frameworks/opt/net/lowpan/libandroid_net_lowpan/
DLowpanCredential.cpp31 using android::net::lowpan::LowpanCredential;
49 LowpanCredential::LowpanCredential() : mMasterKeyIndex(UNSPECIFIED_MASTER_KEY_INDEX) { } in LowpanCredential() function in android::net::lowpan::LowpanCredential
51 status_t LowpanCredential::initMasterKey(LowpanCredential& out, const uint8_t* masterKeyBytes, int … in initMasterKey()
68 status_t LowpanCredential::initMasterKey(LowpanCredential& out, const uint8_t* masterKeyBytes, int … in initMasterKey()
70 return LowpanCredential::initMasterKey(out, masterKeyBytes, masterKeyLen, 0); in initMasterKey()
73 status_t LowpanCredential::initMasterKey(LowpanCredential& out, const std::vector<uint8_t>& masterK… in initMasterKey()
75 … return LowpanCredential::initMasterKey(out, &masterKey.front(), masterKey.size(), masterKeyIndex); in initMasterKey()
78 status_t LowpanCredential::initMasterKey(LowpanCredential& out, const std::vector<uint8_t>& masterK… in initMasterKey()
80 return LowpanCredential::initMasterKey(out, masterKey, 0); in initMasterKey()
83 bool LowpanCredential::isMasterKey() const { in isMasterKey()
[all …]
DLowpanProvision.cpp48 LowpanProvision::LowpanProvision(const LowpanIdentity& identity, const LowpanCredential& credential) in LowpanProvision()
62 const LowpanCredential* LowpanProvision::getLowpanCredential() const { in getLowpanCredential()
/frameworks/base/lowpan/java/android/net/lowpan/
DLowpanCredential.java31 public class LowpanCredential implements Parcelable { class
38 LowpanCredential() {} in LowpanCredential() method in LowpanCredential
40 private LowpanCredential(byte[] masterKey, int keyIndex) { in LowpanCredential() method in LowpanCredential
44 private LowpanCredential(byte[] masterKey) { in LowpanCredential() method in LowpanCredential
48 public static LowpanCredential createMasterKey(byte[] masterKey) { in createMasterKey()
49 return new LowpanCredential(masterKey); in createMasterKey()
52 public static LowpanCredential createMasterKey(byte[] masterKey, int keyIndex) { in createMasterKey()
53 return new LowpanCredential(masterKey, keyIndex); in createMasterKey()
130 if (!(obj instanceof LowpanCredential)) { in equals()
133 LowpanCredential rhs = (LowpanCredential) obj; in equals()
[all …]
DLowpanProvision.java45 public Builder setLowpanCredential(@NonNull LowpanCredential credential) { in setLowpanCredential()
60 private LowpanCredential mCredential = null;
70 public LowpanCredential getLowpanCredential() { in getLowpanCredential()
139 builder.setLowpanCredential(LowpanCredential.CREATOR.createFromParcel(in));
DLowpanCredential.aidl19 parcelable LowpanCredential cpp_header "android/net/lowpan/LowpanCredential.h";
DILowpanInterface.aidl25 import android.net.lowpan.LowpanCredential;
121 LowpanCredential getLowpanCredential(); in getLowpanCredential()
DLowpanInterface.java510 public LowpanCredential getLowpanCredential() { in getLowpanCredential()
/frameworks/opt/net/lowpan/libandroid_net_lowpan/include/android/net/lowpan/
DLowpanCredential.h33 class LowpanCredential : public Parcelable {
38 LowpanCredential();
39 virtual ~LowpanCredential() = default;
40 LowpanCredential(const LowpanCredential& x) = default;
42 …static status_t initMasterKey(LowpanCredential& out, const std::vector<uint8_t>& masterKey, int32_…
43 static status_t initMasterKey(LowpanCredential& out, const std::vector<uint8_t>& masterKey);
44 …static status_t initMasterKey(LowpanCredential& out, const uint8_t* masterKeyBytes, int masterKeyL…
45 …static status_t initMasterKey(LowpanCredential& out, const uint8_t* masterKeyBytes, int masterKeyL…
52 bool operator==(const LowpanCredential& rhs);
53 bool operator!=(const LowpanCredential& rhs) { return !(*this == rhs); }
DLowpanProvision.h45 LowpanProvision(const LowpanIdentity& identity, const LowpanCredential& credential);
49 const LowpanCredential* getLowpanCredential() const;
59 LowpanCredential mCredential;
/frameworks/opt/net/lowpan/libandroid_net_lowpan/tests/java/android/net/lowpan/
DLowpanCredentialTest.java38 public void testNativeParcelUnparcel(LowpanCredential original) { in testNativeParcelUnparcel()
41 LowpanCredential roundTrip = unmarshall(outParcel); in testNativeParcelUnparcel()
50 LowpanCredential.createMasterKey( in testNativeParcelUnparcel()
62 LowpanCredential.createMasterKey( in testNativeParcelUnparcel()
74 private static byte[] marshall(LowpanCredential addr) { in marshall()
86 private static LowpanCredential unmarshall(byte[] data) { in unmarshall()
90 return LowpanCredential.CREATOR.createFromParcel(p); in unmarshall()
DLowpanProvisionTest.java91 LowpanCredential.createMasterKey( in testNativeParcelUnparcel()
/frameworks/opt/net/lowpan/libandroid_net_lowpan/tests/jni/
DLowpanCredentialTest.cpp23 using android::net::lowpan::LowpanCredential;
29 static LowpanCredential unmarshall(JNIEnv* env, jbyteArray parcelData) { in unmarshall()
38 LowpanCredential value; in unmarshall()
50 static jbyteArray marshall(JNIEnv* env, const LowpanCredential& addr) { in marshall()
64 const LowpanCredential value = unmarshall(env, inParcel); in Java_android_net_lowpan_LowpanCredentialTest_readAndWriteNative()
/frameworks/opt/net/lowpan/command/java/com/android/commands/lowpan/
DLowpanCtl.java22 import android.net.lowpan.LowpanCredential;
241 LowpanCredential credential = null; in getProvisionFromArgs()
272 credential = LowpanCredential.createMasterKey(masterKey); in getProvisionFromArgs()
274 credential = LowpanCredential.createMasterKey(masterKey, masterKeyIndex); in getProvisionFromArgs()
383 LowpanCredential credential = iface.getLowpanCredential(); in runShowCredential()