HomeSort by relevance Sort by last modified time
    Searched refs:broker (Results 1 - 25 of 32) sorted by null

1 2

  /external/chromium_org/ppapi/c/trusted/
ppb_broker_trusted.h 25 * access to a trusted broker with greater privileges than the plugin.
34 * The PPB_BrokerTrusted interface provides access to a trusted broker
39 * A PPB_BrokerTrusted resource represents a connection to the broker. Its
40 * lifetime controls the lifetime of the broker, regardless of whether the
46 * Returns a trusted broker resource.
50 * Returns true if the resource is a trusted broker.
54 * Connects to the trusted broker. It may have already
67 int32_t (*Connect)(PP_Resource broker,
77 int32_t (*GetHandle)(PP_Resource broker, int32_t* handle);
79 * Returns PP_TRUE if the plugin has permission to launch the broker. A use
    [all...]
  /external/chromium_org/ppapi/api/trusted/
ppb_broker_trusted.idl 8 * access to a trusted broker with greater privileges than the plugin.
17 * The PPB_BrokerTrusted interface provides access to a trusted broker
22 * A PPB_BrokerTrusted resource represents a connection to the broker. Its
23 * lifetime controls the lifetime of the broker, regardless of whether the
30 * Returns a trusted broker resource.
35 * Returns true if the resource is a trusted broker.
40 * Connects to the trusted broker. It may have already
53 int32_t Connect([in] PP_Resource broker,
64 int32_t GetHandle([in] PP_Resource broker, [out] int32_t handle);
67 * Returns PP_TRUE if the plugin has permission to launch the broker. A use
    [all...]
  /external/chromium_org/chrome/browser/chromeos/policy/
device_local_account_policy_provider.cc 38 DeviceLocalAccountPolicyBroker* broker = GetBroker(); local
39 if (broker && broker->core()->service()) {
41 broker->core()->service()->RefreshPolicy(
69 DeviceLocalAccountPolicyBroker* broker = GetBroker(); local
71 if (broker) {
72 store_initialized_ |= broker->core()->store()->is_initialized();
74 // Copy policy from the broker.
76 .CopyFrom(broker->core()->store()->policy_map());
device_local_account_policy_service.cc 34 // Creates a broker for the device-local account with the given |user_id| and
45 scoped_ptr<DeviceLocalAccountPolicyBroker> broker(
47 broker->core()->store()->AddObserver(device_local_account_policy_service);
48 broker->core()->store()->Load();
49 return broker.Pass();
119 : parent(NULL), broker(NULL) {}
123 if (!broker) {
124 broker = CreateBroker(user_id, account_id,
129 return broker;
133 if (broker && broker->core()->client()
210 DeviceLocalAccountPolicyBroker* broker = GetBrokerForUser(user_id); local
241 DeviceLocalAccountPolicyBroker* broker = GetBrokerForStore(store); local
250 DeviceLocalAccountPolicyBroker* broker = GetBrokerForStore(store); local
    [all...]
device_local_account_policy_service_unittest.cc 146 DeviceLocalAccountPolicyBroker* broker = local
148 ASSERT_TRUE(broker);
149 EXPECT_EQ(public_session_user_id_, broker->user_id());
150 ASSERT_TRUE(broker->core()->store());
151 EXPECT_EQ(CloudPolicyStore::STATUS_OK, broker->core()->store()->status());
152 EXPECT_FALSE(broker->core()->client());
153 EXPECT_TRUE(broker->core()->store()->policy_map().empty());
160 DeviceLocalAccountPolicyBroker* broker = local
162 ASSERT_TRUE(broker);
166 ASSERT_TRUE(broker->core()->store())
182 DeviceLocalAccountPolicyBroker* broker = local
201 DeviceLocalAccountPolicyBroker* broker = local
225 DeviceLocalAccountPolicyBroker* broker = local
245 DeviceLocalAccountPolicyBroker* broker = local
276 DeviceLocalAccountPolicyBroker* broker = local
309 DeviceLocalAccountPolicyBroker* broker = local
367 DeviceLocalAccountPolicyBroker* broker = local
477 DeviceLocalAccountPolicyBroker* broker = local
538 DeviceLocalAccountPolicyBroker* broker = local
    [all...]
device_local_account_policy_service.h 98 // Get the policy broker for a given |user_id|. Returns NULL if that |user_id|
122 // Return the |broker|, creating it first if necessary.
132 // Delete the broker.
138 DeviceLocalAccountPolicyBroker* broker; member in struct:policy::DeviceLocalAccountPolicyService::PolicyBrokerWrapper
150 // Find the broker for a given |store|. Returns NULL if |store| is unknown.
  /external/chromium_org/ppapi/proxy/
ppb_broker_proxy.h 36 void OnMsgConnect(const ppapi::HostResource& broker);
37 void OnMsgConnectComplete(const ppapi::HostResource& broker,
ppb_broker_proxy.cc 27 class Broker : public PPB_Broker_API, public Resource {
29 explicit Broker(const HostResource& resource);
30 virtual ~Broker();
54 DISALLOW_COPY_AND_ASSIGN(Broker);
57 Broker::Broker(const HostResource& resource)
63 Broker::~Broker() {
67 PPB_Broker_API* Broker::AsPPB_Broker_API() {
71 int32_t Broker::Connect(scoped_refptr<TrackedCallback> connect_callback)
    [all...]
  /external/chromium_org/ppapi/tests/
test_broker.cc 27 REGISTER_TEST_CASE(Broker);
31 const char kHelloMessage[] = "Hello Plugin! This is Broker!";
32 // Message sent from broker to plugin if the broker is unsandboxed.
33 const char kBrokerUnsandboxed[] = "Broker is Unsandboxed!";
34 // Message sent from broker to plugin if the broker is sandboxed. This message
36 // |kBrokerUnsandboxed|. If it's shorter and the broker doesn't close its handle
39 const char kBrokerSandboxed[] = "Broker is Sandboxed! Verification failed!";
159 // Callback in the broker when a new broker connection occurs
260 PP_Resource broker = broker_interface_->CreateTrusted( local
269 PP_Resource broker = broker_interface_->CreateTrusted( local
295 PP_Resource broker = broker_interface_->CreateTrusted( local
310 PP_Resource broker = broker_interface_->CreateTrusted( local
324 PP_Resource broker = broker_interface_->CreateTrusted( local
333 PP_Resource broker = broker_interface_->CreateTrusted( local
    [all...]
  /external/chromium_org/sandbox/win/src/
policy_target_test.cc 218 BrokerServices* broker = GetBroker(); local
221 TargetPolicy* temp_policy = broker->CreatePolicy();
225 ASSERT_TRUE(broker != NULL);
239 TargetPolicy* policy = broker->CreatePolicy();
242 result = broker->SpawnTarget(prog_name, arguments.c_str(), policy,
264 temp_policy = broker->CreatePolicy();
278 BrokerServices* broker = GetBroker(); local
281 TargetPolicy* temp_policy = broker->CreatePolicy();
285 ASSERT_TRUE(broker != NULL);
299 TargetPolicy* policy = broker->CreatePolicy()
    [all...]
filesystem_dispatcher.cc 97 ULONG broker = TRUE; local
102 params[OpenFile::BROKER] = ParamPickerMake(broker);
139 ULONG broker = TRUE; local
144 params[OpenFile::BROKER] = ParamPickerMake(broker);
179 ULONG broker = TRUE; local
183 params[FileName::BROKER] = ParamPickerMake(broker);
217 ULONG broker = TRUE local
269 ULONG broker = TRUE; local
    [all...]
filesystem_interception.cc 55 ULONG broker = FALSE; local
60 params[OpenFile::BROKER] = ParamPickerMake(broker);
126 ULONG broker = FALSE; local
131 params[OpenFile::BROKER] = ParamPickerMake(broker);
193 ULONG broker = FALSE; local
196 params[FileName::BROKER] = ParamPickerMake(broker);
251 ULONG broker = FALSE local
323 ULONG broker = FALSE; local
    [all...]
app_container_test.cc 81 runner.broker()->InstallAppContainer(kAppContainerSid,
91 runner.broker()->UninstallAppContainer(kAppContainerSid));
105 runner.broker()->InstallAppContainer(kAppContainerSid,
114 runner.broker()->UninstallAppContainer(kAppContainerSid));
broker_services.cc 53 // Helper structure that allows the Broker to associate a job notification
63 // Helper structure that allows the broker to track peer processes
92 // The broker uses a dedicated worker thread that services the job completion
114 // The destructor should only be called when the Broker process is terminating.
132 // Cannot clean broker services.
189 BrokerServicesBase* broker = reinterpret_cast<BrokerServicesBase*>(param); local
190 HANDLE port = broker->job_port_;
191 HANDLE no_targets = broker->no_targets_;
234 AutoLock lock(&broker->lock_);
235 broker->child_process_ids_.erase(reinterpret_cast<DWORD>(ovl))
    [all...]
  /external/chromium_org/sandbox/win/tests/integration_tests/
integration_tests_test.cc 162 ASSERT_EQ(SBOX_ALL_OK, runner.broker()->WaitForAllTargets());
172 ASSERT_EQ(SBOX_ALL_OK, runner.broker()->WaitForAllTargets());
173 // In this case the processes are not tracked by the broker and should be
195 // Actually both runners share the same singleton broker.
196 ASSERT_EQ(SBOX_ALL_OK, runner.broker()->WaitForAllTargets());
197 // In this case the processes are not tracked by the broker and should be
221 // Actually both runners share the same singleton broker.
222 ASSERT_EQ(SBOX_ALL_OK, runner.broker()->WaitForAllTargets());
223 // In this case the processes are not tracked by the broker and should be
246 // Actually both runners share the same singleton broker
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_MimeWriter.py 33 broker = kos.broker()
35 seller = broker.lookup('Seller_1.Seller', 'B4')
160 broker = kos.broker()
162 seller = broker.lookup('Seller_1.Seller', 'B4')
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_MimeWriter.py 33 broker = kos.broker()
35 seller = broker.lookup('Seller_1.Seller', 'B4')
160 broker = kos.broker()
162 seller = broker.lookup('Seller_1.Seller', 'B4')
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
DataManager.java 302 NotifyBroker broker = null; local
304 broker = mNotifierMap.get(uri);
305 if (broker == null) {
306 broker = new NotifyBroker(mDefaultMainHandler);
308 .registerContentObserver(uri, true, broker);
309 mNotifierMap.put(uri, broker);
312 broker.registerNotifier(notifier);
  /packages/apps/Gallery2/src/com/android/gallery3d/ingest/adapter/
MtpPagerAdapter.java 41 public MtpPagerAdapter(Context context, CheckBroker broker) {
44 mBroker = broker;
  /external/chromium/chrome/browser/
mach_broker_mac.cc 31 MachBroker* broker)
32 : broker_(broker) { }
59 MachListenerThreadDelegate(MachBroker* broker) : broker_(broker) {
173 // Removes all mappings belonging to |pid| from the broker.
  /external/chromium_org/sandbox/win/tests/common/
controller.cc 73 static BrokerServices* broker = SandboxFactory::GetBrokerServices(); local
76 if (!broker) {
81 if (SBOX_ALL_OK != broker->Init())
87 return broker;
  /external/chromium_org/content/browser/
child_process_launcher.cc 276 MachBroker* broker = MachBroker::GetInstance(); local
277 broker->GetLock().Acquire();
281 broker->EnsureRunning();
288 broker->AddPlaceholderForPid(handle);
290 // After updating the broker, release the lock and let the child's
291 // messasge be processed on the broker's thread.
292 broker->GetLock().Release();
  /frameworks/base/tools/aidl/
generate_java_rpc.cpp 14 Type* RPC_BROKER_TYPE = new Type("android.support.place.connector", "Broker",
294 Variable* broker; member in class:RpcProxyClass
309 // broker
310 this->broker = new Variable(RPC_BROKER_TYPE, "_broker");
311 this->elements.push_back(new Field(PRIVATE, this->broker));
328 Variable* broker = new Variable(RPC_BROKER_TYPE, "broker"); local
334 ctor->parameters.push_back(broker);
338 ctor->statements->Add(new Assignment(this->broker, broker));
398 Variable* broker = new Variable(RPC_BROKER_TYPE, "broker"); local
479 Variable* broker = new Variable(RPC_BROKER_TYPE, "broker"); local
    [all...]
  /external/chromium_org/sandbox/win/sandbox_poc/
main_ui_window.h 36 // broker);
41 // This class encapsulates the Main UI window for the broker application.
52 // passed in directly from winmain. The 'broker' argument is a pointer to a
58 sandbox::BrokerServices* broker);
119 // NOTE: The broker does not know if the target EXE successfully loaded the
121 // Returns true if the broker reports that it was successful in creating
166 // broker will spawn and ask to load the DLL.
187 // Pipe used to communicate the logs between the target and the broker.
  /external/chromium_org/content/renderer/pepper/
plugin_module.h 186 void SetBroker(PepperBroker* broker);
247 // Non-owning pointer to the broker for this plugin module, if one exists.

Completed in 413 milliseconds

1 2