/system/chre/util/include/chre/util/pigweed/ |
D | chre_channel_output.h | 42 class ChreServerNanoappChannelOutput : public pw::rpc::ChannelOutput { 55 pw::Status Send(pw::span<const std::byte> buffer) override; 66 class ChreClientNanoappChannelOutput : public pw::rpc::ChannelOutput { 81 pw::Status Send(pw::span<const std::byte> buffer) override; 91 class ChreServerHostChannelOutput : public pw::rpc::ChannelOutput { 103 pw::Status Send(pw::span<const std::byte> buffer) override;
|
D | rpc_server.h | 46 pw::rpc::Service &service; 170 pw::Status closeChannel(uint32_t id); 175 pw::rpc::Server mServer;
|
/system/chre/apps/test/common/chre_api_test/inc/ |
D | chre_api_test_manager.h | 41 pw::Status ChreBleGetCapabilities(const google_protobuf_Empty &request, 47 pw::Status ChreBleGetFilterCapabilities(const google_protobuf_Empty &request, 53 pw::Status ChreSensorFindDefault( 60 pw::Status ChreGetSensorInfo(const chre_rpc_ChreHandleInput &request, 66 pw::Status ChreGetSensorSamplingStatus( 73 pw::Status ChreSensorConfigure( 80 pw::Status ChreSensorConfigureModeOnly( 87 pw::Status ChreAudioGetSource(const chre_rpc_ChreHandleInput &request, 93 pw::Status ChreAudioConfigureSource( 100 pw::Status ChreAudioGetStatus(const chre_rpc_ChreHandleInput &request, [all …]
|
/system/chre/util/pigweed/ |
D | chre_channel_output.cc | 41 pw::Status sendToNanoapp(uint32_t targetInstanceId, uint16_t eventType, in sendToNanoapp() 42 pw::span<const std::byte> buffer) { in sendToNanoapp() 79 pw::Status ChreServerNanoappChannelOutput::Send( in Send() 80 pw::span<const std::byte> buffer) { in Send() 101 pw::Status ChreClientNanoappChannelOutput::Send( in Send() 102 pw::span<const std::byte> buffer) { in Send() 114 pw::Status ChreServerHostChannelOutput::Send(pw::span<const std::byte> buffer) { in Send() 116 pw::Status returnCode = PW_STATUS_OK; in Send()
|
D | rpc_server.cc | 100 pw::span packet(static_cast<const std::byte *>(hostMessage->message), in handleMessageFromHost() 103 pw::Result<uint32_t> result = pw::rpc::ExtractChannelId(packet); in handleMessageFromHost() 126 pw::Status status = mServer.ProcessPacket(packet); in handleMessageFromHost() 128 if (status != pw::OkStatus()) { in handleMessageFromHost() 140 pw::span packet(reinterpret_cast<const std::byte *>(data->msg), in handleMessageFromNanoapp() 143 pw::Result<uint32_t> result = pw::rpc::ExtractChannelId(packet); in handleMessageFromNanoapp() 158 pw::Status success = mServer.ProcessPacket(packet); in handleMessageFromNanoapp() 160 if (success != pw::OkStatus()) { in handleMessageFromNanoapp() 196 pw::Status RpcServer::closeChannel(uint32_t id) { in closeChannel()
|
D | rpc_client.cc | 68 pw::span packet(reinterpret_cast<const std::byte *>(data->msg), in handleMessageFromServer() 81 pw::Status status = mRpcClient.ProcessPacket(packet); in handleMessageFromServer() 83 if (status != pw::OkStatus()) { in handleMessageFromServer()
|
/system/chre/apps/test/common/chre_api_test/src/ |
D | chre_api_test_manager.cc | 68 pw::Status status = writer->Write(message); in sendFinishAndCloseWriter() 93 pw::Status ChreApiTestService::ChreBleGetCapabilities( in ChreBleGetCapabilities() 98 ? pw::OkStatus() in ChreBleGetCapabilities() 99 : pw::Status::InvalidArgument(); in ChreBleGetCapabilities() 102 pw::Status ChreApiTestService::ChreBleGetFilterCapabilities( in ChreBleGetFilterCapabilities() 107 ? pw::OkStatus() in ChreBleGetFilterCapabilities() 108 : pw::Status::InvalidArgument(); in ChreBleGetFilterCapabilities() 111 pw::Status ChreApiTestService::ChreSensorFindDefault( in ChreSensorFindDefault() 117 ? pw::OkStatus() in ChreSensorFindDefault() 118 : pw::Status::InvalidArgument(); in ChreSensorFindDefault() [all …]
|
/system/chre/test/common/ |
D | run_tests.cc | 25 using pw::unit_test::EventHandler; 26 using pw::unit_test::RunTestsSummary; 27 using pw::unit_test::TestCase; 28 using pw::unit_test::TestExpectation; 29 using pw::unit_test::TestResult; 78 pw::unit_test::RegisterEventHandler(&eventHandler); in runAllTests()
|
/system/extras/su/ |
D | su.cpp | 30 struct passwd* pw = getpwnam(tok); in pwtoid() local 31 if (pw) { in pwtoid() 32 if (uid) *uid = pw->pw_uid; in pwtoid() 33 if (gid) *gid = pw->pw_gid; in pwtoid() 123 struct passwd* pw = getpwuid(uid); in main() local 124 if (pw) { in main() 125 setenv("LOGNAME", pw->pw_name, 1); in main() 126 setenv("USER", pw->pw_name, 1); in main()
|
/system/chre/host/common/include/chre_host/pigweed/ |
D | hal_channel_output.h | 33 public pw::rpc::ChannelOutput { 37 : pw::rpc::ChannelOutput("CHRE"), in HalChannelOutput() 45 pw::Status Send(pw::span<const std::byte> buffer) override;
|
/system/chre/apps/rpc_world/inc/ |
D | rpc_world_manager.h | 37 pw::Status Increment(const chre_rpc_NumberMessage &request, 115 pw::rpc::NanopbUnaryReceiver<chre_rpc_NumberMessage> mIncrementCall; 116 pw::rpc::NanopbClientReader<chre_rpc_TimerResponse> mTimerCall; 117 pw::rpc::NanopbClientWriter<chre_rpc_NumberMessage, chre_rpc_NumberMessage>
|
/system/chre/apps/rpc_world/src/ |
D | rpc_world_manager.cc | 28 pw::Status RpcWorldService::Increment(const chre_rpc_NumberMessage &request, in Increment() 33 return pw::OkStatus(); in Increment() 50 pw::Status status) { in incrementResponse() 62 void timerEnd(pw::Status status) { in timerEnd() 66 void addResponse(const chre_rpc_NumberMessage &response, pw::Status status) { in addResponse() 137 mTimerWriter.Finish(pw::OkStatus()); in handleEvent()
|
/system/extras/checkpoint_gc/ |
D | checkpoint_gc.sh | 68 { log -pw -t checkpoint_gc Cannot read gc_urgent_sleep_time; exit 1; } 71 { log -pw -t checkpoint_gc Cannot set gc_urgent_sleep_time; exit 1; } 80 log -pw -t checkpoint_gc Failed to set gc_urgent; exit 1; } 104 …log -pw -t checkpoint_gc Garbage Collection is making no progress. Aborting checkpoint_gc attempt … 119 log -pw -t checkpoint_gc Timed out with gc threshold not met.
|
/system/chre/core/ |
D | log.cc | 30 pw::tokenizer::EncodedMessage<pw::log_tokenized::kEncodingBufferSizeBytes> in EncodeTokenizedMessage()
|
/system/chre/platform/shared/ |
D | tokenized_log.cc | 31 pw::tokenizer::EncodedMessage<pw::log_tokenized::kEncodingBufferSizeBytes> in platform_chrePwTokenizedLog()
|
/system/chre/host/common/pigweed/ |
D | hal_channel_output.cc | 39 pw::Status HalChannelOutput::Send(pw::span<const std::byte> buffer) { in Send()
|
/system/chre/apps/test/common/rpc_service_test/inc/ |
D | rpc_service_manager.h | 34 : public pw::rpc::pw_rpc::nanopb::EchoService::Service<EchoService> { 38 pw::Status Echo(const pw_rpc_EchoMessage &request,
|
/system/chre/test/simulation/inc/ |
D | rpc_test.h | 41 pw::Status Increment(const chre_rpc_NumberMessage &request, 50 pw::rpc::NanopbUnaryReceiver<chre_rpc_NumberMessage> mIncrementCall;
|
/system/teeui/tools/framebufferizer/src/com/android/framebufferizer/utils/ |
D | Config.java | 90 PrintWriter pw = new PrintWriter(file); in saveConfiguration() local 91 pw.write(jsonObject.toString()); in saveConfiguration() 92 pw.flush(); in saveConfiguration() 93 pw.close(); in saveConfiguration()
|
/system/chre/apps/test/common/rpc_service_test/src/ |
D | rpc_service_manager.cc | 27 pw::Status EchoService::Echo(const pw_rpc_EchoMessage &request, in Echo() 33 return pw::OkStatus(); in Echo()
|
/system/core/run-as/ |
D | run-as.cpp | 257 passwd* pw = getpwuid(uid); in main() local 258 setenv("LOGNAME", pw->pw_name, 1); in main() 259 setenv("SHELL", pw->pw_shell, 1); in main() 260 setenv("USER", pw->pw_name, 1); in main()
|
/system/security/keystore2/src/ |
D | super_key.rs | 509 pw: &Password, in populate_cache_from_super_key_blob() 511 let super_key = Self::extract_super_key_from_key_entry(algorithm, entry, pw, None) in populate_cache_from_super_key_blob() 522 pw: &Password, in extract_super_key_from_key_entry() 534 let key = pw in extract_super_key_from_key_entry() 540 let key = pw in extract_super_key_from_key_entry() 576 pw: &Password, in encrypt_with_password() 580 pw.derive_key_hkdf(&salt, AES_256_KEY_LENGTH) in encrypt_with_password() 583 pw.derive_key_pbkdf2(&salt, AES_256_KEY_LENGTH) in encrypt_with_password() 1349 fn setup_test(pw: &Password) -> (Arc<RwLock<SuperKeyManager>>, KeystoreDB, LegacyImporter) { in setup_test() 1357 .init_user(&mut keystore_db, &legacy_importer, USER_ID, pw) in setup_test() [all …]
|
/system/extras/runconuid/ |
D | runconuid.cpp | 90 struct passwd* pw; in lookup_uid() local 97 if ((pw = getpwnam(c)) != 0) { in lookup_uid() 98 return pw->pw_uid; in lookup_uid()
|
/system/security/keystore2/src/crypto/ |
D | lib.rs | 184 fn from(pw: &'a [u8]) -> Self { in from() 185 Self::Ref(pw) in from() 212 let pw = self.get_key(); in derive_key_pbkdf2() localVariable 221 pw.as_ptr() as *const std::os::raw::c_char, in derive_key_pbkdf2() 222 pw.len(), in derive_key_pbkdf2() 548 let pw = [0; 16]; in test_pbkdf2() localVariable 554 PBKDF2(key.as_mut_ptr(), key.len(), pw.as_ptr(), pw.len(), salt.as_ptr()); in test_pbkdf2()
|
/system/chre/host/common/test/ |
D | chre_test_rpc.cc | 90 pw::Status status) { in incrementResponse() 127 pw::rpc::NanopbUnaryReceiver<chre_rpc_NumberMessage> call = in main()
|