/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 | 48 private final Service mService; field in SettingsFacade 62 mService = manager.getService(); in SettingsFacade() 64 mAudio = (AudioManager) mService.getSystemService(Context.AUDIO_SERVICE); in SettingsFacade() 65 mPower = (PowerManager) mService.getSystemService(Context.POWER_SERVICE); in SettingsFacade() 66 mAlarm = (AlarmManager) mService.getSystemService(Context.ALARM_SERVICE); in SettingsFacade() 67 mLockPatternUtils = new LockPatternUtils(mService); in SettingsFacade() 74 android.provider.Settings.System.putInt(mService.getContentResolver(), in setScreenTimeout() 83 return android.provider.Settings.System.getInt(mService.getContentResolver(), in getScreenTimeout() 175 return android.provider.Settings.System.getInt(mService.getContentResolver(), in getScreenBrightness() 198 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 | AndroidFacade.java | 104 private final Service mService; field in AndroidFacade 121 mService = manager.getService(); in AndroidFacade() 123 BaseApplication application = ((BaseApplication) mService.getApplication()); in AndroidFacade() 125 mHandler = new Handler(mService.getMainLooper()); in AndroidFacade() 126 mVibrator = (Vibrator) mService.getSystemService(Context.VIBRATOR_SERVICE); in AndroidFacade() 128 (NotificationManager) mService.getSystemService(Context.NOTIFICATION_SERVICE); in AndroidFacade() 136 clipboard = mService.getSystemService(Context.CLIPBOARD_SERVICE); in getClipboardManager() 139 clipboard = mService.getSystemService(Context.CLIPBOARD_SERVICE); in getClipboardManager() 384 mService.startActivity(intent); in startActivity() 617 texts.add(cd.getItemAt(i).coerceToText(mService).toString()); in getTextClip() [all …]
|
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 | 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() 90 mService.startActivity(LaunchIntent); in appLaunch()
|
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 | VpnFacade.java | 46 private final Service mService; field in VpnFacade 52 mService = manager.getService(); in VpnFacade() 100 mConService.prepareVpn(VpnConfig.LEGACY_VPN, VpnConfig.LEGACY_VPN, mService.getUserId()); in vpnStopLegacyVpn() 105 return mConService.getLegacyVpnInfo(mService.getUserId()); in vpnGetLegacyVpnInfo()
|
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()
|
/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 | 62 private final Service mService; field in BluetoothConnectionFacade 99 mService = manager.getService(); in BluetoothConnectionFacade() 100 mContext = mService.getApplicationContext(); in BluetoothConnectionFacade() 159 mService.unregisterReceiver(listener); in unregisterCachedListener() 206 mService.unregisterReceiver(listeningDevices.remove("Connect" + mDeviceID)); in onReceive() 257 mService.unregisterReceiver(listeningDevices.remove("Bond" + mDeviceID)); in onReceive() 269 mService.unregisterReceiver(listeningDevices.remove("Bond" + mDeviceID)); in onReceive() 369 mService.registerReceiver(receiver, mA2dpStateChangeFilter); in bluetoothStartConnectionStateChangeMonitor() 370 mService.registerReceiver(receiver, mA2dpSinkStateChangeFilter); in bluetoothStartConnectionStateChangeMonitor() 371 mService.registerReceiver(receiver, mHidStateChangeFilter); in bluetoothStartConnectionStateChangeMonitor() [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() 309 mService.registerReceiver(mStateReceiver, in bluetoothToggleState() 327 mService.registerReceiver(mDiscoveryReceiver, discoveryFilter); in bluetoothStartDiscovery() 335 mService.unregisterReceiver(mDiscoveryReceiver); in bluetoothCancelDiscovery() [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() 81 mService.registerReceiver(mNotificationReceiver, intentFilter); in BluetoothMapClientFacade() 131 mSentIntent = PendingIntent.getBroadcast(mService, 0, mSendIntent, in mapSendMessage() 133 mDeliveredIntent = PendingIntent.getBroadcast(mService, 0, mDeliveryIntent, in mapSendMessage() 190 mService.unregisterReceiver(mNotificationReceiver); in shutdown()
|
D | BluetoothAvrcpFacade.java | 40 private final Service mService; field in BluetoothAvrcpFacade 48 mService = manager.getService(); in BluetoothAvrcpFacade() 50 mBluetoothAdapter.getProfileProxy(mService, new AvrcpServiceListener(), in BluetoothAvrcpFacade()
|
D | BluetoothPanFacade.java | 41 private final Service mService; field in BluetoothPanFacade 49 mService = manager.getService(); in BluetoothPanFacade() 51 mBluetoothAdapter.getProfileProxy(mService, new PanServiceListener(), in BluetoothPanFacade()
|
/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 | 75 private final Service mService; field in SmsFacade 142 mService = manager.getService(); in SmsFacade() 143 mContext = mService; in SmsFacade() 168 mService.registerReceiver(mSmsSendListener, smsFilter); in SmsFacade() 169 mService.registerReceiver(mMmsSendListener, mmsFilter); in SmsFacade() 174 (TelephonyManager) mService.getSystemService(Context.TELEPHONY_SERVICE); in SmsFacade() 230 mService.registerReceiver(mSmsIncomingListener, in smsStartTrackingIncomingSmsMessage() 247 mService.unregisterReceiver(mSmsIncomingListener); in smsStopTrackingIncomingSmsMessage() 259 mService.registerReceiver(mMmsIncomingListener, mmsReceived); in smsStartTrackingIncomingMmsMessage() 268 mService.unregisterReceiver(mMmsIncomingListener); in smsStopTrackingIncomingMmsMessage() [all …]
|
D | CarrierConfigFacade.java | 33 private final Service mService; field in CarrierConfigFacade 39 mService = manager.getService(); in CarrierConfigFacade() 42 (CarrierConfigManager)mService.getSystemService(Context.CARRIER_CONFIG_SERVICE); in CarrierConfigFacade() 49 String[] mProvisionApp = mService.getResources().getStringArray( in carrierConfigIsTetheringModeAllowed()
|
D | TelephonyManagerFacade.java | 76 private final Service mService; field in TelephonyManagerFacade 111 mService = manager.getService(); in TelephonyManagerFacade() 113 (TelephonyManager) mService.getSystemService(Context.TELEPHONY_SERVICE); in TelephonyManagerFacade() 116 mSubscriptionManager = SubscriptionManager.from(mService); in TelephonyManagerFacade() 1011 uri = mService.getContentResolver().insert( in telephonySetAPN() 1018 cursor = mService.getContentResolver().query(uri, sProjection, null, null, null); in telephonySetAPN() 1038 int ret = mService.getContentResolver().update(uri, values, null, null); in telephonySetAPN() 1045 Cursor c = mService.getContentResolver().query( in telephonySetAPN() 1055 ContentResolver resolver = mService.getContentResolver(); in telephonySetAPN() 1072 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()
|