Home
last modified time | relevance | path

Searched refs:mContext (Results 1 – 25 of 47) sorted by relevance

12

/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/
DImsManagerFacade.java39 private final Context mContext; field in ImsManagerFacade
45 mContext = mService.getBaseContext(); in ImsManagerFacade()
46 mImsManager = ImsManager.getInstance(mContext, in ImsManagerFacade()
52 return ImsManager.isVolteEnabledByPlatform(mContext); in imsIsEnhanced4gLteModeSettingEnabledByPlatform()
57 return ImsManager.isEnhanced4gLteModeSettingEnabledByUser(mContext); in imsIsEnhanced4gLteModeSettingEnabledByUser()
63 ImsManager.setEnhanced4gLteModeSetting(mContext, enable); in imsSetEnhanced4gMode()
68 return mImsManager.isVolteProvisionedOnDevice(mContext); in imsIsVolteProvisionedOnDevice()
86 return ImsManager.isWfcEnabledByPlatform(mContext); in imsIsWfcEnabledByPlatform()
93 ImsManager.setWfcRoamingSetting(mContext, enable); in imsSetWfcRoamingSetting()
99 return ImsManager.isWfcRoamingEnabledByUser(mContext); in imsIsWfcRoamingEnabledByUser()
[all …]
/external/conscrypt/src/main/java/org/conscrypt/
DOpenSSLX509Certificate.java54 private transient final long mContext; field in OpenSSLX509Certificate
58 mContext = ctx; in OpenSSLX509Certificate()
174 NativeCrypto.get_X509_ext_oids(mContext, NativeCrypto.EXTENSION_TYPE_CRITICAL); in getCriticalExtensionOIDs()
182 && (NativeCrypto.get_X509_ext_oids(mContext, in getCriticalExtensionOIDs()
192 return NativeCrypto.X509_get_ext_oid(mContext, oid); in getExtensionValue()
198 NativeCrypto.get_X509_ext_oids(mContext, NativeCrypto.EXTENSION_TYPE_NON_CRITICAL); in getNonCriticalExtensionOIDs()
206 && (NativeCrypto.get_X509_ext_oids(mContext, in getNonCriticalExtensionOIDs()
216 return (NativeCrypto.get_X509_ex_flags(mContext) & NativeConstants.EXFLAG_CRITICAL) != 0; in hasUnsupportedCriticalExtension()
241 return (int) NativeCrypto.X509_get_version(mContext) + 1; in getVersion()
246 return new BigInteger(NativeCrypto.X509_get_serialNumber(mContext)); in getSerialNumber()
[all …]
DOpenSSLX509CRLEntry.java31 private final long mContext; field in OpenSSLX509CRLEntry
34 mContext = ctx; in OpenSSLX509CRLEntry()
40 NativeCrypto.get_X509_REVOKED_ext_oids(mContext, in getCriticalExtensionOIDs()
49 && (NativeCrypto.get_X509_REVOKED_ext_oids(mContext, in getCriticalExtensionOIDs()
59 return NativeCrypto.X509_REVOKED_get_ext_oid(mContext, oid); in getExtensionValue()
65 NativeCrypto.get_X509_REVOKED_ext_oids(mContext, in getNonCriticalExtensionOIDs()
74 && (NativeCrypto.get_X509_REVOKED_ext_oids(mContext, in getNonCriticalExtensionOIDs()
85 NativeCrypto.get_X509_REVOKED_ext_oids(mContext, in hasUnsupportedCriticalExtension()
88 final long extensionRef = NativeCrypto.X509_REVOKED_get_ext(mContext, oid); in hasUnsupportedCriticalExtension()
99 return NativeCrypto.i2d_X509_REVOKED(mContext); in getEncoded()
[all …]
DOpenSSLX509CRL.java47 private final long mContext; field in OpenSSLX509CRL
50 mContext = ctx; in OpenSSLX509CRL()
135 NativeCrypto.get_X509_CRL_ext_oids(mContext, NativeCrypto.EXTENSION_TYPE_CRITICAL); in getCriticalExtensionOIDs()
143 && (NativeCrypto.get_X509_CRL_ext_oids(mContext, in getCriticalExtensionOIDs()
153 return NativeCrypto.X509_CRL_get_ext_oid(mContext, oid); in getExtensionValue()
159 NativeCrypto.get_X509_CRL_ext_oids(mContext, in getNonCriticalExtensionOIDs()
168 && (NativeCrypto.get_X509_CRL_ext_oids(mContext, in getNonCriticalExtensionOIDs()
179 NativeCrypto.get_X509_CRL_ext_oids(mContext, NativeCrypto.EXTENSION_TYPE_CRITICAL); in hasUnsupportedCriticalExtension()
181 final long extensionRef = NativeCrypto.X509_CRL_get_ext(mContext, oid); in hasUnsupportedCriticalExtension()
192 return NativeCrypto.i2d_X509_CRL(mContext); in getEncoded()
[all …]
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
DPollingTask.java45 private Context mContext = null; field in PollingTask
153 if (mContext == null) { in updateTimeStampToCurrent()
158 mContext.getContentResolver(), mContext.getPackageName()); in updateTimeStampToCurrent()
175 if (mContext != null) { in cancelRetryAlarm()
177 mContext.getSystemService(Context.ALARM_SERVICE); in cancelRetryAlarm()
189 if (mContext == null) { in scheduleRetry()
192 mContext = queue.getContext(); in scheduleRetry()
196 if (mContext != null) { in scheduleRetry()
198 intent.setClass(mContext, AlarmBroadcastReceiver.class); in scheduleRetry()
201 mRetryAlarmIntent = PendingIntent.getBroadcast(mContext, 0, intent, in scheduleRetry()
[all …]
DCapabilityPolling.java71 private final Context mContext; field in CapabilityPolling
147 mContext = context; in CapabilityPolling()
149 ContactNumberUtils.getDefault().setContext(mContext); in CapabilityPolling()
150 PresencePreferences.getInstance().setContext(mContext); in CapabilityPolling()
152 mAlarmManager = (AlarmManager) mContext.getSystemService(Context.ALARM_SERVICE); in CapabilityPolling()
153 mEABContactManager = new EABContactManager(mContext.getContentResolver(), in CapabilityPolling()
154 mContext.getPackageName()); in CapabilityPolling()
176 PresenceSetting.init(mContext); in initialise()
180 capabilityPollInterval = mContext.getResources().getInteger( in initialise()
190 capabilityCacheExpiration = mContext.getResources().getInteger( in initialise()
[all …]
DPresencePreferences.java39 private Context mContext = null; field in PresencePreferences
46 if (mContext == null) { in setContext()
47 mContext = context; in setContext()
48 mCommonPref = mContext.getSharedPreferences(PREFERENCES, Context.MODE_PRIVATE); in setContext()
DEABService.java69 private Context mContext; field in EABService
111 mContext.getContentResolver().delete(
115 SharedPrefUtil.resetEABSharedPref(mContext);
123 mContext, currentTimestamp);
129 SharedPrefUtil.resetEABSharedPref(mContext);
178 mContext = getApplicationContext(); in onCreate()
355 if(SharedPrefUtil.isInitDone(mContext)) { in ensureInitDone()
364 EABDbUtil.validateAndSyncFromContactsDb(mContext); in ensureInitDone()
368 SharedPrefUtil.setInitDone(mContext, true); in ensureInitDone()
429 long contactLastChange = SharedPrefUtil.getLastContactChangedTimestamp(mContext, 0); in checkForContactNumberChanges()
[all …]
/external/ims/rcs/rcsservice/src/com/android/service/ims/presence/
DPresencePublication.java170 this.mContext = context; in PresencePublication()
172 mVtEnabled = ImsManager.isVtEnabledByUser(mContext); in PresencePublication()
174 mDataEnabled = Settings.Global.getInt(mContext.getContentResolver(), in PresencePublication()
177 RcsSettingUtils.setMobileDataEnabled(mContext, mDataEnabled); in PresencePublication()
182 mContext.getContentResolver(), in PresencePublication()
292 mContext.registerReceiver(mReceiver, statusFilter); in PresencePublication()
300 if(!ImsManager.isVolteEnabledByPlatform(mContext) && in isIPVoiceSupported()
301 !ImsManager.isWfcEnabledByPlatform(mContext)) { in isIPVoiceSupported()
306 if(!ImsManager.isVolteProvisionedOnDevice(mContext) && in isIPVoiceSupported()
307 !RcsSettingUtils.isVowifiProvisioned(mContext)) { in isIPVoiceSupported()
[all …]
DPresenceCapabilityTask.java64 private Context mContext = null; field in PresenceCapabilityTask
86 mContext = context; in PresenceCapabilityTask()
112 if(mContext == null){ in startTimer()
118 intent.setClass(mContext, AlarmBroadcastReceiver.class); in startTimer()
120 PendingIntent mAlarmIntent = PendingIntent.getBroadcast(mContext, 0, intent, in startTimer()
124 sAlarmManager = (AlarmManager)mContext.getSystemService(Context.ALARM_SERVICE); in startTimer()
/external/sl4a/InterpreterForAndroid/src/com/googlecode/android_scripting/interpreter/
DInterpreterProvider.java53 private Context mContext; field in InterpreterProvider
89 mContext = getContext(); in onCreate()
90 mPreferences = PreferenceManager.getDefaultSharedPreferences(mContext); in onCreate()
140 values.put(InterpreterPropertyNames.BINARY, mDescriptor.getBinary(mContext).getAbsolutePath()); in getProperties()
142 .getInteractiveCommand(mContext)); in getProperties()
143 values.put(InterpreterPropertyNames.SCRIPT_COMMAND, mDescriptor.getScriptCommand(mContext)); in getProperties()
151 values.putAll(mDescriptor.getEnvironmentVariables(mContext)); in getEnvironmentVariables()
158 for (String argument : mDescriptor.getArguments(mContext)) { in getArguments()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DBluetoothBroadcastHelper.java29 private final Context mContext; field in BluetoothBroadcastHelper
37 mContext = context; in BluetoothBroadcastHelper()
47 mContext.registerReceiver(mReceiver, mIntentFilter); in startReceiver()
58 mContext.unregisterReceiver(mReceiver); in stopReceiver()
DBluetoothDiscoveryHelper.java40 private final Context mContext; field in BluetoothDiscoveryHelper
45 mContext = context; in BluetoothDiscoveryHelper()
83 mContext.registerReceiver(mReceiver, filter); in startDiscovery()
93 mContext.unregisterReceiver(mReceiver); in cancel()
/external/sl4a/Common/src/com/googlecode/android_scripting/
DFutureActivityTaskExecutor.java31 private final Context mContext; field in FutureActivityTaskExecutor
37 mContext = context; in FutureActivityTaskExecutor()
51 Intent helper = new Intent(mContext, FutureActivity.class); in launchHelper()
54 mContext.startActivity(helper); in launchHelper()
/external/ims/rcs/rcsservice/src/com/android/service/ims/
DRcsStackAdaptor.java93 private Context mContext = null; field in RcsStackAdaptor
162 mContext = context; in RcsStackAdaptor()
204 if (!RcsSettingUtils.getCapabilityDiscoveryEnabled(mContext)) { in checkStackAndPublish()
245 mContext.sendStickyBroadcast(publishIntent); in setPublishState()
260 if (!RcsSettingUtils.isEabProvisioned(mContext)) { in checkStackStatus()
352 TelephonyManager teleMgr = (TelephonyManager) mContext.getSystemService( in requestPublication()
452 mListenerHandler = new StackListener(mContext, listenerLooper); in createListeningThread()
491 mContext.registerReceiver(mRcsServiceReceiver, filter); in doInitImsUceService()
494 mImsUceManager = ImsUceManager.getInstance(mContext, in doInitImsUceService()
495 SubscriptionManager.from(mContext).getDefaultDataPhoneId()); in doInitImsUceService()
[all …]
/external/sl4a/InterpreterForAndroid/src/com/googlecode/android_scripting/
DInterpreterInstaller.java47 protected final Context mContext; field in InterpreterInstaller
155 mContext = context; in InterpreterInstaller()
245 return new UrlDownloaderTask(in, out, mContext); in download()
262 return new ZipExtractorTask(in, out, mContext, replaceAll); in extract()
268 String out = InterpreterUtils.getInterpreterRoot(mContext).getAbsolutePath(); in extractInterpreter()
288 dataChmodErrno = FileUtils.chmod(InterpreterUtils.getInterpreterRoot(mContext), 0755); in chmodIntepreter()
290 FileUtils.recursiveChmod(InterpreterUtils.getInterpreterRoot(mContext, mDescriptor in chmodIntepreter()
300 SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(mContext); in isInstalled()
311 directories.add(InterpreterUtils.getInterpreterRoot(mContext, mDescriptor.getName())); in cleanup()
DInterpreterUninstaller.java43 protected final Context mContext; field in InterpreterUninstaller
55 mContext = context; in InterpreterUninstaller()
121 directories.add(InterpreterUtils.getInterpreterRoot(mContext, mDescriptor.getName())); in doInBackground()
132 SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(mContext); in isInstalled()
DZipExtractorTask.java52 private final Context mContext; field in ZipExtractorTask
84 mContext = context; in ZipExtractorTask()
176 if (destination.exists() && mContext != null && !mReplaceAll) { in unzip()
220 MainThread.run(mContext, new Runnable() { in showDialog()
223 AlertDialog.Builder builder = new AlertDialog.Builder(mContext); in showDialog()
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/provider/
DScriptProvider.java56 private Context mContext; field in ScriptProvider
85 mContext = getContext(); in onCreate()
86 mConfiguration = new InterpreterConfiguration(mContext); in onCreate()
119 int icon = FeaturedInterpreters.getInterpreterIcon(mContext, interpreter.getExtension()); in querySearchSuggestions()
140 iconId = FeaturedInterpreters.getInterpreterIcon(mContext, script.getName()); in queryLiveFolder()
145 ShortcutIconResource icon = ShortcutIconResource.fromContext(mContext, iconId); in queryLiveFolder()
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/
DScriptListAdapter.java33 protected final Context mContext; field in ScriptListAdapter
37 mContext = context; in ScriptListAdapter()
38 mInflater = (LayoutInflater) mContext.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ScriptListAdapter()
72 resourceId = FeaturedInterpreters.getInterpreterIcon(mContext, script.getName()); in getView()
DActivityFlinger.java109 private final Context mContext; field in ActivityFlinger.StartActivityRunnable
113 mContext = context; in StartActivityRunnable()
119 Intent intent = new Intent(mContext, mActivityClass); in run()
120 mContext.startActivity(intent); in run()
/external/apache-http/android/src/android/net/http/
DRequestQueue.java50 private final Context mContext; field in RequestQueue
80 mContext, i, this, RequestQueue.this); in ActivePool()
171 con = Connection.getConnection(mContext, host, mProxyHost, in getConnection()
206 mContext = context; in RequestQueue()
231 mContext.registerReceiver(mProxyChangeReceiver, in enablePlatformNotifications()
246 mContext.unregisterReceiver(mProxyChangeReceiver); in disablePlatformNotifications()
260 String host = Proxy.getHost(mContext); in setProxyConfig()
266 mProxyHost = new HttpHost(host, Proxy.getPort(mContext), "http"); in setProxyConfig()
379 Connection conn = Connection.getConnection(mContext, host, mProxyHost, in queueSynchronousRequest()
DConnectionThread.java35 private Context mContext; field in ConnectionThread
47 mContext = context; in ConnectionThread()
106 mConnection = mConnectionManager.getConnection(mContext, in run()
/external/conscrypt/src/test/java/org/conscrypt/
DZpenSSLX509Certificate.java28 public final long mContext; field in ZpenSSLX509Certificate
31 mContext = ctx; in ZpenSSLX509Certificate()
/external/ims/rcs/rcsmanager/src/java/com/android/ims/
DRcsManager.java238 private Context mContext; field in RcsManager
268 mContext = context; in RcsManager()
377 if (mContext != null) { in binderDied()
380 mContext.sendBroadcast(new Intent(intent)); in binderDied()

12