/packages/apps/Calendar/src/com/android/calendar/ |
AbstractCalendarActivity.java | 22 protected AsyncQueryService mService; 25 if (mService == null) { 26 mService = new AsyncQueryService(this); 28 return mService;
|
/frameworks/base/test-runner/src/android/test/ |
ServiceTestCase.java | 117 private T mService; 130 return mService; 157 mService = null; 159 mService = mServiceClass.newInstance(); 161 assertNotNull(mService); 166 mService.attach( 175 assertNotNull(mService); 195 assertNotNull(mService); 198 mService.onCreate(); 201 mService.onStartCommand(intent, 0, mServiceId) [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
StartingData.java | 26 protected final WindowManagerService mService; 29 mService = service;
|
WindowContainerController.java | 34 final WindowManagerService mService; 45 mService = service; 46 mRoot = mService != null ? mService.mRoot : null; 47 mWindowMap = mService != null ? mService.mWindowMap : null; 68 return mService.checkCallingPermission(permission, func);
|
SnapshotStartingData.java | 28 private final WindowManagerService mService; 33 mService = service; 39 return mService.mTaskSnapshotController.createStartingSurface(atoken, mSnapshot);
|
/frameworks/native/services/sensorservice/ |
SensorEventAckReceiver.h | 27 sp<SensorService> const mService; 31 : mService(service) {
|
/frameworks/base/core/java/android/app/ |
UiModeManager.java | 123 private IUiModeManager mService; 126 mService = IUiModeManager.Stub.asInterface( 157 if (mService != null) { 159 mService.enableCarMode(flags); 180 if (mService != null) { 182 mService.disableCarMode(flags); 200 if (mService != null) { 202 return mService.getCurrentModeType(); 233 if (mService != null) { 235 mService.setNightMode(mode) [all...] |
/frameworks/av/services/mediaresourcemanager/test/ |
ResourceManagerService_test.cpp | 57 : mReclaimed(false), mPid(pid), mService(service) {} 61 mService->removeResource(mPid, (int64_t) client.get()); 84 sp<ResourceManagerService> mService; 98 : mService(new ResourceManagerService(new TestProcessInfo)), 99 mTestClient1(new TestClient(kTestPid1, mService)), 100 mTestClient2(new TestClient(kTestPid2, mService)), 101 mTestClient3(new TestClient(kTestPid2, mService)) { 156 mService->addResource(kTestPid1, getId(mTestClient1), mTestClient1, resources1); 160 mService->addResource(kTestPid1, getId(mTestClient1), mTestClient1, resources11); 166 mService->addResource(kTestPid2, getId(mTestClient2), mTestClient2, resources2) [all...] |
/cts/tests/tests/print/src/android/print/cts/services/ |
PrintServiceCallbacks.java | 23 private StubbablePrintService mService; 26 return mService; 30 mService = service;
|
/frameworks/base/core/tests/coretests/src/android/print/mockservice/ |
PrintServiceCallbacks.java | 24 private PrintService mService; 27 return mService; 31 mService = service;
|
/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/mockservice/ |
PrintServiceCallbacks.java | 24 private PrintService mService; 27 return mService; 31 mService = service;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
ShortcutManagerTest6.java | 45 assertTrue(mService.hasShortcutHostPermissionInner(PACKAGE_SYSTEM_LAUNCHER, USER_0)); 46 assertFalse(mService.hasShortcutHostPermissionInner(PACKAGE_FALLBACK_LAUNCHER, USER_0)); 47 assertFalse(mService.hasShortcutHostPermissionInner(CALLING_PACKAGE_1, USER_0)); 48 assertFalse(mService.hasShortcutHostPermissionInner(CALLING_PACKAGE_2, USER_0)); 52 mService.getUserShortcutsLocked(USER_0).getLastKnownLauncher()); 54 mService.getUserShortcutsLocked(USER_0).getCachedLauncher()); 61 mService.getUserShortcutsLocked(USER_0).getLastKnownLauncher()); 63 mService.getUserShortcutsLocked(USER_0).getCachedLauncher()); 75 assertTrue(mService.hasShortcutHostPermissionInner(PACKAGE_SYSTEM_LAUNCHER, USER_0)); 76 assertFalse(mService.hasShortcutHostPermissionInner(PACKAGE_FALLBACK_LAUNCHER, USER_0)) [all...] |
/development/samples/Alarm/tests/src/com/example/android/newalarm/ |
AlarmServiceTest.java | 32 AlarmService mService; 74 mService = this.getService(); 77 assertNotNull(mService.mNotificationManager); 80 assertNotNull(mService.mContentIntent); 83 assertNotNull(mService.mNotification);
|
/frameworks/base/core/java/android/os/ |
SystemVibrator.java | 31 private final IVibratorService mService; 35 mService = IVibratorService.Stub.asInterface(ServiceManager.getService("vibrator")); 40 mService = IVibratorService.Stub.asInterface(ServiceManager.getService("vibrator")); 45 if (mService == null) { 50 return mService.hasVibrator(); 58 if (mService == null) { 63 return mService.hasAmplitudeControl(); 72 if (mService == null) { 77 mService.vibrate(uid, opPkg, effect, usageForAttributes(attributes), mToken); 89 if (mService == null) [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
BluetoothA2dpWrapperImpl.java | 32 private BluetoothA2dp mService; 35 mService = service; 40 return mService; 45 return mService.getCodecStatus(); 50 return mService.supportsOptionalCodecs(device); 55 return mService.getOptionalCodecsEnabled(device); 60 mService.setOptionalCodecsEnabled(device, value);
|
A2dpSinkProfile.java | 38 private BluetoothA2dpSink mService; 61 mService = (BluetoothA2dpSink) proxy; 63 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); 107 if (mService == null) return new ArrayList<BluetoothDevice>(0); 108 return mService.getDevicesMatchingConnectionStates( 115 if (mService == null) return false; 126 return mService.connect(device); 130 if (mService == null) return false; 132 if (mService.getPriority(device) > BluetoothProfile.PRIORITY_ON){ 133 mService.setPriority(device, BluetoothProfile.PRIORITY_ON) [all...] |
MapClientProfile.java | 41 private BluetoothMapClient mService; 65 mService = (BluetoothMapClient) proxy; 67 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); 116 if (mService == null) return false; 123 return mService.connect(device); 127 if (mService == null) return false; 129 if (mService.getPriority(device) > BluetoothProfile.PRIORITY_ON) { 130 mService.setPriority(device, BluetoothProfile.PRIORITY_ON); 132 return mService.disconnect(device); 136 if (mService == null) return BluetoothProfile.STATE_DISCONNECTED [all...] |
PbapClientProfile.java | 39 private BluetoothPbapClient mService; 63 mService = (BluetoothPbapClient) proxy; 65 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); 96 return (mService != null); 122 if (mService == null) { 125 return mService.getDevicesMatchingConnectionStates( 135 if (mService == null) { 150 return mService.connect(device); 157 if (mService == null) { 160 return mService.disconnect(device) [all...] |
HidProfile.java | 38 private BluetoothInputDevice mService; 56 mService = (BluetoothInputDevice) proxy; 58 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); 102 if (mService == null) return false; 103 return mService.connect(device); 107 if (mService == null) return false; 108 return mService.disconnect(device); 112 if (mService == null) { 115 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); 118 ? mService.getConnectionState(device [all...] |
/frameworks/base/core/java/android/app/admin/ |
DevicePolicyManager.java | 108 private final IDevicePolicyManager mService; 121 mService = service; [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
QSTileServiceWrapper.java | 28 private final IQSTileService mService; 31 mService = service; 35 return mService.asBinder(); 40 mService.onTileAdded(); 50 mService.onTileRemoved(); 60 mService.onStartListening(); 70 mService.onStopListening(); 80 mService.onClick(token); 90 mService.onUnlockComplete(); 99 return mService; [all...] |
/packages/apps/Settings/tests/robotests/src/com/android/settings/ |
TetherServiceTest.java | 48 private TetherService mService; 55 mService = new TetherService(); 56 ReflectionHelpers.setField(mService, "mBase", mAppContext); 57 mService.setHotspotOffReceiver(new HotspotOffReceiver(mContext)); 62 mService.setHotspotOffReceiver(new HotspotOffReceiver(mAppContext)); 64 mService.scheduleAlarm(); 72 mService.scheduleAlarm(); 75 ReflectionHelpers.setField(mService, "mCurrentTethers", tethers); 77 mService.cancelAlarmIfNecessary(); 84 ReflectionHelpers.setField(mService, "mCurrentTethers", tethers) [all...] |
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
MyServiceClient.java | 39 private IMyService mService; 46 if (mService != null) { 54 mService = IMyService.Stub.asInterface(service); 59 mService = null; 70 if (mService == null) { 77 if (mService != null) { 83 mService.registerBroadcastReceiver(); 87 return mService.getCounters(receiverName, action); 91 return mService.checkNetworkStatus(); 95 return mService.getRestrictBackgroundStatus() [all...] |
/frameworks/base/core/java/android/hardware/ |
ConsumerIrManager.java | 34 private final IConsumerIrService mService; 41 mService = IConsumerIrService.Stub.asInterface( 51 if (mService == null) { 57 return mService.hasIrEmitter(); 75 if (mService == null) { 81 mService.transmit(mPackageName, carrierFrequency, pattern); 130 if (mService == null) { 136 int[] freqs = mService.getCarrierFrequencies();
|
/frameworks/base/core/java/android/service/oemlock/ |
OemLockManager.java | 39 private IOemLockService mService; 43 mService = service; 65 mService.setOemUnlockAllowedByCarrier(allowed, signature); 80 return mService.isOemUnlockAllowedByCarrier(); 99 mService.setOemUnlockAllowedByUser(allowed); 114 return mService.isOemUnlockAllowedByUser(); 127 return mService.isOemUnlockAllowed(); 140 return mService.isDeviceOemUnlocked();
|