/frameworks/support/compat/java/android/support/v4/net/ |
D | ConnectivityManagerCompat.java | 94 public static boolean isActiveNetworkMetered(ConnectivityManager cm) { in isActiveNetworkMetered() argument 96 return cm.isActiveNetworkMetered(); in isActiveNetworkMetered() 98 final NetworkInfo info = cm.getActiveNetworkInfo(); in isActiveNetworkMetered() 132 public static NetworkInfo getNetworkInfoFromBroadcast(ConnectivityManager cm, Intent intent) { in getNetworkInfoFromBroadcast() argument 135 return cm.getNetworkInfo(info.getType()); in getNetworkInfoFromBroadcast() 150 public static int getRestrictBackgroundStatus(ConnectivityManager cm) { in getRestrictBackgroundStatus() argument 152 return cm.getRestrictBackgroundStatus(); in getRestrictBackgroundStatus()
|
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/ |
D | UpstreamNetworkMonitor.java | 114 ConnectivityManager cm, StateMachine tgt, SharedLog log, int what) { in UpstreamNetworkMonitor() argument 116 mCM = cm; in UpstreamNetworkMonitor() 125 cm().registerNetworkCallback(listenAllRequest, mListenAllCallback, mHandler); in start() 128 cm().registerDefaultNetworkCallback(mDefaultNetworkCallback, mHandler); in start() 182 cm().requestNetwork(mobileUpstreamRequest, mMobileNetworkCallback, 0, legacyType, mHandler); in registerMobileNetworkRequest() 188 cm().unregisterNetworkCallback(mMobileNetworkCallback); in releaseMobileNetworkRequest() 396 private ConnectivityManager cm() { in cm() method in UpstreamNetworkMonitor 450 if (cb != null) cm().unregisterNetworkCallback(cb); in releaseCallback()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierSmsUtils.java | 75 CarrierConfigManager cm = (CarrierConfigManager) context.getSystemService( in getCarrierImsPackage() local 77 if (cm == null) { in getCarrierImsPackage() 84 PersistableBundle config = cm.getConfigForSubId(phone.getSubId()); in getCarrierImsPackage()
|
/frameworks/av/camera/ndk/impl/ |
D | ACameraManager.h | 68 explicit DeathNotifier(CameraManagerGlobal* cm) : mCameraManager(cm) {} in DeathNotifier() argument 79 explicit CameraServiceListener(CameraManagerGlobal* cm) : mCameraManager(cm) {} in CameraServiceListener() argument
|
D | ACameraManager.cpp | 182 sp<CameraManagerGlobal> cm = mCameraManager.promote(); in binderDied() local 183 if (cm != nullptr) { in binderDied() 184 AutoMutex lock(cm->mLock); in binderDied() 185 for (auto& pair : cm->mDeviceStatusMap) { in binderDied() 187 cm->onStatusChangedLocked( in binderDied() 190 cm->mCameraService.clear(); in binderDied() 299 sp<CameraManagerGlobal> cm = mCameraManager.promote(); in onStatusChanged() local 300 if (cm != nullptr) { in onStatusChanged() 301 cm->onStatusChanged(status, String8(cameraId)); in onStatusChanged()
|
/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/ml/nn/runtime/test/specs/ |
D | depthwise_conv2d_quant8.mod.py | 24 cm = Int32Scalar("channelMultiplier", 1) variable 31 cm, act).To(output)
|
D | depthwise_conv2d_quant8_large.mod.py | 24 cm = Int32Scalar("channelMultiplier", 1) variable 31 cm, act).To(output)
|
D | depthwise_conv2d_float_large.mod.py | 24 cm = Int32Scalar("channelMultiplier", 1) variable 31 cm, act).To(output)
|
D | depthwise_conv2d_float_large_2.mod.py | 24 cm = Int32Scalar("channelMultiplier", 1) variable 31 cm, act).To(output)
|
D | depthwise_conv2d_float.mod.py | 24 cm = Int32Scalar("channelMultiplier", 2) variable 31 cm, act).To(output)
|
D | depthwise_conv2d_quant8_weights_as_inputs.mod.py | 24 cm = Int32Scalar("channelMultiplier", 1) variable 31 cm, act).To(output)
|
D | depthwise_conv2d_quant8_large_weights_as_inputs.mod.py | 24 cm = Int32Scalar("channelMultiplier", 1) variable 31 cm, act).To(output)
|
D | depthwise_conv2d_float_large_2_weights_as_inputs.mod.py | 24 cm = Int32Scalar("channelMultiplier", 1) variable 31 cm, act).To(output)
|
D | depthwise_conv2d_float_weights_as_inputs.mod.py | 24 cm = Int32Scalar("channelMultiplier", 2) variable 31 cm, act).To(output)
|
D | depthwise_conv2d_float_large_weights_as_inputs.mod.py | 24 cm = Int32Scalar("channelMultiplier", 1) variable 31 cm, act).To(output)
|
/frameworks/base/core/java/android/net/ |
D | VpnService.java | 218 IConnectivityManager cm = getService(); in prepareAndAuthorize() local 223 if (!cm.prepareVpn(packageName, null, userId)) { in prepareAndAuthorize() 224 cm.prepareVpn(null, packageName, userId); in prepareAndAuthorize() 226 cm.setVpnPackageAuthorization(packageName, userId, true); in prepareAndAuthorize()
|
D | Network.java | 251 final ConnectivityManager cm = ConnectivityManager.getInstanceOrNull(); in openConnection() local 252 if (cm == null) { in openConnection() 256 final ProxyInfo proxyInfo = cm.getProxyForNetwork(this); in openConnection()
|
D | IpSecTransform.java | 249 ConnectivityManager cm = in startKeepalive() local 259 cm.startNattKeepalive( in startKeepalive()
|
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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneSwitcherTest.java | 199 final ConnectivityManager cm = in testRegister() local 201 contextFixture.setSystemService(Context.CONNECTIVITY_SERVICE, cm); in testRegister() 432 final ConnectivityManager cm = in testPrioritization() local 434 contextFixture.setSystemService(Context.CONNECTIVITY_SERVICE, cm); in testPrioritization() 505 final ConnectivityManager cm = in testHigherPriorityDefault() local 507 contextFixture.setSystemService(Context.CONNECTIVITY_SERVICE, cm); in testHigherPriorityDefault()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/ |
D | UpstreamNetworkMonitorTest.java | 550 public final TestConnectivityManager cm; field in UpstreamNetworkMonitorTest.TestNetworkAgent 555 public TestNetworkAgent(TestConnectivityManager cm, int transportType) { in TestNetworkAgent() argument 556 this.cm = cm; in TestNetworkAgent() 557 this.networkId = new Network(cm.getNetworkId()); in TestNetworkAgent() 565 for (NetworkCallback cb : cm.listening.keySet()) { in fakeConnect() 572 for (NetworkCallback cb : cm.listening.keySet()) { in fakeDisconnect() 578 for (NetworkCallback cb : cm.listening.keySet()) { in sendLinkProperties()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | Utils.java | 51 public static int getTetheringLabel(ConnectivityManager cm) { in getTetheringLabel() argument 52 String[] usbRegexs = cm.getTetherableUsbRegexs(); in getTetheringLabel() 53 String[] wifiRegexs = cm.getTetherableWifiRegexs(); in getTetheringLabel() 54 String[] bluetoothRegexs = cm.getTetherableBluetoothRegexs(); in getTetheringLabel()
|
/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/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()
|