Home
last modified time | relevance | path

Searched refs:svc (Results 1 – 21 of 21) sorted by relevance

/packages/apps/Exchange/tests/src/com/android/exchange/
DEasAccountServiceTests.java39 EasAccountService svc = new EasAccountService(); in testResetHeartbeats() local
41 svc.mPingMaxHeartbeat = 1000; in testResetHeartbeats()
42 svc.mPingMinHeartbeat = 200; in testResetHeartbeats()
43 svc.mPingHeartbeat = 300; in testResetHeartbeats()
44 svc.mPingForceHeartbeat = 100; in testResetHeartbeats()
45 svc.mPingHeartbeatDropped = true; in testResetHeartbeats()
46 svc.resetHeartbeats(400); in testResetHeartbeats()
47 assertEquals(400, svc.mPingMinHeartbeat); in testResetHeartbeats()
48 assertEquals(1000, svc.mPingMaxHeartbeat); in testResetHeartbeats()
49 assertEquals(400, svc.mPingHeartbeat); in testResetHeartbeats()
[all …]
DEasSyncServiceTests.java54 EasSyncService svc = new EasSyncService(); in testAddHeaders() local
55 svc.mAuthString = "auth"; in testAddHeaders()
56 svc.mProtocolVersion = "12.1"; in testAddHeaders()
57 svc.mAccount = null; in testAddHeaders()
59 svc.setHeaders(method, false); in testAddHeaders()
65 svc.setHeaders(method, true); in testAddHeaders()
72 svc.mAccount = account; in testAddHeaders()
74 svc.setHeaders(method, true); in testAddHeaders()
80 svc.mAccount = account; in testAddHeaders()
82 svc.setHeaders(method, true); in testAddHeaders()
[all …]
DEasOutboxServiceTests.java33 EasOutboxService svc = new EasOutboxService(mProviderContext, new Mailbox()); in testGenerateSmartSendCmd() local
36 String cmd = svc.generateSmartSendCmd(true, info); in testGenerateSmartSendCmd()
40 cmd = svc.generateSmartSendCmd(false, info); in testGenerateSmartSendCmd()
/packages/apps/Exchange/src/com/android/exchange/
DEasSyncService.java410 EasSyncService svc = new EasSyncService("OutOfBand"); in setupServiceForAccount() local
412 svc.mProtocolVersion = protocolVersion; in setupServiceForAccount()
413 svc.mProtocolVersionDouble = Eas.getProtocolVersionDouble(protocolVersion); in setupServiceForAccount()
414 svc.mContext = context; in setupServiceForAccount()
415 svc.mHostAddress = ha.mAddress; in setupServiceForAccount()
416 svc.mUserName = ha.mLogin; in setupServiceForAccount()
417 svc.mPassword = ha.mPassword; in setupServiceForAccount()
419 svc.setConnectionParameters(ha); in setupServiceForAccount()
420 svc.mDeviceId = ExchangeService.getDeviceId(context); in setupServiceForAccount()
424 svc.mAccount = account; in setupServiceForAccount()
[all …]
DExchangeService.java477 AbstractSyncService svc = exchangeService.mServiceMap.get(id); in reloadFolderList() local
479 if (svc != null) { in reloadFolderList()
480 synchronized (svc.getSynchronizer()) { in reloadFolderList()
481 svc.stop(); in reloadFolderList()
483 Thread thread = svc.mThread; in reloadFolderList()
623 final AbstractSyncService svc = getRunningService(accountMailboxId);
624 if (svc != null) {
630 svc.reset();
/packages/apps/Email/emailsync/src/com/android/emailsync/
DSyncManager.java946 AbstractSyncService svc = mServiceMap.get(mid); in stopAccountSyncs() local
947 if (svc != null) { in stopAccountSyncs()
948 svc.stop(); in stopAccountSyncs()
952 AbstractSyncService svc = mServiceMap.get(mid); in stopAccountSyncs() local
953 if (svc != null) { in stopAccountSyncs()
954 svc.stop(); in stopAccountSyncs()
955 Thread t = svc.mThread; in stopAccountSyncs()
1278 AbstractSyncService svc = mServiceMap.get(mailboxId); in stopServiceThreads() local
1279 if (svc != null) { in stopServiceThreads()
1280 log("Stopping " + svc.mAccount.mDisplayName + '/' + svc.mMailbox.mDisplayName); in stopServiceThreads()
[all …]
DAbstractSyncService.java135 AbstractSyncService svc; in validate() local
137 svc = klass.newInstance(); in validate()
138 return svc.validateAccount(hostAuth, context); in validate()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DGattDebugUtils.java77 static boolean handleDebugAction(GattService svc, Intent intent) { in handleDebugAction() argument
88 svc.mClientMap.dump(); in handleDebugAction()
91 svc.mServerMap.dump(); in handleDebugAction()
94 svc.mHandleMap.dump(); in handleDebugAction()
105 svc.gattTestCommand( 0x01, null,null, bEnable ? 1 : 0, 0,0,0,0); in handleDebugAction()
110 svc.gattTestCommand( 0x02, null, address, type, 0,0,0,0); in handleDebugAction()
113 svc.gattTestCommand( 0x03, null, null, 0,0,0,0,0); in handleDebugAction()
120 svc.gattTestCommand( 0x04, uuid, null, type, shdl, ehdl, 0,0); in handleDebugAction()
128 svc.gattTestCommand( 0xF0, null, null, auth_req, io_cap, init_key, in handleDebugAction()
DGattService.java259 public BluetoothGattBinder(GattService svc) { in BluetoothGattBinder() argument
260 mService = svc; in BluetoothGattBinder()
1789 SearchQueue.Entry svc = mSearchQueue.pop(); in continueSearch() local
1791 if (svc.charUuidLsb == 0) { in continueSearch()
1793 gattClientGetCharacteristicNative(svc.connId, svc.srvcType, in continueSearch()
1794 svc.srvcInstId, svc.srvcUuidLsb, svc.srvcUuidMsb, 0, 0, 0); in continueSearch()
1797 gattClientGetDescriptorNative(svc.connId, svc.srvcType, in continueSearch()
1798 svc.srvcInstId, svc.srvcUuidLsb, svc.srvcUuidMsb, in continueSearch()
1799 svc.charInstId, svc.charUuidLsb, svc.charUuidMsb, 0, 0, 0); in continueSearch()
/packages/apps/Launcher3/src/com/android/launcher3/
DMemoryTracker.java165 for (ActivityManager.RunningServiceInfo svc : svcs) { in onCreate()
166 if (svc.service.getPackageName().equals(getPackageName())) { in onCreate()
167 Log.v(TAG, "discovered running service: " + svc.process + " (" + svc.pid + ")"); in onCreate()
168 startTrackingProcess(svc.pid, svc.process, in onCreate()
169 … System.currentTimeMillis() - (SystemClock.elapsedRealtime() - svc.activeSince)); in onCreate()
/packages/apps/Email/src/com/android/email/mail/store/
DServiceStore.java63 IEmailService svc = getService(); in checkSettings() local
66 if (svc instanceof EmailServiceProxy) { in checkSettings()
67 ((EmailServiceProxy)svc).setTimeout(90); in checkSettings()
69 return svc.validate(mHostAuth); in checkSettings()
/packages/apps/Mms/src/com/android/mms/transaction/
DPushReceiver.java131 Intent svc = new Intent(mContext, TransactionService.class); in doInBackground() local
132 svc.putExtra(TransactionBundle.URI, uri.toString()); in doInBackground()
133 svc.putExtra(TransactionBundle.TRANSACTION_TYPE, in doInBackground()
135 mContext.startService(svc); in doInBackground()
/packages/apps/Settings/src/com/android/settings/applications/
DProcStatsEntry.java261 public void addService(ProcessStats.ServiceState svc) { in addService() argument
262 ArrayList<Service> services = mServices.get(svc.mPackage); in addService()
265 mServices.put(svc.mPackage, services); in addService()
267 services.add(new Service(svc)); in addService()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DProfileService.java205 AdapterService svc = AdapterService.getAdapterService(); in notifyProfileConnectionStateChanged() local
206 if (svc != null) { in notifyProfileConnectionStateChanged()
207 svc.onProfileConnectionStateChanged(device, profileId, newState, prevState); in notifyProfileConnectionStateChanged()
DAdapterService.java485 public AdapterServiceBinder(AdapterService svc) { in AdapterServiceBinder() argument
486 mService = svc; in AdapterServiceBinder()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpStateMachine.java117 private A2dpStateMachine(A2dpService svc, Context context) { in A2dpStateMachine() argument
119 mService = svc; in A2dpStateMachine()
144 static A2dpStateMachine make(A2dpService svc, Context context) { in make() argument
146 A2dpStateMachine a2dpSm = new A2dpStateMachine(svc, context); in make()
DA2dpService.java220 BluetoothA2dpBinder(A2dpService svc) { in BluetoothA2dpBinder() argument
221 mService = svc; in BluetoothA2dpBinder()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetService.java123 public BluetoothHeadsetBinder(HeadsetService svc) { in BluetoothHeadsetBinder() argument
124 mService = svc; in BluetoothHeadsetBinder()
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
DHidService.java280 public BluetoothInputDeviceBinder(HidService svc) { in BluetoothInputDeviceBinder() argument
281 mService = svc; in BluetoothInputDeviceBinder()
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/
DPanService.java218 public BluetoothPanBinder(PanService svc) { in BluetoothPanBinder() argument
219 mService = svc; in BluetoothPanBinder()
/packages/apps/Bluetooth/src/com/android/bluetooth/hdp/
DHealthService.java319 public BluetoothHealthBinder(HealthService svc) { in BluetoothHealthBinder() argument
320 mService = svc; in BluetoothHealthBinder()