/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()
|
D | SettingsFacade.java | 47 private final Service mService; field in SettingsFacade 61 mService = manager.getService(); in SettingsFacade() 63 mAudio = (AudioManager) mService.getSystemService(Context.AUDIO_SERVICE); in SettingsFacade() 64 mPower = (PowerManager) mService.getSystemService(Context.POWER_SERVICE); in SettingsFacade() 65 mAlarm = (AlarmManager) mService.getSystemService(Context.ALARM_SERVICE); in SettingsFacade() 66 mLockPatternUtils = new LockPatternUtils(mService); in SettingsFacade() 73 android.provider.Settings.System.putInt(mService.getContentResolver(), in setScreenTimeout() 82 return android.provider.Settings.System.getInt(mService.getContentResolver(), in getScreenTimeout() 156 return android.provider.Settings.System.getInt(mService.getContentResolver(), in getScreenBrightness() 179 android.provider.Settings.System.putInt(mService.getContentResolver(), in setScreenBrightness() [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 | ApplicationManagerFacade.java | 46 private final Service mService; field in ApplicationManagerFacade 53 mService = manager.getService(); in ApplicationManagerFacade() 55 mActivityManager = (ActivityManager) mService.getSystemService(Context.ACTIVITY_SERVICE); in ApplicationManagerFacade() 56 mPackageManager = mService.getPackageManager(); in ApplicationManagerFacade() 82 mService.startActivity(LaunchIntent); in appLaunch()
|
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 | 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 | AndroidFacade.java | 101 private final Service mService; field in AndroidFacade 118 mService = manager.getService(); in AndroidFacade() 120 BaseApplication application = ((BaseApplication) mService.getApplication()); in AndroidFacade() 122 mHandler = new Handler(mService.getMainLooper()); in AndroidFacade() 123 mVibrator = (Vibrator) mService.getSystemService(Context.VIBRATOR_SERVICE); in AndroidFacade() 125 (NotificationManager) mService.getSystemService(Context.NOTIFICATION_SERVICE); in AndroidFacade() 133 clipboard = mService.getSystemService(Context.CLIPBOARD_SERVICE); in getClipboardManager() 136 clipboard = mService.getSystemService(Context.CLIPBOARD_SERVICE); in getClipboardManager() 381 mService.startActivity(intent); in startActivity() 621 texts.add(cd.getItemAt(i).coerceToText(mService).toString()); in getTextClip() [all …]
|
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 | BatteryManagerFacade.java | 43 private final Service mService; field in BatteryManagerFacade 63 mService = manager.getService(); in BatteryManagerFacade() 138 mService.registerReceiver(mReceiver, filter); in batteryStartMonitoring() 146 mService.unregisterReceiver(mReceiver); in batteryStopMonitoring()
|
D | VpnFacade.java | 47 private final Service mService; field in VpnFacade 53 mService = manager.getService(); in VpnFacade() 101 mConService.prepareVpn(VpnConfig.LEGACY_VPN, VpnConfig.LEGACY_VPN, mService.getUserId()); in vpnStopLegacyVpn() 106 return mConService.getLegacyVpnInfo(mService.getUserId()); in vpnGetLegacyVpnInfo()
|
D | DisplayFacade.java | 35 private final Service mService; field in DisplayFacade 41 mService = manager.getService(); in DisplayFacade() 42 mDisplayManager = (DisplayManager) mService.getSystemService(Context.DISPLAY_SERVICE); in DisplayFacade()
|
/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/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/ |
D | BluetoothConnectionFacade.java | 52 private final Service mService; field in BluetoothConnectionFacade 82 mService = manager.getService(); in BluetoothConnectionFacade() 83 mContext = mService.getApplicationContext(); in BluetoothConnectionFacade() 131 mService.unregisterReceiver(listener); in unregisterCachedListener() 178 mService.unregisterReceiver(listeningDevices.remove("Connect" + mDeviceID)); in onReceive() 229 mService.unregisterReceiver(listeningDevices.remove("Bond" + mDeviceID)); in onReceive() 241 mService.unregisterReceiver(listeningDevices.remove("Bond" + mDeviceID)); in onReceive() 294 mService.registerReceiver(mPairingHelper, mPairingFilter); in connectProfile() 306 mService.registerReceiver(receiver, mA2dpStateChangeFilter); in connectProfile() 320 mService.registerReceiver(receiver, mA2dpSinkStateChangeFilter); in connectProfile() [all …]
|
D | BluetoothFacade.java | 51 private final Service mService; field in BluetoothFacade 74 mService = manager.getService(); in BluetoothFacade() 101 mService.unregisterReceiver(mDiscoveryReceiver); in onReceive() 127 if (!mIsMultiBroadcast) mService.unregisterReceiver(mStateReceiver); in onReceive() 131 if (!mIsMultiBroadcast) mService.unregisterReceiver(mStateReceiver); in onReceive() 147 mService.unregisterReceiver(mBleStateReceiver); in onReceive() 150 mService.unregisterReceiver(mBleStateReceiver); in onReceive() 296 mService.registerReceiver(mStateReceiver, in bluetoothToggleState() 315 mService.registerReceiver(mDiscoveryReceiver, discoveryFilter); in bluetoothStartDiscovery() 323 mService.unregisterReceiver(mDiscoveryReceiver); in bluetoothCancelDiscovery() [all …]
|
D | BluetoothPanFacade.java | 42 private final Service mService; field in BluetoothPanFacade 50 mService = manager.getService(); in BluetoothPanFacade() 52 mBluetoothAdapter.getProfileProxy(mService, new PanServiceListener(), in BluetoothPanFacade()
|
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() 167 mService.startService(intent); in closeConnection()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/ |
D | SmsFacade.java | 80 private final Service mService; field in SmsFacade 147 mService = manager.getService(); in SmsFacade() 148 mContext = mService; in SmsFacade() 173 mService.registerReceiver(mSmsSendListener, smsFilter); in SmsFacade() 174 mService.registerReceiver(mMmsSendListener, mmsFilter); in SmsFacade() 179 (TelephonyManager) mService.getSystemService(Context.TELEPHONY_SERVICE); in SmsFacade() 235 mService.registerReceiver(mSmsIncomingListener, in smsStartTrackingIncomingSmsMessage() 252 mService.unregisterReceiver(mSmsIncomingListener); in smsStopTrackingIncomingSmsMessage() 264 mService.registerReceiver(mMmsIncomingListener, mmsReceived); in smsStartTrackingIncomingMmsMessage() 273 mService.unregisterReceiver(mMmsIncomingListener); in smsStopTrackingIncomingMmsMessage() [all …]
|
D | CarrierConfigFacade.java | 37 private final Service mService; field in CarrierConfigFacade 43 mService = manager.getService(); in CarrierConfigFacade() 46 (CarrierConfigManager)mService.getSystemService(Context.CARRIER_CONFIG_SERVICE); in CarrierConfigFacade() 53 String[] mProvisionApp = mService.getResources().getStringArray( in carrierConfigIsTetheringModeAllowed()
|
D | TelephonyManagerFacade.java | 88 private final Service mService; field in TelephonyManagerFacade 123 mService = manager.getService(); in TelephonyManagerFacade() 125 (TelephonyManager) mService.getSystemService(Context.TELEPHONY_SERVICE); in TelephonyManagerFacade() 128 mSubscriptionManager = SubscriptionManager.from(mService); in TelephonyManagerFacade() 953 uri = mService.getContentResolver().insert( in telephonySetAPN() 960 cursor = mService.getContentResolver().query(uri, sProjection, null, null, null); in telephonySetAPN() 980 int ret = mService.getContentResolver().update(uri, values, null, null); in telephonySetAPN() 987 Cursor c = mService.getContentResolver().query( in telephonySetAPN() 997 ContentResolver resolver = mService.getContentResolver(); in telephonySetAPN() 1014 Cursor cursor = mService.getContentResolver().query( in telephonyGetNumberOfAPNs() [all …]
|
D | SubscriptionManagerFacade.java | 36 private final Service mService; field in SubscriptionManagerFacade 42 mService = manager.getService(); in SubscriptionManagerFacade() 43 mContext = mService.getBaseContext(); in SubscriptionManagerFacade()
|
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/ |
D | ScriptProcessMonitor.java | 59 private volatile ScriptingLayerService mService; field in ScriptProcessMonitor 69 mService = ((ScriptingLayerService.LocalBinder) service).getService(); 77 mService = null; 185 if (mService == null) { in run() 189 int freshModCount = mService.getModCount(); in run() 192 mmList = mService.getScriptProcessesList(); in run()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/ |
D | WifiScannerFacade.java | 56 private final Service mService; field in WifiScannerFacade 73 mService = manager.getService(); in WifiScannerFacade() 74 mScan = (WifiScanner) mService.getSystemService(Context.WIFI_SCANNING_SERVICE); in WifiScannerFacade() 140 WifiScanListener mWifiScannerListener = MainThread.run(mService, in genWifiScanListener() 157 WifiScanListener mWifiScannerListener = MainThread.run(mService, in genBackgroundWifiScanListener() 230 ChangeListener mWifiChangeListener = MainThread.run(mService, in genWifiChangeListener() 288 WifiBssidListener mWifiBssidListener = MainThread.run(mService, in genWifiBssidListener() 552 int current_state = Global.getInt(mService.getContentResolver(), in wifiScannerToggleAlwaysAvailable() 558 Global.putInt(mService.getContentResolver(), Global.WIFI_SCAN_ALWAYS_AVAILABLE, new_state); in wifiScannerToggleAlwaysAvailable() 563 int current_state = Global.getInt(mService.getContentResolver(), in wifiScannerIsAlwaysAvailable()
|