/frameworks/base/docs/html-intl/intl/ru/guide/components/ |
D | services.jd | 15 <li><a href="#ExtendingService">Наследование класса Service</a></li> 32 <li>{@link android.app.Service}</li> 52 <p>{@link android.app.Service} является компонентом приложения, который может выполнять 82 android.app.Service#onStartCommand onStartCommand()} позволяет компонентам запускать службу, а {@li… 83 android.app.Service#onBind onBind()} позволяет выполнять привязку.</p> 123 <p>Чтобы создать службу, необходимо создать подкласс класса {@link android.app.Service} (или одного 129 <dt>{@link android.app.Service#onStartCommand onStartCommand()}</dt> 134 посредством вызова {@link android.app.Service#stopSelf stopSelf()} или {@link 137 <dt>{@link android.app.Service#onBind onBind()}</dt> 143 <dt>{@link android.app.Service#onCreate()}</dt> [all …]
|
D | bound-services.jd | 24 <li>{@link android.app.Service}</li> 57 <p>Привязанная служба представляет собой реализацию класса {@link android.app.Service}, которая поз… 59 , сначала необходимо реализовать метод обратного вызова {@link android.app.Service#onBind onBind()}… 74 явным образом остановить службу, вызвав метод {@link android.app.Service#stopSelf stopSelf()} или {… 77 <p>Несмотря на то, что обычно необходимо реализовывать либо метод {@link android.app.Service#onBind… 78 <em>либо метод</em> {@link android.app.Service#onStartCommand onStartCommand()}, в некоторых случая… 101 {@link android.app.Service#onBind onBind()} вашей службы для получения объекта {@link android.os.IB… 103 …орые выполняют привязку, без повторного вызова метода {@link android.app.Service#onBind onBind()}.… 109 который возвращает ваш метод обратного вызова {@link android.app.Service#onBind onBind()}. Существу… 126 {@link android.app.Service#onBind onBind()}. Клиент получает объект {@link android.os.Binder}, [all …]
|
D | processes-and-threads.jd | 97 <li>Он содержит службу {@link android.app.Service}, связанную с действием, с которым 100 …<li>Он содержит службу {@link android.app.Service}, которая выполняется "на переднем плане", &mdas… 101 которая называется {@link android.app.Service#startForeground startForeground()}. 103 … <li>Он содержит службу{@link android.app.Service}, которая выполняет один из обратных вызовов 104 …жизненного цикла ({@link android.app.Service#onCreate onCreate()}, {@link android.app.Service#onSt… 105 onStart()} или {@link android.app.Service#onDestroy onDestroy()}).</li> 127 <li>Он содержит службу {@link android.app.Service}, связанную с видимым 371 {@link android.app.Service#onBind onBind()} службы будет вызываться из потока пользовательского инт… 372 процесса службы, методы, реализованные в объекте, который возвращает {@link android.app.Service#onB…
|
/frameworks/base/docs/html-intl/intl/ja/guide/components/ |
D | services.jd | 15 <li><a href="#ExtendingService">Service クラスを拡張する</a></li> 32 <li>{@link android.app.Service}</li> 52 <p>{@link android.app.Service} は、バックグラウンドで長時間動作して作業を行い、ユーザー インターフェースを表示しないアプリケーション コンポーネントです。 80 android.app.Service#onStartCommand onStartCommand()} ではコンポーネントにサービスの開始を許可し、{@link 81 android.app.Service#onBind onBind()} ではバインドを許可することになります。 123 <p>サービスを作成するには、{@link android.app.Service} のサブクラス(またはその既存のサブクラス)を作成する必要があります。 129 <dt>{@link android.app.Service#onStartCommand onStartCommand()}</dt> 133 これを実装すると、作業完了時に {@link android.app.Service#stopSelf stopSelf()} か {@link 137 <dt>{@link android.app.Service#onBind onBind()}</dt> 143 <dt>{@link android.app.Service#onCreate()}</dt> [all …]
|
D | bound-services.jd | 24 <li>{@link android.app.Service}</li> 57 <p>バインドされたサービスは、他のアプリケーションのバインドとやり取りを可能にする {@link android.app.Service} クラスの実装です。 58 サービスのバインドを提供するには、{@link android.app.Service#onBind onBind()} コールバック メソッドを実装する必要があります。 73 代わりに、{@link android.app.Service#stopSelf stopSelf()} や {@link 77 <p>通常実装するのは、{@link android.app.Service#onBind onBind()} 78 <em> か </em>{@link android.app.Service#onStartCommand onStartCommand()} のどちらかですが、両方の実装が必要な場合もあります。 100 <p>複数のクライアントが同時にサービスに接続できます。ただし、1 つ目のクライアントのバインドの際にのみ、システムはサービスの {@link android.app.Service#onBind … 102 その後システムは {@link android.app.Service#onBind onBind()} を呼び出すことなく、同じ {@link android.os.IBinder} をバインドし… 108 <p>バインドされたサービスを実装するときに最も重要なのは、{@link android.app.Service#onBind onBind()} コールバック メソッドが返すインターフェースを定義… 123 …行する場合(ほとんどのケースに該当)、{@link android.os.Binder} クラスを拡張して {@link android.app.Service#onBind onBind()} … [all …]
|
/frameworks/base/docs/html-intl/intl/zh-cn/guide/components/ |
D | services.jd | 32 <li>{@link android.app.Service}</li> 52 <p>{@link android.app.Service} 80 android.app.Service#onStartCommand onStartCommand()}(允许组件启动服务)和 {@link 81 android.app.Service#onBind onBind()}(允许绑定服务)。 124 {@link android.app.Service} 的子类(或使用它的一个现有子类)。在实现中,您需要重写一些回调方法,以处理服务生命周期的某些关键方面并提供一种机制将组件绑定到服务(如适用)。 129 <dt>{@link android.app.Service#onStartCommand onStartCommand()}</dt> 134 {@link android.app.Service#stopSelf stopSelf()} 或 {@link 137 <dt>{@link android.app.Service#onBind onBind()}</dt> 143 <dt>{@link android.app.Service#onCreate()}</dt> 145 {@link android.app.Service#onStartCommand onStartCommand()} 或 [all …]
|
D | bound-services.jd | 24 <li>{@link android.app.Service}</li> 57 <p>绑定服务是 {@link android.app.Service} 58 类的实现,可让其他应用与其绑定和交互。要提供服务绑定,您必须实现 {@link android.app.Service#onBind onBind()} 74 {@link android.app.Service#stopSelf stopSelf()} 或 {@link 78 {@link android.app.Service#onBind onBind()} 79 <em>或</em> {@link android.app.Service#onStartCommand onStartCommand()},但有时需要同时实现这两者。例如,音乐播放器可能发现让其服… 101 {@link android.app.Service#onBind onBind()} 103 {@link android.app.Service#onBind onBind()},便可将同一 {@link android.os.IBinder} 传递至任何其他绑定的客户端。</p> 109 {@link android.app.Service#onBind onBind()} 回调方法返回的接口。您可以通过几种不同的方法定义服务的 125 类并从 {@link android.app.Service#onBind onBind()} [all …]
|
D | processes-and-threads.jd | 97 <li>托管某个 {@link android.app.Service},后者绑定到用户正在交互的 Activity 101 {@link android.app.Service}(服务已调用 {@link android.app.Service#startForeground startForeground()}) 104 {@link android.app.Service}({@link android.app.Service#onCreate onCreate()}、{@link android.app.Serv… 105 onStart()} 或 {@link android.app.Service#onDestroy onDestroy()})</li> 128 {@link android.app.Service}</li> 371 {@link android.app.Service#onBind onBind()} 方法将从服务进程的 UI 373 {@link android.app.Service#onBind
|
/frameworks/base/docs/html-intl/intl/zh-tw/guide/components/ |
D | services.jd | 32 <li>{@link android.app.Service}</li> 52 <p>{@link android.app.Service} 是可以在背景中長時間執行操作的應用程式元件,且不提供使用者介面。 81 android.app.Service#onStartCommand onStartCommand()} 允許元件啟動服務,而 {@link 82 android.app.Service#onBind onBind()} 則允許繫結。 123 <p>如要建立服務,您必須建立 {@link android.app.Service} 的子類別 (或是其現有的子類別之一)。 129 <dt>{@link android.app.Service#onStartCommand onStartCommand()}</dt> 133 如果您實作此方法,當作業完成時,您必須負責停止服務,方式為呼叫 {@link android.app.Service#stopSelf stopSelf()} 或 {@link 137 <dt>{@link android.app.Service#onBind onBind()}</dt> 143 <dt>{@link android.app.Service#onCreate()}</dt> 144 …<dd>當第一次建立服務時,系統會呼叫此方法來執行一次性的設定程序 (在其呼叫 {@link android.app.Service#onStartCommand onStartCommand()… [all …]
|
D | bound-services.jd | 24 <li>{@link android.app.Service}</li> 57 <p>繫結服務是 {@link android.app.Service} 類別的實作,允許其他應用程式繫結至此實作,並與之互動。 58 若服務要要提供繫結功能,您必須實作 {@link android.app.Service#onBind onBind()} 回呼方法。 73 您必須透過呼叫 {@link android.app.Service#stopSelf stopSelf()} 或 {@link 77 <p>雖然您通常只會實作 {@link android.app.Service#onBind onBind()} 或<em></em> {@link android.app.Service#onSt… 101 {@link android.app.Service#onBind onBind()} 方法,以擷取 {@link android.os.IBinder}。 102 然後,系統會將同一個 {@link android.os.IBinder} 傳遞給其他任何繫結的用戶端,不會再次呼叫 {@link android.app.Service#onBind onBind… 108 <p>實作繫結服務時,最重要的部分是定義您的 {@link android.app.Service#onBind onBind()} 回呼方法傳回的介面。 124 {@link android.app.Service#onBind onBind()} 傳回此類別的執行個體來建立介面。 126 用戶端接收 {@link android.os.Binder} 後,可以用它直接存取 {@link android.os.Binder} 實作或 {@link android.app.Service… [all …]
|
D | processes-and-threads.jd | 97 <li>其代管的 {@link android.app.Service} 已繫結至正在與使用者互動的 Activity。 100 …<li>其代管的 {@link android.app.Service} 正「在前景」執行中 (服務已呼叫 {@link android.app.Service#startForeground s… 103 ….Service} 正在執行本身的其中一個生命週期回呼 ({@link android.app.Service#onCreate onCreate()}、{@link android.app.Se… 127 <li>其代管的 {@link android.app.Service} 已繫結至可見 (或前景) Activity。 371 {@link android.app.Service#onBind onBind()} 方法可從服務處理程序的 UI 執行緒呼叫,但以 {@link android.app.Service#onBi…
|
/frameworks/base/docs/html-intl/intl/ko/guide/components/ |
D | services.jd | 32 <li>{@link android.app.Service}</li> 52 <p>{@link android.app.Service}는 배경에서 오래 실행되는 작업을 82 android.app.Service#onStartCommand onStartCommand()}를 사용하면 구성 요소가 서비스를 시작할 수 있게 허용하고, {@link 83 android.app.Service#onBind onBind()}를 사용하면 바인딩을 허용합니다.</p> 123 <p>서비스를 생성하려면 {@link android.app.Service}의 하위 클래스를 생성해야 합니다(아니면 이의 129 <dt>{@link android.app.Service#onStartCommand onStartCommand()}</dt> 134 개발자 본인의 책임입니다. 이때 {@link android.app.Service#stopSelf stopSelf()} 또는 {@link 137 <dt>{@link android.app.Service#onBind onBind()}</dt> 143 <dt>{@link android.app.Service#onCreate()}</dt> 145 절차를 수행하는 경우입니다({@link android.app.Service#onStartCommand onStartCommand()} 또는 [all …]
|
D | bound-services.jd | 24 <li>{@link android.app.Service}</li> 57 <p>바인딩된 서비스란 일종의 {@link android.app.Service} 클래스 구현으로, 59 {@link android.app.Service#onBind onBind()} 콜백 메서드를 구현해야 합니다. 74 직접 서비스를 확실히 중단시켜야 합니다. 그러려면 {@link android.app.Service#stopSelf stopSelf()} 또는 {@link 77 <p>보통은 {@link android.app.Service#onBind onBind()} 78 <em>또는</em> {@link android.app.Service#onStartCommand onStartCommand()} 101 {@link android.app.Service#onBind onBind()} 메서드를 호출하여 {@link android.os.IBinder}를 검색하는 경우는 첫 번째 클라이… 103 클라이언트 모두에 전달하며 이때는 {@link android.app.Service#onBind onBind()}를 다시 호출하지 않습니다.</p> 109 {@link android.app.Service#onBind onBind()} 콜백 메서드가 반환하는 인터페이스를 정의하는 것입니다. 126 {@link android.app.Service#onBind onBind()}에서 반환하는 방식을 사용해야 합니다. 클라이언트가 {@link android.os.Binder}를 … [all …]
|
/frameworks/base/docs/html/google/backup/ |
D | signup.jd | 1 page.title=Register for Android Backup Service 8 register your application with Android Backup Service in order to backup your app's data 10 Service Key that verifies your application and allows backup when 11 Android Backup Service is available on the user's device. Registration with Android Backup Service 14 <p>A single Backup Service Key is valid for only the application with which you register using the 15 form below. If you have multiple applications for which you would like a Backup Service Key, then 16 you must register each application to receive a unique Backup Service Key for each one.</p> 18 <p>For more information about developing with Android Backup Service, read the <a 21 <p>Before you can register with Android Backup Service, 28 ><h2 class="norule">Terms of Service</h2> [all …]
|
D | terms.jd | 1 page.title=Android Backup Service Terms of Service 10 Your use of the Android Backup Service (referred to as the "Service" 24 your use of the Service. It is important that you take the time to read them 34 order to use the Service, you must first agree to the Terms. You may not use 35 the Service if you do not accept the Terms.</p> 42 may not use the Service and may not accept the Terms if you are not of legal 57 <h2>3. Provision of the Service by Google</h2> 62 these companies will be providing the Service to you on behalf of Google 64 entitled to provide the Service to you.</p> 69 the Service which Google provides may change from time to time without prior [all …]
|
D | index.jd | 1 page.title=Android Backup Service 5 <p>Android Backup Service provides a <em>backup transport</em> for Android's <a 13 <p>The Android Backup Service offered by Google provides a backup 19 <p>In order to use Android Backup Service, you must <a href="{@docRoot}google/backup/signup.html" 24 Service does not guarantee that it will always back up data using this service 27 on the device. Registering with Android Backup Service allows your application to back up 28 when the backup transport on the device is provided by Android Backup Service.</p> 35 <h2>Adding the Backup Service Key to the Manifest</h2> 38 >register your app</a>, you'll receive a Backup Service Key, 49 <p>Insert your Backup Service Key in the <code>android:value</code> attribute and place the [all …]
|
/frameworks/base/docs/html/guide/components/ |
D | services.jd | 12 <li><a href="#CreatingAService">Creating a Started Service</a> 15 <li><a href="#ExtendingService">Extending the Service class</a></li> 20 <li><a href="#CreatingBoundService">Creating a Bound Service</a></li> 22 <li><a href="#Foreground">Running a Service in the Foreground</a></li> 23 <li><a href="#Lifecycle">Managing the Lifecycle of a Service</a> 32 <li>{@link android.app.Service}</li> 52 <p>A {@link android.app.Service} is an application component that can perform 82 android.app.Service#onStartCommand onStartCommand()} to allow components to start it and {@link 83 android.app.Service#onBind onBind()} to allow binding.</p> 124 <p>To create a service, you must create a subclass of {@link android.app.Service} (or one [all …]
|
/frameworks/base/docs/html-intl/intl/in/guide/components/ |
D | services.jd | 32 <li>{@link android.app.Service}</li> 52 <p>{@link android.app.Service} adalah sebuah komponen aplikasi yang bisa melakukan 82 android.app.Service#onStartCommand onStartCommand()} untuk memungkinkan komponen memulainya dan {@l… 83 android.app.Service#onBind onBind()} untuk memungkinkan pengikatan.</p> 123 <p>Untuk membuat layanan, Anda harus membuat subkelas {@link android.app.Service} (atau 129 <dt>{@link android.app.Service#onStartCommand onStartCommand()}</dt> 134 bila pekerjaannya selesai, dengan memanggil {@link android.app.Service#stopSelf stopSelf()} atau {@… 137 <dt>{@link android.app.Service#onBind onBind()}</dt> 143 <dt>{@link android.app.Service#onCreate()}</dt> 145 penyiapan satu kali (sebelum memanggil {@link android.app.Service#onStartCommand onStartCommand()} … [all …]
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothClass.java | 105 public static final class Service { class in BluetoothClass 130 return ((mClass & Service.BITMASK & service) != 0); in hasService() 300 if (hasService(Service.RENDER)) { in doesClassMatch() 316 if (hasService(Service.CAPTURE)) { in doesClassMatch() 333 if (hasService(Service.RENDER)) { in doesClassMatch() 346 if (hasService(Service.OBJECT_TRANSFER)) { in doesClassMatch() 372 if (hasService(Service.NETWORKING)) { in doesClassMatch()
|
/frameworks/support/v4/ics/android/support/v4/app/ |
D | NotificationManagerCompatIceCreamSandwich.java | 19 import android.app.Service; 22 static final int SIDE_CHANNEL_BIND_FLAGS = Service.BIND_AUTO_CREATE 23 | Service.BIND_WAIVE_PRIORITY;
|
/frameworks/base/docs/html-intl/intl/pt-br/guide/components/ |
D | services.jd | 15 <li><a href="#ExtendingService">Extensão da classe Service</a></li> 32 <li>{@link android.app.Service}</li> 52 <p>Um {@link android.app.Service} é um componente do aplicativo que pode realizar 82 android.app.Service#onStartCommand onStartCommand()} para permitir que os componentes iniciem o ser… 83 android.app.Service#onBind onBind()} para permitir a vinculação.</p> 123 <p>Para criar um serviço, você deve criar uma subclasse de {@link android.app.Service} 129 <dt>{@link android.app.Service#onStartCommand onStartCommand()}</dt> 134 quando o trabalho for concluído, chamando {@link android.app.Service#stopSelf stopSelf()} ou {@link 137 <dt>{@link android.app.Service#onBind onBind()}</dt> 143 <dt>{@link android.app.Service#onCreate()}</dt> [all …]
|
/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/core/ |
D | InstrumentationUiAutomatorBridge.java | 19 import android.app.Service; 41 mContext.getSystemService(Service.WINDOW_SERVICE); in getDefaultDisplay() 53 mContext.getSystemService(Service.POWER_SERVICE); in isScreenOn()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | KeyEventDispatcher.java | 33 import com.android.server.accessibility.AccessibilityManagerService.Service; 68 private final Map<Service, ArrayList<PendingKeyEvent>> mPendingEventsMap = new ArrayMap<>(); 117 KeyEvent event, int policyFlags, List<Service> boundServices) { in notifyKeyEventLocked() 121 Service service = boundServices.get(i); in notifyKeyEventLocked() 170 public void setOnKeyEventResult(Service service, boolean handled, int sequence) { in setOnKeyEventResult() 195 public void flush(Service service) { in flush()
|
/frameworks/base/docs/html/guide/topics/processes/ |
D | process-lifecycle.jd | 17 (in particular {@link android.app.Activity}, {@link android.app.Service}, 32 is to start a {@link android.app.Service} from the BroadcastReceiver, so the 53 <li>It has a {@link android.app.Service} that is currently executing code 54 in one of its callbacks ({@link android.app.Service#onCreate Service.onCreate()}, 55 {@link android.app.Service#onStart Service.onStart()}, or 56 {@link android.app.Service#onDestroy Service.onDestroy()}).</li> 75 <li>A <strong>service process</strong> is one holding a {@link android.app.Service} 108 See the {@link android.app.Activity}, {@link android.app.Service}, and 116 {@link android.app.Service} with
|
/frameworks/base/docs/html/distribute/stories/games/ |
D | g4a-indian-rummy.jd | 43 the App Translation Service. 60 …G4A found that the cost per translation was much lower with the App Translation Service compared t… 65 Translation Service. As a result they’ve <b>doubled the number of users</b> 76 “In contrast [to the App Translation Service], our previous experiences with 80 Translation Service, the turnaround time is usually measured in days instead 89 App Translation Service</a> and read the full
|