/frameworks/support/compat/java/android/support/v4/net/ |
D | ConnectivityManagerCompat.java | 43 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/ |
D | ConnectivityManagerCompatJellyBean.java | 25 public static boolean isActiveNetworkMetered(ConnectivityManager cm) { in isActiveNetworkMetered() argument 26 return cm.isActiveNetworkMetered(); in isActiveNetworkMetered()
|
/frameworks/support/compat/api24/android/support/v4/net/ |
D | ConnectivityManagerCompatApi24.java | 25 public static int getRestrictBackgroundStatus(ConnectivityManager cm) { in getRestrictBackgroundStatus() argument 26 return cm.getRestrictBackgroundStatus(); in getRestrictBackgroundStatus()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
D | MediaTestUtil.java | 86 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/ |
D | ACameraManager.h | 63 DeathNotifier(CameraManagerGlobal* cm) : mCameraManager(cm) {} in DeathNotifier() argument 74 CameraServiceListener(CameraManagerGlobal* cm) : mCameraManager(cm) {} in CameraServiceListener() argument
|
D | ACameraManager.cpp | 146 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/ |
D | ConnectivityManagerCompatHoneycombMR2.java | 36 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/ |
D | PhoneSwitcherTest.java | 202 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/ |
D | Utils.java | 35 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/ |
D | VpnService.java | 181 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()
|
D | Network.java | 247 final ConnectivityManager cm = ConnectivityManager.getInstanceOrNull(); in openConnection() local 248 if (cm == null) { in openConnection() 252 final ProxyInfo proxyInfo = cm.getProxyForNetwork(this); in openConnection()
|
D | NetworkAgent.java | 223 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/ |
D | connectivity-monitoring.jd | 42 <pre>ConnectivityManager cm = 45 NetworkInfo activeNetwork = cm.getActiveNetworkInfo();
|
/frameworks/base/docs/html-intl/intl/ja/training/monitoring-device-state/ |
D | connectivity-monitoring.jd | 42 <pre>ConnectivityManager cm = 45 NetworkInfo activeNetwork = cm.getActiveNetworkInfo();
|
/frameworks/base/docs/html-intl/intl/ko/training/monitoring-device-state/ |
D | connectivity-monitoring.jd | 42 <pre>ConnectivityManager cm = 45 NetworkInfo activeNetwork = cm.getActiveNetworkInfo();
|
/frameworks/base/docs/html-intl/intl/ru/training/monitoring-device-state/ |
D | connectivity-monitoring.jd | 42 <pre>ConnectivityManager cm = 45 NetworkInfo activeNetwork = cm.getActiveNetworkInfo();
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | DnsEventListenerService.java | 127 public DnsEventListenerService(ConnectivityManager cm, IpConnectivityLog log) { in DnsEventListenerService() argument 129 mCm = cm; in DnsEventListenerService()
|
/frameworks/base/docs/html/guide/webapps/ |
D | debugging.jd | 124 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/ |
D | UidDetailProvider.java | 125 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/ |
D | IconUtilities.java | 79 ColorMatrix cm = new ColorMatrix(); in IconUtilities() local 80 cm.setSaturation(0.2f); in IconUtilities()
|
/frameworks/support/core-utils/kitkat/android/support/v4/print/ |
D | PrintHelperKitkat.java | 690 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/ |
D | connectivity_patterns.jd | 48 <pre>ConnectivityManager cm = 54 NetworkInfo activeNetwork = cm.getActiveNetworkInfo();
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | TelephonyNetworkFactoryTest.java | 93 ConnectivityManager cm = in TestSetup() local 95 contextFixture.setSystemService(Context.CONNECTIVITY_SERVICE, cm); in TestSetup()
|
/frameworks/base/docs/html/training/monitoring-device-state/ |
D | connectivity-monitoring.jd | 48 <pre>ConnectivityManager cm = 51 NetworkInfo activeNetwork = cm.getActiveNetworkInfo();
|
/frameworks/base/docs/html-intl/intl/es/training/monitoring-device-state/ |
D | connectivity-monitoring.jd | 42 <pre>ConnectivityManager cm = 45 NetworkInfo activeNetwork = cm.getActiveNetworkInfo();
|