HomeSort by relevance Sort by last modified time
    Searched refs:mService (Results 1 - 25 of 653) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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/packages/SettingsLib/src/com/android/settingslib/wrapper/
BluetoothA2dpWrapper.java 30 private BluetoothA2dp mService;
33 mService = service;
40 return mService;
47 return mService.getCodecStatus(device);
54 return mService.supportsOptionalCodecs(device);
61 return mService.getOptionalCodecsEnabled(device);
68 mService.setOptionalCodecsEnabled(device, value);
  /frameworks/native/services/sensorservice/
SensorEventAckReceiver.h 27 sp<SensorService> const mService;
31 : mService(service) {
  /frameworks/base/core/java/android/app/
UiModeManager.java 127 private IUiModeManager mService;
130 mService = IUiModeManager.Stub.asInterface(
161 if (mService != null) {
163 mService.enableCarMode(flags);
184 if (mService != null) {
186 mService.disableCarMode(flags);
204 if (mService != null) {
206 return mService.getCurrentModeType();
237 if (mService != null) {
239 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/printTestUtilLib/src/android/print/test/services/
PrintServiceCallbacks.java 23 private StubbablePrintService mService;
26 return mService;
30 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...]
IncidentManager.java 39 private IIncidentManager mService;
63 mService = null;
82 if (mService != null) {
83 return mService;
87 if (mService != null) {
88 return mService;
90 mService = IIncidentManager.Stub.asInterface(
92 if (mService != null) {
93 mService.asBinder().linkToDeath(new IncidentdDeathRecipient(), 0);
95 return mService;
    [all...]
DeviceIdleManager.java 34 private final IDeviceIdleController mService;
41 mService = service;
50 return mService.getSystemPowerWhitelistExceptIdle();
63 return mService.getSystemPowerWhitelist();
  /frameworks/base/test-runner/src/android/test/
ServiceTestCase.java 118 private T mService;
131 return mService;
158 mService = null;
160 mService = mServiceClass.newInstance();
162 assertNotNull(mService);
168 mService, getContext(), mServiceClass.getName(), getApplication());
170 assertNotNull(mService);
190 assertNotNull(mService);
193 mService.onCreate();
196 mService.onStartCommand(intent, 0, mServiceId)
    [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...]
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
HearingAidProfile.java 44 private BluetoothHearingAid mService;
62 mService = (BluetoothHearingAid) proxy;
64 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
121 if (mService == null) return new ArrayList<BluetoothDevice>(0);
122 return mService.getDevicesMatchingConnectionStates(
129 if (mService == null) return false;
130 return mService.connect(device);
134 if (mService == null) return false;
136 if (mService.getPriority(device) > BluetoothProfile.PRIORITY_ON){
137 mService.setPriority(device, BluetoothProfile.PRIORITY_ON)
    [all...]
MapClientProfile.java 41 private BluetoothMapClient mService;
65 mService = (BluetoothMapClient) proxy;
67 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
121 if (mService == null) return false;
128 return mService.connect(device);
132 if (mService == null) return false;
134 if (mService.getPriority(device) > BluetoothProfile.PRIORITY_ON) {
135 mService.setPriority(device, BluetoothProfile.PRIORITY_ON);
137 return mService.disconnect(device);
141 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);
127 if (mService == null) {
130 return mService.getDevicesMatchingConnectionStates(
140 if (mService == null) {
155 return mService.connect(device);
162 if (mService == null) {
165 return mService.disconnect(device)
    [all...]
HeadsetProfile.java 41 private BluetoothHeadset mService;
64 mService = (BluetoothHeadset) proxy;
66 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
119 if (mService == null) return false;
120 List<BluetoothDevice> sinks = mService.getConnectedDevices();
126 return mService.connect(device);
130 if (mService == null) return false;
131 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
138 if (mService.getPriority(device) > BluetoothProfile.PRIORITY_ON) {
139 mService.setPriority(device, BluetoothProfile.PRIORITY_ON)
    [all...]
HidProfile.java 38 private BluetoothHidHost mService;
56 mService = (BluetoothHidHost) proxy;
58 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
107 if (mService == null) return false;
108 return mService.connect(device);
112 if (mService == null) return false;
113 return mService.disconnect(device);
117 if (mService == null) {
120 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
123 ? mService.getConnectionState(device
    [all...]
  /frameworks/base/services/core/java/com/android/server/wm/
SnapshotStartingData.java 28 private final WindowManagerService mService;
33 mService = service;
39 return mService.mTaskSnapshotController.createStartingSurface(atoken, mSnapshot);
StartingData.java 26 protected final WindowManagerService mService;
29 mService = service;
  /packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hearingaid/
HearingAidServiceTest.java 62 private HearingAidService mService;
94 mService.mHearingAidNativeInterface = mNativeInterface;
95 mService.mAudioManager = mAudioManager;
114 mService.setPriority(mLeftDevice, BluetoothProfile.PRIORITY_UNDEFINED);
115 mService.setPriority(mRightDevice, BluetoothProfile.PRIORITY_UNDEFINED);
116 mService.setPriority(mSingleDevice, BluetoothProfile.PRIORITY_UNDEFINED);
137 mService = HearingAidService.getHearingAidService();
138 Assert.assertNotNull(mService);
143 mService = HearingAidService.getHearingAidService();
144 Assert.assertNull(mService);
    [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...]
  /cts/tests/tests/media/src/android/media/cts/
TestServiceRegistry.java 39 private MediaSessionService2 mService;
96 if (mService != null) {
100 mService = service;
109 return mService;
115 if (mService != null) {
117 mService.getSession().close();
121 mService.stopSelf();
122 mService = null;
  /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();
  /frameworks/support/media/src/androidTest/java/androidx/media/
TestServiceRegistry.java 37 private MediaSessionService2 mService;
94 if (mService != null) {
98 mService = service;
107 return mService;
113 if (mService != null) {
115 mService.getSession().close();
119 mService.stopSelf();
120 mService = null;

Completed in 1318 milliseconds

1 2 3 4 5 6 7 8 91011>>