Home
last modified time | relevance | path

Searched refs:nos (Results 1 – 25 of 112) sorted by relevance

12345

/external/nos/test/system-test-harness/tools/
Dnugget_tools.cc36 nos::NuggetClient client; in IsDirectDeviceClient()
59 std::unique_ptr<nos::NuggetClientInterface> MakeNuggetClient() { in MakeNuggetClient()
61 std::unique_ptr<nos::NuggetClientInterface> client = in MakeNuggetClient()
62 std::unique_ptr<nos::NuggetClientInterface>(new nos::NuggetClient()); in MakeNuggetClient()
65 client = std::unique_ptr<nos::NuggetClientInterface>( in MakeNuggetClient()
66 new nos::CitadeldProxyClient()); in MakeNuggetClient()
70 return std::unique_ptr<nos::NuggetClientInterface>( in MakeNuggetClient()
71 new nos::NuggetClient(GetCitadelUSBSerialNo())); in MakeNuggetClient()
75 std::unique_ptr<nos::NuggetClient> MakeDirectNuggetClient() { in MakeDirectNuggetClient()
77 std::unique_ptr<nos::NuggetClient> client = in MakeDirectNuggetClient()
[all …]
Davb_tools.h19 << value << " is " << nos::StatusCodeString(value) << msg; \
32 void SetBootloader(nos::NuggetClientInterface *client);
33 void BootloaderDone(nos::NuggetClientInterface *client);
34 void GetState(nos::NuggetClientInterface *client, bool *bootloader,
36 int Reset(nos::NuggetClientInterface *client, ResetRequest_ResetKind kind,
38 int GetResetChallenge(nos::NuggetClientInterface *client,
41 int SetProduction(nos::NuggetClientInterface *client, bool production,
43 void ResetProduction(nos::NuggetClientInterface *client);
Dnugget_tools.h16 << value << " is " << nos::StatusCodeString(value) << msg; \
25 std::unique_ptr<nos::NuggetClientInterface> MakeNuggetClient();
27 std::unique_ptr<nos::NuggetClient> MakeDirectNuggetClient();
30 bool RebootNuggetUnchecked(nos::NuggetClientInterface *client);
32 bool RebootNugget(nos::NuggetClientInterface *client);
36 bool WaitForSleep(nos::NuggetClientInterface *client, uint32_t *seconds_waited);
38 bool WipeUserData(nos::NuggetClientInterface *client);
Davb_tools.cc27 void SetBootloader(nos::NuggetClientInterface *client) in SetBootloader()
30 ::nos::AppClient app(*client, APP_ID_AVB_TEST); in SetBootloader()
41 void BootloaderDone(nos::NuggetClientInterface *client) in BootloaderDone()
49 void GetState(nos::NuggetClientInterface *client, bool *bootloader, in GetState()
70 int Reset(nos::NuggetClientInterface *client, ResetRequest_ResetKind kind, in Reset()
88 int GetResetChallenge(nos::NuggetClientInterface *client, in GetResetChallenge()
109 int SetProduction(nos::NuggetClientInterface *client, bool production, in SetProduction()
128 void ResetProduction(nos::NuggetClientInterface *client) in ResetProduction()
Dkeymaster_tools.h15 void SetRootOfTrust(nos::NuggetClientInterface *client);
16 void SetBootState(nos::NuggetClientInterface *client);
Dkeymaster_tools.cc30 void SetRootOfTrust(nos::NuggetClientInterface *client) in SetRootOfTrust()
46 void SetBootState(nos::NuggetClientInterface *client) in SetBootState()
/external/nos/host/generic/libnos/generator/test/
DAndroid.bp20 srcs: ["nos/generator/test/test.proto"],
21 tools: ["aprotoc", "protoc-gen-nos-client-cpp"],
22 cmd: GEN_SERVICE_SOURCE + "-Iexternal/nos/host/generic/libnos/generator/test",
28 srcs: ["nos/generator/test/test.proto"],
29 tools: ["aprotoc", "protoc-gen-nos-client-cpp"],
30 cmd: GEN_SERVICE_HEADER + "-Iexternal/nos/host/generic/libnos/generator/test",
36 srcs: ["nos/generator/test/test.proto"],
37 tools: ["aprotoc", "protoc-gen-nos-client-cpp"],
38 cmd: GEN_SERVICE_MOCK + "-Iexternal/nos/host/generic/libnos/generator/test",
42 name: "protoc-gen-nos-client-cpp_test",
[all …]
Dtest.cpp28 using ::nos::MockNuggetClient;
29 using ::nos::generator::test::EmptyRequest;
30 using ::nos::generator::test::EmptyResponse;
31 using ::nos::generator::test::GreetRequest;
32 using ::nos::generator::test::GreetResponse;
33 using ::nos::generator::test::Hello;
34 using ::nos::generator::test::IHello;
35 using ::nos::generator::test::MockHello;
/external/nos/host/generic/libnos/
DBUILD8 "include/nos/debug.h",
9 "include/nos/AppClient.h",
10 "include/nos/NuggetClient.h",
11 "include/nos/NuggetClientInterface.h",
/external/nos/host/generic/
DAndroid.bp54 …protoc) --plugin=protoc-gen-nos-client-cpp=$(location protoc-gen-nos-client-cpp) $(in) -Iexternal/…
56 GEN_SERVICE_SOURCE = GEN_SERVICE + " --nos-client-cpp_out=source:$(genDir) "
57 GEN_SERVICE_HEADER = GEN_SERVICE + " --nos-client-cpp_out=header:$(genDir) "
58 GEN_SERVICE_MOCK = GEN_SERVICE + " --nos-client-cpp_out=mock:$(genDir) "
/external/boringssl/src/crypto/x509v3/
Dv3_cpols.c88 static int nref_nos(STACK_OF(ASN1_INTEGER) *nnums, STACK_OF(CONF_VALUE) *nos);
345 STACK_OF(CONF_VALUE) *nos; in notice_section()
352 nos = X509V3_parse_list(cnf->value); in notice_section()
353 if (!nos || !sk_CONF_VALUE_num(nos)) { in notice_section()
358 ret = nref_nos(nref->noticenos, nos); in notice_section()
359 sk_CONF_VALUE_pop_free(nos, X509V3_conf_free); in notice_section()
385 static int nref_nos(STACK_OF(ASN1_INTEGER) *nnums, STACK_OF(CONF_VALUE) *nos) in nref_nos() argument
392 for (i = 0; i < sk_CONF_VALUE_num(nos); i++) { in nref_nos()
393 cnf = sk_CONF_VALUE_value(nos, i); in nref_nos()
/external/nos/host/android/hals/keymaster/
DAndroid.bp18 name: "android.hardware.keymaster@4.0-impl.nos",
47 name: "android.hardware.keymaster@4.0-impl.nos-hal",
50 "android.hardware.keymaster@4.0-impl.nos",
53 "android.hardware.keymaster@4.0-impl.nos",
/external/nos/host/generic/nugget/proto/
DBUILD126 GEN_SERVICE = "$(location @com_google_protobuf//:protoc) --plugin=protoc-gen-nos-client-cpp=$(locat…
141 " --nos-client-cpp_out=source:$$(dirname $(location nugget/app/avb/Avb.client.cpp)) " +
160 " --nos-client-cpp_out=header:$$(dirname $(location nugget/app/avb/Avb.client.h)) " +
179 … " --nos-client-cpp_out=source:$$(dirname $(location nugget/app/weaver/Weaver.client.cpp)) " +
198 … " --nos-client-cpp_out=header:$$(dirname $(location nugget/app/weaver/Weaver.client.h)) " +
219 …" --nos-client-cpp_out=source:$$(dirname $(location nugget/app/keymaster/Keymaster.client.cpp)) " +
240 … " --nos-client-cpp_out=header:$$(dirname $(location nugget/app/keymaster/Keymaster.client.h)) " +
/external/nos/host/generic/nugget/proto/nugget/app/weaver/
DAndroid.bp21 tools: ["aprotoc", "protoc-gen-nos-client-cpp"],
29 tools: ["aprotoc", "protoc-gen-nos-client-cpp"],
37 tools: ["aprotoc", "protoc-gen-nos-client-cpp"],
/external/nos/host/generic/nugget/proto/nugget/app/avb/
DAndroid.bp21 tools: ["aprotoc", "protoc-gen-nos-client-cpp"],
29 tools: ["aprotoc", "protoc-gen-nos-client-cpp"],
37 tools: ["aprotoc", "protoc-gen-nos-client-cpp"],
/external/nos/host/generic/nugget/proto/nugget/app/keymaster/
DAndroid.bp21 tools: ["aprotoc", "protoc-gen-nos-client-cpp"],
29 tools: ["aprotoc", "protoc-gen-nos-client-cpp"],
37 tools: ["aprotoc", "protoc-gen-nos-client-cpp"],
/external/nos/test/system-test-harness/src/
Dkeymaster-provision-tests.cc31 static unique_ptr<nos::NuggetClientInterface> client;
42 unique_ptr<nos::NuggetClientInterface> KeymasterProvisionTest::client;
55 client = unique_ptr<nos::NuggetClientInterface>(); in TearDownTestCase()
778 nos::AppClient app(*client, APP_ID_NUGGET); in TEST_F()
Dkeymaster-import-wrapped-key-tests.cc31 static unique_ptr<nos::NuggetClientInterface> client;
39 unique_ptr<nos::NuggetClientInterface> ImportWrappedKeyTest::client;
59 client = unique_ptr<nos::NuggetClientInterface>(); in TearDownTestCase()
Dnugget_core_tests.cc25 static unique_ptr<nos::NuggetClientInterface> client;
31 unique_ptr<nos::NuggetClientInterface> NuggetCoreTest::client;
49 client = unique_ptr<nos::NuggetClientInterface>(); in TearDownTestCase()
/external/nos/host/android/hals/authsecret/
DAuthSecret.cpp101 << ::nos::StatusCodeString(appStatus) << " (" << appStatus << ")"; in TryEnrollCitadelUpdatePassword()
113 LOG(ERROR) << "Citadel failed to reboot: " << ::nos::StatusCodeString(appStatus) in RebootCitadel()
137 LOG(ERROR) << "Citadel enable update failed: " << ::nos::StatusCodeString(appStatus) in TryEnablingCitadelUpdate()
/external/nos/host/android/hals/oemlock/citadel/
Dservice.cpp35 using ::nos::CitadeldProxyClient;
36 using ::nos::AppClient;
/external/nos/test/system-test-harness/
DMETADATA1 name: "nos-tests"
3 "nos-tests contains tests directed at Citadel. Tests run "
/external/nos/host/android/hals/weaver/citadel/
Dservice.cpp36 using ::nos::CitadeldProxyClient;
37 using ::nos::AppClient;
/external/nos/host/android/hals/keymaster/citadel/
Dservice.cpp41 using ::nos::CitadeldProxyClient;
42 using ::nos::AppClient;
/external/opencensus-java/api/src/main/java/io/opencensus/common/
DTimestamp.java187 int nos = (int) floorMod(nanoAdjustment, NANOS_PER_SECOND); in ofEpochSecond() local
188 return create(secs, nos); in ofEpochSecond()

12345