/frameworks/opt/net/lowpan/libandroid_net_lowpan/ |
D | LowpanCredential.cpp | 31 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 …]
|
D | LowpanProvision.cpp | 48 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/ |
D | LowpanCredential.java | 31 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 …]
|
D | LowpanProvision.java | 45 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));
|
D | LowpanCredential.aidl | 19 parcelable LowpanCredential cpp_header "android/net/lowpan/LowpanCredential.h";
|
D | ILowpanInterface.aidl | 25 import android.net.lowpan.LowpanCredential; 121 LowpanCredential getLowpanCredential(); in getLowpanCredential()
|
D | LowpanInterface.java | 510 public LowpanCredential getLowpanCredential() { in getLowpanCredential()
|
/frameworks/opt/net/lowpan/libandroid_net_lowpan/include/android/net/lowpan/ |
D | LowpanCredential.h | 33 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); }
|
D | LowpanProvision.h | 45 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/ |
D | LowpanCredentialTest.java | 38 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()
|
D | LowpanProvisionTest.java | 91 LowpanCredential.createMasterKey( in testNativeParcelUnparcel()
|
/frameworks/opt/net/lowpan/libandroid_net_lowpan/tests/jni/ |
D | LowpanCredentialTest.cpp | 23 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/ |
D | LowpanCtl.java | 22 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()
|