/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
D | FacadeManager.java | 35 private final Service mService; field in FacadeManager 43 mService = service; in FacadeManager() 52 return mService; in getService() 66 Log.notify(mService, title, title, String.format("Please use %s instead.", replacedBy)); in invoke() 77 Log.notify(mService, "RPC invoke failed...", mService.getPackageName(), e.getCause() in invoke() 89 String packageName = mService.getApplication().getPackageName(); in getAndroidFacadeResources() 90 return mService.getResources().getIdentifier("script_logo_48", "drawable", packageName); in getAndroidFacadeResources() 95 String packageName = mService.getApplication().getPackageName(); in getAndroidFacadeResources() 96 return mService.getResources().getIdentifier(identifier, "string", packageName); in getAndroidFacadeResources()
|
D | SettingsFacade.java | 53 private final Service mService; field in SettingsFacade 70 mService = manager.getService(); in SettingsFacade() 72 mAudio = (AudioManager) mService.getSystemService(Context.AUDIO_SERVICE); in SettingsFacade() 73 mPower = (PowerManager) mService.getSystemService(Context.POWER_SERVICE); in SettingsFacade() 74 mAlarm = (AlarmManager) mService.getSystemService(Context.ALARM_SERVICE); in SettingsFacade() 75 mLockPatternUtils = new LockPatternUtils(mService); in SettingsFacade() 77 (NotificationManager) mService.getSystemService(Context.NOTIFICATION_SERVICE); in SettingsFacade() 81 mService.startActivity(intent); in SettingsFacade() 83 mDataController = new DataUsageController(mService); in SettingsFacade() 85 (TelephonyManager) mService.getSystemService(Context.TELEPHONY_SERVICE); in SettingsFacade() [all …]
|
D | NfcManagerFacade.java | 35 private final Service mService; field in NfcManagerFacade 44 mService = manager.getService(); in NfcManagerFacade() 45 mNfcManager = (NfcManager) mService.getSystemService(Context.NFC_SERVICE); in NfcManagerFacade() 84 mService.registerReceiver(mNfcStateReceiver, mStateChangeFilter); in nfcStartTrackingStateChange() 90 mService.unregisterReceiver(mNfcStateReceiver); in nfcStopTrackingStateChange()
|
D | VpnFacade.java | 46 private final Service mService; field in VpnFacade 52 mService = manager.getService(); in VpnFacade() 54 mVpnManager = mService.getSystemService(VpnManager.class); in VpnFacade() 100 mVpnManager.prepareVpn(VpnConfig.LEGACY_VPN, VpnConfig.LEGACY_VPN, mService.getUserId()); in vpnStopLegacyVpn() 105 return mVpnManager.getLegacyVpnInfo(mService.getUserId()); in vpnGetLegacyVpnInfo()
|
D | PreferencesFacade.java | 51 private Service mService; field in PreferencesFacade 55 mService = manager.getService(); in PreferencesFacade() 101 return PreferenceManager.getDefaultSharedPreferences(mService); in getPref() 103 return mService.getSharedPreferences(filename, 0); in getPref()
|
D | AndroidFacade.java | 106 private final Service mService; field in AndroidFacade 123 mService = manager.getService(); in AndroidFacade() 125 BaseApplication application = ((BaseApplication) mService.getApplication()); in AndroidFacade() 127 mHandler = new Handler(mService.getMainLooper()); in AndroidFacade() 128 mVibrator = (Vibrator) mService.getSystemService(Context.VIBRATOR_SERVICE); in AndroidFacade() 130 (NotificationManager) mService.getSystemService(Context.NOTIFICATION_SERVICE); in AndroidFacade() 138 clipboard = mService.getSystemService(Context.CLIPBOARD_SERVICE); in getClipboardManager() 141 clipboard = mService.getSystemService(Context.CLIPBOARD_SERVICE); in getClipboardManager() 386 mService.startActivity(intent); in startActivity() 629 texts.add(cd.getItemAt(i).coerceToText(mService).toString()); in getTextClip() [all …]
|
D | LocationFacade.java | 83 private final Service mService; field in LocationFacade 114 mService = manager.getService(); in LocationFacade() 116 mGeocoder = new Geocoder(mService); in LocationFacade() 117 mLocationManager = (LocationManager) mService.getSystemService(Context.LOCATION_SERVICE); in LocationFacade() 144 mLocationListener, mService.getMainLooper()); in startLocating()
|
D | FacadeManagerFactory.java | 33 private final Service mService; field in FacadeManagerFactory 41 mService = service; in FacadeManagerFactory() 49 FacadeManager facadeManager = new FacadeManager(mSdkLevel, mService, mIntent, mClassList); in create()
|
D | ApplicationManagerFacade.java | 50 private final Service mService; field in ApplicationManagerFacade 57 mService = manager.getService(); in ApplicationManagerFacade() 59 mActivityManager = (ActivityManager) mService.getSystemService(Context.ACTIVITY_SERVICE); in ApplicationManagerFacade() 60 mPackageManager = mService.getPackageManager(); in ApplicationManagerFacade() 94 mService.startActivity(LaunchIntent); in appLaunch()
|
/external/ims/rcs/presencepolling/tests/src/com/android/service/ims/presence/ |
D | PollingServiceTests.java | 46 private PollingService mService; field in PollingServiceTests 52 mService = new PollingService(); in setUp() 53 mService.attach(mTestContext,null, null, null, mApp, null); in setUp() 60 mService = null; in tearDown() 66 mService.setBroadcastReceiver(mReceiver); in testRegisterCarrierConfigReceiver() 67 mService.onCreate(); in testRegisterCarrierConfigReceiver() 77 mService.setBroadcastReceiver(mReceiver); in testUnregisterCarrierConfigReceiver() 78 mService.onDestroy(); in testUnregisterCarrierConfigReceiver()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/media/ |
D | MediaScannerFacade.java | 41 private final Service mService; field in MediaScannerFacade 48 mService = manager.getService(); in MediaScannerFacade() 49 mScanService = new MediaScanner(mService, "external"); in MediaScannerFacade() 62 mService.unregisterReceiver(mReceiver); in onReceive() 69 mService.sendBroadcast(new Intent(Intent.ACTION_MEDIA_MOUNTED, in mediaScanForFiles() 71 mService.registerReceiver(mReceiver, in mediaScanForFiles() 77 mService.sendBroadcast(new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE, Uri.parse(path))); in mediaScanForOneFile()
|
D | MediaSessionFacade.java | 50 private final Service mService; field in MediaSessionFacade 61 mService = manager.getService(); in MediaSessionFacade() 64 mSession = new MediaSession(mService, "SL4A"); in MediaSessionFacade() 66 mManager = (MediaSessionManager) mService.getSystemService(Context.MEDIA_SESSION_SERVICE); in MediaSessionFacade() 70 new ComponentName(mService.getPackageName(), this.getClass().getName())); in MediaSessionFacade() 105 MainThread.run(mService, new Callable<Object>() { in mediaSessionAddCallback()
|
D | AudioManagerFacade.java | 31 private final Service mService; field in AudioManagerFacade 39 mService = manager.getService(); in AudioManagerFacade() 41 mAudio = (AudioManager) mService.getSystemService(Context.AUDIO_SERVICE); in AudioManagerFacade()
|
/external/libwebsockets/test-apps/android/app/src/main/java/org/libwebsockets/client/ |
D | MainActivity.java | 48 private Messenger mService = null; field in MainActivity 79 mService = new Messenger(service); in onCreate() 84 mService.send(msg); in onCreate() 90 mService.send(msg); in onCreate() 102 mService = null; in onCreate() 129 mService.send(Message.obtain(null, LwsService.MSG_THREAD_SUSPEND, 0, 0)); in onStop() 189 mService.send(msg); in connectErrorListener() 226 mService.send(msg); in clickStart() 228 mService.send(msg); in clickStart() 236 mService.send(Message.obtain(null, LwsService.MSG_THREAD_STOP, 0, 0)); in clickStart()
|
D | ThreadService.java | 59 private final WeakReference<ThreadService> mService; field in ThreadService.InputHandler 61 mService = new WeakReference<ThreadService>(service); in InputHandler() 65 ThreadService service = mService.get(); in handleMessage() 99 private final WeakReference<ThreadService> mService; field in ThreadService.WorkerThreadRunnable 101 mService = new WeakReference<ThreadService>(service); in WorkerThreadRunnable() 105 ThreadService service = mService.get(); in run()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/ |
D | BluetoothFacade.java | 51 private final Service mService; field in BluetoothFacade 75 mService = manager.getService(); in BluetoothFacade() 103 mService.unregisterReceiver(mDiscoveryReceiver); in onReceive() 130 mService.unregisterReceiver(mStateReceiver); in onReceive() 136 mService.unregisterReceiver(mStateReceiver); in onReceive() 153 mService.unregisterReceiver(mBleStateReceiver); in onReceive() 156 mService.unregisterReceiver(mBleStateReceiver); in onReceive() 337 mService.registerReceiver(mStateReceiver, in bluetoothToggleState() 355 mService.registerReceiver(mDiscoveryReceiver, discoveryFilter); in bluetoothStartDiscovery() 363 mService.unregisterReceiver(mDiscoveryReceiver); in bluetoothCancelDiscovery() [all …]
|
D | BluetoothConnectionFacade.java | 63 private final Service mService; field in BluetoothConnectionFacade 102 mService = manager.getService(); in BluetoothConnectionFacade() 103 mContext = mService.getApplicationContext(); in BluetoothConnectionFacade() 165 mService.unregisterReceiver(listener); in unregisterCachedListener() 212 mService.unregisterReceiver(listeningDevices.remove("Connect" + mDeviceID)); in onReceive() 265 mService.unregisterReceiver(listeningDevices.remove("Bond" + mDeviceID)); in onReceive() 277 mService.unregisterReceiver(listeningDevices.remove("Bond" + mDeviceID)); in onReceive() 385 mService.registerReceiver(receiver, mA2dpStateChangeFilter); in bluetoothStartConnectionStateChangeMonitor() 386 mService.registerReceiver(receiver, mA2dpSinkStateChangeFilter); in bluetoothStartConnectionStateChangeMonitor() 387 mService.registerReceiver(receiver, mHidStateChangeFilter); in bluetoothStartConnectionStateChangeMonitor() [all …]
|
D | BluetoothMapClientFacade.java | 52 private final Service mService; field in BluetoothMapClientFacade 68 mService = manager.getService(); in BluetoothMapClientFacade() 70 mBluetoothAdapter.getProfileProxy(mService, new MapServiceListener(), in BluetoothMapClientFacade() 85 mService.registerReceiver(mNotificationReceiver, intentFilter); in BluetoothMapClientFacade() 140 mSentIntent = PendingIntent.getBroadcast(mService, 0, mSendIntent, in mapSendMessage() 143 mService, 0, mDeliveryIntent, in mapSendMessage() 205 mService.unregisterReceiver(mNotificationReceiver); in shutdown()
|
D | BluetoothAvrcpFacade.java | 41 private final Service mService; field in BluetoothAvrcpFacade 49 mService = manager.getService(); in BluetoothAvrcpFacade() 51 mBluetoothAdapter.getProfileProxy(mService, new AvrcpServiceListener(), in BluetoothAvrcpFacade()
|
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/service/ |
D | TerminalManager.java | 81 private final ScriptingLayerService mService; field in TerminalManager 84 mService = service; in TerminalManager() 85 mPreferences = PreferenceManager.getDefaultSharedPreferences(mService); in TerminalManager() 87 mResources = mService.getResources(); in TerminalManager() 90 vibrator = (Vibrator) mService.getSystemService(Context.VIBRATOR_SERVICE); in TerminalManager() 128 InterpreterProcess process = mService.getProcess(id); in openConnection() 163 if (mService.getProcess(bridge.getId()).isAlive()) { in closeConnection() 164 Intent intent = new Intent(mService, mService.getClass()); in closeConnection() 168 mService.startService(intent); in closeConnection()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/ |
D | WifiRtt2ManagerFacade.java | 56 private final Service mService; field in WifiRtt2ManagerFacade 70 mService = manager.getService(); in WifiRtt2ManagerFacade() 73 mMgr = (WifiRttManager) mService.getSystemService(Context.WIFI_RTT_RANGING_SERVICE); in WifiRtt2ManagerFacade() 77 mService.registerReceiver(mStateChangedReceiver, filter); in WifiRtt2ManagerFacade() 82 mService.unregisterReceiver(mStateChangedReceiver); in shutdown() 87 return mService.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WIFI_RTT); in doesDeviceSupportWifiRttFeature() 119 mService.getMainExecutor(), callback); in wifiRttStartRangingToAccessPoints() 136 MacAddress.fromBytes(peerMacBytes)).build(), mService.getMainExecutor(), in wifiRttStartRangingToAwarePeerMac() 153 new PeerHandle(peerId)).build(), mService.getMainExecutor(), callback); in wifiRttStartRangingToAwarePeerId()
|
/external/libchrome/base/android/java/src/org/chromium/base/process_launcher/ |
D | ChildProcessConnection.java | 203 private IChildProcessService mService; field in ChildProcessConnection 325 return mService; in getService() 334 return mService != null; in isConnected() 419 IChildProcessService service = mService; in kill() 442 mService = IChildProcessService.Stub.asInterface(service); in onServiceConnectedOnLauncherThread() 446 if (!mService.bindToCaller()) { in onServiceConnectedOnLauncherThread() 520 assert mServiceConnectComplete && mService != null; in doConnectionSetup() 535 mService.setupConnection(mConnectionParams.mConnectionBundle, pidCallback, in doConnectionSetup() 567 mService = null; in unbind() 741 mService.forceKill(); in crashServiceForTesting() [all …]
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/ |
D | CarrierConfigFacade.java | 36 private final Service mService; field in CarrierConfigFacade 43 mService = manager.getService(); in CarrierConfigFacade() 46 (CarrierConfigManager)mService.getSystemService(Context.CARRIER_CONFIG_SERVICE); in CarrierConfigFacade() 47 mTetheringManager = (TetheringManager) mService.getSystemService(Context.TETHERING_SERVICE); in CarrierConfigFacade()
|
D | SmsFacade.java | 79 private final Service mService; field in SmsFacade 161 mService = manager.getService(); in SmsFacade() 162 mContext = mService; in SmsFacade() 188 mService.registerReceiver(mSmsSendListener, smsFilter); in SmsFacade() 189 mService.registerReceiver(mMmsSendListener, mmsFilter); in SmsFacade() 194 (TelephonyManager) mService.getSystemService(Context.TELEPHONY_SERVICE); in SmsFacade() 278 mService.registerReceiver(mSmsIncomingListener, in smsStartTrackingIncomingSmsMessage() 295 mService.unregisterReceiver(mSmsIncomingListener); in smsStopTrackingIncomingSmsMessage() 307 mService.registerReceiver(mMmsIncomingListener, mmsReceived); in smsStartTrackingIncomingMmsMessage() 316 mService.unregisterReceiver(mMmsIncomingListener); in smsStopTrackingIncomingMmsMessage() [all …]
|
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/ |
D | ScriptProcessMonitor.java | 60 private volatile ScriptingLayerService mService; field in ScriptProcessMonitor 70 mService = ((ScriptingLayerService.LocalBinder) service).getService(); 78 mService = null; 186 if (mService == null) { in run() 190 int freshModCount = mService.getModCount(); in run() 193 mmList = mService.getScriptProcessesList(); in run()
|