Searched refs:AppAvailabilityResult (Results 1 – 11 of 11) sorted by relevance
/external/openscreen/cast/sender/ |
D | cast_app_availability_tracker.cc | 63 AppAvailabilityResult old_availability = it == availabilities.end() in UpdateAppAvailability() 64 ? AppAvailabilityResult::kUnknown in UpdateAppAvailability() 66 AppAvailabilityResult new_availability = availability.availability; in UpdateAppAvailability() 69 bool updated = (old_availability == AppAvailabilityResult::kAvailable || in UpdateAppAvailability() 70 new_availability == AppAvailabilityResult::kAvailable) && in UpdateAppAvailability() 105 if (availability.second.availability == AppAvailabilityResult::kAvailable) { in GetSupportedSources() 125 return {AppAvailabilityResult::kUnknown, Clock::time_point{}}; in GetAvailability() 131 return {AppAvailabilityResult::kUnknown, Clock::time_point{}}; in GetAvailability() 157 AppAvailabilityResult::kAvailable) { in GetAvailableReceivers()
|
D | cast_app_availability_tracker_unittest.cc | 100 "receiverId1", "AAA", {AppAvailabilityResult::kAvailable, Now()}), in TEST_F() 117 "receiverId2", "AAA", {AppAvailabilityResult::kAvailable, Now()}), in TEST_F() 128 "receiverId2", "AAA", {AppAvailabilityResult::kUnavailable, Now()}), in TEST_F() 139 {AppAvailabilityResult::kAvailable, Now()}); in TEST_F() 140 EXPECT_EQ(AppAvailabilityResult::kAvailable, in TEST_F() 148 EXPECT_EQ(AppAvailabilityResult::kAvailable, in TEST_F() 153 EXPECT_EQ(AppAvailabilityResult::kUnknown, in TEST_F()
|
D | cast_platform_client.cc | 44 AppAvailabilityResult::kUnknown); in ~CastPlatformClient() 55 callback(app_id, AppAvailabilityResult::kUnknown); in RequestAppAvailability() 98 AppAvailabilityResult::kUnknown); in RemoveReceiver() 174 AppAvailabilityResult availability_result = in HandleResponse() 175 AppAvailabilityResult::kUnknown; in HandleResponse() 177 availability_result = AppAvailabilityResult::kAvailable; in HandleResponse() 179 availability_result = AppAvailabilityResult::kUnavailable; in HandleResponse() 199 it->callback(it->app_id, AppAvailabilityResult::kUnknown); in CancelAppAvailabilityRequest()
|
D | cast_app_discovery_service_impl.cc | 106 const std::string& app_id, AppAvailabilityResult availability) { in RequestAppAvailability() 117 AppAvailabilityResult availability) { in UpdateAppAvailability() 167 case AppAvailabilityResult::kAvailable: in ShouldRefreshAppAvailability() 169 case AppAvailabilityResult::kUnavailable: in ShouldRefreshAppAvailability() 173 case AppAvailabilityResult::kUnknown: in ShouldRefreshAppAvailability()
|
D | cast_platform_client_unittest.cc | 68 [&ran](const std::string& app_id, AppAvailabilityResult availability) { in TEST_F() 70 EXPECT_EQ(availability, AppAvailabilityResult::kAvailable); in TEST_F() 96 [](const std::string& app_id, AppAvailabilityResult availability) { in TEST_F()
|
D | cast_app_availability_tracker.h | 53 AppAvailabilityResult availability;
|
D | cast_app_discovery_service_impl.h | 58 AppAvailabilityResult result);
|
D | cast_platform_client.h | 36 std::function<void(const std::string& app_id, AppAvailabilityResult)>;
|
/external/openscreen/cast/receiver/channel/ |
D | message_util.cc | 22 AppAvailabilityResult availability_result) { in CreateAppAvailabilityResponse() 28 availability_result == AppAvailabilityResult::kAvailable in CreateAppAvailabilityResponse() 54 AppAvailabilityResult::kAvailable); in CreateAppAvailableResponse() 61 AppAvailabilityResult::kUnavailable); in CreateAppUnavailableResponse()
|
/external/openscreen/cast/common/channel/ |
D | message_util.cc | 90 std::string ToString(AppAvailabilityResult availability) { in ToString() 92 case AppAvailabilityResult::kAvailable: in ToString() 94 case AppAvailabilityResult::kUnavailable: in ToString() 96 case AppAvailabilityResult::kUnknown: in ToString()
|
D | message_util.h | 158 enum class AppAvailabilityResult { enum 164 std::string ToString(AppAvailabilityResult availability);
|