Home
last modified time | relevance | path

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

12

/frameworks/support/compat/java/android/support/v4/net/
DConnectivityManagerCompat.java43 boolean isActiveNetworkMetered(ConnectivityManager cm); in isActiveNetworkMetered() argument
46 int getRestrictBackgroundStatus(ConnectivityManager cm); in getRestrictBackgroundStatus() argument
84 public boolean isActiveNetworkMetered(ConnectivityManager cm) { in isActiveNetworkMetered() argument
85 final NetworkInfo info = cm.getActiveNetworkInfo(); in isActiveNetworkMetered()
109 public int getRestrictBackgroundStatus(ConnectivityManager cm) { in getRestrictBackgroundStatus() argument
117 public boolean isActiveNetworkMetered(ConnectivityManager cm) { in isActiveNetworkMetered() argument
118 return ConnectivityManagerCompatHoneycombMR2.isActiveNetworkMetered(cm); in isActiveNetworkMetered()
125 public boolean isActiveNetworkMetered(ConnectivityManager cm) { in isActiveNetworkMetered() argument
126 return ConnectivityManagerCompatJellyBean.isActiveNetworkMetered(cm); in isActiveNetworkMetered()
133 public int getRestrictBackgroundStatus(ConnectivityManager cm) { in getRestrictBackgroundStatus() argument
[all …]
/frameworks/support/compat/jellybean/android/support/v4/net/
DConnectivityManagerCompatJellyBean.java25 public static boolean isActiveNetworkMetered(ConnectivityManager cm) { in isActiveNetworkMetered() argument
26 return cm.isActiveNetworkMetered(); in isActiveNetworkMetered()
/frameworks/support/compat/api24/android/support/v4/net/
DConnectivityManagerCompatApi24.java25 public static int getRestrictBackgroundStatus(ConnectivityManager cm) { in getRestrictBackgroundStatus() argument
26 return cm.getRestrictBackgroundStatus(); in getRestrictBackgroundStatus()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaTestUtil.java86 String cm = "ps "; in captureMemInfo() local
87 cm += mProcessName; in captureMemInfo()
88 Log.v(TAG, cm); in captureMemInfo()
93 Process p = Runtime.getRuntime().exec(cm); in captureMemInfo()
/frameworks/av/camera/ndk/impl/
DACameraManager.h63 DeathNotifier(CameraManagerGlobal* cm) : mCameraManager(cm) {} in DeathNotifier() argument
74 CameraServiceListener(CameraManagerGlobal* cm) : mCameraManager(cm) {} in CameraServiceListener() argument
DACameraManager.cpp146 sp<CameraManagerGlobal> cm = mCameraManager.promote(); in binderDied() local
147 if (cm != nullptr) { in binderDied()
148 AutoMutex lock(cm->mLock); in binderDied()
149 for (auto pair : cm->mDeviceStatusMap) { in binderDied()
151 cm->onStatusChangedLocked( in binderDied()
154 cm->mCameraService.clear(); in binderDied()
251 sp<CameraManagerGlobal> cm = mCameraManager.promote(); in onStatusChanged() local
252 if (cm != nullptr) { in onStatusChanged()
253 cm->onStatusChanged(status, cameraId); in onStatusChanged()
/frameworks/support/compat/honeycomb_mr2/android/support/v4/net/
DConnectivityManagerCompatHoneycombMR2.java36 public static boolean isActiveNetworkMetered(ConnectivityManager cm) { in isActiveNetworkMetered() argument
37 final NetworkInfo info = cm.getActiveNetworkInfo(); in isActiveNetworkMetered()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneSwitcherTest.java202 final ConnectivityManager cm = in testRegister() local
204 contextFixture.setSystemService(Context.CONNECTIVITY_SERVICE, cm); in testRegister()
429 final ConnectivityManager cm = in testPrioritization() local
431 contextFixture.setSystemService(Context.CONNECTIVITY_SERVICE, cm); in testPrioritization()
497 final ConnectivityManager cm = in testHigherPriorityDefault() local
499 contextFixture.setSystemService(Context.CONNECTIVITY_SERVICE, cm); in testHigherPriorityDefault()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DUtils.java35 public static int getTetheringLabel(ConnectivityManager cm) { in getTetheringLabel() argument
36 String[] usbRegexs = cm.getTetherableUsbRegexs(); in getTetheringLabel()
37 String[] wifiRegexs = cm.getTetherableWifiRegexs(); in getTetheringLabel()
38 String[] bluetoothRegexs = cm.getTetherableBluetoothRegexs(); in getTetheringLabel()
/frameworks/base/core/java/android/net/
DVpnService.java181 IConnectivityManager cm = getService(); in prepareAndAuthorize() local
186 if (!cm.prepareVpn(packageName, null, userId)) { in prepareAndAuthorize()
187 cm.prepareVpn(null, packageName, userId); in prepareAndAuthorize()
189 cm.setVpnPackageAuthorization(packageName, userId, true); in prepareAndAuthorize()
DNetwork.java247 final ConnectivityManager cm = ConnectivityManager.getInstanceOrNull(); in openConnection() local
248 if (cm == null) { in openConnection()
252 final ProxyInfo proxyInfo = cm.getProxyForNetwork(this); in openConnection()
DNetworkAgent.java223 ConnectivityManager cm = (ConnectivityManager)mContext.getSystemService( in NetworkAgent() local
225 netId = cm.registerNetworkAgent(new Messenger(this), new NetworkInfo(ni), in NetworkAgent()
/frameworks/base/docs/html-intl/intl/zh-cn/training/monitoring-device-state/
Dconnectivity-monitoring.jd42 <pre>ConnectivityManager cm =
45 NetworkInfo activeNetwork = cm.getActiveNetworkInfo();
/frameworks/base/docs/html-intl/intl/ja/training/monitoring-device-state/
Dconnectivity-monitoring.jd42 <pre>ConnectivityManager cm =
45 NetworkInfo activeNetwork = cm.getActiveNetworkInfo();
/frameworks/base/docs/html-intl/intl/ko/training/monitoring-device-state/
Dconnectivity-monitoring.jd42 <pre>ConnectivityManager cm =
45 NetworkInfo activeNetwork = cm.getActiveNetworkInfo();
/frameworks/base/docs/html-intl/intl/ru/training/monitoring-device-state/
Dconnectivity-monitoring.jd42 <pre>ConnectivityManager cm =
45 NetworkInfo activeNetwork = cm.getActiveNetworkInfo();
/frameworks/base/services/core/java/com/android/server/connectivity/
DDnsEventListenerService.java127 public DnsEventListenerService(ConnectivityManager cm, IpConnectivityLog log) { in DnsEventListenerService() argument
129 mCm = cm; in DnsEventListenerService()
/frameworks/base/docs/html/guide/webapps/
Ddebugging.jd124 public boolean onConsoleMessage(ConsoleMessage cm) {
125 Log.d("MyApplication", cm.{@link android.webkit.ConsoleMessage#message()} + " -- From line "
126 + cm.{@link android.webkit.ConsoleMessage#lineNumber()} + " of "
127 + cm.{@link android.webkit.ConsoleMessage#sourceId()} );
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DUidDetailProvider.java125 final ConnectivityManager cm = (ConnectivityManager) mContext.getSystemService( in buildUidDetail() local
127 detail.label = res.getString(Utils.getTetheringLabel(cm)); in buildUidDetail()
/frameworks/base/services/core/java/com/android/server/policy/
DIconUtilities.java79 ColorMatrix cm = new ColorMatrix(); in IconUtilities() local
80 cm.setSaturation(0.2f); in IconUtilities()
/frameworks/support/core-utils/kitkat/android/support/v4/print/
DPrintHelperKitkat.java690 ColorMatrix cm = new ColorMatrix(); in convertBitmapForColorMode() local
691 cm.setSaturation(0); in convertBitmapForColorMode()
692 ColorMatrixColorFilter f = new ColorMatrixColorFilter(cm); in convertBitmapForColorMode()
/frameworks/base/docs/html/training/efficient-downloads/
Dconnectivity_patterns.jd48 <pre>ConnectivityManager cm =
54 NetworkInfo activeNetwork = cm.getActiveNetworkInfo();
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DTelephonyNetworkFactoryTest.java93 ConnectivityManager cm = in TestSetup() local
95 contextFixture.setSystemService(Context.CONNECTIVITY_SERVICE, cm); in TestSetup()
/frameworks/base/docs/html/training/monitoring-device-state/
Dconnectivity-monitoring.jd48 <pre>ConnectivityManager cm =
51 NetworkInfo activeNetwork = cm.getActiveNetworkInfo();
/frameworks/base/docs/html-intl/intl/es/training/monitoring-device-state/
Dconnectivity-monitoring.jd42 <pre>ConnectivityManager cm =
45 NetworkInfo activeNetwork = cm.getActiveNetworkInfo();

12