Home
last modified time | relevance | path

Searched refs:token (Results 1 - 25 of 1276) sorted by relevance

12345678910>>...52

/foundation/ability/idl_tool/parser/
H A Dparser.cpp63 Token token; in ParseFile() local
64 while ((token = lexer_.PeekToken()) != Token::END_OF_FILE) { in ParseFile()
65 switch (token) { in ParseFile()
77 LogError(token, String::Format("%s is not expected.", lexer_.DumpToken().string())); in ParseFile()
90 Token token = lexer_.PeekToken(false); in ParseLicense() local
91 if (token != Token::COMMENT_BLOCK) { in ParseLicense()
107 Token token = lexer_.GetToken(); in ParseInterface() local
108 if (token == Token::BRACKETS_LEFT) { in ParseInterface()
109 token = lexer_.PeekToken(); in ParseInterface()
110 if (token ! in ParseInterface()
149 ParseInterfaceMiddle(Token& token, String& interfaceFullName) ParseInterfaceMiddle() argument
183 ParseInterfaceEnd(Token& token, String& interfaceFullName, bool hasProperties, bool oneway, bool ret) ParseInterfaceEnd() argument
233 Token token; ParseMethodProperties() local
290 ParseMethodName(Token& token, ASTType* type, ASTInterfaceType* interface) ParseMethodName() argument
334 ParseMethodBrackets(Token& token, ASTMethod* method, bool& ret) ParseMethodBrackets() argument
379 Token token = lexer_.PeekToken(); ParseMethod() local
430 ParseParameterPeek(Token& token) ParseParameterPeek() argument
444 ParseParameterInOut(Token& token, ASTParameter* parameter) ParseParameterInOut() argument
487 Token token = lexer_.PeekToken(); ParseParameter() local
538 Token token = lexer_.PeekToken(); ParseType() local
595 Token token = lexer_.PeekToken(); ParseList() local
631 Token token = lexer_.PeekToken(); ParseMap() local
683 Token token = lexer_.PeekToken(); ParseSequenceable() local
756 LogError(Token token, const String& message) LogError() argument
[all...]
H A Dparser.h24 #include "parser/token.h"
62 bool ParseInterfaceMiddle(Token& token, String& interfaceFullName);
64 bool ParseInterfaceEnd(Token& token, String& interfaceFullName, bool hasProperties, bool oneway, bool ret);
70 bool ParseMethodName(Token& token, ASTType* type, ASTInterfaceType* interface);
72 bool ParseMethodBrackets(Token& token, ASTMethod* method, bool& ret);
76 bool ParseParameterPeek(Token& token);
78 bool ParseParameterInOut(Token& token, ASTParameter* parameter);
96 static bool IsPrimitiveType(Token token) in IsPrimitiveType() argument
98 return token >= Token::BOOLEAN && token < in IsPrimitiveType()
[all...]
/foundation/ability/idl_tool/idl_tool_2/lexer/
H A Dlexer.cpp177 Token token = PeekToken(); in SkipUntilToken() local
178 while (token.kind != tokenType) { in SkipUntilToken()
180 token = PeekToken(); in SkipUntilToken()
190 bool Lexer::ReadCacheableTime(Token &token) in ReadCacheableTime() argument
215 token.value = sb.ToString(); in ReadCacheableTime()
216 if (token.value.empty()) { in ReadCacheableTime()
223 void Lexer::ReadToken(Token &token, bool skipComment) in ReadToken() argument
226 InitCurToken(token); in ReadToken()
234 token.location.row = file_->GetCharLineNumber(); in ReadToken()
235 token in ReadToken()
269 InitCurToken(Token &token) InitCurToken() argument
278 ReadId(Token &token) ReadId() argument
302 ReadNum(Token &token) ReadNum() argument
328 ReadBinaryNum(Token &token) ReadBinaryNum() argument
350 ReadOctNum(Token &token) ReadOctNum() argument
373 ReadHexNum(Token &token) ReadHexNum() argument
395 ReadDecNum(Token &token) ReadDecNum() argument
415 ReadNumSuffix(Token &token) ReadNumSuffix() argument
428 ReadShiftLeftOp(Token &token) ReadShiftLeftOp() argument
445 ReadShiftRightOp(Token &token) ReadShiftRightOp() argument
462 ReadPPlusOp(Token &token) ReadPPlusOp() argument
479 ReadMMinusOp(Token &token) ReadMMinusOp() argument
496 ReadComment(Token &token) ReadComment() argument
514 ReadLineComment(Token &token) ReadLineComment() argument
532 ReadBlockComment(Token &token) ReadBlockComment() argument
553 ReadSymbolToken(Token &token) ReadSymbolToken() argument
[all...]
H A Dlexer.h24 #include "lexer/token.h"
68 bool ReadCacheableTime(Token &token);
71 void ReadToken(Token &token, bool skipComment = true);
73 void InitCurToken(Token &token);
75 void ReadId(Token &token);
77 void ReadNum(Token &token);
79 void ReadBinaryNum(Token &token);
81 void ReadOctNum(Token &token);
83 void ReadHexNum(Token &token);
85 void ReadDecNum(Token &token);
[all...]
/foundation/ability/idl_tool/idl_tool_2/parser/
H A Dparser.cpp137 Token token = lexer_.PeekToken(false); in ParseLicense() local
138 if (token.kind == TokenType::COMMENT_BLOCK) { in ParseLicense()
140 return token.value; in ParseLicense()
149 Token token = lexer_.PeekToken(); in ParsePackage() local
150 if (token.kind != TokenType::PACKAGE) { in ParsePackage()
151 LogErrorBeforeToken(__func__, __LINE__, token, std::string("expected 'package'")); in ParsePackage()
157 token = lexer_.PeekToken(); in ParsePackage()
158 if (token.kind != TokenType::ID) { in ParsePackage()
159 LogErrorBeforeToken(__func__, __LINE__, token, std::string("expected name of package")); in ParsePackage()
163 std::string packageName = token in ParsePackage()
215 Token token = lexer_.PeekToken(); ParseInterfaceToken() local
251 Token token = lexer_.PeekToken(); ParseSupportDelegator() local
287 Token token = lexer_.PeekToken(); ParseImports() local
320 Token token = lexer_.PeekToken(); ParseImportInfo() local
353 Token token = lexer_.PeekToken(); ParseSequenceableInfo() local
381 Token token = lexer_.PeekToken(); ParseTypeDecls() local
410 Token token = lexer_.PeekToken(); ParseAttribute() local
435 Token token = lexer_.PeekToken(); ParseAttributeInfo() local
471 Token token = lexer_.PeekToken(); ParseAttrUnit() local
511 ParseAttrUnitFreezecontrol(AttrSet &attrs, Token &token) ParseAttrUnitFreezecontrol() argument
535 Token token = lexer_.PeekToken(); ParseInterface() local
603 CheckInterfaceAttr(const AutoPtr<ASTInterfaceType> &interface, Token token) CheckInterfaceAttr() argument
632 Token token = lexer_.PeekToken(); ParseInterfaceExternal() local
643 Token token = lexer_.PeekToken(); ParseInterfaceBody() local
686 Token token = lexer_.PeekToken(); ParseMethod() local
727 Token token = lexer_.PeekToken(); ParseMethodReturnType() local
824 Token token = lexer_.PeekToken(); ParseMethodParamList() local
876 Token token = lexer_.PeekToken(); ParseParam() local
903 Token token = lexer_.PeekToken(); ParseParamAttr() local
936 Token token = lexer_.PeekToken(); CheckParamAttr() local
950 SetParamAttrVal(Token token, AutoPtr<ASTParamAttr> attr) SetParamAttrVal() argument
973 Token token = lexer_.PeekToken(); ParseType() local
1009 CheckBasicType(Token token) CheckBasicType() argument
1037 Token token = lexer_.PeekToken(); ParseBasicType() local
1053 Token token = lexer_.PeekToken(); ParseUnsignedType() local
1074 Token token = lexer_.PeekToken(); ParseArrayType() local
1099 Token token = lexer_.PeekToken(); ParseListType() local
1133 Token token = lexer_.PeekToken(); ParseMapType() local
1183 Token token = lexer_.PeekToken(); ParseSmqType() local
1210 CheckUserDefType(Token token) CheckUserDefType() argument
1226 Token token = lexer_.GetToken(); ParseUserDefType() local
1249 Token token = lexer_.PeekToken(); ParseEnumDeclaration() local
1287 Token token = lexer_.PeekToken(); ParseEnumBaseType() local
1326 Token token = lexer_.GetToken(); ParserEnumMember() local
1358 Token token = lexer_.PeekToken(); ParseStructDeclaration() local
1399 Token token = lexer_.PeekToken(); ParseStructParentType() local
1422 Token token = lexer_.PeekToken(); ParseStructMember() local
1462 Token token = lexer_.PeekToken(); ParseUnionDeclaration() local
1499 Token token = lexer_.PeekToken(); ParseUnionMember() local
1593 Token token = lexer_.PeekToken(); ParseAndExpr() local
1610 Token token = lexer_.PeekToken(); ParseXorExpr() local
1627 Token token = lexer_.PeekToken(); ParseOrExpr() local
1644 Token token = lexer_.PeekToken(); ParseShiftExpr() local
1662 Token token = lexer_.PeekToken(); ParseAddExpr() local
1680 Token token = lexer_.PeekToken(); ParseMulExpr() local
1703 Token token = lexer_.PeekToken(); ParseUnaryExpr() local
1727 Token token = lexer_.PeekToken(); ParsePrimaryExpr() local
1759 Token token = lexer_.GetToken(); ParseNumExpr() local
1772 Token token = lexer_.GetToken(); ParseEnumExpr() local
1792 CheckType(const Token &token, const AutoPtr<ASTType> &type) CheckType() argument
1826 CheckTypeByMode(const Token &token, const AutoPtr<ASTType> &type) CheckTypeByMode() argument
1925 Token token = lexer_.PeekToken(); ParseInterfaceExtends() local
1942 Token token = lexer_.PeekToken(); ParseExtendsInfo() local
[all...]
/foundation/multimedia/player_framework/services/services/screen_capture/ipc/
H A Dscreen_capture_service_proxy.cpp45 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); in DestroyStub() local
46 CHECK_AND_RETURN_RET_LOG(token, MSERR_INVALID_OPERATION, "Failed to write descriptor!"); in DestroyStub()
61 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); in SetListenerObject() local
62 CHECK_AND_RETURN_RET_LOG(token, MSERR_INVALID_OPERATION, "Failed to write descriptor!"); in SetListenerObject()
78 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); in Release() local
79 CHECK_AND_RETURN_LOG(token, "Failed to write descriptor!"); in Release()
91 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); in SetCaptureMode() local
92 CHECK_AND_RETURN_RET_LOG(token, MSERR_INVALID_OPERATION, "Failed to write descriptor!"); in SetCaptureMode()
94 token = data.WriteInt32(captureMode); in SetCaptureMode()
95 CHECK_AND_RETURN_RET_LOG(token, MSERR_INVALID_OPERATIO in SetCaptureMode()
110 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); SetDataType() local
129 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); SetRecorderInfo() local
148 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); SetOutputFile() local
166 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); InitAudioEncInfo() local
185 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); InitAudioCap() local
205 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); InitVideoEncInfo() local
225 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); InitVideoCap() local
256 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); StartScreenCapture() local
275 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); StartScreenCaptureWithSurface() local
306 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); StopScreenCapture() local
323 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); AcquireAudioBuffer() local
362 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); AcquireVideoBuffer() local
389 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); ReleaseAudioBuffer() local
407 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); ReleaseVideoBuffer() local
422 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); ExcludeContent() local
451 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); SetMicrophoneEnabled() local
469 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); SetCanvasRotation() local
487 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); ResizeCanvas() local
505 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); SkipPrivacyMode() local
525 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); SetMaxVideoFrameRate() local
[all...]
/foundation/ability/ability_runtime/frameworks/native/appkit/app/
H A Dability_record_mgr.cpp21 * @brief Get the token witch is set to the AbilityRecordMgr.
23 * @return Returns the token which is set to the AbilityRecordMgr.
31 * @brief Set the token witch the app launched.
33 * @param token The token which the is launched by app.
35 void AbilityRecordMgr::SetToken(const sptr<IRemoteObject> &token) in SetToken() argument
37 if (token == nullptr) { in SetToken()
41 tokens_ = token; in SetToken()
45 * @brief Save the token and abilityRecord to the AbilityRecordMgr.
47 * @param token Th
51 AddAbilityRecord( const sptr<IRemoteObject> &token, const std::shared_ptr<AbilityLocalRecord> &abilityRecord) AddAbilityRecord() argument
72 RemoveAbilityRecord(const sptr<IRemoteObject> &token) RemoveAbilityRecord() argument
123 sptr<IRemoteObject> token = it->first; GetAllTokens() local
[all...]
/foundation/ability/ability_lite/frameworks/ability_lite/src/
H A Dability_scheduler.cpp75 uint64_t token = 0; in AmsCallback() local
76 ReadUint64(data, &token); in AmsCallback()
84 scheduler->PerformTransactAbilityState(want, state, token, abilityType); in AmsCallback()
88 uint64_t token = 0; in AmsCallback() local
89 ReadUint64(data, &token); in AmsCallback()
95 scheduler->PerformConnectAbility(want, token); in AmsCallback()
99 uint64_t token = 0; in AmsCallback() local
100 ReadUint64(data, &token); in AmsCallback()
106 scheduler->PerformDisconnectAbility(want, token); in AmsCallback()
120 uint64_t token in AmsCallback() local
141 PerformTransactAbilityState(const Want &want, int state, uint64_t token, int abilityType) PerformTransactAbilityState() argument
150 PerformConnectAbility(const Want &want, uint64_t token) PerformConnectAbility() argument
159 PerformDisconnectAbility(const Want &want, uint64_t token) PerformDisconnectAbility() argument
176 PerformDumpAbility(const Want &want, uint64_t token) PerformDumpAbility() argument
[all...]
/foundation/ability/idl_tool/idl_tool_2/preprocessor/
H A Dpreprocessor.cpp164 Token token = lexer.PeekToken(); in ParsePackage() local
165 if (token.kind != TokenType::PACKAGE) { in ParsePackage()
166 Logger::E(TAG, "%s: expected 'package' before '%s' token", LocInfo(token).c_str(), token.value.c_str()); in ParsePackage()
171 token = lexer.PeekToken(); in ParsePackage()
172 if (token.kind != TokenType::ID) { in ParsePackage()
173 Logger::E(TAG, "%s: expected package name before '%s' token", LocInfo(token).c_str(), token in ParsePackage()
197 Token token = lexer.PeekToken(); ParseImports() local
[all...]
/foundation/multimedia/player_framework/services/services/transcoder/ipc/
H A Dtranscoder_service_proxy.cpp44 bool token = data.WriteInterfaceToken(TransCoderServiceProxy::GetDescriptor()); in SetListenerObject() local
45 CHECK_AND_RETURN_RET_LOG(token, MSERR_INVALID_OPERATION, "Failed to write descriptor!"); in SetListenerObject()
61 bool token = data.WriteInterfaceToken(TransCoderServiceProxy::GetDescriptor()); in SetVideoEncoder() local
62 CHECK_AND_RETURN_RET_LOG(token, MSERR_INVALID_OPERATION, "Failed to write descriptor!"); in SetVideoEncoder()
78 bool token = data.WriteInterfaceToken(TransCoderServiceProxy::GetDescriptor()); in SetVideoSize() local
79 CHECK_AND_RETURN_RET_LOG(token, MSERR_INVALID_OPERATION, "Failed to write descriptor!"); in SetVideoSize()
96 bool token = data.WriteInterfaceToken(TransCoderServiceProxy::GetDescriptor()); in SetVideoEncodingBitRate() local
97 CHECK_AND_RETURN_RET_LOG(token, MSERR_INVALID_OPERATION, "Failed to write descriptor!"); in SetVideoEncodingBitRate()
113 bool token = data.WriteInterfaceToken(TransCoderServiceProxy::GetDescriptor()); in SetAudioEncoder() local
114 CHECK_AND_RETURN_RET_LOG(token, MSERR_INVALID_OPERATIO in SetAudioEncoder()
130 bool token = data.WriteInterfaceToken(TransCoderServiceProxy::GetDescriptor()); SetAudioEncodingBitRate() local
147 bool token = data.WriteInterfaceToken(TransCoderServiceProxy::GetDescriptor()); SetOutputFormat() local
164 bool token = data.WriteInterfaceToken(TransCoderServiceProxy::GetDescriptor()); SetInputFile() local
182 bool token = data.WriteInterfaceToken(TransCoderServiceProxy::GetDescriptor()); SetOutputFile() local
199 bool token = data.WriteInterfaceToken(TransCoderServiceProxy::GetDescriptor()); Prepare() local
215 bool token = data.WriteInterfaceToken(TransCoderServiceProxy::GetDescriptor()); Start() local
231 bool token = data.WriteInterfaceToken(TransCoderServiceProxy::GetDescriptor()); Pause() local
247 bool token = data.WriteInterfaceToken(TransCoderServiceProxy::GetDescriptor()); Resume() local
263 bool token = data.WriteInterfaceToken(TransCoderServiceProxy::GetDescriptor()); Cancel() local
279 bool token = data.WriteInterfaceToken(TransCoderServiceProxy::GetDescriptor()); Release() local
295 bool token = data.WriteInterfaceToken(TransCoderServiceProxy::GetDescriptor()); DestroyStub() local
[all...]
/foundation/ability/dmsfwk/services/dtbabilitymgr/src/
H A Ddistributed_ability_manager_client.cpp48 const std::shared_ptr<ContinuationExtraParams>& continuationExtraParams, int32_t& token) in Register()
56 return continuationMgrProxy->Register(continuationExtraParams, token); in Register()
59 int32_t DistributedAbilityManagerClient::Unregister(int32_t token) in Unregister() argument
67 return continuationMgrProxy->Unregister(token); in Unregister()
70 int32_t DistributedAbilityManagerClient::RegisterDeviceSelectionCallback(int32_t token, const std::string& cbType, in RegisterDeviceSelectionCallback() argument
79 return continuationMgrProxy->RegisterDeviceSelectionCallback(token, cbType, notifier); in RegisterDeviceSelectionCallback()
82 int32_t DistributedAbilityManagerClient::UnregisterDeviceSelectionCallback(int32_t token, const std::string& cbType) in UnregisterDeviceSelectionCallback() argument
90 return continuationMgrProxy->UnregisterDeviceSelectionCallback(token, cbType); in UnregisterDeviceSelectionCallback()
93 int32_t DistributedAbilityManagerClient::UpdateConnectStatus(int32_t token, const std::string& deviceId, in UpdateConnectStatus() argument
102 return continuationMgrProxy->UpdateConnectStatus(token, deviceI in UpdateConnectStatus()
47 Register( const std::shared_ptr<ContinuationExtraParams>& continuationExtraParams, int32_t& token) Register() argument
105 StartDeviceManager( int32_t token, const std::shared_ptr<ContinuationExtraParams>& continuationExtraParams) StartDeviceManager() argument
[all...]
H A Ddistributed_ability_manager_service.cpp43 const std::string TOKEN_KEY = "distributedsched.continuationmanager.token";
118 for (const auto& token : tokenVec) { in DumpNotifierLocked()
120 info += "token: "; in DumpNotifierLocked()
121 info += std::to_string(token); in DumpNotifierLocked()
122 if (callbackMap_.find(token) == callbackMap_.end()) { in DumpNotifierLocked()
125 if (callbackMap_[token] == nullptr) { in DumpNotifierLocked()
129 if (!callbackMap_[token]->IsNotifierMapEmpty()) { in DumpNotifierLocked()
132 if (callbackMap_[token]->GetNotifier(EVENT_CONNECT) != nullptr) { in DumpNotifierLocked()
136 if (callbackMap_[token]->GetNotifier(EVENT_DISCONNECT) != nullptr) { in DumpNotifierLocked()
145 const std::shared_ptr<ContinuationExtraParams>& continuationExtraParams, int32_t& token) in Register()
144 Register( const std::shared_ptr<ContinuationExtraParams>& continuationExtraParams, int32_t& token) Register() argument
178 Unregister(int32_t token) Unregister() argument
212 RegisterDeviceSelectionCallback( int32_t token, const std::string& cbType, const sptr<IRemoteObject>& notifier) RegisterDeviceSelectionCallback() argument
246 UnregisterDeviceSelectionCallback(int32_t token, const std::string& cbType) UnregisterDeviceSelectionCallback() argument
275 UpdateConnectStatus(int32_t token, const std::string& deviceId, const DeviceConnectStatus& deviceConnectStatus) UpdateConnectStatus() argument
309 StartDeviceManager( int32_t token, const std::shared_ptr<ContinuationExtraParams>& continuationExtraParams) StartDeviceManager() argument
346 ConnectAbility(int32_t token, const std::shared_ptr<ContinuationExtraParams>& continuationExtraParams) ConnectAbility() argument
439 OnDeviceConnect(int32_t token, const std::vector<ContinuationResult>& continuationResults) OnDeviceConnect() argument
459 OnDeviceDisconnect(int32_t token, const std::vector<ContinuationResult>& continuationResults) OnDeviceDisconnect() argument
537 IsTokenRegistered(uint32_t accessToken, int32_t token) IsTokenRegistered() argument
554 IsNotifierRegistered(int32_t token) IsNotifierRegistered() argument
569 IsNotifierRegisteredLocked(int32_t token, const std::string& cbType) IsNotifierRegisteredLocked() argument
623 ScheduleStartDeviceManager(const sptr<IRemoteObject>& appProxy, int32_t token, const std::shared_ptr<ContinuationExtraParams>& continuationExtraParams) ScheduleStartDeviceManager() argument
634 HandleStartDeviceManager(int32_t token, const std::shared_ptr<ContinuationExtraParams>& continuationExtraParams) HandleStartDeviceManager() argument
687 HandleUpdateConnectStatus(int32_t token, std::string deviceId, const DeviceConnectStatus& deviceConnectStatus) HandleUpdateConnectStatus() argument
713 QueryTokenByNotifier(const sptr<IRemoteObject>& notifier, int32_t& token) QueryTokenByNotifier() argument
[all...]
/foundation/ability/ability_runtime/test/unittest/ability_record_mgr_test/
H A Dability_record_mgr_test.cpp80 auto token = recordMgr->GetToken(); in HWTEST_F() local
81 EXPECT_EQ(token, nullptr); in HWTEST_F()
93 sptr<IRemoteObject> token = new (std::nothrow) AbilityMgrToken(); in HWTEST_F() local
95 recordMgr->SetToken(token); in HWTEST_F()
110 sptr<IRemoteObject> token = nullptr; in HWTEST_F() local
111 recordMgr->AddAbilityRecord(token, nullptr); in HWTEST_F()
113 token = new (std::nothrow) AbilityMgrToken(); in HWTEST_F()
114 recordMgr->AddAbilityRecord(token, nullptr); in HWTEST_F()
119 recordMgr->AddAbilityRecord(token, abilityRecord); in HWTEST_F()
134 sptr<IRemoteObject> token in HWTEST_F() local
158 sptr<IRemoteObject> token = new (std::nothrow) AbilityMgrToken(); HWTEST_F() local
174 sptr<IRemoteObject> token = nullptr; HWTEST_F() local
198 sptr<IRemoteObject> token = new (std::nothrow) AbilityMgrToken(); HWTEST_F() local
[all...]
/foundation/ability/ability_lite/services/abilitymgr_lite/include/slite/
H A Dability_record_manager.h41 uint64_t token = 0; member
46 typedef void (AbilityRecordManager::*LifecycleFunc)(uint16_t token);
63 int32_t TerminateAbility(uint16_t token);
71 int32_t ForceStopBundle(uint16_t token);
73 int32_t SchedulerLifecycleDone(uint64_t token, int32_t state);
111 int32_t SchedulerLifecycle(uint64_t token, int32_t state);
119 void OnCreateDone(uint16_t token);
121 void OnForegroundDone(uint16_t token);
123 void OnBackgroundDone(uint16_t token);
125 void OnDestroyDone(uint16_t token);
[all...]
/foundation/ability/idl_tool/test/unittest/lexer_test/
H A Dlexer_test.cpp67 * @tc.desc: test the token in Lexer's TokenToChar function is ANGLE_BRACKETS_LEFT.
76 Token token = Token::ANGLE_BRACKETS_LEFT; in HWTEST_F() local
77 int result = imageLexer.TokenToChar(token); in HWTEST_F()
83 * @tc.desc: test the token in Lexer's TokenToChar function is ANGLE_BRACKETS_RIGHT.
92 Token token = Token::ANGLE_BRACKETS_RIGHT; in HWTEST_F() local
93 int result = imageLexer.TokenToChar(token); in HWTEST_F()
99 * @tc.desc: test the token in Lexer's TokenToChar function is BRACES_LEFT.
108 Token token = Token::BRACES_LEFT; in HWTEST_F() local
109 int result = imageLexer.TokenToChar(token); in HWTEST_F()
115 * @tc.desc: test the token i
124 Token token = Token::BRACES_RIGHT; HWTEST_F() local
140 Token token = Token::BRACKETS_LEFT; HWTEST_F() local
156 Token token = Token::BRACKETS_RIGHT; HWTEST_F() local
172 Token token = Token::COMMA; HWTEST_F() local
188 Token token = Token::DOT; HWTEST_F() local
204 Token token = Token::PARENTHESES_LEFT; HWTEST_F() local
220 Token token = Token::PARENTHESES_RIGHT; HWTEST_F() local
236 Token token = Token::IDENTIFIER; HWTEST_F() local
[all...]
/foundation/ability/ability_lite/services/abilitymgr_lite/src/slite/
H A Dability_record_manager.cpp67 record->token = LAUNCHER_TOKEN; in StartLauncher()
221 abilityList_.MoveToTop(abilityRecord->token); in StartAbility()
263 if (record->token != LAUNCHER_TOKEN) { in UpdateRecord()
285 uint16_t topToken = topRecord->token; in StartAbility()
304 if (topRecord->state != SCHEDULE_STOP && topRecord->token != LAUNCHER_TOKEN) { in StartAbility()
316 TerminateAbility(topRecord->token); in StartAbility()
359 int32_t AbilityRecordManager::TerminateAbility(uint16_t token) in TerminateAbility() argument
362 return AddAbilityOperation(TERMINATE_ABILITY, nullptr, token); in TerminateAbility()
365 return TerminateAbility(token, nullptr); in TerminateAbility()
383 uint16_t token in TerminateMission() local
392 TerminateAbility(uint16_t token, const Want* want) TerminateAbility() argument
476 ForceStopBundle(uint16_t token) ForceStopBundle() argument
568 ForceStopBundleInner(uint16_t token) ForceStopBundleInner() argument
717 static uint16_t token = LAUNCHER_TOKEN; GenerateToken() local
738 DeleteRecordInfo(uint16_t token) DeleteRecordInfo() argument
763 OnCreateDone(uint16_t token) OnCreateDone() argument
769 OnForegroundDone(uint16_t token) OnForegroundDone() argument
814 OnBackgroundDone(uint16_t token) OnBackgroundDone() argument
865 OnDestroyDone(uint16_t token) OnDestroyDone() argument
945 SchedulerLifecycle(uint64_t token, int32_t state) SchedulerLifecycle() argument
959 SetAbilityStateAndNotify(uint64_t token, int32_t state) SetAbilityStateAndNotify() argument
1034 SchedulerLifecycleDone(uint64_t token, int32_t state) SchedulerLifecycleDone() argument
1186 AddAbilityOperation(uint16_t msgId, const Want *want, uint64_t token) AddAbilityOperation() argument
[all...]
/foundation/multimedia/player_framework/test/fuzztest/player_fuzztest/playerstub_fuzzer/
H A Dplayer_service_proxy_fuzzer.cpp118 bool token = data.WriteInterfaceToken(PlayerServiceProxyFuzzer::GetDescriptor()); in SetListenerObjectStatic() local
119 if (!token) { in SetListenerObjectStatic()
134 bool token = data.WriteInterfaceToken(PlayerServiceProxyFuzzer::GetDescriptor()); in SetSourceStatic() local
135 if (!token) { in SetSourceStatic()
153 bool token = data.WriteInterfaceToken(PlayerServiceProxyFuzzer::GetDescriptor()); in SetMediaDataSourceStatic() local
154 if (!token) { in SetMediaDataSourceStatic()
169 bool token = data.WriteInterfaceToken(PlayerServiceProxyFuzzer::GetDescriptor()); in SetFdSourceStatic() local
170 if (!token) { in SetFdSourceStatic()
221 bool token = data.WriteInterfaceToken(PlayerServiceProxyFuzzer::GetDescriptor()); in AddSubSourceStatic() local
222 if (!token) { in AddSubSourceStatic()
240 bool token = data.WriteInterfaceToken(PlayerServiceProxyFuzzer::GetDescriptor()); AddSubFdSourceStatic() local
264 bool token = data.WriteInterfaceToken(PlayerServiceProxyFuzzer::GetDescriptor()); PlayStatic() local
282 bool token = data.WriteInterfaceToken(PlayerServiceProxyFuzzer::GetDescriptor()); PrepareStatic() local
300 bool token = data.WriteInterfaceToken(PlayerServiceProxyFuzzer::GetDescriptor()); PrepareAsyncStatic() local
318 bool token = data.WriteInterfaceToken(PlayerServiceProxyFuzzer::GetDescriptor()); PauseStatic() local
336 bool token = data.WriteInterfaceToken(PlayerServiceProxyFuzzer::GetDescriptor()); StopStatic() local
354 bool token = data.WriteInterfaceToken(PlayerServiceProxyFuzzer::GetDescriptor()); ResetStatic() local
372 bool token = data.WriteInterfaceToken(PlayerServiceProxyFuzzer::GetDescriptor()); ReleaseStatic() local
390 bool token = data.WriteInterfaceToken(PlayerServiceProxyFuzzer::GetDescriptor()); SetVolumeStatic() local
410 bool token = data.WriteInterfaceToken(PlayerServiceProxyFuzzer::GetDescriptor()); SeekStatic() local
430 bool token = data.WriteInterfaceToken(PlayerServiceProxyFuzzer::GetDescriptor()); GetCurrentTimeStatic() local
449 bool token = data.WriteInterfaceToken(PlayerServiceProxyFuzzer::GetDescriptor()); GetDurationStatic() local
468 bool token = data.WriteInterfaceToken(PlayerServiceProxyFuzzer::GetDescriptor()); SetPlaybackSpeedStatic() local
487 bool token = data.WriteInterfaceToken(PlayerServiceProxyFuzzer::GetDescriptor()); GetPlaybackSpeedStatic() local
506 bool token = data.WriteInterfaceToken(PlayerServiceProxyFuzzer::GetDescriptor()); SetVideoSurfaceStatic() local
525 bool token = data.WriteInterfaceToken(PlayerServiceProxyFuzzer::GetDescriptor()); IsPlayingStatic() local
544 bool token = data.WriteInterfaceToken(PlayerServiceProxyFuzzer::GetDescriptor()); IsLoopingStatic() local
563 bool token = data.WriteInterfaceToken(PlayerServiceProxyFuzzer::GetDescriptor()); SetLoopingStatic() local
580 bool token = data.WriteInterfaceToken(PlayerServiceProxyFuzzer::GetDescriptor()); SetParameterStatic() local
598 bool token = data.WriteInterfaceToken(PlayerServiceProxyFuzzer::GetDescriptor()); DestroyStubStatic() local
619 bool token = data.WriteInterfaceToken(PlayerServiceProxyFuzzer::GetDescriptor()); SetPlayerCallbackStatic() local
638 bool token = data.WriteInterfaceToken(PlayerServiceProxyFuzzer::GetDescriptor()); GetVideoTrackInfoStatic() local
658 bool token = data.WriteInterfaceToken(PlayerServiceProxyFuzzer::GetDescriptor()); GetPlaybackInfoStatic() local
677 bool token = data.WriteInterfaceToken(PlayerServiceProxyFuzzer::GetDescriptor()); GetAudioTrackInfoStatic() local
696 bool token = data.WriteInterfaceToken(PlayerServiceProxyFuzzer::GetDescriptor()); GetSubtitleTrackInfoStatic() local
715 bool token = data.WriteInterfaceToken(PlayerServiceProxyFuzzer::GetDescriptor()); GetVideoWidthStatic() local
734 bool token = data.WriteInterfaceToken(PlayerServiceProxyFuzzer::GetDescriptor()); GetVideoHeightStatic() local
753 bool token = data.WriteInterfaceToken(PlayerServiceProxyFuzzer::GetDescriptor()); SelectBitRateStatic() local
772 bool token = data.WriteInterfaceToken(PlayerServiceProxyFuzzer::GetDescriptor()); SelectTrackStatic() local
791 bool token = data.WriteInterfaceToken(PlayerServiceProxyFuzzer::GetDescriptor()); DeselectTrackStatic() local
810 bool token = data.WriteInterfaceToken(PlayerServiceProxyFuzzer::GetDescriptor()); GetCurrentTrackStatic() local
[all...]
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/src/appmgr/
H A Dapp_exception_manager.cpp30 void AppExceptionManager::LaunchAbilityFailed(sptr<IRemoteObject> token, const std::string &msg) in LaunchAbilityFailed() argument
32 FreezeUtil::LifecycleFlow flow{token, FreezeUtil::TimeoutState::LOAD}; in LaunchAbilityFailed()
34 NotifyLifecycleException(LifecycleException::LAUNCH_ABILITY_FAIL, token); in LaunchAbilityFailed()
37 void AppExceptionManager::ForegroundAppFailed(sptr<IRemoteObject> token, const std::string &msg) in ForegroundAppFailed() argument
39 FreezeUtil::LifecycleFlow flow{token, FreezeUtil::TimeoutState::FOREGROUND}; in ForegroundAppFailed()
41 NotifyLifecycleException(LifecycleException::FOREGROUND_APP_FAIL, token); in ForegroundAppFailed()
44 void AppExceptionManager::ForegroundAppWait(sptr<IRemoteObject> token, const std::string &msg) in ForegroundAppWait() argument
46 FreezeUtil::LifecycleFlow flow{token, FreezeUtil::TimeoutState::FOREGROUND}; in ForegroundAppWait()
48 NotifyLifecycleException(LifecycleException::FOREGROUND_APP_WAIT, token); in ForegroundAppWait()
51 void AppExceptionManager::NotifyLifecycleException(LifecycleException type, sptr<IRemoteObject> token) in NotifyLifecycleException() argument
[all...]
/foundation/communication/dsoftbus/sdk/frame/small/src/
H A Dsoftbus_client_context_manager.c24 uintptr_t token; member
53 void SetClientIdentity(unsigned int handle, uintptr_t token, uintptr_t cookie) in SetClientIdentity() argument
61 g_clientCtx->token = token; in SetClientIdentity()
65 int GetClientIdentity(unsigned int *handle, uintptr_t *token, uintptr_t *cookie) in GetClientIdentity() argument
67 if (handle == NULL || token == NULL || cookie == NULL) { in GetClientIdentity()
78 *token = g_clientCtx->token; in GetClientIdentity()
/foundation/multimedia/av_codec/services/services/codeclist/ipc/
H A Dcodeclist_service_proxy.cpp46 bool token = data.WriteInterfaceToken(CodecListServiceProxy::GetDescriptor()); in FindDecoder() local
47 CHECK_AND_RETURN_RET_LOG(token, "", "Failed to write descriptor"); in FindDecoder()
48 token = AVCodecParcel::Marshalling(data, format); in FindDecoder()
49 CHECK_AND_RETURN_RET_LOG(token, "", "Marshalling failed"); in FindDecoder()
61 bool token = data.WriteInterfaceToken(CodecListServiceProxy::GetDescriptor()); in FindEncoder() local
62 CHECK_AND_RETURN_RET_LOG(token, "", "Failed to write descriptor"); in FindEncoder()
63 token = AVCodecParcel::Marshalling(data, format); in FindEncoder()
64 CHECK_AND_RETURN_RET_LOG(token, "", "Marshalling failed"); in FindEncoder()
78 bool token = data.WriteInterfaceToken(CodecListServiceProxy::GetDescriptor()); in GetCapability() local
79 CHECK_AND_RETURN_RET_LOG(token, AVCS_ERR_UNKNOW in GetCapability()
96 bool token = data.WriteInterfaceToken(CodecListServiceProxy::GetDescriptor()); DestroyStub() local
[all...]
/foundation/ability/dmsfwk/services/dtbabilitymgr/test/unittest/
H A Ddistributed_ability_manager_service_test.cpp167 * @tc.desc: test OnRemoteRequest to start funcsMap_ without token
247 int32_t token = 0; in HWTEST_F() local
250 dtbabilitymgrService_->Register(continuationExtraParams, token); in HWTEST_F()
252 int32_t ret = dtbabilitymgrService_->Register(continuationExtraParams, token); in HWTEST_F()
272 * @tc.steps: step1. test Unregister when token is not registered. in HWTEST_F()
283 int32_t token = 0; in HWTEST_F() local
285 ret = dtbabilitymgrService_->Register(continuationExtraParams, token); in HWTEST_F()
287 ret = dtbabilitymgrService_->Unregister(token); in HWTEST_F()
292 ret = dtbabilitymgrService_->Register(continuationExtraParams, token); in HWTEST_F()
297 dtbabilitymgrService_->callbackMap_[token] in HWTEST_F()
321 int32_t token = 0; HWTEST_F() local
362 int32_t token = 0; HWTEST_F() local
392 int32_t token = 0; HWTEST_F() local
423 int32_t token = 0; HWTEST_F() local
450 int32_t token = 0; HWTEST_F() local
493 int32_t token = 0; HWTEST_F() local
526 int32_t token = 0; HWTEST_F() local
568 int32_t token = 0; HWTEST_F() local
636 int32_t token = 0; HWTEST_F() local
800 int32_t token; HWTEST_F() local
847 int32_t token = 0; HWTEST_F() local
939 int32_t token = 0; HWTEST_F() local
963 int32_t token = 0; HWTEST_F() local
980 int32_t token = 0; HWTEST_F() local
1007 int32_t token = 0; HWTEST_F() local
1027 int32_t token = 0; HWTEST_F() local
1045 int32_t token = 0; HWTEST_F() local
1079 int32_t token = 0; HWTEST_F() local
1100 int32_t token = 0; HWTEST_F() local
1120 int32_t token = 0; HWTEST_F() local
1152 int32_t token = 0; HWTEST_F() local
1171 int32_t token = 0; HWTEST_F() local
1198 int32_t token = 0; HWTEST_F() local
[all...]
/foundation/multimedia/player_framework/services/services/recorder/ipc/
H A Drecorder_service_proxy.cpp44 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); in SetListenerObject() local
45 CHECK_AND_RETURN_RET_LOG(token, MSERR_INVALID_OPERATION, "Failed to write descriptor!"); in SetListenerObject()
61 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); in SetVideoSource() local
62 CHECK_AND_RETURN_RET_LOG(token, MSERR_INVALID_OPERATION, "Failed to write descriptor!"); in SetVideoSource()
79 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); in SetVideoEncoder() local
80 CHECK_AND_RETURN_RET_LOG(token, MSERR_INVALID_OPERATION, "Failed to write descriptor!"); in SetVideoEncoder()
97 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); in SetVideoSize() local
98 CHECK_AND_RETURN_RET_LOG(token, MSERR_INVALID_OPERATION, "Failed to write descriptor!"); in SetVideoSize()
116 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); in SetVideoFrameRate() local
117 CHECK_AND_RETURN_RET_LOG(token, MSERR_INVALID_OPERATIO in SetVideoFrameRate()
134 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); SetVideoEncodingBitRate() local
152 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); SetVideoIsHdr() local
170 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); SetVideoEnableTemporalScale() local
188 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); SetMetaConfigs() local
205 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); SetMetaSource() local
223 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); SetMetaMimeType() local
241 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); SetMetaTimedKey() local
259 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); SetMetaSourceTrackMime() local
277 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); SetCaptureRate() local
295 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); GetSurface() local
318 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); GetMetaSurface() local
341 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); SetAudioSource() local
359 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); SetAudioEncoder() local
377 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); SetAudioSampleRate() local
395 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); SetAudioChannels() local
413 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); SetAudioEncodingBitRate() local
431 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); SetDataSource() local
449 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); SetUserCustomInfo() local
470 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); SetGenre() local
487 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); SetMaxDuration() local
504 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); SetOutputFormat() local
521 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); SetOutputFile() local
538 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); SetFileGenerationMode() local
555 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); SetNextOutputFile() local
572 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); SetMaxFileSize() local
589 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); SetLocation() local
604 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); SetOrientationHint() local
618 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); Prepare() local
634 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); Start() local
650 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); Pause() local
666 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); Resume() local
682 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); Stop() local
699 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); Reset() local
715 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); Release() local
731 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); SetFileSplitDuration() local
750 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); DestroyStub() local
765 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); GetAVRecorderConfig() local
799 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); GetLocation() local
817 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); GetCurrentCapturerChangeInfo() local
833 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); GetAvailableEncoder() local
854 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); GetMaxAmplitude() local
871 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); IsWatermarkSupported() local
887 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); SetWatermark() local
[all...]
/foundation/multimedia/player_framework/services/services/player/ipc/
H A Dplayer_service_proxy.cpp109 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); in SetListenerObject() local
110 CHECK_AND_RETURN_RET_LOG(token, MSERR_INVALID_OPERATION, "Failed to write descriptor!"); in SetListenerObject()
127 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); in SetSource() local
128 CHECK_AND_RETURN_RET_LOG(token, MSERR_INVALID_OPERATION, "Failed to write descriptor!"); in SetSource()
145 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); in SetSource() local
146 CHECK_AND_RETURN_RET_LOG(token, MSERR_INVALID_OPERATION, "Failed to write descriptor!"); in SetSource()
163 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); in SetSource() local
164 CHECK_AND_RETURN_RET_LOG(token, MSERR_INVALID_OPERATION, "Failed to write descriptor!"); in SetSource()
182 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); in AddSubSource() local
183 CHECK_AND_RETURN_RET_LOG(token, MSERR_INVALID_OPERATIO in AddSubSource()
200 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); AddSubSource() local
219 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); Play() local
235 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); Prepare() local
251 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); SetRenderFirstFrame() local
269 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); SetPlayRange() local
287 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); SetPlayRangeWithMode() local
306 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); PrepareAsync() local
322 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); Pause() local
338 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); Stop() local
354 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); Reset() local
370 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); Release() local
386 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); ReleaseSync() local
402 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); SetVolume() local
420 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); Seek() local
438 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); GetCurrentTime() local
455 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); GetPlaybackPosition() local
472 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); GetVideoTrackInfo() local
494 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); GetPlaybackInfo() local
512 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); GetAudioTrackInfo() local
535 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); GetSubtitleTrackInfo() local
558 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); GetVideoWidth() local
574 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); GetVideoHeight() local
590 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); GetDuration() local
607 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); SetPlaybackSpeed() local
624 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); SetMediaSource() local
677 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); GetPlaybackSpeed() local
695 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); SelectBitRate() local
723 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); SetVideoSurface() local
749 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); SetDecryptConfig() local
777 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); IsPlaying() local
794 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); IsLooping() local
811 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); SetLooping() local
829 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); SetParameter() local
848 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); DestroyStub() local
865 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); SetPlayerCallback() local
882 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); SelectTrack() local
900 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); DeselectTrack() local
917 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); GetCurrentTrack() local
935 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); SetDeviceChangeCbStatus() local
952 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); SetPlaybackStrategy() local
973 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); SetMediaMuted() local
991 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); SetMaxAmplitudeCbStatus() local
[all...]
/foundation/arkui/ace_engine_lite/frameworks/tools/qt/simulator/jsfwk/targets/simulator/mock/amsthread/
H A Dams_thread.cpp63 int TerminateAbility(uint64_t token) in TerminateAbility() argument
71 message->token = token; in TerminateAbility()
99 TerminateAbilityInner(innerMsg->token); in run()
149 if (exsitingApp->token == currentTopToken_) { in StartAbilityInner()
157 currentTopToken_ = exsitingApp->token; in StartAbilityInner()
169 currentTopToken_ = newAppRecord->token; in StartAbilityInner()
189 currentTopToken_ = newAppRecord->token; in StartAbilityInner()
193 int AMSThread::TerminateAbilityInner(uint64_t token) in TerminateAbilityInner() argument
195 JSAppRecord *appRecord = PopAppRecord(token); in TerminateAbilityInner()
235 uint64_t token = nextToken_; GenerateToken() local
241 uint64_t token = GenerateToken(); CreateNewAppRecord() local
265 GetAppRecord(uint64_t token) GetAppRecord() argument
279 PopAppRecord(uint64_t token) PopAppRecord() argument
296 DeleteAppRecord(uint64_t token) DeleteAppRecord() argument
[all...]
/foundation/ability/dmsfwk/services/dtbabilitymgr/include/
H A Ddistributed_ability_manager_service.h41 const std::shared_ptr<ContinuationExtraParams>& continuationExtraParams, int32_t& token) override;
42 int32_t Unregister(int32_t token) override;
44 int32_t token, const std::string& cbType, const sptr<IRemoteObject>& notifier) override;
45 int32_t UnregisterDeviceSelectionCallback(int32_t token, const std::string& cbType) override;
46 int32_t UpdateConnectStatus(int32_t token, const std::string& deviceId,
49 int32_t token, const std::shared_ptr<ContinuationExtraParams>& continuationExtraParams = nullptr) override;
52 void ScheduleStartDeviceManager(const sptr<IRemoteObject>& appProxy, int32_t token,
54 int32_t OnDeviceConnect(int32_t token, const std::vector<ContinuationResult>& continuationResults);
55 int32_t OnDeviceDisconnect(int32_t token, const std::vector<ContinuationResult>& continuationResults);
63 bool IsTokenRegistered(uint32_t accessToken, int32_t token);
[all...]

Completed in 17 milliseconds

12345678910>>...52