OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:LowpanCredential
(Results
1 - 14
of
14
) sorted by null
/frameworks/base/lowpan/java/android/net/lowpan/
LowpanCredential.aidl
19
parcelable
LowpanCredential
cpp_header "android/net/lowpan/
LowpanCredential
.h";
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
...]
LowpanProvision.java
45
public Builder setLowpanCredential(@NonNull
LowpanCredential
credential) {
60
private
LowpanCredential
mCredential = null;
70
public
LowpanCredential
getLowpanCredential() {
139
builder.setLowpanCredential(
LowpanCredential
.CREATOR.createFromParcel(in));
ILowpanInterface.aidl
25
import android.net.lowpan.
LowpanCredential
;
121
LowpanCredential
getLowpanCredential();
LowpanInterface.java
510
public
LowpanCredential
getLowpanCredential() {
/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
...]
LowpanProvision.cpp
48
LowpanProvision::LowpanProvision(const LowpanIdentity& identity, const
LowpanCredential
& credential)
62
const
LowpanCredential
* LowpanProvision::getLowpanCredential() const {
/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
...]
LowpanProvision.h
25
#include "
LowpanCredential
.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/
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
...]
LowpanProvisionTest.java
91
LowpanCredential
.createMasterKey(
/frameworks/opt/net/lowpan/libandroid_net_lowpan/tests/jni/
LowpanCredentialTest.h
21
#include <android/net/lowpan/
LowpanCredential
.h>
LowpanCredentialTest.cpp
23
using android::net::lowpan::
LowpanCredential
;
26
* Reads exactly one
LowpanCredential
from 'parcelData' assuming that it is a Parcel. Any bytes afterward
29
static
LowpanCredential
unmarshall(JNIEnv* env, jbyteArray parcelData) {
38
LowpanCredential
value;
47
* Every
LowpanCredential
maps to a unique parcel object, so both 'marshall(e, unmarshall(e, x))' and
50
static jbyteArray marshall(JNIEnv* env, const
LowpanCredential
& addr) {
64
const
LowpanCredential
value = unmarshall(env, inParcel);
/frameworks/opt/net/lowpan/command/java/com/android/commands/lowpan/
LowpanCtl.java
22
import android.net.lowpan.
LowpanCredential
;
241
LowpanCredential
credential = null;
272
credential =
LowpanCredential
.createMasterKey(masterKey);
274
credential =
LowpanCredential
.createMasterKey(masterKey, masterKeyIndex);
383
LowpanCredential
credential = iface.getLowpanCredential();
Completed in 187 milliseconds