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

12345

/packages/apps/Calendar/src/com/android/calendar/
H A DAbstractCalendarActivity.java22 protected AsyncQueryService mService; field in class:AbstractCalendarActivity
25 if (mService == null) {
26 mService = new AsyncQueryService(this);
28 return mService;
/packages/apps/Settings/tests/robotests/src/com/android/settings/
H A DTetherServiceTest.java45 private TetherService mService; field in class:TetherServiceTest
52 mService = new TetherService();
53 ReflectionHelpers.setField(mService, "mBase", mAppContext);
54 mService.setHotspotOffReceiver(new HotspotOffReceiver(mContext));
59 mService.setHotspotOffReceiver(new HotspotOffReceiver(mAppContext));
61 mService.scheduleAlarm();
69 mService.scheduleAlarm();
72 ReflectionHelpers.setField(mService, "mCurrentTethers", tethers);
74 mService.cancelAlarmIfNecessary();
81 ReflectionHelpers.setField(mService, "mCurrentTether
[all...]
/packages/services/Car/car-systemtest-lib/src/android/car/test/
H A DCarTestManager.java32 private final ICarTest mService; field in class:CarTestManager
36 mService = ICarTest.Stub.asInterface(carServiceBinder);
53 mService.stopCarService(token);
67 mService.startCarService(token);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DDictionaryPackInstallBroadcastReceiver.java47 final LatinIME mService; field in class:DictionaryPackInstallBroadcastReceiver
55 mService = null;
59 mService = service;
69 if (null == mService) {
92 mService.resetSuggestMainDict();
101 if (null == mService) {
115 mService.resetSuggestMainDict();
117 if (null == mService) {
122 mService.resetSuggestMainDict();
124 if (null != mService) {
[all...]
/packages/apps/Contacts/src/com/android/contacts/vcard/
H A DExportProcessor.java53 private final VCardService mService; field in class:ExportProcessor
68 Toast.makeText(mService,
77 mService = service;
80 (NotificationManager)mService.getSystemService(Context.NOTIFICATION_SERVICE);
101 FeedbackHelper.sendFeedback(mService, LOG_TAG, "Failed to process vcard export", e);
130 mService.getString(R.string.fail_reason_could_not_open_file,
140 mService.getString(R.string.config_export_vcard_type));
145 composer = new VCardComposer(mService, vcardType, true);
163 mService.getString(R.string.fail_reason_could_not_initialize_exporter,
172 mService
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
H A DProfileObserver.java18 private AdapterService mService; field in class:ProfileObserver
24 mService = service;
37 mService.enable();
46 if (mService.isEnabled()) {
49 mService.disable();
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
H A DAccountServiceProxy.java28 private IAccountService mService = null; field in class:AccountServiceProxy
37 mService = IAccountService.Stub.asInterface(binder);
51 mReturn = mService.getAccountColor(accountId);
68 mReturn = mService.getConfigurationData(accountType);
85 mReturn = mService.getDeviceId();
H A DEmailServiceProxy.java64 private IEmailService mService; field in class:EmailServiceProxy
97 mService = IEmailService.Stub.asInterface(binder);
124 mService.loadAttachment(cb, accountId, attachmentId, background);
154 mReturn = mService.validate(hostAuthCom);
186 mReturn = mService.autoDiscover(userName, password);
212 mService.updateFolderList(accountId);
228 mService.setLogging(flags);
245 mService.sendMeetingResponse(messageId, response);
263 mService.deleteExternalAccountPIMData(emailAddress);
292 mReturn = mService
[all...]
H A DPolicyServiceProxy.java31 private IPolicyService mService = null; field in class:PolicyServiceProxy
40 mService = IPolicyService.Stub.asInterface(binder);
53 mReturn = mService.isActive(arg0);
82 mService.setAccountPolicy2(accountId, policy, securityKey, notify);
92 mReturn = mService.canDisableCamera();
111 mService.remoteWipe();
121 mService.setAccountHoldFlag(arg0, arg1);
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
H A DCarPowerManagementServiceTest.java39 private CarPowerManagementService mService; field in class:CarPowerManagementServiceTest
54 if (mService != null) {
55 mService.release();
60 mService = new CarPowerManagementService(mPowerHal, mSystemInterface);
61 mService.init();
62 mService.registerPowerEventListener(mPowerEventListener);
64 mService.registerPowerEventProcessingHandler(mPowerEventProcessingHandler);
70 mService = new CarPowerManagementService(mPowerHal, mSystemInterface);
71 mService.init();
72 mService
[all...]
/packages/services/Car/car-lib/src/android/car/media/
H A DCarAudioManager.java125 private final ICarAudio mService; field in class:CarAudioManager
140 return mService.getAudioAttributesForCarUsage(carUsage);
160 return mService.getAudioAttributesForRadio(radioType);
179 return mService.getAudioAttributesForExternalSource(externalSourceType);
194 return mService.getSupportedExternalSourceTypes();
209 return mService.getSupportedRadioTypes();
255 mService.setStreamVolume(streamType, index, flags);
273 mService.setVolumeController(controller);
291 return mService.getStreamMaxVolume(stream);
309 return mService
[all...]
/packages/services/BuiltInPrintService/src/com/android/bips/jni/
H A DPdfRender.java50 private IPdfRender mService; field in class:PdfRender
69 mService = IPdfRender.Stub.asInterface(service);
74 mService = null;
88 mService = null;
98 if (mService == null) return 0;
107 return mService.openDocument(pfd);
121 if (mService == null) return null;
124 return mService.getPageSize(page - 1);
147 if (mService == null) return false;
151 ParcelFileDescriptor input = mService
[all...]
/packages/apps/Messaging/tests/src/com/android/messaging/
H A DFakeContext.java42 private final FakeContextHost mService; field in class:FakeContext
48 mService = service;
68 if (mService == null) {
71 intent.getComponent().getClassName().equals(mService.getServiceClassName())) {
74 mService.startServiceForStub(intent);
77 mService.onStartCommandForStub(intent, 0, 0);
/packages/services/Car/car-lib/src/android/car/
H A DCarProjectionManager.java55 private final ICarProjection mService; field in class:CarProjectionManager
66 mService = ICarProjection.Stub.asInterface(service);
86 mService.regsiterProjectionListener(mBinderListener, voiceSearchFilter);
103 mService.unregsiterProjectionListener(mBinderListener);
124 mService.registerProjectionRunner(serviceIntent);
143 mService.unregisterProjectionRunner(serviceIntent);
H A DCarInfoManager.java92 private final ICarInfo mService; field in class:CarInfoManager
143 return mService.getStringInfo(INFO_KEY_PRODUCT_CONFIGURATION);
165 mBasicInfo = mService.getBasicInfo();
176 mService = ICarInfo.Stub.asInterface(service);
/packages/services/Car/car-lib/src/android/car/content/pm/
H A DCarPackageManager.java72 private final ICarPackageManager mService; field in class:CarPackageManager
77 mService = ICarPackageManager.Stub.asInterface(service);
117 mService.setAppBlockingPolicy(packageName, policy, flags);
143 return mService.isActivityBackedBySafeActivity(activityName);
161 return mService.isActivityAllowedWhileDriving(packageName, className);
179 return mService.isServiceAllowedWhileDriving(packageName, className);
/packages/apps/Music/src/com/android/music/
H A DMediaPlaybackActivity.java76 private IMediaPlaybackService mService = null; field in class:MediaPlaybackActivity
267 artist = mService.getArtistName();
268 album = mService.getAlbumName();
269 song = mService.getTrackName();
270 audioid = mService.getAudioId();
360 if (!fromuser || (mService == null)) return;
366 mService.seek(mPosOverride);
411 if (mService == null) return;
413 if (mService.position() < 2000) {
414 mService
[all...]
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/hfpclient/
H A DHeadsetClientServiceTest.java29 private HeadsetClientService mService = null; field in class:HeadsetClientServiceTest
41 mService = HeadsetClientService.getHeadsetClientService();
42 assertTrue(mService != null);
60 mService = null;
/packages/apps/Terminal/src/com/android/terminal/
H A DTerminalActivity.java45 private TerminalService mService; field in class:TerminalActivity
53 mService = ((TerminalService.ServiceBinder) service).getService();
55 final int size = mService.getTerminals().size();
60 mService.createTerminal();
70 mService = null;
81 if (mService != null) {
82 return mService.getTerminals().size();
93 final Terminal term = mService.getTerminals().valueAt(position);
126 final int index = mService.getTerminals().indexOfKey(key);
141 return mService
[all...]
/packages/services/Car/libvehiclemonitor/native/
H A DVehicleMonitor.cpp54 mService(vehicleMonitor) {
80 mService = interface_cast<IVehicleMonitor>(binder);
81 IInterface::asBinder(mService)->linkToDeath(this);
87 return mService;
/packages/services/Car/car-lib/src/android/car/hardware/radio/
H A DCarRadioManager.java53 private final ICarRadio mService; field in class:CarRadioManager
116 mService = ICarRadio.Stub.asInterface(service);
121 mCount = mService.getPresetCount();
141 mService.registerListener(mListenerToService);
159 mService.unregisterListener(mListenerToService);
186 CarRadioPreset preset = mService.getPreset(presetNumber);
209 return mService.setPreset(preset);
/packages/services/Car/car-lib/src/android/car/navigation/
H A DCarNavigationStatusManager.java162 private final IInstrumentClusterNavigation mService; field in class:CarNavigationStatusManager
170 mService = IInstrumentClusterNavigation.Stub.asInterface(service);
180 mService.onStartNavigation();
182 mService.onStopNavigation();
220 mService.onNextManeuverChanged(turnEvent, eventName, turnAngle, turnNumber, image,
246 mService.onNextManeuverDistanceChanged(distanceMeters, timeSeconds,
264 return mService.getInstrumentClusterInfo();
/packages/services/Car/service/src/com/android/car/pm/
H A DAppBlockingPolicyProxy.java37 private final CarPackageManagerService mService; field in class:AppBlockingPolicyProxy
62 mService.onPolicyConnectionFailure(AppBlockingPolicyProxy.this);
68 mService = service;
72 mHandler = new Handler(mService.getLooper());
119 mService.onPolicyConnectionFailure(this);
141 mService.onPolicyConnectionFailure(this);
160 mService.onPolicyConnectionAndSet(AppBlockingPolicyProxy.this, policy);
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/services/
H A DFileOperationServiceTest.java62 private FileOperationService mService; field in class:FileOperationServiceTest
91 mService = getService();
93 assertNull(mService.executor);
94 mService.executor = mExecutor;
96 assertNull(mService.deletionExecutor);
97 mService.deletionExecutor = mDeletionExecutor;
99 assertNull(mService.handler);
100 mService.handler = mHandler;
102 assertNull(mService.foregroundManager);
103 mService
[all...]
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
H A DSelectVisibleCalendarsFragment.java70 private AsyncQueryService mService; field in class:SelectVisibleCalendarsFragment
86 mService = new AsyncQueryService(activity) {
150 mQueryToken = mService.getNextToken();
151 mService.startQuery(mQueryToken, null, Calendars.CONTENT_URI, PROJECTION, SELECTION,
159 mUpdateToken = mService.getNextToken();
165 mService.startUpdate(mUpdateToken, null, uri, values, null, null, 0);
171 if (mService != null) {
172 mService.cancelOperation(mQueryToken);
173 mQueryToken = mService.getNextToken();
174 mService
[all...]

Completed in 787 milliseconds

12345