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

1234567891011>>

/frameworks/base/test-runner/src/android/test/
H A DServiceTestCase.java117 private T mService; field in class:ServiceTestCase
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
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DStartingData.java26 protected final WindowManagerService mService; field in class:StartingData
29 mService = service;
H A DWindowContainerController.java34 final WindowManagerService mService; field in class:WindowContainerController
45 mService = service;
46 mRoot = mService != null ? mService.mRoot : null;
47 mWindowMap = mService != null ? mService.mWindowMap : null;
68 return mService.checkCallingPermission(permission, func);
H A DSnapshotStartingData.java28 private final WindowManagerService mService; field in class:SnapshotStartingData
33 mService = service;
39 return mService.mTaskSnapshotController.createStartingSurface(atoken, mSnapshot);
/frameworks/base/core/java/android/app/
H A DUiModeManager.java123 private IUiModeManager mService; field in class:UiModeManager
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
[all...]
/frameworks/av/services/mediaresourcemanager/test/
H A DResourceManagerService_test.cpp57 : mReclaimed(false), mPid(pid), mService(service) {}
61 mService->removeResource(mPid, (int64_t) client.get());
84 sp<ResourceManagerService> mService; member in struct:android::TestClient
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
501 sp<ResourceManagerService> mService; member in class:android::ResourceManagerServiceTest
[all...]
/frameworks/base/core/tests/coretests/src/android/print/mockservice/
H A DPrintServiceCallbacks.java24 private PrintService mService; field in class:PrintServiceCallbacks
27 return mService;
31 mService = service;
/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/mockservice/
H A DPrintServiceCallbacks.java24 private PrintService mService; field in class:PrintServiceCallbacks
27 return mService;
31 mService = service;
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DShortcutManagerTest6.java45 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
[all...]
/frameworks/base/core/java/android/os/
H A DSystemVibrator.java31 private final IVibratorService mService; field in class:SystemVibrator
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
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DBluetoothA2dpWrapperImpl.java32 private BluetoothA2dp mService; field in class:BluetoothA2dpWrapperImpl
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);
H A DA2dpSinkProfile.java38 private BluetoothA2dpSink mService; field in class:A2dpSinkProfile
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
[all...]
H A DMapClientProfile.java41 private BluetoothMapClient mService; field in class:MapClientProfile
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
[all...]
H A DPbapClientProfile.java39 private BluetoothPbapClient mService; field in class:PbapClientProfile
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
[all...]
H A DHidProfile.java38 private BluetoothInputDevice mService; field in class:HidProfile
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
[all...]
H A DSapProfile.java41 private BluetoothSap mService; field in class:SapProfile
63 mService = (BluetoothSap) proxy;
65 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
113 if (mService == null) return false;
114 List<BluetoothDevice> sinks = mService.getConnectedDevices();
117 mService.disconnect(sink);
120 return mService.connect(device);
124 if (mService == null) return false;
125 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
127 if (mService
[all...]
H A DPbapServerProfile.java38 private BluetoothPbap mService; field in class:PbapServerProfile
60 mService = (BluetoothPbap) proxy;
93 if (mService == null) return false;
94 return mService.disconnect();
98 if (mService == null) {
101 if (mService.isConnected(device))
141 if (mService != null) {
143 mService.close();
144 mService = null;
/frameworks/base/core/java/android/app/admin/
H A DDevicePolicyManager.java108 private final IDevicePolicyManager mService; field in class:DevicePolicyManager
121 mService = service;
1568 if (mService != null) {
1570 return mService.isAdminActive(admin, userId);
1584 if (mService != null) {
1586 return mService.isRemovingAdmin(admin, userId);
1609 if (mService != null) {
1611 return mService.getActiveAdmins(userId);
1636 if (mService != null) {
1638 return mService
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
H A DQSTileServiceWrapper.java28 private final IQSTileService mService; field in class:QSTileServiceWrapper
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/core/java/android/hardware/
H A DConsumerIrManager.java34 private final IConsumerIrService mService; field in class:ConsumerIrManager
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/
H A DOemLockManager.java39 private IOemLockService mService; field in class:OemLockManager
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/native/services/sensorservice/
H A DSensorEventAckReceiver.h27 sp<SensorService> const mService; member in class:android::SensorService::SensorEventAckReceiver
31 : mService(service) {
/frameworks/support/customtabs/src/android/support/customtabs/
H A DPostMessageServiceConnection.java34 private IPostMessageService mService; field in class:PostMessageServiceConnection
64 mService = IPostMessageService.Stub.asInterface(service);
70 mService = null;
85 if (mService == null) return false;
88 mService.onMessageChannelReady(mSessionBinder, extras);
106 if (mService == null) return false;
109 mService.onPostMessage(mSessionBinder, message, extras);
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetManager.java462 private final IAppWidgetService mService; field in class:AppWidgetManager
483 mService = service;
507 if (mService == null) {
511 mService.updateAppWidgetIds(mPackageName, appWidgetIds, views);
529 if (mService == null) {
533 mService.updateAppWidgetOptions(mPackageName, appWidgetId, options);
551 if (mService == null) {
555 return mService.getAppWidgetOptions(mPackageName, appWidgetId);
581 if (mService == null) {
612 if (mService
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DSystemServerInitThreadPool.java47 private ExecutorService mService = ConcurrentUtils.newFixedThreadPool(4, field in class:SystemServerInitThreadPool
54 Preconditions.checkState(sInstance.mService != null, "Cannot get " + TAG
61 return mService.submit(() -> {
72 return mService.submit(runnable);
76 if (sInstance != null && sInstance.mService != null) {
77 sInstance.mService.shutdown();
80 terminated = sInstance.mService.awaitTermination(SHUTDOWN_TIMEOUT_MILLIS,
86 List<Runnable> unstartedRunnables = sInstance.mService.shutdownNow();
91 sInstance.mService = null; // Make mService eligibl
[all...]

Completed in 616 milliseconds

1234567891011>>