/system/apex/apexd/ |
D | apexd_session_test.cpp | 92 SessionState session; in TEST() local 93 session.set_id(id); in TEST() 94 session.set_state(state); in TEST() 97 if (!session.SerializeToOstream(&state_file)) { in TEST() 134 auto session = manager->CreateSession(239); in TEST() local 135 ASSERT_RESULT_OK(session); in TEST() 136 ASSERT_EQ(239, session->GetId()); in TEST() 138 ASSERT_EQ(session_dir, session->GetSessionDir()); in TEST() 152 auto session = manager->CreateSession(73); in TEST() local 153 ASSERT_RESULT_OK(session); in TEST() [all …]
|
D | apexd_session.cpp | 127 auto session = GetSessionFromDir(session_dir_path); in GetSessions() local 128 if (!session.ok()) { in GetSessions() 129 LOG(WARNING) << session.error(); in GetSessions() 132 sessions.push_back(std::move(*session)); in GetSessions() 260 std::ostream& operator<<(std::ostream& out, const ApexSession& session) { in operator <<() argument 261 return out << "[id = " << session.GetId() in operator <<() 262 << "; state = " << SessionState::State_Name(session.GetState()) in operator <<() 263 << "; session_dir = " << session.GetSessionDir() << "]"; in operator <<() 268 for (const ApexSession& session : sessions) { in DeleteFinalizedSessions() local 269 if (!session.IsFinalized()) { in DeleteFinalizedSessions() [all …]
|
D | apexservice_test.cpp | 526 auto session = ApexSession::GetSession(1547); in TEST_F() local 527 ASSERT_FALSE(session->GetBuildFingerprint().empty()); in TEST_F() 580 auto session = ApexSession::GetSession(1547); in TEST_F() local 581 ASSERT_TRUE(session->GetChildSessionIds().empty()); in TEST_F() 582 ASSERT_FALSE(session->IsRollback()); in TEST_F() 583 ASSERT_FALSE(session->HasRollbackEnabled()); in TEST_F() 584 ASSERT_EQ(0, session->GetRollbackId()); in TEST_F() 844 ApexSessionInfo session; in TEST_F() local 845 ASSERT_TRUE(IsOk(service_->getStagedSessionInfo(123, &session))) in TEST_F() 849 EXPECT_THAT(session, SessionInfoEq(expected)); in TEST_F() [all …]
|
D | apexd.cpp | 1471 auto session = gSessionManager->GetSession(session_id); in GetStagedApexFiles() local 1472 if (!session.ok()) { in GetStagedApexFiles() 1473 return session.error(); in GetStagedApexFiles() 1476 auto session_state = (*session).GetState(); in GetStagedApexFiles() 1678 auto session = gSessionManager->GetSession(session_id); in AbortStagedSession() local 1679 if (!session.ok()) { in AbortStagedSession() 1683 switch (session->GetState()) { in AbortStagedSession() 1687 return session->DeleteSession(); in AbortStagedSession() 1689 return Error() << "Session " << *session << " can't be aborted"; in AbortStagedSession() 1949 const ApexSession& session) { in SnapshotOrRestoreDeIfNeeded() argument [all …]
|
D | apexd_test_utils.h | 140 inline void PrintTo(const ApexSessionInfo& session, std::ostream* os) { in PrintTo() argument 142 *os << " sessionId : " << session.sessionId << "\n"; in PrintTo() 143 *os << " isUnknown : " << session.isUnknown << "\n"; in PrintTo() 144 *os << " isVerified : " << session.isVerified << "\n"; in PrintTo() 145 *os << " isStaged : " << session.isStaged << "\n"; in PrintTo() 146 *os << " isActivated : " << session.isActivated << "\n"; in PrintTo() 147 *os << " isActivationFailed : " << session.isActivationFailed << "\n"; in PrintTo() 148 *os << " isSuccess : " << session.isSuccess << "\n"; in PrintTo() 149 *os << " isReverted : " << session.isReverted << "\n"; in PrintTo() 150 *os << " isRevertFailed : " << session.isRevertFailed << "\n"; in PrintTo()
|
D | apexservice.cpp | 317 void ConvertToApexSessionInfo(const ApexSession& session, in ConvertToApexSessionInfo() argument 322 session_info->sessionId = session.GetId(); in ConvertToApexSessionInfo() 323 session_info->crashingNativeProcess = session.GetCrashingNativeProcess(); in ConvertToApexSessionInfo() 324 session_info->errorMessage = session.GetErrorMessage(); in ConvertToApexSessionInfo() 326 switch (session.GetState()) { in ConvertToApexSessionInfo() 408 for (const auto& session : sessions) { in getSessions() local 410 ConvertToApexSessionInfo(session, &session_info); in getSessions() 427 auto session = ApexSession::GetSession(session_id); in getStagedSessionInfo() local 428 if (!session.ok()) { in getStagedSessionInfo() 435 ConvertToApexSessionInfo(*session, apex_session_info); in getStagedSessionInfo() [all …]
|
/system/extras/simpleperf/demo/CppApi/app/src/main/cpp/ |
D | native-lib.cpp | 36 simpleperf::ProfileSession session; in ProfileThreadFunc() local 38 session.StartRecording(options); in ProfileThreadFunc() 42 session.PauseRecording(); in ProfileThreadFunc() 45 session.ResumeRecording(); in ProfileThreadFunc() 49 session.StopRecording(); in ProfileThreadFunc()
|
/system/apex/proto/ |
D | session_state.proto | 37 // Current state of the session 40 // Child session ids 46 // True if rollback is enabled for this session 49 // True if this session is a rollback of a previous install 55 // The crashing native process that has caused this session to be reverted 58 // The names of the apexes within this session. Only populated for sessions 62 // Populated with error details when session fails to activate
|
/system/core/trusty/storage/lib/include/trusty/lib/ |
D | storage.h | 54 void storage_close_session(storage_session_t session); 76 int storage_open_file(storage_session_t session, file_handle_t *handle_p, 93 int storage_delete_file(storage_session_t session, const char *name, 151 int storage_end_transaction(storage_session_t session, bool complete);
|
/system/core/trusty/storage/lib/ |
D | storage.c | 104 static ssize_t send_reqv(storage_session_t session, in send_reqv() argument 110 rc = writev(session, tx_iovs, tx_iovcnt); in send_reqv() 117 rc = readv(session, rx_iovs, rx_iovcnt); in send_reqv() 137 void storage_close_session(storage_session_t session) in storage_close_session() argument 139 tipc_close(session); in storage_close_session() 143 int storage_open_file(storage_session_t session, file_handle_t *handle_p, const char *name, in storage_open_file() argument 152 ssize_t rc = send_reqv(session, tx, 3, rx, 2); in storage_open_file() 162 *handle_p = make_file_handle(session, rsp.handle); in storage_open_file() 180 int storage_delete_file(storage_session_t session, const char *name, uint32_t opflags) in storage_delete_file() argument 187 ssize_t rc = send_reqv(session, tx, 3, rx, 1); in storage_delete_file() [all …]
|
/system/nfc/src/fuzzers/integration/ |
D | nfc_integration_fuzzer.cc | 15 DEFINE_BINARY_PROTO_FUZZER(const Session& session) { in DEFINE_BINARY_PROTO_FUZZER() argument 34 google::protobuf::TextFormat::PrintToString(session, &str); in DEFINE_BINARY_PROTO_FUZZER() 38 NfcIntegrationFuzzer nfc_integration_fuzzer(&session); in DEFINE_BINARY_PROTO_FUZZER()
|
D | nfc_integration_fuzzer_impl.h | 12 NfcIntegrationFuzzer(const Session* session);
|
D | nfc_integration_fuzzer_impl.cc | 410 NfcIntegrationFuzzer::NfcIntegrationFuzzer(const Session* session) in NfcIntegrationFuzzer() argument 411 : session_(session), in NfcIntegrationFuzzer() 413 reinterpret_cast<const uint8_t*>(session->data_provider().data()), in NfcIntegrationFuzzer() 414 session->data_provider().size()) { in NfcIntegrationFuzzer()
|
/system/security/keystore2/src/ |
D | apc.rs | 160 session: Option<ApcSessionState>, field 167 Self { session: None, rate_limiting: Default::default(), confirmation_token_sender } in new() 196 let (callback, uid, start, client_aborted) = match state.session.take() { in result() 251 if state.session.is_some() { in present_prompt() 291 state.session = Some(ApcSessionState { in present_prompt() 303 let hal = match &mut state.session { in cancel_prompt() 308 Some(session) => { in cancel_prompt() 309 if session.cb != listener.as_binder() { in cancel_prompt() 314 session.client_aborted = true; in cancel_prompt() 315 session.hal.clone() in cancel_prompt()
|
/system/security/keystore2/apc_compat/ |
D | apc_compat.cpp | 220 DeathRecipientCookie(std::weak_ptr<ConfuiAidlCompatSession> session) in DeathRecipientCookie() argument 221 : mAidlSession(session) {} in DeathRecipientCookie() 488 auto session = reinterpret_cast<ApcCompatSession*>(handle); in promptUserConfirmation() local 489 return session->promptUserConfirmation(callback, prompt_text, extra_data, extra_data_size, in promptUserConfirmation() 494 auto session = reinterpret_cast<ApcCompatSession*>(handle); in abortUserConfirmation() local 495 session->abortUserConfirmation(); in abortUserConfirmation() 499 auto session = reinterpret_cast<ApcCompatSession*>(handle); in closeUserConfirmationService() local 500 session->closeUserConfirmationService(); in closeUserConfirmationService()
|
/system/hardware/interfaces/media/aidl_api/android.media.audio.common.types/3/android/media/audio/common/ |
D | AudioPortExt.aidl | 41 int session;
|
/system/hardware/interfaces/media/aidl_api/android.media.audio.common.types/current/android/media/audio/common/ |
D | AudioPortExt.aidl | 41 int session;
|
/system/hardware/interfaces/media/aidl_api/android.media.audio.common.types/1/android/media/audio/common/ |
D | AudioPortExt.aidl | 41 int session;
|
/system/hardware/interfaces/media/aidl_api/android.media.audio.common.types/2/android/media/audio/common/ |
D | AudioPortExt.aidl | 41 int session;
|
/system/hardware/interfaces/media/aidl/android/media/audio/common/ |
D | AudioPortExt.aidl | 41 int session;
|
/system/media/audio/include/system/ |
D | audio.h | 225 static inline bool audio_is_global_session(audio_session_t session) { in audio_is_global_session() argument 226 return session <= AUDIO_SESSION_OUTPUT_MIX; in audio_is_global_session() 651 audio_session_t session; /* audio session */ member 700 struct audio_port_config_session_ext session; /* session specific info */ member 746 audio_session_t session; /* audio session */ member 766 struct audio_port_session_ext session; member 816 struct audio_port_session_ext session; member 973 if (lhs->ext.session.session != rhs->ext.session.session) return false; in audio_port_configs_are_equal() 1066 if (lhs->ext.session.session != rhs->ext.session.session) { in audio_ports_base_are_equal()
|
/system/media/tests/ |
D | systemaudio_tests.cpp | 387 port->ext.session.session = mSession; in fillFakeAudioPortBaseInfo() 423 lhs->ext.session.session = AUDIO_SESSION_NONE; in testAudioPortExtBaseEquivalent() 425 lhs->ext.session.session = rhs->ext.session.session; in testAudioPortExtBaseEquivalent() 521 config->ext.session.session = mSession; in fillFakeAudioPortConfigInfo()
|
/system/tools/aidl/ |
D | hiddenapi-greylist | 219 "android.media.session.IActiveSessionsListener", 220 "android.media.session.ICallback", 221 "android.media.session.IOnMediaKeyListener", 222 "android.media.session.IOnVolumeKeyLongPressListener", 223 "android.media.session.ISession", 224 "android.media.session.ISessionCallback", 225 "android.media.session.ISessionController", 226 "android.media.session.ISessionControllerCallback", 227 "android.media.session.ISessionManager",
|
/system/media/camera/docs/ |
D | session_characteristics_tags.mako | 29 * Mapping of session characteristics to the INFO_SESSION_CONFIGURATION_QUERY_VERSION value
|
D | CameraCharacteristicsKeys.mako | 19 * Mapping from INFO_SESSION_CONFIGURATION_QUERY_VERSION to session characteristics key.
|