Searched refs:mService (Results 1 - 25 of 60) sorted by relevance

123

/packages/apps/Calendar/src/com/android/calendar/
H A DAbstractCalendarActivity.java6 protected AsyncQueryService mService; field in class:AbstractCalendarActivity
9 if (mService == null) {
10 mService = new AsyncQueryService(this);
12 return mService;
H A DDeleteEventHelper.java93 private AsyncQueryService mService; field in class:DeleteEventHelper
110 mService = new AsyncQueryService(mContext) {
139 mService.startDelete(mService.getNextToken(), null, uri, null, null, Utils.UNDO_DELAY);
211 mService.startQuery(mService.getNextToken(), null, uri, EditEventHelper.EVENT_PROJECTION,
350 mService.startUpdate(mService.getNextToken(), null, uri, values, null, null,
391 mService.startInsert(mService
[all...]
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DA2dpProfile.java38 private BluetoothA2dp mService; field in class:A2dpProfile
58 mService = (BluetoothA2dp) proxy;
87 if (mService == null) return new ArrayList<BluetoothDevice>(0);
88 return mService.getDevicesMatchingConnectionStates(
95 if (mService == null) return false;
99 mService.disconnect(sink);
102 return mService.connect(device);
106 if (mService == null) return false;
108 if (mService.getPriority(device) > BluetoothProfile.PRIORITY_ON){
109 mService
[all...]
H A DHidProfile.java38 private BluetoothInputDevice mService; field in class:HidProfile
52 mService = (BluetoothInputDevice) proxy;
80 if (mService == null) return false;
81 return mService.connect(device);
85 if (mService == null) return false;
86 return mService.disconnect(device);
90 if (mService == null) {
93 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
96 ? mService.getConnectionState(device)
101 if (mService
[all...]
H A DHeadsetProfile.java41 private BluetoothHeadset mService; field in class:HeadsetProfile
64 mService = (BluetoothHeadset) proxy;
67 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
114 if (mService == null) return false;
115 List<BluetoothDevice> sinks = mService.getConnectedDevices();
118 mService.disconnect(sink);
121 return mService.connect(device);
125 if (mService == null) return false;
126 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
129 if (mService
[all...]
H A DPbapServerProfile.java39 private BluetoothPbap mService; field in class:PbapServerProfile
53 mService = (BluetoothPbap) proxy;
86 if (mService == null) return false;
87 return mService.disconnect();
91 if (mService == null) {
94 if (mService.isConnected(device))
133 if (mService != null) {
135 mService.close();
136 mService = null;
H A DPanProfile.java39 private BluetoothPan mService; field in class:PanProfile
57 mService = (BluetoothPan) proxy;
86 if (mService == null) return false;
87 List<BluetoothDevice> sinks = mService.getConnectedDevices();
90 mService.disconnect(sink);
93 return mService.connect(device);
97 if (mService == null) return false;
98 return mService.disconnect(device);
102 if (mService == null) {
105 return mService
[all...]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
H A DEmailServiceProxy.java68 private IEmailService mService; field in class:EmailServiceProxy
117 mService = IEmailService.Stub.asInterface(binder);
146 if (mCallback != null) mService.setCallback(mCallback);
147 mService.loadAttachment(attachmentId, background);
175 if (mCallback != null) mService.setCallback(mCallback);
176 mService.startSync(mailboxId, userRequest);
194 if (mCallback != null) mService.setCallback(mCallback);
195 mService.stopSync(mailboxId);
215 if (mCallback != null) mService.setCallback(mCallback);
216 mReturn = mService
[all...]
H A DAccountServiceProxy.java30 private IAccountService mService = null; field in class:AccountServiceProxy
39 mService = IAccountService.Stub.asInterface(binder);
52 mService.notifyLoginFailed(accountId);
62 mService.notifyLoginSucceeded(accountId);
73 mService.reconcileAccounts(protocol, accountManagerType);
85 mReturn = mService.getAccountColor(accountId);
102 mReturn = mService.getConfigurationData(accountType);
119 mReturn = mService.getDeviceId();
H A DPolicyServiceProxy.java35 private IPolicyService mService = null; field in class:PolicyServiceProxy
44 mService = IPolicyService.Stub.asInterface(binder);
55 mReturn = mService.isActive(arg0);
74 mService.setAccountPolicy(accountId, policy, securityKey);
84 mService.remoteWipe();
93 mService.setAccountHoldFlag(arg0, arg1);
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
H A DMeetingResponseParser.java27 private EasSyncService mService; field in class:MeetingResponseParser
31 mService = service;
39 mService.userLog("Error in meeting response: " + status);
42 mService.userLog("Meeting response calendar id: " + getValue());
H A DSettingsParser.java31 private final EasSyncService mService; field in class:SettingsParser
35 mService = service;
47 mService.userLog("Settings status = ", status);
76 mService.userLog("Set status = ", getValueInt());
H A DAbstractSyncParser.java43 protected EasSyncService mService; field in class:AbstractSyncParser
64 mService = adapter.mService;
65 mContext = mService.mContext;
67 mMailbox = mService.mMailbox;
68 mAccount = mService.mAccount;
134 mService.errorLog("Sync failed: " + CommandStatus.toString(status));
141 mService.errorLog("Bad sync key; RESET and delete data");
159 mService.mUpsyncFailed = true;
208 } else if (mService
[all...]
H A DMoveItemsParser.java27 private final EasSyncService mService; field in class:MoveItemsParser
47 mService = service;
86 mService.userLog("Error in MoveItems: " + status);
90 mService.userLog("Moved message id is now: " + mNewServerId);
H A DPingParser.java36 private EasSyncService mService; field in class:PingParser
49 mService = service;
58 mService.userLog("Changes found in: ", serverId);
75 mService.userLog("Ping completed, status = ", status);
H A DAttachmentLoader.java51 private final EasSyncService mService; field in class:AttachmentLoader
63 mService = service;
119 mService.userLog("Expected attachment length: ", len);
124 mService.userLog("Attachment load reached EOF, totalRead: ", totalRead);
148 mService.userLog("Read more than expected: ", totalRead);
185 boolean eas14 = mService.mProtocolVersionDouble >= Eas.SUPPORTED_PROTOCOL_EX2010_DOUBLE;
193 resp = mService.sendHttpClientPost("ItemOperations", s.toByteArray());
198 if (mService.mProtocolVersionDouble < Eas.SUPPORTED_PROTOCOL_EX2007_DOUBLE) {
202 resp = mService.sendHttpClientPost(cmd, null, EasSyncService.COMMAND_TIMEOUT);
232 mService
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DDictionaryPackInstallBroadcastReceiver.java32 final LatinIME mService; field in class:DictionaryPackInstallBroadcastReceiver
40 mService = service;
68 mService.resetSuggestMainDict();
86 mService.resetSuggestMainDict();
88 mService.resetSuggestMainDict();
/packages/apps/Email/tests/src/com/android/email/service/
H A DAttachmentDownloadServiceTests.java44 private AttachmentDownloadService mService; field in class:AttachmentDownloadServiceTests
71 mService = new AttachmentDownloadService();
72 mService.mContext = mMockContext;
73 mService.addServiceIntentForTest(mAccountId, new Intent(mContext,
76 mService.mAccountManagerStub = mAccountManagerStub;
77 mService.mConnectivityManager = new MockConnectivityManager(mContext, "mock");
78 mDownloadSet = mService.mDownloadSet;
80 new MockDirectory(mService.mContext.getCacheDir().getAbsolutePath());
149 mService.dequeue(att2.mId);
151 assertTrue(mService
[all...]
/packages/apps/Music/src/com/android/music/
H A DMediaPlaybackActivity.java78 private IMediaPlaybackService mService = null; field in class:MediaPlaybackActivity
274 artist = mService.getArtistName();
275 album = mService.getAlbumName();
276 song = mService.getTrackName();
277 audioid = mService.getAudioId();
371 if (!fromuser || (mService == null)) return;
377 mService.seek(mPosOverride);
424 if (mService == null) return;
426 if (mService.position() < 2000) {
427 mService
[all...]
/packages/apps/Contacts/src/com/android/contacts/vcard/
H A DExportProcessor.java50 private final VCardService mService; field in class:ExportProcessor
60 mService = service;
63 (NotificationManager)mService.getSystemService(Context.NOTIFICATION_SERVICE);
115 mService.getString(R.string.fail_reason_could_not_open_file,
125 mService.getString(R.string.config_export_vcard_type));
130 composer = new VCardComposer(mService, vcardType, true);
150 mService.getString(R.string.fail_reason_could_not_initialize_exporter,
159 mService.getString(R.string.fail_reason_no_exportable_contact);
178 mService.getString(R.string.fail_reason_error_occurred_during_export,
196 mService
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
H A DAdapterProperties.java55 private AdapterService mService; field in class:AdapterProperties
66 mService = service;
84 mService = null;
108 return mService.setAdapterPropertyNative(
138 return mService.setAdapterPropertyNative(
159 return mService.setAdapterPropertyNative(
270 return mService.setAdapterPropertyNative(
315 mService.sendBroadcastAsUser(intent, UserHandle.ALL,
316 mService.BLUETOOTH_PERM);
448 mService
[all...]
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
H A DSelectVisibleCalendarsFragment.java67 private AsyncQueryService mService; field in class:SelectVisibleCalendarsFragment
81 mService = new AsyncQueryService(activity) {
143 mQueryToken = mService.getNextToken();
144 mService.startQuery(mQueryToken, null, Calendars.CONTENT_URI, PROJECTION, SELECTION,
153 mUpdateToken = mService.getNextToken();
159 mService.startUpdate(mUpdateToken, null, uri, values, null, null, 0);
165 if (mService != null) {
166 mService.cancelOperation(mQueryToken);
167 mQueryToken = mService.getNextToken();
168 mService
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
H A DDictionaryPool.java44 private final AndroidSpellCheckerService mService; field in class:DictionaryPool
74 mService = service;
94 return mService.createDictAndProximity(mLocale);
100 return mService.createDictAndProximity(mLocale);
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
H A DKeyChainServiceTest.java45 private IKeyChainService mService; field in class:KeyChainServiceTest
66 mService = IKeyChainService.Stub.asInterface(service);
73 mService = null;
198 if (mService == null) {
202 assertNotNull(mService);
208 mService.requestPrivateKey(alias1));
210 byte[] certificate = mService.getCertificate(alias1);
218 mService.requestPrivateKey(alias2);
224 mService.getCertificate(alias2);
/packages/wallpapers/MagicSmoke/src/com/android/magicsmoke/
H A DMagicSmokeSelector.java145 IWallpaperService mService; field in class:MagicSmokeSelector.WallpaperConnection
176 mService = null;
182 mService = IWallpaperService.Stub.asInterface(service);
186 mService.attach(this, view.getWindowToken(),
196 mService = null;

Completed in 2134 milliseconds

123