HomeSort by relevance Sort by last modified time
    Searched defs:LowpanCredential (Results 1 - 4 of 4) sorted by null

  /frameworks/opt/net/lowpan/libandroid_net_lowpan/
LowpanCredential.cpp 17 #define LOG_TAG "LowpanCredential"
19 #include <android/net/lowpan/LowpanCredential.h>
31 using android::net::lowpan::LowpanCredential;
49 LowpanCredential::LowpanCredential() : mMasterKeyIndex(UNSPECIFIED_MASTER_KEY_INDEX) { }
51 status_t LowpanCredential::initMasterKey(LowpanCredential& out, const uint8_t* masterKeyBytes, int masterKeyLen, int masterKeyIndex)
68 status_t LowpanCredential::initMasterKey(LowpanCredential& out, const uint8_t* masterKeyBytes, int masterKeyLen)
70 return LowpanCredential::initMasterKey(out, masterKeyBytes, masterKeyLen, 0)
    [all...]
  /frameworks/opt/net/lowpan/libandroid_net_lowpan/include/android/net/lowpan/
LowpanCredential.h 31 * C++ implementation of the Java class android.net.lowpan.LowpanCredential
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_t masterKeyIndex);
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 masterKeyLen, int32_t masterKeyIndex);
45 static status_t initMasterKey(LowpanCredential& out, const uint8_t* masterKeyBytes, int masterKeyLen)
    [all...]
  /frameworks/opt/net/lowpan/libandroid_net_lowpan/tests/java/android/net/lowpan/
LowpanCredentialTest.java 38 public void testNativeParcelUnparcel(LowpanCredential original) {
41 LowpanCredential roundTrip = unmarshall(outParcel);
50 LowpanCredential.createMasterKey(
62 LowpanCredential.createMasterKey(
70 * Write a {@link LowpanCredential} into an empty parcel and return the underlying data.
74 private static byte[] marshall(LowpanCredential addr) {
82 * Read raw bytes into a parcel, and read a {@link LowpanCredential} back out of them.
84 * @see marshall(LowpanCredential)
86 private static LowpanCredential unmarshall(byte[] data) {
90 return LowpanCredential.CREATOR.createFromParcel(p)
    [all...]
  /frameworks/base/lowpan/java/android/net/lowpan/
LowpanCredential.java 31 public class LowpanCredential implements Parcelable {
38 LowpanCredential() {}
40 private LowpanCredential(byte[] masterKey, int keyIndex) {
44 private LowpanCredential(byte[] masterKey) {
48 public static LowpanCredential createMasterKey(byte[] masterKey) {
49 return new LowpanCredential(masterKey);
52 public static LowpanCredential createMasterKey(byte[] masterKey, int keyIndex) {
53 return new LowpanCredential(masterKey, keyIndex);
90 sb.append("<LowpanCredential");
110 sb.append("<LowpanCredential");
    [all...]

Completed in 1594 milliseconds