/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | HeadsetProfile.java | 38 private BluetoothHeadset mService; field in HeadsetProfile 60 mService = (BluetoothHeadset) proxy; in onServiceConnected() 64 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() 83 mService = null; in onServiceDisconnected() 111 List<BluetoothDevice> sinks = mService.getConnectedDevices(); in connect() 114 mService.disconnect(sink); in connect() 117 return mService.connect(device); in connect() 121 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in disconnect() 124 if (mService.getPriority(device) > BluetoothProfile.PRIORITY_ON) { in disconnect() 125 mService.setPriority(device, BluetoothProfile.PRIORITY_ON); in disconnect() [all …]
|
D | A2dpProfile.java | 37 private BluetoothA2dp mService; field in A2dpProfile 54 mService = (BluetoothA2dp) proxy; in onServiceConnected() 58 mService = null; in onServiceDisconnected() 77 return mService.getDevicesMatchingConnectionStates( in getConnectedDevices() 87 mService.disconnect(sink); in connect() 90 return mService.connect(device); in connect() 94 return mService.disconnect(device); in disconnect() 98 return mService.getConnectionState(device); in getConnectionStatus() 102 return mService.getPriority(device) > BluetoothProfile.PRIORITY_OFF; in isPreferred() 106 return mService.getPriority(device); in getPreferred() [all …]
|
D | HidProfile.java | 33 private BluetoothInputDevice mService; field in HidProfile 46 mService = (BluetoothInputDevice) proxy; in onServiceConnected() 52 mService = null; in onServiceDisconnected() 70 return mService.connect(device); in connect() 74 return mService.disconnect(device); in disconnect() 78 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in getConnectionStatus() 81 ? mService.getConnectionState(device) in getConnectionStatus() 86 return mService.getPriority(device) > BluetoothProfile.PRIORITY_OFF; in isPreferred() 90 return mService.getPriority(device); in getPreferred() 95 if (mService.getPriority(device) < BluetoothProfile.PRIORITY_ON) { in setPreferred() [all …]
|
D | PanProfile.java | 35 private BluetoothPan mService; field in PanProfile 51 mService = (BluetoothPan) proxy; in onServiceConnected() 55 mService = null; in onServiceDisconnected() 74 List<BluetoothDevice> sinks = mService.getConnectedDevices(); in connect() 77 mService.disconnect(sink); in connect() 80 return mService.connect(device); in connect() 84 return mService.disconnect(device); in disconnect() 88 return mService.getConnectionState(device); in getConnectionStatus() 124 int state = mService.getConnectionState(device); in getSummaryResourceForDevice()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
D | EmailServiceProxy.java | 68 private IEmailService mService; field in EmailServiceProxy 117 mService = IEmailService.Stub.asInterface(binder); in onConnected() 146 if (mCallback != null) mService.setCallback(mCallback); in loadAttachment() 147 mService.loadAttachment(attachmentId, background); in loadAttachment() 175 if (mCallback != null) mService.setCallback(mCallback); in startSync() 176 mService.startSync(mailboxId, userRequest); in startSync() 194 if (mCallback != null) mService.setCallback(mCallback); in stopSync() 195 mService.stopSync(mailboxId); in stopSync() 215 if (mCallback != null) mService.setCallback(mCallback); in validate() 216 mReturn = mService.validate(hostAuth); in validate() [all …]
|
D | AccountServiceProxy.java | 30 private IAccountService mService = null; field in AccountServiceProxy 39 mService = IAccountService.Stub.asInterface(binder); in onConnected() 52 mService.notifyLoginFailed(accountId); in notifyLoginFailed() 62 mService.notifyLoginSucceeded(accountId); in notifyLoginSucceeded() 73 mService.reconcileAccounts(protocol, accountManagerType); in reconcileAccounts() 85 mReturn = mService.getAccountColor(accountId); in getAccountColor() 102 mReturn = mService.getConfigurationData(accountType); in getConfigurationData() 119 mReturn = mService.getDeviceId(); in getDeviceId()
|
D | PolicyServiceProxy.java | 35 private IPolicyService mService = null; field in PolicyServiceProxy 44 mService = IPolicyService.Stub.asInterface(binder); in onConnected() 55 mReturn = mService.isActive(arg0); in isActive() 74 mService.setAccountPolicy(accountId, policy, securityKey); in setAccountPolicy() 84 mService.remoteWipe(); in remoteWipe() 93 mService.setAccountHoldFlag(arg0, arg1); in setAccountHoldFlag()
|
/packages/apps/Music/src/com/android/music/ |
D | MediaPlaybackActivity.java | 78 private IMediaPlaybackService mService = null; field in MediaPlaybackActivity 274 artist = mService.getArtistName(); in onLongClick() 275 album = mService.getAlbumName(); in onLongClick() 276 song = mService.getTrackName(); in onLongClick() 277 audioid = mService.getAudioId(); in onLongClick() 371 if (!fromuser || (mService == null)) return; 377 mService.seek(mPosOverride); 424 if (mService == null) return; 426 if (mService.position() < 2000) { 427 mService.prev(); [all …]
|
D | MediaPlaybackService.java | 2057 WeakReference<MediaPlaybackService> mService; field in MediaPlaybackService.ServiceStub 2060 mService = new WeakReference<MediaPlaybackService>(service); in ServiceStub() 2065 mService.get().open(path); in openFile() 2068 mService.get().open(list, position); in open() 2071 return mService.get().getQueuePosition(); in getQueuePosition() 2074 mService.get().setQueuePosition(index); in setQueuePosition() 2077 return mService.get().isPlaying(); in isPlaying() 2080 mService.get().stop(); in stop() 2083 mService.get().pause(); in pause() 2086 mService.get().play(); in play() [all …]
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/ |
D | AbstractSyncParser.java | 43 protected EasSyncService mService; field in AbstractSyncParser 64 mService = adapter.mService; in init() 65 mContext = mService.mContext; in init() 67 mMailbox = mService.mMailbox; in init() 68 mAccount = mService.mAccount; in init() 134 mService.errorLog("Sync failed: " + CommandStatus.toString(status)); in parse() 141 mService.errorLog("Bad sync key; RESET and delete data"); in parse() 159 mService.mUpsyncFailed = true; in parse() 208 } else if (mService.mChangeCount > 0 && in parse() 218 synchronized (mService.getSynchronizer()) { in parse() [all …]
|
D | AttachmentLoader.java | 51 private final EasSyncService mService; field in AttachmentLoader 63 mService = service; in AttachmentLoader() 119 mService.userLog("Expected attachment length: ", len); in readChunked() 124 mService.userLog("Attachment load reached EOF, totalRead: ", totalRead); in readChunked() 148 mService.userLog("Read more than expected: ", totalRead); in readChunked() 185 boolean eas14 = mService.mProtocolVersionDouble >= Eas.SUPPORTED_PROTOCOL_EX2010_DOUBLE; in loadAttachment() 193 resp = mService.sendHttpClientPost("ItemOperations", s.toByteArray()); in loadAttachment() 198 if (mService.mProtocolVersionDouble < Eas.SUPPORTED_PROTOCOL_EX2007_DOUBLE) { in loadAttachment() 202 resp = mService.sendHttpClientPost(cmd, null, EasSyncService.COMMAND_TIMEOUT); in loadAttachment() 232 mService.errorLog("Can't get attachment; write file not found?"); in loadAttachment()
|
D | MeetingResponseParser.java | 27 private EasSyncService mService; field in MeetingResponseParser 31 mService = service; in MeetingResponseParser() 39 mService.userLog("Error in meeting response: " + status); in parseResult() 42 mService.userLog("Meeting response calendar id: " + getValue()); in parseResult()
|
D | SettingsParser.java | 31 private final EasSyncService mService; field in SettingsParser 35 mService = service; in SettingsParser() 47 mService.userLog("Settings status = ", status); in parse() 76 mService.userLog("Set status = ", getValueInt()); in parseSet()
|
D | AbstractSyncAdapter.java | 58 public EasSyncService mService; field in AbstractSyncAdapter 86 mService = service; in AbstractSyncAdapter() 96 mService.userLog(strings); in userLog() 100 mService.mChangeCount++; in incrementChangeCount() 219 synchronized (mService.getSynchronizer()) { in execute() 220 if (!mService.isStopped()) { in execute() 223 mService.userLog("Results: " + result.length); in execute() 295 mService.userLog("Try to execute ", ops.size(), " CPO's for " + authority); in safeExecute() 302 mService.userLog("Transaction too large; spliting!"); in safeExecute() 311 mService.userLog("Try mini-batch of ", mini.size(), " CPO's"); in safeExecute()
|
D | MoveItemsParser.java | 27 private final EasSyncService mService; field in MoveItemsParser 47 mService = service; in MoveItemsParser() 86 mService.userLog("Error in MoveItems: " + status); in parseResponse() 90 mService.userLog("Moved message id is now: " + mNewServerId); in parseResponse()
|
D | PingParser.java | 36 private EasSyncService mService; field in PingParser 49 mService = service; in PingParser() 58 mService.userLog("Changes found in: ", serverId); in parsePingFolders() 75 mService.userLog("Ping completed, status = ", status); in parse()
|
/packages/apps/Contacts/src/com/android/contacts/vcard/ |
D | ExportProcessor.java | 50 private final VCardService mService; field in ExportProcessor 60 mService = service; in ExportProcessor() 63 (NotificationManager)mService.getSystemService(Context.NOTIFICATION_SERVICE); in ExportProcessor() 115 mService.getString(R.string.fail_reason_could_not_open_file, in runInternal() 125 mService.getString(R.string.config_export_vcard_type)); in runInternal() 130 composer = new VCardComposer(mService, vcardType, true); in runInternal() 150 mService.getString(R.string.fail_reason_could_not_initialize_exporter, in runInternal() 159 mService.getString(R.string.fail_reason_no_exportable_contact); in runInternal() 178 mService.getString(R.string.fail_reason_error_occurred_during_export, in runInternal() 196 mService.updateMediaScanner(request.destUri.getPath()); in runInternal() [all …]
|
/packages/apps/Email/tests/src/com/android/email/service/ |
D | AttachmentDownloadServiceTests.java | 44 private AttachmentDownloadService mService; field in AttachmentDownloadServiceTests 71 mService = new AttachmentDownloadService(); in setUp() 72 mService.mContext = mMockContext; in setUp() 73 mService.addServiceIntentForTest(mAccountId, new Intent(mContext, in setUp() 76 mService.mAccountManagerStub = mAccountManagerStub; in setUp() 77 mService.mConnectivityManager = new MockConnectivityManager(mContext, "mock"); in setUp() 78 mDownloadSet = mService.mDownloadSet; in setUp() 80 new MockDirectory(mService.mContext.getCacheDir().getAbsolutePath()); in setUp() 149 mService.dequeue(att2.mId); in testDownloadSet() 151 assertTrue(mService.isQueued(att4.mId)); in testDownloadSet() [all …]
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | AbstractCalendarActivity.java | 6 protected AsyncQueryService mService; field in AbstractCalendarActivity 9 if (mService == null) { in getAsyncQueryService() 10 mService = new AsyncQueryService(this); in getAsyncQueryService() 12 return mService; in getAsyncQueryService()
|
D | DeleteEventHelper.java | 93 private AsyncQueryService mService; field in DeleteEventHelper 110 mService = new AsyncQueryService(mContext) { in DeleteEventHelper() 139 mService.startDelete(mService.getNextToken(), null, uri, null, null, Utils.UNDO_DELAY); 211 mService.startQuery(mService.getNextToken(), null, uri, EditEventHelper.EVENT_PROJECTION, in delete() 350 mService.startUpdate(mService.getNextToken(), null, uri, values, null, null, in deleteExceptionEvent() 391 mService.startInsert(mService.getNextToken(), null, Events.CONTENT_URI, values, in deleteRepeatingEvent() 397 mService.startDelete(mService.getNextToken(), null, uri, null, null, in deleteRepeatingEvent() 406 mService.startDelete(mService.getNextToken(), null, uri, null, null, in deleteRepeatingEvent() 431 mService.startUpdate(mService.getNextToken(), null, uri, values, null, null, in deleteRepeatingEvent()
|
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
D | SelectVisibleCalendarsFragment.java | 67 private AsyncQueryService mService; field in SelectVisibleCalendarsFragment 81 mService = new AsyncQueryService(activity) { in onAttach() 143 mQueryToken = mService.getNextToken(); in onResume() 144 mService.startQuery(mQueryToken, null, Calendars.CONTENT_URI, PROJECTION, SELECTION, in onResume() 153 mUpdateToken = mService.getNextToken(); in toggleVisibility() 159 mService.startUpdate(mUpdateToken, null, uri, values, null, null, 0); in toggleVisibility() 165 if (mService != null) { in eventsChanged() 166 mService.cancelOperation(mQueryToken); in eventsChanged() 167 mQueryToken = mService.getNextToken(); in eventsChanged() 168 mService.startQuery(mQueryToken, null, Calendars.CONTENT_URI, PROJECTION, SELECTION, in eventsChanged()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | DictionaryPackInstallBroadcastReceiver.java | 32 final LatinIME mService; field in DictionaryPackInstallBroadcastReceiver 40 mService = service; in DictionaryPackInstallBroadcastReceiver() 68 mService.resetSuggestMainDict(); in onReceive() 86 mService.resetSuggestMainDict(); in onReceive() 88 mService.resetSuggestMainDict(); in onReceive()
|
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/ |
D | KeyChainServiceTest.java | 45 private IKeyChainService mService; field in KeyChainServiceTest 66 mService = IKeyChainService.Stub.asInterface(service); 73 mService = null; 198 if (mService == null) { in test_KeyChainService() 202 assertNotNull(mService); in test_KeyChainService() 208 mService.requestPrivateKey(alias1)); in test_KeyChainService() 210 byte[] certificate = mService.getCertificate(alias1); in test_KeyChainService() 218 mService.requestPrivateKey(alias2); in test_KeyChainService() 224 mService.getCertificate(alias2); in test_KeyChainService()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
D | DictionaryPool.java | 27 private final AndroidSpellCheckerService mService; field in DictionaryPool 37 mService = service; in DictionaryPool() 53 return mService.createDictAndProximity(mLocale); in take()
|
/packages/wallpapers/MagicSmoke/src/com/android/magicsmoke/ |
D | MagicSmokeSelector.java | 145 IWallpaperService mService; field in MagicSmokeSelector.WallpaperConnection 176 mService = null; in disconnect() 182 mService = IWallpaperService.Stub.asInterface(service); in onServiceConnected() 186 mService.attach(this, view.getWindowToken(), in onServiceConnected() 196 mService = null; in onServiceDisconnected()
|