Home
last modified time | relevance | path

Searched refs:bindService (Results 1 – 25 of 122) sorted by relevance

12345

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
DTileLifecycleManagerTests.java83 bindService(); in testBind()
88 bindService(); in testUnbind()
95 bindService(); in testTileServiceCallbacks()
115 bindService(); in testAddedBeforeBind()
124 bindService(); in testListeningBeforeBind()
135 bindService(); in testClickBeforeBind()
147 bindService(); in testListeningNotListeningBeforeBind()
160 bindService(); in testNoClickOfNotListeningAnymore()
175 bindService(); in testComponentEnabling()
185 bindService(); in testKillProcess()
[all …]
/frameworks/base/docs/html-intl/intl/ja/guide/components/
Dservices.jd72 android.content.Context#bindService bindService()} を呼び出してサービスにバインドすると、サービスは「バインドされた」状態になります。バインドされた…
138 <dd>{@link android.content.Context#bindService
139 bindService()} を呼び出して他のコンポーネントをサービスにバインドさせるとき(RPC 実行時など)に、システムがこのメソッドを呼び出します。
160 <p>コンポーネントが {@link android.content.Context#bindService bindService()} を呼び出してサービスを作成した(そして {@link
570 android.content.Context#bindService bindService()} を呼び出してサービスにバインドできるようにするサービスです(通常はコンポーネントが {@link
580 その後、他のアプリケーション コンポーネントが {@link android.content.Context#bindService bindService()} を呼び出してインターフェースを取得…
685 android.content.Context#bindService bindService()} を呼び出したときにサービスが作成されます。その後、クライアントが {@link android.…
696 android.content.Context#bindService bindService()} を呼び出すことでアクティビティをサービスにバインドできます。
726 …/ A client is binding to the service with {@link android.content.Context#bindService bindService()}
736 … A client is binding to the service with {@link android.content.Context#bindService bindService()},
[all …]
Dbound-services.jd69 android.content.Context#bindService bindService()} を呼び出してサービスにバインドできます。
90 <p>クライアントは、{@link android.content.Context#bindService
91 bindService()} を呼び出せばサービスにバインドできます。バインドするときは、サービスとの接続を監視する {@link
93 android.content.Context#bindService bindService()} メソッドは値なしですぐに返されますが、Android システムがクライアントとサービス間の接続を…
261 bindService(intent, mConnection, Context.BIND_AUTO_CREATE);
286 /** Defines callbacks for service binding, passed to bindService() */
463 bindService(new Intent(this, MessengerService.class), mConnection,
496 <p>アプリケーションのコンポーネント(クライアント)は、{@link android.content.Context#bindService bindService()} を呼び出してサービスにバ…
501 <p>バインドは非同期的に行われます。{@link android.content.Context#bindService
502 bindService()} は瞬時に返され、{@link android.os.IBinder} はクライアントには<em>返されません</em>。
[all …]
/frameworks/base/docs/html-intl/intl/ru/guide/components/
Dservices.jd72 android.content.Context#bindService bindService()}. Привязанная служба предлагает интерфейс клиент-…
139 …для выполнения удаленного вызова процедуры) путем вызова {@link android.content.Context#bindService
140 bindService()}. В вашей реализации этого метода вы должны обеспечить интерфейс, который клиенты
161 {@link android.content.Context#bindService bindService()} для создания службы (и {@link
570 android.content.Context#bindService bindService()} для создания долговременного соединения
581 метод {@link android.content.Context#bindService bindService()} для извлечения интерфейса и
685 android.content.Context#bindService bindService()}. Затем клиент взаимодействует со службой
698 android.content.Context#bindService bindService()}. В подобных случаях методы {@link
726 …/ A client is binding to the service with {@link android.content.Context#bindService bindService()}
736 … A client is binding to the service with {@link android.content.Context#bindService bindService()},
[all …]
Dbound-services.jd71 android.content.Context#bindService bindService()}.
90 <p>Для привязки к службе клиент может вызвать метод {@link android.content.Context#bindService
91 bindService()}. После привязки он должен предоставить реализацию метода {@link
93 android.content.Context#bindService bindService()} возвращается незамедлительно без значения, однако
261 bindService(intent, mConnection, Context.BIND_AUTO_CREATE);
286 /** Defines callbacks for service binding, passed to bindService() */
463 bindService(new Intent(this, MessengerService.class), mConnection,
497 {@link android.content.Context#bindService bindService()}. После этого система Android
501 <p>Привязка выполняется асинхронно. {@link android.content.Context#bindService
502 bindService()} возвращается сразу же и <em>не</em> возвращает клиенту объект
[all …]
/frameworks/base/docs/html-intl/intl/ko/guide/components/
Dservices.jd72 android.content.Context#bindService bindService()}를 사용하여 해당 서비스에 바인딩되면 됩니다. 바인딩된 서비스는 클라이언트-서버
139 (예를 들어 RPC를 수행하기 위해)입니다. 이때 {@link android.content.Context#bindService
140 bindService()}를 호출하는 방법을 씁니다. 이 메서드를 구현할 때에는 클라이언트가 서비스와 통신을 주고받기 위해 사용할
161 {@link android.content.Context#bindService bindService()}를 호출하여 서비스를 생성하는 경우(그리고 {@link
570 android.content.Context#bindService bindService()}를 호출하여 오래 지속되는 연결을 생성합니다
581 {@link android.content.Context#bindService bindService()}를 호출하여 해당 인터페이스를 검색하고, 서비스에 있는 메서드를
685 android.content.Context#bindService bindService()}를 호출하면 생성됩니다. 그러면 클라이언트가
698 android.content.Context#bindService bindService()}를 사용하면 됩니다. 이런 경우에는 {@link
726 …/ A client is binding to the service with {@link android.content.Context#bindService bindService()}
736 … A client is binding to the service with {@link android.content.Context#bindService bindService()},
[all …]
Dbound-services.jd71 android.content.Context#bindService bindService()}를 호출하면 클라이언트가 해당 서비스에 바인딩되도록 할 수 있다는 것입니다.
90 <p>클라이언트가 서비스에 바인딩하려면 {@link android.content.Context#bindService
91 bindService()}를 호출하면 됩니다. 이 때, 반드시 {@link
93 android.content.Context#bindService bindService()} 메서드는 값 없이 즉시 반환됩니다.
261 bindService(intent, mConnection, Context.BIND_AUTO_CREATE);
286 /** Defines callbacks for service binding, passed to bindService() */
463 bindService(new Intent(this, MessengerService.class), mConnection,
497 {@link android.content.Context#bindService bindService()}를 호출하면 됩니다. 그러면 Android
501 <p>바인딩은 비동기식입니다. {@link android.content.Context#bindService
502 bindService()}는 즉시 반환하고 클라이언트에게 {@link android.os.IBinder}를 반환하지 <em>않습니다</em>.
[all …]
/frameworks/base/docs/html-intl/intl/zh-tw/guide/components/
Dservices.jd72 android.content.Context#bindService bindService()} 來繫結至服務。已繫結的服務提供主從式介面,讓元件可以與服務互動、傳送要求、取得結果,甚至可以使用…
138 <dd>當其他元件想要與服務 (如執行 RPC) 繫結時,系統會透過呼叫 {@link android.content.Context#bindService
139 bindService()} 來呼叫此方法。
161 {@link android.content.Context#bindService bindService()} 來建立服務 (且「沒有」呼叫 {@link
570 android.content.Context#bindService bindService()} 來建立繫結的服務,這是為了建立長期的連線 (一般而言,並不允許元件透過呼叫 {@link
581 {@link android.content.Context#bindService bindService()} 來擷取介面並開始服務上的呼叫方法。
685 android.content.Context#bindService bindService()} 時,會建立服務。然後用戶端會透過
696 android.content.Context#bindService bindService()}。
726 …/ A client is binding to the service with {@link android.content.Context#bindService bindService()}
736 … A client is binding to the service with {@link android.content.Context#bindService bindService()},
[all …]
Dbound-services.jd69 android.content.Context#bindService bindService()},讓用戶端繫結至此服務。
90 <p>用戶端可以透過呼叫 {@link android.content.Context#bindService
91 bindService()} 繫結至服務。這麼做時,用戶端必須實作 {@link
93 android.content.Context#bindService bindService()} 方法會立即傳回 (不含值),當 Android 系統在用戶端和服務之間建立連線時,會呼叫 {@l…
261 bindService(intent, mConnection, Context.BIND_AUTO_CREATE);
286 /** Defines callbacks for service binding, passed to bindService() */
463 bindService(new Intent(this, MessengerService.class), mConnection,
497 {@link android.content.Context#bindService bindService()},繫結至服務。然後,Android 系統會呼叫服務的 {@link android.…
501 <p>繫結為非同步。{@link android.content.Context#bindService
502 bindService()} 會立即傳回,但「不會」將<em></em> {@link android.os.IBinder} 傳回給用戶端。
[all …]
/frameworks/base/docs/html-intl/intl/zh-cn/guide/components/
Dservices.jd72 android.content.Context#bindService bindService()} 绑定到服务时,服务即处于“绑定”状态。绑定服务提供了一个客户端-服务器接口,允许组件与服务进行交…
138 <dd>当另一个组件想通过调用 {@link android.content.Context#bindService
139 bindService()}
161 {@link android.content.Context#bindService bindService()} 来创建服务(且<em>未</em>调用
570 android.content.Context#bindService bindService()} 与其绑定,以便创建长期连接(通常不允许组件通过调用
581 {@link android.content.Context#bindService bindService()}
685 android.content.Context#bindService bindService()} 时创建。然后,客户端通过
697 android.content.Context#bindService bindService()}
726 …/ A client is binding to the service with {@link android.content.Context#bindService bindService()}
736 … A client is binding to the service with {@link android.content.Context#bindService bindService()},
[all …]
Dbound-services.jd71 android.content.Context#bindService bindService()} 使客户端绑定到服务。
90 <p>客户端可通过调用 {@link android.content.Context#bindService
91 bindService()} 绑定到服务。调用时,它必须提供 {@link
93 android.content.Context#bindService bindService()} 方法会立即无值返回,但当
261 bindService(intent, mConnection, Context.BIND_AUTO_CREATE);
286 /** Defines callbacks for service binding, passed to bindService() */
463 bindService(new Intent(this, MessengerService.class), mConnection,
496 <p>应用组件(客户端)可通过调用 {@link android.content.Context#bindService bindService()}
501 <p>绑定是异步的。{@link android.content.Context#bindService
502 bindService()} 会立即返回,“绝对不会”<em></em>使 {@link android.os.IBinder}
[all …]
/frameworks/base/core/tests/coretests/src/android/app/activity/
DServiceTest.java239 getContext().bindService(service, conn, 0); in bindExpectResult()
244 getContext().bindService(service, conn2, 0); in bindExpectResult()
274 getContext().bindService(service, conn, 0); in bindExpectResult()
304 getContext().bindService(service, conn, 0); in bindExpectResult()
328 getContext().bindService(service, conn, 0); in bindExpectResult()
345 getContext().bindService( in bindAutoExpectResult()
366 getContext().bindService(service, conn, Context.BIND_AUTO_CREATE); in bindExpectNoPermission()
459 getContext().bindService( in testLocalUnbindTwice()
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/
DFakeApp.java135 bindService(new Intent(this, FakeCoreService.class), mServiceConnection, in onCreate()
137 bindService(new Intent(this, FakeCoreService2.class), mServiceConnection2, in onCreate()
139 bindService(new Intent(this, FakeCoreService3.class), mServiceConnection3, in onCreate()
/frameworks/base/docs/html-intl/intl/id/guide/components/
Dbound-services.jd71 android.content.Context#bindService bindService()}.
90 <p>Klien bisa mengikat ke layanan dengan memanggil {@link android.content.Context#bindService
91 bindService()}. Bila itu dilakukan, klien harus menyediakan implementasi {@link
93 android.content.Context#bindService bindService()} kembali dengan serta-merta tanpa sebuah nilai, n…
261 bindService(intent, mConnection, Context.BIND_AUTO_CREATE);
286 /** Defines callbacks for service binding, passed to bindService() */
463 bindService(new Intent(this, MessengerService.class), mConnection,
497 {@link android.content.Context#bindService bindService()}. Sistem Android
501 <p>Pengikatan ini bersifat asinkron. {@link android.content.Context#bindService
502 bindService()} segera kembali dan <em>tidak</em> mengembalikan {@link android.os.IBinder} ke
[all …]
Dservices.jd72 android.content.Context#bindService bindService()}. Layanan terikat menawarkan antarmuka
139 layanan (misalnya untuk melakukan RPC), dengan memanggil {@link android.content.Context#bindService
140 bindService()}. Dalam mengimplementasikan metode ini, Anda harus menyediakan antarmuka yang digunak…
161 {@link android.content.Context#bindService bindService()} untuk membuat layanan (dan {@link
570 android.content.Context#bindService bindService()} guna membuat koneksi yang berlangsung lama
581 {@link android.content.Context#bindService bindService()} untuk mengambil antarmuka dan
685 android.content.Context#bindService bindService()}. Klien kemudian berkomunikasi dengan layanan
698 android.content.Context#bindService bindService()}. Dalam kasus seperti ini, {@link
726 …/ A client is binding to the service with {@link android.content.Context#bindService bindService()}
736 … A client is binding to the service with {@link android.content.Context#bindService bindService()},
[all …]
/frameworks/base/docs/html-intl/intl/in/guide/components/
Dbound-services.jd71 android.content.Context#bindService bindService()}.
90 <p>Klien bisa mengikat ke layanan dengan memanggil {@link android.content.Context#bindService
91 bindService()}. Bila itu dilakukan, klien harus menyediakan implementasi {@link
93 android.content.Context#bindService bindService()} kembali dengan serta-merta tanpa sebuah nilai, n…
261 bindService(intent, mConnection, Context.BIND_AUTO_CREATE);
286 /** Defines callbacks for service binding, passed to bindService() */
463 bindService(new Intent(this, MessengerService.class), mConnection,
497 {@link android.content.Context#bindService bindService()}. Sistem Android
501 <p>Pengikatan ini bersifat asinkron. {@link android.content.Context#bindService
502 bindService()} segera kembali dan <em>tidak</em> mengembalikan {@link android.os.IBinder} ke
[all …]
Dservices.jd72 android.content.Context#bindService bindService()}. Layanan terikat menawarkan antarmuka
139 layanan (misalnya untuk melakukan RPC), dengan memanggil {@link android.content.Context#bindService
140 bindService()}. Dalam mengimplementasikan metode ini, Anda harus menyediakan antarmuka yang digunak…
161 {@link android.content.Context#bindService bindService()} untuk membuat layanan (dan {@link
570 android.content.Context#bindService bindService()} guna membuat koneksi yang berlangsung lama
581 {@link android.content.Context#bindService bindService()} untuk mengambil antarmuka dan
685 android.content.Context#bindService bindService()}. Klien kemudian berkomunikasi dengan layanan
698 android.content.Context#bindService bindService()}. Dalam kasus seperti ini, {@link
726 …/ A client is binding to the service with {@link android.content.Context#bindService bindService()}
736 … A client is binding to the service with {@link android.content.Context#bindService bindService()},
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DTileServiceManager.java127 bindService(); in setBindRequested()
156 bindService(); in setBindAllowed()
168 private void bindService() { in bindService() method in TileServiceManager
/frameworks/base/docs/html/guide/components/
Dbound-services.jd85 android.content.Context#bindService bindService()}.
106 <p>A client can bind to a service by calling {@link android.content.Context#bindService
107 bindService()}. When it does, it must provide an implementation of {@link
109 android.content.Context#bindService bindService()} method returns immediately without a
281 bindService(intent, mConnection, Context.BIND_AUTO_CREATE);
306 /** Defines callbacks for service binding, passed to bindService() */
490 bindService(new Intent(this, MessengerService.class), mConnection,
525 {@link android.content.Context#bindService bindService()}. The Android
530 <p>The binding is asynchronous, and {@link android.content.Context#bindService
531 bindService()} returns immediately without <em>not</em> returning the {@link android.os.IBinder} to
[all …]
Dservices.jd82 android.content.Context#bindService bindService()}. A bound service offers a client-server
150 <dd>The system invokes this method by calling {@link android.content.Context#bindService
151 bindService()} when another component wants to bind with the service (such as to perform RPC).
175 {@link android.content.Context#bindService bindService()} to create the service and {@link
196 {@link android.content.Context#bindService bindService()} service methods, as well as how to use
240 {@link android.content.Context#bindService bindService()} with an implicit intent.</p>
580 android.content.Context#bindService bindService()} to create a long-standing connection.
591 {@link android.content.Context#bindService bindService()} to retrieve the interface and
694 android.content.Context#bindService bindService()}. The client then communicates with the service
707 android.content.Context#bindService bindService()}. In cases such as this, {@link
[all …]
/frameworks/base/docs/html-intl/intl/ja/guide/topics/
Dfundamentals.jd171bindService Context.bindService()}</code> に渡すと、呼び出し側のコンポーネントと対象となるサービスの間の継続中の接続を確立できます。サービスは、<code…
551 …れたときには通知を受けることができます。通知があり次第、<code>{@link android.content.Context#bindService bindService()}</code>…
555 サービスの <code>{@link android.app.Service#onBind onBind()}</code> メソッドは、受け取ったインテント({@code bindService(…
789bindService Context.bindService()}</code> を呼び出して確立し、<code>{@link android.content.Context#unbindSer…
794 …とします。その後、たとえばユーザーがプレーヤーを操作したい場合や再生中の曲に関する情報を入手したい場合には、アクティビティから {@code bindService()} を呼び出してサービスとの…
818 …rtService()}</code> または <code>{@link android.content.Context#bindService Context.bindService()}</c…
828 <code>{@link android.app.Service#onBind onBind()}</code> コールバックには {@code bindService()} に渡された Inten…
832 次の図に、サービスのコールバック メソッドを示します。なお、{@code startService()} で作成されたサービスと、{@code bindService()} で作成されたサービスを分…
/frameworks/base/docs/html-intl/intl/pt-br/guide/components/
Dbound-services.jd71 android.content.Context#bindService bindService()}.
90 <p>Um cliente pode vincular-se ao serviço chamando {@link android.content.Context#bindService
91 bindService()}. Quando isto ocorre, é preciso fornecer uma implementação de {@link
93 android.content.Context#bindService bindService()} retorna imediatamente sem um valor,
261 bindService(intent, mConnection, Context.BIND_AUTO_CREATE);
286 /** Defines callbacks for service binding, passed to bindService() */
463 bindService(new Intent(this, MessengerService.class), mConnection,
497 {@link android.content.Context#bindService bindService()}. O sistema Android, em seguida,
501 <p>A vinculação é assíncrona. {@link android.content.Context#bindService
502 bindService()} retorna imediatamente e <em>não</em> retorna o {@link android.os.IBinder}
[all …]
Dservices.jd72 android.content.Context#bindService bindService()}. Um serviço vinculado oferece uma interface
139 ao serviço (como para realizações de RPC) chamando {@link android.content.Context#bindService
140 bindService()}. Na implementação deste método, você deve fornecer uma interface que os clientes
161 chamar {@link android.content.Context#bindService bindService()} para criar o serviço (e {@link
570 android.content.Context#bindService bindService()} para criar uma conexão de longo prazo
581 {@link android.content.Context#bindService bindService()} para recuperar a interface
685 android.content.Context#bindService bindService()}. O cliente comunica-se com o serviço
698 android.content.Context#bindService bindService()}. Em casos como esse, {@link
726 …/ A client is binding to the service with {@link android.content.Context#bindService bindService()}
736 … A client is binding to the service with {@link android.content.Context#bindService bindService()},
[all …]
/frameworks/base/packages/Keyguard/test/src/com/android/keyguard/test/
DKeyguardTestActivity.java126 private void bindService() { in bindService() method in KeyguardTestActivity
132 if (!bindService(intent, mConnection, Context.BIND_AUTO_CREATE)) { in bindService()
152 bindService(); in onCreate()
/frameworks/base/core/java/android/appwidget/
DAppWidgetHost.java164 bindService(); in AppWidgetHost()
167 private static void bindService() { in bindService() method in AppWidgetHost
286 bindService(); in getAppWidgetIds()

12345