Home
last modified time | relevance | path

Searched refs:startId (Results 1 – 25 of 27) 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.java724 protected void addRange(int startId, int endId, boolean selected) { in addRange() argument
725 mConfigList.add(new SmsBroadcastConfigInfo(startId, endId, in addRange()
764 protected void addRange(int startId, int endId, boolean selected) { in addRange() argument
765 mConfigList.add(new CdmaSmsBroadcastConfigInfo(startId, endId, in addRange()
/frameworks/base/core/java/android/app/
DService.java321 public void onStart(Intent intent, int startId) { in onStart() argument
457 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument
458 onStart(intent, startId); in onStartCommand()
562 public final void stopSelf(int startId) { in stopSelf() argument
568 new ComponentName(this, mClassName), mToken, startId); in stopSelf()
594 public final boolean stopSelfResult(int startId) { in stopSelfResult() argument
600 new ComponentName(this, mClassName), mToken, startId); in stopSelfResult()
DIntentService.java115 public void onStart(Intent intent, int startId) { in onStart() argument
117 msg.arg1 = startId; in onStart()
129 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument
130 onStart(intent, startId); in onStartCommand()
DIApplicationThread.java90 void scheduleServiceArgs(IBinder token, boolean taskRemoved, int startId, in scheduleServiceArgs() argument
DApplicationThreadNative.java247 int startId = data.readInt(); in onTransact() local
255 scheduleServiceArgs(token, taskRemoved, startId, fl, args); in onTransact()
926 public final void scheduleServiceArgs(IBinder token, boolean taskRemoved, int startId, in scheduleServiceArgs() argument
932 data.writeInt(startId); in scheduleServiceArgs()
DIActivityManager.java163 int startId) throws RemoteException; in stopServiceToken() argument
175 public void serviceDoneExecuting(IBinder token, int type, int startId, in serviceDoneExecuting() argument
DActivityThread.java427 int startId; field in ActivityThread.ServiceArgsData
431 return "ServiceArgsData{token=" + token + " startId=" + startId in toString()
739 public final void scheduleServiceArgs(IBinder token, boolean taskRemoved, int startId, in scheduleServiceArgs() argument
744 s.startId = startId; in scheduleServiceArgs()
2894 res = s.onStartCommand(data.args, data.flags, data.startId); in handleServiceArgs()
2904 data.token, SERVICE_DONE_EXECUTING_START, data.startId, res); in handleServiceArgs()
DActivityManagerNative.java924 int startId = data.readInt(); in onTransact() local
925 boolean res = stopServiceToken(className, token, startId); in onTransact()
997 int startId = data.readInt(); in onTransact() local
999 serviceDoneExecuting(token, type, startId, res); in onTransact()
3469 int startId) throws RemoteException { in stopServiceToken() argument
3475 data.writeInt(startId); in stopServiceToken()
3565 public void serviceDoneExecuting(IBinder token, int type, int startId, in serviceDoneExecuting() argument
3572 data.writeInt(startId); in serviceDoneExecuting()
/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/VoiceInteraction/src/com/android/test/voiceinteraction/
DMainInteractionService.java76 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument
80 stopSelf(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/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/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/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/service/
DTestJobService.java69 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() 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/OneMedia/src/com/android/onemedia/
DPlayerService.java65 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DIntRangeManagerTest.java64 protected void addRange(int startId, int endId, boolean selected) { in addRange() argument
65 mConfigList.add(new SmsBroadcastConfigInfo(startId, endId, in addRange()
88 protected boolean tryAddRanges(int startId, int endId, boolean selected) { in tryAddRanges() argument
93 addRange(startId, endId, selected); // adds to mConfigList in tryAddRanges()
591 TestIntRangeManager testManager, int startId, int endId, String client) { in verifyAddChannel() argument
594 assertTrue("enabling range", testManager.enableRange(startId, endId, client)); in verifyAddChannel()
597 checkConfigInfo(testManager.mConfigList.get(0), startId, endId, SMS_CB_CODE_SCHEME_MIN, in verifyAddChannel()
/frameworks/base/services/core/java/com/android/server/am/
DActiveServices.java527 int startId) { in stopServiceTokenLocked() argument
529 + " " + token + " startId=" + startId); in stopServiceTokenLocked()
532 if (startId >= 0) { in stopServiceTokenLocked()
536 ServiceRecord.StartItem si = r.findDeliveredStart(startId, false); in stopServiceTokenLocked()
547 if (r.getLastStartId() != startId) { in stopServiceTokenLocked()
552 Slog.w(TAG, "stopServiceToken startId " + startId in stopServiceTokenLocked()
1815 void serviceDoneExecutingLocked(ServiceRecord r, int type, int startId, int res) { in serviceDoneExecutingLocked() argument
1826 r.findDeliveredStart(startId, true); in serviceDoneExecutingLocked()
1833 r.findDeliveredStart(startId, true); in serviceDoneExecutingLocked()
1834 if (r.getLastStartId() == startId) { in serviceDoneExecutingLocked()
[all …]
/frameworks/base/core/java/com/android/internal/os/storage/
DExternalStorageFormatter.java80 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument
/frameworks/base/docs/html/guide/components/
Dservices.jd367 public int onStartCommand(Intent intent, int flags, int startId) {
369 return super.onStartCommand(intent,flags,startId);
417 // Stop the service using the startId, so that we don't stop
439 public int onStartCommand(Intent intent, int flags, int startId) {
445 msg.arg1 = startId;
561 android.app.Service#stopSelf(int)}, you pass the ID of the start request (the <code>startId</code>
737 … {@link android.app.Service#onStartCommand onStartCommand}(Intent intent, int flags, int startId) {
/frameworks/base/docs/html/google/play/billing/v2/
Dbilling_subscriptions.jd173 // service so we pass -1 as the startId to indicate that we should

12