Home
last modified time | relevance | path

Searched refs:GetId (Results 1 – 14 of 14) sorted by relevance

/system/apex/apexd/
Dapexd_session.cpp158 int ApexSession::GetId() const { return state_.id(); } in GetId() function in android::apex::ApexSession
254 std::string session_dir = GetSessionsDir() + "/" + std::to_string(GetId()); in DeleteSession()
267 return out << "[id = " << session.GetId() in operator <<()
280 LOG(WARNING) << "Failed to delete finalized session: " << session.GetId(); in DeleteFinalizedSessions()
Dapexd_session.h54 int GetId() const;
Dapexservice.cpp321 session_info->sessionId = session.GetId(); in ConvertToApexSessionInfo()
850 StringLog() << "Session ID: " << session.GetId() << child_ids_str in dump()
Dapexd.cpp2206 auto session_id = session.GetId(); in ScanStagedSessionsDirAndStage()
/system/tools/aidl/
Daidl.cpp288 if (usedIds.find(item->GetId()) != usedIds.end()) { in CheckAndAssignMethodIDs()
290 AIDL_ERROR(item) << "Found duplicate method id (" << item->GetId() << ") for method " in CheckAndAssignMethodIDs()
294 usedIds.insert(item->GetId()); in CheckAndAssignMethodIDs()
297 if (item->GetId() < kMinUserSetMethodId || item->GetId() > kMaxUserSetMethodId) { in CheckAndAssignMethodIDs()
298 AIDL_ERROR(item) << "Found out of bounds id (" << item->GetId() << ") for method " in CheckAndAssignMethodIDs()
Daidl_checkapi.cpp197 if (old_m->GetId() != new_m->GetId()) { in are_compatible_interfaces()
199 << old_m->Signature() << " is changed from " << old_m->GetId() << " to " in are_compatible_interfaces()
200 << new_m->GetId() << "."; in are_compatible_interfaces()
Dgenerate_cpp_analyzer.cpp158 out.Write("case ::android::IBinder::FIRST_CALL_TRANSACTION + %d:\n{\n", (method->GetId())); in GenerateAnalyzerSource()
Dgenerate_ndk.cpp470 return "(FIRST_CALL_TRANSACTION + " + std::to_string(m.GetId()) + " /*" + m.GetName() + "*/)"; in MethodId()
1139 << "FIRST_CALL_TRANSACTION + " << std::to_string(method->GetId()) << ";\n"; in GenerateInterfaceClassDecl()
Dgenerate_java_binder.cpp1331 GenerateMethods(*iface, *item, interface.get(), stub, proxy, item->GetId(), typenames, options); in GenerateInterfaceClass()
1332 max_transaction_id = std::max(max_transaction_id, item->GetId()); in GenerateInterfaceClass()
Dgenerate_rust.cpp793 std::to_string(method->GetId()) + ";\n"; in GenerateRustInterface()
Daidl_unittest.cpp4074 EXPECT_EQ(0, foo->GetMethods()[0]->GetId()); in TEST_F()
4075 EXPECT_EQ(1, foo->GetMethods()[1]->GetId()); in TEST_F()
4078 EXPECT_EQ(0, nested->GetMethods()[0]->GetId()); in TEST_F()
4079 EXPECT_EQ(1, nested->GetMethods()[1]->GetId()); in TEST_F()
Daidl_language.h884 int GetId() const { return id_; }
Dgenerate_cpp.cpp833 << "::android::IBinder::FIRST_CALL_TRANSACTION + " << std::to_string(method->GetId()) in GenerateServerClassDecl()
Daidl_language.cpp1128 ret += " = " + std::to_string(GetId()); in ToString()