Home
last modified time | relevance | path

Searched refs:mService (Results 1 – 25 of 94) sorted by relevance

1234

/packages/apps/Music/src/com/android/music/
DMediaPlaybackActivity.java78 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 …]
DMediaPlaybackService.java2083 WeakReference<MediaPlaybackService> mService; field in MediaPlaybackService.ServiceStub
2086 mService = new WeakReference<MediaPlaybackService>(service); in ServiceStub()
2091 mService.get().open(path); in openFile()
2094 mService.get().open(list, position); in open()
2097 return mService.get().getQueuePosition(); in getQueuePosition()
2100 mService.get().setQueuePosition(index); in setQueuePosition()
2103 return mService.get().isPlaying(); in isPlaying()
2106 mService.get().stop(); in stop()
2109 mService.get().pause(); in pause()
2112 mService.get().play(); in play()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/test/
DCarPowerManagementServiceTest.java37 private CarPowerManagementService mService; field in CarPowerManagementServiceTest
52 if (mService != null) { in tearDown()
53 mService.release(); in tearDown()
58 mService = new CarPowerManagementService(getContext(), mPowerHal, mSystemInterface); in testBootComplete()
59 mService.init(); in testBootComplete()
60 mService.registerPowerEventListener(mPowerEventListener); in testBootComplete()
62 mService.registerPowerEventProcessingHandler(mPowerEventProcessingHandler); in testBootComplete()
68 mService = new CarPowerManagementService(getContext(), mPowerHal, mSystemInterface); in testDisplayOff()
69 mService.init(); in testDisplayOff()
70 mService.registerPowerEventListener(mPowerEventListener); in testDisplayOff()
[all …]
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
DExportProcessor.java52 private final VCardService mService; field in ExportProcessor
67 Toast.makeText(mService,
76 mService = service; in ExportProcessor()
79 (NotificationManager)mService.getSystemService(Context.NOTIFICATION_SERVICE); in ExportProcessor()
132 mService.getString(R.string.fail_reason_could_not_open_file, in runInternal()
142 mService.getString(R.string.config_export_vcard_type)); in runInternal()
147 composer = new VCardComposer(mService, vcardType, true); in runInternal()
165 mService.getString(R.string.fail_reason_could_not_initialize_exporter, in runInternal()
174 mService.getString(R.string.fail_reason_no_exportable_contact); in runInternal()
193 mService.getString(R.string.fail_reason_error_occurred_during_export, in runInternal()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterProperties.java57 private AdapterService mService; field in AdapterProperties
79 mService = service; in AdapterProperties()
97 mService = null; in cleanup()
119 return mService.setAdapterPropertyNative( in setName()
145 return mService.setAdapterPropertyNative( in setScanMode()
164 return mService.setAdapterPropertyNative( in setUuids()
306 return mService.setAdapterPropertyNative( in setDiscoverableTimeout()
349 mService.sendBroadcastAsUser(intent, UserHandle.ALL, in sendConnectionStateChange()
350 mService.BLUETOOTH_PERM); in sendConnectionStateChange()
482 mService.sendBroadcastAsUser(intent, UserHandle.ALL, in adapterPropertyChangedCallback()
[all …]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
DEmailServiceProxy.java64 private IEmailService mService; field in EmailServiceProxy
97 mService = IEmailService.Stub.asInterface(binder); in onConnected()
124 mService.loadAttachment(cb, accountId, attachmentId, background); in loadAttachment()
154 mReturn = mService.validate(hostAuthCom); in validate()
186 mReturn = mService.autoDiscover(userName, password); in autoDiscover()
212 mService.updateFolderList(accountId); in updateFolderList()
228 mService.setLogging(flags); in setLogging()
245 mService.sendMeetingResponse(messageId, response); in sendMeetingResponse()
263 mService.deleteExternalAccountPIMData(emailAddress); in deleteExternalAccountPIMData()
292 mReturn = mService.searchMessages(accountId, searchParams, destMailboxId); in searchMessages()
[all …]
DPolicyServiceProxy.java31 private IPolicyService mService = null; field in PolicyServiceProxy
40 mService = IPolicyService.Stub.asInterface(binder); in onConnected()
53 mReturn = mService.isActive(arg0); in isActive()
82 mService.setAccountPolicy2(accountId, policy, securityKey, notify); in setAccountPolicy2()
92 mReturn = mService.canDisableCamera(); in canDisableCamera()
111 mService.remoteWipe(); in remoteWipe()
121 mService.setAccountHoldFlag(arg0, arg1); in setAccountHoldFlag()
/packages/apps/Terminal/src/com/android/terminal/
DTerminalActivity.java45 private TerminalService mService; field in 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.getTerminals().valueAt(position).getTitle();
[all …]
/packages/apps/Calendar/src/com/android/calendar/
DDeleteEventHelper.java93 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()
DCalendarColorPickerDialog.java70 private QueryService mService; field in CalendarColorPickerDialog
145 if (color == mSelectedColor || mService == null) { in onColorSelected()
151 mService.startUpdate(mService.getNextToken(), null, ContentUris.withAppendedId( in onColorSelected()
226 mService = new QueryService(getActivity()); in onCreateDialog()
234 if (mService != null) { in startQuery()
236 mService.startQuery(TOKEN_QUERY_CALENDARS, null, in startQuery()
/packages/services/Car/libvehiclenetwork/java/src/com/android/car/vehiclenetwork/
DVehicleNetwork.java66 private final IVehicleNetwork mService; field in VehicleNetwork
111 mService = service; in VehicleNetwork()
135 VehiclePropConfigsParcelable parcelable = mService.listProperties(property); in listProperties()
154 mService.setProperty(parcelable); in setProperty()
289 VehiclePropValueParcelable resParcelable = mService.getProperty(parcelable); in getProperty()
416 mService.subscribe(mVehicleNetworkListener, property, sampleRate, zones); in subscribe()
427 mService.unsubscribe(mVehicleNetworkListener, property); in unsubscribe()
438 mService.injectEvent(new VehiclePropValueParcelable(value)); in injectEvent()
451 mService.startMocking(mHalMockImpl); in startMocking()
465 mService.stopMocking(mHalMockImpl); in stopMocking()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DDictionaryPackInstallBroadcastReceiver.java47 final LatinIME mService; field in DictionaryPackInstallBroadcastReceiver
55 mService = null; in DictionaryPackInstallBroadcastReceiver()
59 mService = service; in DictionaryPackInstallBroadcastReceiver()
69 if (null == mService) { in onReceive()
92 mService.resetSuggestMainDict(); in onReceive()
101 if (null == mService) { in onReceive()
115 mService.resetSuggestMainDict(); in onReceive()
117 if (null == mService) { in onReceive()
122 mService.resetSuggestMainDict(); in onReceive()
124 if (null != mService) { in onReceive()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
DAndroidWordLevelSpellCheckerSession.java57 private final AndroidSpellCheckerService mService; field in AndroidWordLevelSpellCheckerSession
102 mService = service; in AndroidWordLevelSpellCheckerSession()
124 final ContentResolver cres = mService.getContentResolver(); in onClose()
195 if (mService.isValidWord(mLocale, text)) return true; in isInDictForAnyCapitalization()
202 if (mService.isValidWord(mLocale, lowerCaseText)) return true; in isInDictForAnyCapitalization()
208 return mService.isValidWord(mLocale, in isInDictForAnyCapitalization()
232 if (!mService.hasMainDictionaryForLocale(mLocale)) { in onGetSuggestionsInternal()
244 if (!mService.isValidWord(mLocale, word)) { in onGetSuggestionsInternal()
256 return mService.isValidWord(mLocale, text) ? in onGetSuggestionsInternal()
275 final Keyboard keyboard = mService.getKeyboardForLocale(mLocale); in onGetSuggestionsInternal()
[all …]
/packages/services/Car/car-lib/src/android/car/hardware/camera/
DCarCamera.java33 private final ICarCamera mService; field in CarCamera
36 mService = service; in CarCamera()
42 return mService.getCapabilities(mCameraType); in getCapabilities()
51 return mService.getCameraCrop(mCameraType); in getCameraCrop()
60 mService.setCameraCrop(mCameraType, rect); in setCameraCrop()
69 return mService.getCameraPosition(mCameraType); in getCameraPosition()
78 mService.setCameraPosition(mCameraType, rect); in setCameraPosition()
86 return mService.getCameraState(mCameraType); in getCameraState()
95 mService.setCameraState(mCameraType, state); in setCameraState()
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
DSelectVisibleCalendarsFragment.java70 private AsyncQueryService mService; field in SelectVisibleCalendarsFragment
86 mService = new AsyncQueryService(activity) { in onAttach()
150 mQueryToken = mService.getNextToken(); in onResume()
151 mService.startQuery(mQueryToken, null, Calendars.CONTENT_URI, PROJECTION, SELECTION, in onResume()
159 mUpdateToken = mService.getNextToken(); in toggleVisibility()
165 mService.startUpdate(mUpdateToken, null, uri, values, null, null, 0); in toggleVisibility()
171 if (mService != null) { in eventsChanged()
172 mService.cancelOperation(mQueryToken); in eventsChanged()
173 mQueryToken = mService.getNextToken(); in eventsChanged()
174 mService.startQuery(mQueryToken, null, Calendars.CONTENT_URI, PROJECTION, SELECTION, in eventsChanged()
/packages/services/Car/libvehiclenetwork/libvehiclenetwork-audio-helper/src/
DVehicleNetworkAudioHelper.cpp53 mService = VehicleNetwork::createVehicleNetwork(listener); in init()
65 sp<VehiclePropertiesHolder> holder = mService->listProperties(VEHICLE_PROPERTY_AUDIO_FOCUS); in updatePropertiesLocked()
68 mService->subscribe(VEHICLE_PROPERTY_AUDIO_FOCUS, 0); in updatePropertiesLocked()
69 mService->getProperty(&mScratchValueFocus); in updatePropertiesLocked()
84 if (mService.get() == NULL) { in release()
87 mService = NULL; in release()
122 mService->setProperty(mScratchValueStreamState); in notifyStreamStarted()
146 mService->setProperty(mScratchValueStreamState); in notifyStreamStopped()
209 if (mService.get() == NULL) { // already released in onEvents()
238 if (mService.get() == NULL) { // already released in onHalRestart()
/packages/services/Car/car-lib/src/android/car/
DCarAppContextManager.java78 private final IAppContext mService; field in CarAppContextManager
90 mService = IAppContext.Stub.asInterface(service); in CarAppContextManager()
111 mService.registerContextListener(mBinderListener, contextFilter); in registerContextListener()
129 mService.unregisterContextListener(mBinderListener); in unregisterContextListener()
140 return mService.getActiveAppContexts(); in getActiveAppContexts()
148 return mService.isOwningContext(mBinderListener, context); in isOwningContext()
174 mService.setActiveContexts(mBinderListener, contexts); in setActiveContexts()
194 mService.resetActiveContexts(mBinderListener, contexts); in resetActiveContexts()
DCarInfoManager.java74 private final ICarInfo mService; field in CarInfoManager
85 float[] v = mService.getFloat(key); in getFloat()
99 int[] v = mService.getInt(key); in getInt()
113 long[] v = mService.getLong(key); in getLong()
127 return mService.getString(key); in getString()
148 return mService.getBundle(key); in getBundle()
159 mService = ICarInfo.Stub.asInterface(service); in CarInfoManager()
DCar.java212 private ICar mService; field in Car
240 mService = ICar.Stub.asInterface(service);
248 mService = null;
340 mService = service; in Car()
374 mService = null; in disconnect()
387 return mService != null; in isConnected()
531 if (mService == null) { in getICarOrThrow()
534 return mService; in getICarOrThrow()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetPhoneState.java42 private int mService = HeadsetHalConstants.NETWORK_STATE_NOT_AVAILABLE; field in HeadsetPhoneState
144 return mService; in getService()
221 int signal = mService == HeadsetHalConstants.NETWORK_STATE_AVAILABLE ? mSignal : 0; in sendDeviceStateChanged()
223 Log.d(TAG, "sendDeviceStateChanged. mService="+ mService + in sendDeviceStateChanged()
229 new HeadsetDeviceState(mService, mRoam, signal, mBatteryCharge)); in sendDeviceStateChanged()
239 mService = (serviceState.getState() == ServiceState.STATE_IN_SERVICE) ? in getPhoneStateListener()
252 if (mService == HeadsetHalConstants.NETWORK_STATE_NOT_AVAILABLE) { in getPhoneStateListener()
354 int mService; field in HeadsetDeviceState
360 mService = service; in HeadsetDeviceState()
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
DKeyChainServiceTest.java45 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/services/Car/car-lib/src/android/car/navigation/
DCarNavigationManager.java83 private final ICarNavigation mService; field in CarNavigationManager
114 mService = ICarNavigation.Stub.asInterface(service); in CarNavigationManager()
124 mService.sendNavigationStatus(status); in sendNavigationStatus()
162 mService.sendNavigationTurnEvent(event, road, turnAngle, turnNumber, image, turnSide); in sendNavigationTurnEvent()
183 mService.sendNavigationTurnDistanceEvent(distanceMeters, timeSeconds); in sendNavigationTurnDistanceEvent()
195 return mService.isInstrumentClusterSupported(); in isInstrumentClusterSupported()
222 mService.registerEventListener(mICarNavigationEventListenerImpl); in registerListener()
236 mService.unregisterEventListener(mICarNavigationEventListenerImpl); in unregisterListener()
/packages/services/Car/car-lib/src/android/car/hardware/hvac/
DCarHvacManager.java130 private final ICarHvac mService; field in CarHvacManager
183 mService = ICarHvac.Stub.asInterface(service); in CarHvacManager()
202 mService.registerListener(mListenerToService); in registerListener()
223 mService.unregisterListener(mListenerToService); in unregisterListener()
244 carProps = mService.getHvacProperties(); in getPropertyList()
294 CarPropertyValue<E> hvacProperty = mService.getProperty(prop, area); in getProperty()
324 mService.setProperty(new CarPropertyValue<>(prop, area, val)); in setBooleanProperty()
336 mService.setProperty(new CarPropertyValue<>(prop, area, val)); in setFloatProperty()
348 mService.setProperty(new CarPropertyValue<>(prop, area, val)); in setIntProperty()
/packages/services/Car/service/src/com/android/car/pm/
DAppBlockingPolicyProxy.java37 private final CarPackageManagerService mService; field in AppBlockingPolicyProxy
62 mService.onPolicyConnectionFailure(AppBlockingPolicyProxy.this);
68 mService = service; in AppBlockingPolicyProxy()
72 mHandler = new Handler(mService.getLooper()); in AppBlockingPolicyProxy()
119 mService.onPolicyConnectionFailure(this); in onServiceConnected()
141 mService.onPolicyConnectionFailure(this); in onServiceDisconnected()
160 mService.onPolicyConnectionAndSet(AppBlockingPolicyProxy.this, policy); in setAppBlockingPolicy()
/packages/services/Car/car-lib/src/android/car/hardware/radio/
DCarRadioManager.java53 private final ICarRadio mService; field in CarRadioManager
116 mService = ICarRadio.Stub.asInterface(service); in CarRadioManager()
121 mCount = mService.getPresetCount(); in CarRadioManager()
141 mService.registerListener(mListenerToService); in registerListener()
159 mService.unregisterListener(mListenerToService); in unregisterListener()
186 CarRadioPreset preset = mService.getPreset(presetNumber); in getPreset()
209 return mService.setPreset(preset); in setPreset()

1234