/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | AbstractServiceTest.java | 40 NoOpService service = new NoOpService(); in testNoOpServiceStartStop() local 41 Assert.assertEquals(Service.State.NEW, service.state()); in testNoOpServiceStartStop() 42 assertFalse(service.isRunning()); in testNoOpServiceStartStop() 43 assertFalse(service.running); in testNoOpServiceStartStop() 45 service.start(); in testNoOpServiceStartStop() 46 assertEquals(Service.State.RUNNING, service.state()); in testNoOpServiceStartStop() 47 assertTrue(service.isRunning()); in testNoOpServiceStartStop() 48 assertTrue(service.running); in testNoOpServiceStartStop() 50 service.stop(); in testNoOpServiceStartStop() 51 assertEquals(Service.State.TERMINATED, service.state()); in testNoOpServiceStartStop() [all …]
|
D | AbstractExecutionThreadServiceTest.java | 58 WaitOnRunService service = new WaitOnRunService(); in testServiceStartStop() local 59 assertFalse(service.startUpCalled); in testServiceStartStop() 61 service.start().get(); in testServiceStartStop() 62 assertTrue(service.startUpCalled); in testServiceStartStop() 63 assertEquals(Service.State.RUNNING, service.state()); in testServiceStartStop() 67 service.stop().get(); in testServiceStartStop() 68 assertTrue(service.shutDownCalled); in testServiceStartStop() 69 assertEquals(Service.State.TERMINATED, service.state()); in testServiceStartStop() 75 WaitOnRunService service = new WaitOnRunService(); in testServiceStartStopIdempotence() local 77 service.start(); in testServiceStartStopIdempotence() [all …]
|
D | AbstractScheduledServiceTest.java | 60 NullService service = new NullService(); in testServiceStartStop() local 61 service.startAndWait(); in testServiceStartStop() 63 service.stopAndWait(); in testServiceStartStop() 76 TestService service = new TestService(); in testFailOnExceptionFromRun() local 77 service.runException = new Exception(); in testFailOnExceptionFromRun() 78 service.startAndWait(); in testFailOnExceptionFromRun() 79 service.runFirstBarrier.await(); in testFailOnExceptionFromRun() 80 service.runSecondBarrier.await(); in testFailOnExceptionFromRun() 87 assertEquals(service.runException, e.getCause().getCause()); in testFailOnExceptionFromRun() 89 assertEquals(service.state(), Service.State.FAILED); in testFailOnExceptionFromRun() [all …]
|
/external/chromium_org/gpu/ |
D | command_buffer_service.gypi | 28 'command_buffer/service/async_pixel_transfer_delegate.cc', 29 'command_buffer/service/async_pixel_transfer_delegate.h', 30 'command_buffer/service/async_pixel_transfer_manager_android.cc', 31 'command_buffer/service/async_pixel_transfer_manager_idle.cc', 32 'command_buffer/service/async_pixel_transfer_manager_idle.h', 33 'command_buffer/service/async_pixel_transfer_manager_linux.cc', 34 'command_buffer/service/async_pixel_transfer_manager_mac.cc', 35 'command_buffer/service/async_pixel_transfer_manager_share_group.cc', 36 'command_buffer/service/async_pixel_transfer_manager_share_group.h', 37 'command_buffer/service/async_pixel_transfer_manager_stub.cc', [all …]
|
D | BUILD.gn | 11 # gpu.gyp:command_buffer_service => //gpu/command_buffer/service 30 # gpu.gyp:disk_cache_proto => //gpu/command_buffer/service:disk_cache_proto 44 "//gpu/command_buffer/service", 53 "command_buffer/service/gles2_cmd_decoder_mock.cc", 54 "command_buffer/service/error_state_mock.cc", 159 "command_buffer/service/async_pixel_transfer_delegate_mock.h", 160 "command_buffer/service/async_pixel_transfer_delegate_mock.cc", 161 "command_buffer/service/async_pixel_transfer_manager_mock.h", 162 "command_buffer/service/async_pixel_transfer_manager_mock.cc", 163 "command_buffer/service/buffer_manager_unittest.cc", [all …]
|
D | command_buffer_service.target.linux-arm64.mk | 30 gpu/command_buffer/service/async_pixel_transfer_delegate.cc \ 31 gpu/command_buffer/service/async_pixel_transfer_manager_android.cc \ 32 gpu/command_buffer/service/async_pixel_transfer_manager_idle.cc \ 33 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc \ 34 gpu/command_buffer/service/async_pixel_transfer_manager_stub.cc \ 35 gpu/command_buffer/service/async_pixel_transfer_manager_sync.cc \ 36 gpu/command_buffer/service/async_pixel_transfer_manager.cc \ 37 gpu/command_buffer/service/buffer_manager.cc \ 38 gpu/command_buffer/service/cmd_parser.cc \ 39 gpu/command_buffer/service/command_buffer_service.cc \ [all …]
|
D | command_buffer_service.target.darwin-arm64.mk | 30 gpu/command_buffer/service/async_pixel_transfer_delegate.cc \ 31 gpu/command_buffer/service/async_pixel_transfer_manager_android.cc \ 32 gpu/command_buffer/service/async_pixel_transfer_manager_idle.cc \ 33 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc \ 34 gpu/command_buffer/service/async_pixel_transfer_manager_stub.cc \ 35 gpu/command_buffer/service/async_pixel_transfer_manager_sync.cc \ 36 gpu/command_buffer/service/async_pixel_transfer_manager.cc \ 37 gpu/command_buffer/service/buffer_manager.cc \ 38 gpu/command_buffer/service/cmd_parser.cc \ 39 gpu/command_buffer/service/command_buffer_service.cc \ [all …]
|
D | command_buffer_service.target.darwin-mips.mk | 30 gpu/command_buffer/service/async_pixel_transfer_delegate.cc \ 31 gpu/command_buffer/service/async_pixel_transfer_manager_android.cc \ 32 gpu/command_buffer/service/async_pixel_transfer_manager_idle.cc \ 33 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc \ 34 gpu/command_buffer/service/async_pixel_transfer_manager_stub.cc \ 35 gpu/command_buffer/service/async_pixel_transfer_manager_sync.cc \ 36 gpu/command_buffer/service/async_pixel_transfer_manager.cc \ 37 gpu/command_buffer/service/buffer_manager.cc \ 38 gpu/command_buffer/service/cmd_parser.cc \ 39 gpu/command_buffer/service/command_buffer_service.cc \ [all …]
|
D | command_buffer_service.target.linux-mips.mk | 30 gpu/command_buffer/service/async_pixel_transfer_delegate.cc \ 31 gpu/command_buffer/service/async_pixel_transfer_manager_android.cc \ 32 gpu/command_buffer/service/async_pixel_transfer_manager_idle.cc \ 33 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc \ 34 gpu/command_buffer/service/async_pixel_transfer_manager_stub.cc \ 35 gpu/command_buffer/service/async_pixel_transfer_manager_sync.cc \ 36 gpu/command_buffer/service/async_pixel_transfer_manager.cc \ 37 gpu/command_buffer/service/buffer_manager.cc \ 38 gpu/command_buffer/service/cmd_parser.cc \ 39 gpu/command_buffer/service/command_buffer_service.cc \ [all …]
|
D | command_buffer_service.target.linux-x86.mk | 30 gpu/command_buffer/service/async_pixel_transfer_delegate.cc \ 31 gpu/command_buffer/service/async_pixel_transfer_manager_android.cc \ 32 gpu/command_buffer/service/async_pixel_transfer_manager_idle.cc \ 33 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc \ 34 gpu/command_buffer/service/async_pixel_transfer_manager_stub.cc \ 35 gpu/command_buffer/service/async_pixel_transfer_manager_sync.cc \ 36 gpu/command_buffer/service/async_pixel_transfer_manager.cc \ 37 gpu/command_buffer/service/buffer_manager.cc \ 38 gpu/command_buffer/service/cmd_parser.cc \ 39 gpu/command_buffer/service/command_buffer_service.cc \ [all …]
|
/external/chromium_org/chrome/browser/sync/test/integration/ |
D | profile_sync_service_harness.cc | 43 bool HasAuthError(ProfileSyncService* service) { in HasAuthError() argument 44 return service->GetAuthError().state() == in HasAuthError() 46 service->GetAuthError().state() == in HasAuthError() 48 service->GetAuthError().state() == in HasAuthError() 54 explicit BackendInitializeChecker(ProfileSyncService* service) in BackendInitializeChecker() argument 55 : SingleClientStatusChangeChecker(service) {} in BackendInitializeChecker() 58 if (service()->backend_mode() != ProfileSyncService::SYNC) in IsExitConditionSatisfied() 60 if (service()->sync_initialized()) in IsExitConditionSatisfied() 63 if (HasAuthError(service())) in IsExitConditionSatisfied() 66 if (service()->IsRetryingAccessTokenFetchForTest()) in IsExitConditionSatisfied() [all …]
|
/external/chromium_org/chrome/browser/background/ |
D | background_application_list_model_unittest.cc | 136 void AddBackgroundPermission(ExtensionService* service, in AddBackgroundPermission() argument 139 service->profile())) { in AddBackgroundPermission() 147 extensions::PermissionsUpdater(service->profile()).AddPermissions( in AddBackgroundPermission() 151 void RemoveBackgroundPermission(ExtensionService* service, in RemoveBackgroundPermission() argument 154 service->profile())) { in RemoveBackgroundPermission() 157 extensions::PermissionsUpdater(service->profile()).RemovePermissions( in RemoveBackgroundPermission() 161 void AddEphemeralApp(const Extension* extension, ExtensionService* service) { in AddEphemeralApp() argument 163 extensions::ExtensionPrefs::Get(service->profile()); in AddEphemeralApp() 171 service->AddExtension(extension); in AddEphemeralApp() 187 ExtensionService* service = extensions::ExtensionSystem::Get(profile_.get())-> in TEST_F() local [all …]
|
/external/chromium_org/chrome/browser/ui/global_error/ |
D | global_error_service_unittest.cc | 73 scoped_ptr<GlobalErrorService> service(new GlobalErrorService(NULL)); in TEST() local 74 EXPECT_EQ(0u, service->errors().size()); in TEST() 77 service->AddGlobalError(error1); in TEST() 78 EXPECT_EQ(1u, service->errors().size()); in TEST() 79 EXPECT_EQ(error1, service->errors()[0]); in TEST() 82 service->AddGlobalError(error2); in TEST() 83 EXPECT_EQ(2u, service->errors().size()); in TEST() 84 EXPECT_EQ(error1, service->errors()[0]); in TEST() 85 EXPECT_EQ(error2, service->errors()[1]); in TEST() 89 service.reset(); in TEST() [all …]
|
/external/chromium_org/chrome/browser/sync/ |
D | sync_ui_util_unittest.cc | 53 void VerifySyncGlobalErrorResult(NiceMock<ProfileSyncServiceMock>* service, in VerifySyncGlobalErrorResult() argument 57 EXPECT_CALL(*service, HasSyncSetupCompleted()) in VerifySyncGlobalErrorResult() 61 EXPECT_CALL(*service, GetAuthError()).WillRepeatedly(ReturnRef(auth_error)); in VerifySyncGlobalErrorResult() 65 service, &label1, &label2, &label3); in VerifySyncGlobalErrorResult() 86 NiceMock<ProfileSyncServiceMock> service(profile.get()); in TEST_F() local 88 EXPECT_CALL(service, QueryDetailedSyncStatus(_)) in TEST_F() 90 EXPECT_CALL(service, IsPassphraseRequired()) in TEST_F() 92 EXPECT_CALL(service, IsPassphraseRequiredForDecryption()) in TEST_F() 95 VerifySyncGlobalErrorResult(&service, in TEST_F() 106 NiceMock<ProfileSyncServiceMock> service(profile.get()); in TEST_F() local [all …]
|
D | sync_ui_util.cc | 51 base::string16 GetSyncedStateStatusLabel(ProfileSyncService* service, in GetSyncedStateStatusLabel() argument 68 if (!service || service->IsManaged()) { in GetSyncedStateStatusLabel() 72 } else if (service->IsStartSuppressed()) { in GetSyncedStateStatusLabel() 79 if (!service || !service->sync_initialized()) { in GetSyncedStateStatusLabel() 133 MessageType GetStatusInfo(ProfileSyncService* service, in GetStatusInfo() argument 145 if (!service || service->IsManaged() || service->HasSyncSetupCompleted() || in GetStatusInfo() 146 service->IsStartSuppressed()) { in GetStatusInfo() 150 if (service && service->HasUnrecoverableError()) { in GetStatusInfo() 169 if (service) { in GetStatusInfo() 172 ProfileOAuth2TokenServiceFactory::GetForProfile(service->profile())-> in GetStatusInfo() [all …]
|
/external/chromium_org/chrome/browser/ui/app_list/ |
D | app_list_service_interactive_uitest.cc | 68 AppListService* service = test::GetAppListService(); in IN_PROC_BROWSER_TEST_F() local 69 ASSERT_FALSE(service->IsAppListVisible()); in IN_PROC_BROWSER_TEST_F() 70 service->ShowForProfile(browser()->profile()); in IN_PROC_BROWSER_TEST_F() 71 ASSERT_TRUE(service->IsAppListVisible()); in IN_PROC_BROWSER_TEST_F() 72 service->DismissAppList(); in IN_PROC_BROWSER_TEST_F() 73 ASSERT_FALSE(service->IsAppListVisible()); in IN_PROC_BROWSER_TEST_F() 81 AppListService* service = test::GetAppListService(); in IN_PROC_BROWSER_TEST_F() local 82 ASSERT_TRUE(service); in IN_PROC_BROWSER_TEST_F() 84 AppListControllerDelegate* controller(service->GetControllerDelegate()); in IN_PROC_BROWSER_TEST_F() 88 ASSERT_FALSE(service->IsAppListVisible()); in IN_PROC_BROWSER_TEST_F() [all …]
|
/external/chromium_org/content/browser/appcache/ |
D | appcache_storage_unittest.cc | 28 MockAppCacheService service; in TEST_F() local 29 scoped_refptr<AppCache> cache(new AppCache(service.storage(), 111)); in TEST_F() 32 service.storage()->working_set()->GetCache(111)); in TEST_F() 34 service.storage()->working_set()->RemoveCache(cache.get()); in TEST_F() 36 EXPECT_TRUE(!service.storage()->working_set()->GetCache(111)); in TEST_F() 44 MockAppCacheService service; in TEST_F() local 46 new AppCacheGroup(service.storage(), GURL(), 111)); in TEST_F() 48 EXPECT_EQ(group.get(), service.storage()->working_set()->GetGroup(GURL())); in TEST_F() 50 service.storage()->working_set()->RemoveGroup(group.get()); in TEST_F() 52 EXPECT_TRUE(!service.storage()->working_set()->GetGroup(GURL())); in TEST_F() [all …]
|
/external/qemu/proxy/ |
D | proxy_http.c | 22 http_service_free( HttpService* service ) in http_service_free() argument 25 if (service->footer != service->footer0) in http_service_free() 26 g_free(service->footer); in http_service_free() 27 g_free(service); in http_service_free() 32 http_service_connect( HttpService* service, in http_service_connect() argument 41 if (sock_address_equal( address, &service->server_addr )) in http_service_connect() 50 return http_rewriter_connect(service, address); in http_service_connect() 53 return http_connector_connect(service, address); in http_service_connect() 65 HttpService* service; in proxy_http_setup() local 87 service = g_malloc0(sizeof(*service)); in proxy_http_setup() [all …]
|
/external/chromium_org/chrome/browser/extensions/api/mdns/ |
D | dns_sd_registry_unittest.cc | 103 DnsSdService service; in TEST_F() local 104 service.service_name = "_myDevice." + service_type; in TEST_F() 105 service.ip_address = ip_address1; in TEST_F() 112 service_list.push_back(service); in TEST_F() 117 service.ip_address = ip_address2; in TEST_F() 118 service_list.push_back(service); in TEST_F() 122 service.ip_address = ip_address1; in TEST_F() 123 registry_->GetDelegate()->ServiceChanged(service_type, true, service); in TEST_F() 124 service.ip_address = ip_address2; in TEST_F() 125 registry_->GetDelegate()->ServiceChanged(service_type, false, service); in TEST_F() [all …]
|
/external/freetype/src/base/ |
D | fttype1.c | 36 FT_Service_PsInfo service = NULL; in FT_Get_PS_Font_Info() local 39 FT_FACE_FIND_SERVICE( face, service, POSTSCRIPT_INFO ); in FT_Get_PS_Font_Info() 41 if ( service && service->ps_get_font_info ) in FT_Get_PS_Font_Info() 42 error = service->ps_get_font_info( face, afont_info ); in FT_Get_PS_Font_Info() 55 FT_Service_PsInfo service = NULL; in FT_Has_PS_Glyph_Names() local 60 FT_FACE_FIND_SERVICE( face, service, POSTSCRIPT_INFO ); in FT_Has_PS_Glyph_Names() 62 if ( service && service->ps_has_glyph_names ) in FT_Has_PS_Glyph_Names() 63 result = service->ps_has_glyph_names( face ); in FT_Has_PS_Glyph_Names() 81 FT_Service_PsInfo service = NULL; in FT_Get_PS_Font_Private() local 84 FT_FACE_FIND_SERVICE( face, service, POSTSCRIPT_INFO ); in FT_Get_PS_Font_Private() [all …]
|
D | ftmm.c | 72 FT_Service_MultiMasters service; in FT_Get_Multi_Master() local 75 error = ft_face_get_mm_service( face, &service ); in FT_Get_Multi_Master() 79 if ( service->get_mm ) in FT_Get_Multi_Master() 80 error = service->get_mm( face, amaster ); in FT_Get_Multi_Master() 94 FT_Service_MultiMasters service; in FT_Get_MM_Var() local 97 error = ft_face_get_mm_service( face, &service ); in FT_Get_MM_Var() 101 if ( service->get_mm_var ) in FT_Get_MM_Var() 102 error = service->get_mm_var( face, amaster ); in FT_Get_MM_Var() 117 FT_Service_MultiMasters service; in FT_Set_MM_Design_Coordinates() local 120 error = ft_face_get_mm_service( face, &service ); in FT_Set_MM_Design_Coordinates() [all …]
|
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/ |
D | fttype1.c | 36 FT_Service_PsInfo service = NULL; in FT_Get_PS_Font_Info() local 39 FT_FACE_FIND_SERVICE( face, service, POSTSCRIPT_INFO ); in FT_Get_PS_Font_Info() 41 if ( service && service->ps_get_font_info ) in FT_Get_PS_Font_Info() 42 error = service->ps_get_font_info( face, afont_info ); in FT_Get_PS_Font_Info() 55 FT_Service_PsInfo service = NULL; in FT_Has_PS_Glyph_Names() local 60 FT_FACE_FIND_SERVICE( face, service, POSTSCRIPT_INFO ); in FT_Has_PS_Glyph_Names() 62 if ( service && service->ps_has_glyph_names ) in FT_Has_PS_Glyph_Names() 63 result = service->ps_has_glyph_names( face ); in FT_Has_PS_Glyph_Names() 81 FT_Service_PsInfo service = NULL; in FT_Get_PS_Font_Private() local 84 FT_FACE_FIND_SERVICE( face, service, POSTSCRIPT_INFO ); in FT_Get_PS_Font_Private() [all …]
|
D | fxft_ftmm.c | 72 FT_Service_MultiMasters service; in FT_Get_Multi_Master() local 75 error = ft_face_get_mm_service( face, &service ); in FT_Get_Multi_Master() 79 if ( service->get_mm ) in FT_Get_Multi_Master() 80 error = service->get_mm( face, amaster ); in FT_Get_Multi_Master() 94 FT_Service_MultiMasters service; in FT_Get_MM_Var() local 97 error = ft_face_get_mm_service( face, &service ); in FT_Get_MM_Var() 101 if ( service->get_mm_var ) in FT_Get_MM_Var() 102 error = service->get_mm_var( face, amaster ); in FT_Get_MM_Var() 117 FT_Service_MultiMasters service; in FT_Set_MM_Design_Coordinates() local 120 error = ft_face_get_mm_service( face, &service ); in FT_Set_MM_Design_Coordinates() [all …]
|
/external/chromium_org/third_party/freetype/src/base/ |
D | fttype1.c | 36 FT_Service_PsInfo service = NULL; in FT_Get_PS_Font_Info() local 39 FT_FACE_FIND_SERVICE( face, service, POSTSCRIPT_INFO ); in FT_Get_PS_Font_Info() 41 if ( service && service->ps_get_font_info ) in FT_Get_PS_Font_Info() 42 error = service->ps_get_font_info( face, afont_info ); in FT_Get_PS_Font_Info() 55 FT_Service_PsInfo service = NULL; in FT_Has_PS_Glyph_Names() local 60 FT_FACE_FIND_SERVICE( face, service, POSTSCRIPT_INFO ); in FT_Has_PS_Glyph_Names() 62 if ( service && service->ps_has_glyph_names ) in FT_Has_PS_Glyph_Names() 63 result = service->ps_has_glyph_names( face ); in FT_Has_PS_Glyph_Names() 81 FT_Service_PsInfo service = NULL; in FT_Get_PS_Font_Private() local 84 FT_FACE_FIND_SERVICE( face, service, POSTSCRIPT_INFO ); in FT_Get_PS_Font_Private() [all …]
|
D | ftmm.c | 72 FT_Service_MultiMasters service; in FT_Get_Multi_Master() local 75 error = ft_face_get_mm_service( face, &service ); in FT_Get_Multi_Master() 79 if ( service->get_mm ) in FT_Get_Multi_Master() 80 error = service->get_mm( face, amaster ); in FT_Get_Multi_Master() 94 FT_Service_MultiMasters service; in FT_Get_MM_Var() local 97 error = ft_face_get_mm_service( face, &service ); in FT_Get_MM_Var() 101 if ( service->get_mm_var ) in FT_Get_MM_Var() 102 error = service->get_mm_var( face, amaster ); in FT_Get_MM_Var() 117 FT_Service_MultiMasters service; in FT_Set_MM_Design_Coordinates() local 120 error = ft_face_get_mm_service( face, &service ); in FT_Set_MM_Design_Coordinates() [all …]
|