Home
last modified time | relevance | path

Searched refs:startId (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIntRangeManager.java66 IntRange(int startId, int endId, String client) { in IntRange() argument
67 mStartId = startId; in IntRange()
70 mClients.add(new ClientRange(startId, endId, client)); in IntRange()
152 ClientRange(int startId, int endId, String client) { in ClientRange() argument
153 mStartId = startId; in ClientRange()
193 public synchronized boolean enableRange(int startId, int endId, String client) { in enableRange() argument
198 if (tryAddRanges(startId, endId, true)) { in enableRange()
199 mRanges.add(new IntRange(startId, endId, client)); in enableRange()
208 if ((startId) >= range.mStartId && (endId) <= range.mEndId) { in enableRange()
213 range.insert(new ClientRange(startId, endId, client)); in enableRange()
[all …]
DIccSmsInterfaceManager.java774 protected void addRange(int startId, int endId, boolean selected) { in addRange() argument
775 mConfigList.add(new SmsBroadcastConfigInfo(startId, endId, in addRange()
814 protected void addRange(int startId, int endId, boolean selected) { in addRange() argument
815 mConfigList.add(new CdmaSmsBroadcastConfigInfo(startId, endId, in addRange()
/frameworks/base/core/java/android/app/
DService.java351 public void onStart(Intent intent, int startId) { in onStart() argument
508 public @StartResult int onStartCommand(Intent intent, @StartArgFlags int flags, int startId) { in onStartCommand() argument
509 onStart(intent, startId); in onStartCommand()
614 public final void stopSelf(int startId) { in stopSelf() argument
620 new ComponentName(this, mClassName), mToken, startId); in stopSelf()
646 public final boolean stopSelfResult(int startId) { in stopSelfResult() argument
652 new ComponentName(this, mClassName), mToken, startId); in stopSelfResult()
DIntentService.java117 public void onStart(@Nullable Intent intent, int startId) { in onStart() argument
119 msg.arg1 = startId; in onStart()
131 public int onStartCommand(@Nullable Intent intent, int flags, int startId) { in onStartCommand() argument
132 onStart(intent, startId); in onStartCommand()
/frameworks/base/location/java/android/location/
DSettingInjectorService.java141 public final void onStart(Intent intent, int startId) { in onStart() argument
142 super.onStart(intent, startId); in onStart()
146 public final int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument
148 stopSelf(startId); in onStartCommand()
/frameworks/base/core/java/com/android/internal/util/
DAsyncService.java94 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument
100 msg.arg2 = startId; in onStartCommand()
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DSchedulerService.java28 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
DReceiverService.java45 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument
/frameworks/base/packages/StatementService/src/com/android/statementservice/
DDirectStatementService.java177 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument
178 super.onStartCommand(intent, flags, startId); in onStartCommand()
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServices/src/com/android/framework/multidexlegacytestservices/
DAbstractService.java96 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument
97 Log.i("Service" + getId(), "Received start id " + startId + ": " + intent); in onStartCommand()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpDocumentsService.java56 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument
/frameworks/base/docs/html-intl/intl/ru/guide/components/
Dservices.jd357 public int onStartCommand(Intent intent, int flags, int startId) {
359 return super.onStartCommand(intent,flags,startId);
407 // Stop the service using the startId, so that we don't stop
429 public int onStartCommand(Intent intent, int flags, int startId) {
435 msg.arg1 = startId;
551 …ice#stopSelf(int)}, вы передаете идентификатор запроса запуска (идентификатор <code>startId</code>,
720 … {@link android.app.Service#onStartCommand onStartCommand}(Intent intent, int flags, int startId) {
/frameworks/base/docs/html-intl/intl/zh-tw/guide/components/
Dservices.jd357 public int onStartCommand(Intent intent, int flags, int startId) {
359 return super.onStartCommand(intent,flags,startId);
407 // Stop the service using the startId, so that we don't stop
429 public int onStartCommand(Intent intent, int flags, int startId) {
435 msg.arg1 = startId;
551 android.app.Service#stopSelf(int)} 時,會傳送啟動要求的 ID (<code>startId</code> 已傳送至 {@link android.app.Serv…
720 … {@link android.app.Service#onStartCommand onStartCommand}(Intent intent, int flags, int startId) {
/frameworks/base/docs/html-intl/intl/ja/guide/components/
Dservices.jd357 public int onStartCommand(Intent intent, int flags, int startId) {
359 return super.onStartCommand(intent,flags,startId);
407 // Stop the service using the startId, so that we don't stop
429 public int onStartCommand(Intent intent, int flags, int startId) {
435 msg.arg1 = startId;
551 …の ID({@link android.app.Service#onStartCommand onStartCommand()} に配信された <code>startId</code>)を渡します。
720 … {@link android.app.Service#onStartCommand onStartCommand}(Intent intent, int flags, int startId) {
/frameworks/base/docs/html-intl/intl/ko/guide/components/
Dservices.jd357 public int onStartCommand(Intent intent, int flags, int startId) {
359 return super.onStartCommand(intent,flags,startId);
407 // Stop the service using the startId, so that we don't stop
429 public int onStartCommand(Intent intent, int flags, int startId) {
435 msg.arg1 = startId;
552 <code>startId</code>)를 전달하게 됩니다. 여기에 중단 요청이
720 … {@link android.app.Service#onStartCommand onStartCommand}(Intent intent, int flags, int startId) {
/frameworks/base/docs/html-intl/intl/zh-cn/guide/components/
Dservices.jd357 public int onStartCommand(Intent intent, int flags, int startId) {
359 return super.onStartCommand(intent,flags,startId);
407 // Stop the service using the startId, so that we don't stop
429 public int onStartCommand(Intent intent, int flags, int startId) {
435 msg.arg1 = startId;
552 的 <code>startId</code>)
720 … {@link android.app.Service#onStartCommand onStartCommand}(Intent intent, int flags, int startId) {
/frameworks/base/tests/utils/SleepUtils/WakeLoopService/src/android/test/wakeuploop/
DWakeLoopService.java60 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument
/frameworks/base/core/tests/coretests/src/android/app/activity/
DLocalService.java52 public void onStart(Intent intent, int startId) { in onStart() argument
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
DTrackerService.java106 public void onStart(Intent intent, int startId) { in onStart() argument
107 super.onStart(intent, startId); in onStart()
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/service/
DTestJobService.java69 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument
/frameworks/base/services/core/java/com/android/server/content/
DSyncJobService.java42 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DIntRangeManagerTest.java67 protected void addRange(int startId, int endId, boolean selected) { in addRange() argument
68 mConfigList.add(new SmsBroadcastConfigInfo(startId, endId, in addRange()
91 protected boolean tryAddRanges(int startId, int endId, boolean selected) { in tryAddRanges() argument
96 addRange(startId, endId, selected); // adds to mConfigList in tryAddRanges()
607 TestIntRangeManager testManager, int startId, int endId, String client) { in verifyAddChannel() argument
610 assertTrue("enabling range", testManager.enableRange(startId, endId, client)); in verifyAddChannel()
613 checkConfigInfo(testManager.mConfigList.get(0), startId, endId, SMS_CB_CODE_SCHEME_MIN, in verifyAddChannel()
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DPlayerService.java65 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument
/frameworks/base/services/core/java/com/android/server/am/
DActiveServices.java642 int startId) { in stopServiceTokenLocked() argument
644 + " " + token + " startId=" + startId); in stopServiceTokenLocked()
647 if (startId >= 0) { in stopServiceTokenLocked()
651 ServiceRecord.StartItem si = r.findDeliveredStart(startId, false); in stopServiceTokenLocked()
662 if (r.getLastStartId() != startId) { in stopServiceTokenLocked()
667 Slog.w(TAG, "stopServiceToken startId " + startId in stopServiceTokenLocked()
2177 void serviceDoneExecutingLocked(ServiceRecord r, int type, int startId, int res) { in serviceDoneExecutingLocked() argument
2188 r.findDeliveredStart(startId, true); in serviceDoneExecutingLocked()
2195 r.findDeliveredStart(startId, true); in serviceDoneExecutingLocked()
2196 if (r.getLastStartId() == startId) { in serviceDoneExecutingLocked()
[all …]
/frameworks/base/core/tests/SvcMonitor/src/com/android/google/experimental/svcmoniter/
DSvcMonitor.java26 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument

12