Home
last modified time | relevance | path

Searched refs:radio (Results 1 – 25 of 93) sorted by relevance

1234

/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/
DUtils.java19 import android.hardware.radio.ims.media.CodecMode;
20 import android.hardware.radio.ims.media.CodecParams;
21 import android.hardware.radio.ims.media.CodecSpecificParams;
22 import android.hardware.radio.ims.media.DtmfParams;
23 import android.hardware.radio.ims.media.RtpAddress;
24 import android.hardware.radio.ims.media.RtpSessionParams;
129 private static android.hardware.radio.ims.media.AmrParams
131 final android.hardware.radio.ims.media.AmrParams amrParams = in buildAmrParams()
132 new android.hardware.radio.ims.media.AmrParams(); in buildAmrParams()
141 private static android.hardware.radio.ims.media.EvsParams
[all …]
DAudioOffloadListener.java19 import android.hardware.radio.ims.media.CallQuality;
20 import android.hardware.radio.ims.media.IImsMediaSessionListener;
21 import android.hardware.radio.ims.media.MediaQualityStatus;
22 import android.hardware.radio.ims.media.RtpConfig;
23 import android.hardware.radio.ims.media.RtpHeaderExtension;
DAudioOffloadService.java19 import android.hardware.radio.ims.media.IImsMedia;
20 import android.hardware.radio.ims.media.IImsMediaListener;
21 import android.hardware.radio.ims.media.IImsMediaSession;
22 import android.hardware.radio.ims.media.LocalEndPoint;
23 import android.hardware.radio.ims.media.RtpConfig;
/packages/modules/Bluetooth/service/src/
DRadioModeListener.kt37 radio: String, in initializeRadioModeListener()
44 callback(getRadioModeValue(resolver, radio, modeKey)) in initializeRadioModeListener()
51 Settings.Global.getUriFor(radio), in initializeRadioModeListener()
60 return getRadioModeValue(resolver, radio, modeKey) in initializeRadioModeListener()
68 private fun getRadioModeValue(resolver: ContentResolver, radio: String, modeKey: String): Boolean { in getRadioModeValue()
69 return if (isSensitive(resolver, radio)) { in getRadioModeValue()
72 Log.d(TAG, "Not sensitive to " + radio + " change. Forced to false") in getRadioModeValue()
82 private fun isSensitive(resolver: ContentResolver, radio: String): Boolean { in isSensitive()
83 val radios = Settings.Global.getString(resolver, radio) in isSensitive()
DRadioModeListenerTest.kt38 internal fun enableSensitive(resolver: ContentResolver, looper: Looper, radio: String) { in enableSensitive()
39 Settings.Global.putString(resolver, radio, "foo," + RADIO_BLUETOOTH + ",bar") in enableSensitive()
43 internal fun disableSensitive(resolver: ContentResolver, looper: Looper, radio: String) { in disableSensitive()
44 Settings.Global.putString(resolver, radio, "foo,bar") in disableSensitive()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hal/
DWifiStaIfaceHidlImplTest.java378 StaLinkLayerRadioStats radio = radios.get(0); in verifyRadioStats() local
379 assertEquals(radio.onTimeInMs, wifiLinkLayerStats.on_time); in verifyRadioStats()
380 assertEquals(radio.txTimeInMs, wifiLinkLayerStats.tx_time); in verifyRadioStats()
381 assertEquals(radio.rxTimeInMs, wifiLinkLayerStats.rx_time); in verifyRadioStats()
382 assertEquals(radio.onTimeInMsForScan, wifiLinkLayerStats.on_time_scan); in verifyRadioStats()
383 assertEquals(radio.txTimeInMsPerLevel.size(), in verifyRadioStats()
385 for (int i = 0; i < radio.txTimeInMsPerLevel.size(); i++) { in verifyRadioStats()
386 assertEquals((int) radio.txTimeInMsPerLevel.get(i), in verifyRadioStats()
392 android.hardware.wifi.V1_3.StaLinkLayerRadioStats radio, in verifyRadioStats_1_3() argument
394 assertEquals(radio.V1_0.onTimeInMs, wifiLinkLayerStats.on_time); in verifyRadioStats_1_3()
[all …]
DWifiStaIfaceAidlImplTest.java569 StaLinkLayerRadioStats radio = radios[i]; in verifyPerRadioStats() local
571 assertEquals(radio.radioId, radioStat.radio_id); in verifyPerRadioStats()
572 assertEquals(radio.onTimeInMs, radioStat.on_time); in verifyPerRadioStats()
573 assertEquals(radio.txTimeInMs, radioStat.tx_time); in verifyPerRadioStats()
574 assertEquals(radio.rxTimeInMs, radioStat.rx_time); in verifyPerRadioStats()
575 assertEquals(radio.onTimeInMsForScan, radioStat.on_time_scan); in verifyPerRadioStats()
576 assertEquals(radio.onTimeInMsForNanScan, radioStat.on_time_nan_scan); in verifyPerRadioStats()
577 assertEquals(radio.onTimeInMsForBgScan, radioStat.on_time_background_scan); in verifyPerRadioStats()
578 assertEquals(radio.onTimeInMsForRoamScan, radioStat.on_time_roam_scan); in verifyPerRadioStats()
579 assertEquals(radio.onTimeInMsForPnoScan, radioStat.on_time_pno_scan); in verifyPerRadioStats()
[all …]
/packages/modules/ImsMedia/tests/unit/src/com/android/telephony/imsmedia/
DAudioOffloadTest.java29 import android.hardware.radio.ims.media.IImsMedia;
30 import android.hardware.radio.ims.media.IImsMediaSession;
31 import android.hardware.radio.ims.media.RtpConfig;
32 import android.hardware.radio.ims.media.RtpError;
267 ArgumentCaptor<android.hardware.radio.ims.media.MediaQualityThreshold> argumentCaptor = in testSetMediaQualityThreshold()
269 android.hardware.radio.ims.media.MediaQualityThreshold.class); in testSetMediaQualityThreshold()
272 final android.hardware.radio.ims.media.MediaQualityThreshold in testSetMediaQualityThreshold()
290 final android.hardware.radio.ims.media.MediaQualityStatus inputStatus = in testMediaQualityStatusInd()
324 List<android.hardware.radio.ims.media.RtpHeaderExtension> halExtensions = null; in testHeaderExtension()
330 ArgumentCaptor<List<android.hardware.radio.ims.media.RtpHeaderExtension>> in testHeaderExtension()
[all …]
DMediaQualityStatusTest.java45 static android.hardware.radio.ims.media.MediaQualityStatus createHalMediaQualityStatus() { in createHalMediaQualityStatus()
46 final android.hardware.radio.ims.media.MediaQualityStatus status = in createHalMediaQualityStatus()
47 new android.hardware.radio.ims.media.MediaQualityStatus(); in createHalMediaQualityStatus()
/packages/services/Car/car_product/build/
Dcar_system.mk64 android.hardware.radio@1.0 \
65 android.hardware.radio@1.1 \
66 android.hardware.radio@1.2 \
67 android.hardware.radio@1.3 \
68 android.hardware.radio@1.4 \
69 android.hardware.radio.config@1.0 \
70 android.hardware.radio.deprecated@1.0 \
/packages/modules/ImsMedia/test/imsmediahal/src/com/android/telephony/testimsmediahal/
DIImsMediaSessionImpl.java19 import android.hardware.radio.ims.media.IImsMediaSession;
20 import android.hardware.radio.ims.media.IImsMediaSessionListener;
21 import android.hardware.radio.ims.media.MediaQualityThreshold;
22 import android.hardware.radio.ims.media.RtpConfig;
23 import android.hardware.radio.ims.media.RtpHeaderExtension;
DIImsMediaImpl.java19 import android.hardware.radio.ims.media.IImsMedia;
20 import android.hardware.radio.ims.media.IImsMediaListener;
21 import android.hardware.radio.ims.media.LocalEndPoint;
22 import android.hardware.radio.ims.media.RtpConfig;
DAudioListenerProxy.java19 import android.hardware.radio.ims.media.IImsMediaListener;
20 import android.hardware.radio.ims.media.IImsMediaSession;
21 import android.hardware.radio.ims.media.IImsMediaSessionListener;
22 import android.hardware.radio.ims.media.RtpConfig;
23 import android.hardware.radio.ims.media.RtpHeaderExtension;
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiLinkLayerStats.java630 RadioStat radio = this.radioStats[i]; in toString() local
631 sbuf.append(" radio_id=" + radio.radio_id) in toString()
632 .append(" on_time=").append(Integer.toString(radio.on_time)) in toString()
633 .append(" tx_time=").append(Integer.toString(radio.tx_time)) in toString()
634 .append(" rx_time=").append(Integer.toString(radio.rx_time)) in toString()
635 .append(" scan_time=").append(Integer.toString(radio.on_time_scan)).append('\n') in toString()
637 .append(Integer.toString(radio.on_time_nan_scan)).append('\n') in toString()
639 .append(Integer.toString(radio.on_time_background_scan)).append('\n') in toString()
641 .append(Integer.toString(radio.on_time_roam_scan)).append('\n') in toString()
643 .append(Integer.toString(radio.on_time_pno_scan)).append('\n') in toString()
[all …]
/packages/modules/Connectivity/framework/src/android/net/
DNetworkConfig.java40 public int radio; field in NetworkConfig
68 radio = Integer.parseInt(fragments[2]); in NetworkConfig()
78 return (type == radio); in isDefault()
/packages/services/Car/car_product/car_ui_portrait/rro/car-ui-toolbar-customizations/
DAndroid.bp45 name: "generated_caruiportrait_toolbar-com-android-car-radio",
47 package_name: "com.android.car.radio.googlecaruiportrait.toolbar.rro",
48 target_package_name: "com.android.car.radio",
49 category: "caruiportrait.toolbar.radio",
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/
DWifiStaIfaceHidlImpl.java1206 WifiLinkLayerStats.RadioStat radio = new WifiLinkLayerStats.RadioStat(); in setRadioStats_1_5() local
1207 setFrameworkPerRadioStatsFromHidl_1_3(radioStats.radioId, radio, radioStats.V1_3); in setRadioStats_1_5()
1208 stats.radioStats[radioIndex] = radio; in setRadioStats_1_5()
1220 WifiLinkLayerStats.RadioStat radio = new WifiLinkLayerStats.RadioStat(); in setRadioStats_1_6() local
1221 setFrameworkPerRadioStatsFromHidl_1_6(radio, radioStats); in setRadioStats_1_6()
1222 stats.radioStats[radioIndex] = radio; in setRadioStats_1_6()
1232 WifiLinkLayerStats.RadioStat radio, in setFrameworkPerRadioStatsFromHidl_1_3() argument
1234 radio.radio_id = radioId; in setFrameworkPerRadioStatsFromHidl_1_3()
1235 radio.on_time = hidlRadioStats.V1_0.onTimeInMs; in setFrameworkPerRadioStatsFromHidl_1_3()
1236 radio.tx_time = hidlRadioStats.V1_0.txTimeInMs; in setFrameworkPerRadioStatsFromHidl_1_3()
[all …]
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/radio/
DRadioTunerFragment.java17 package com.google.android.car.kitchensink.radio;
20 import android.hardware.radio.Flags;
21 import android.hardware.radio.ProgramList;
22 import android.hardware.radio.ProgramSelector;
23 import android.hardware.radio.RadioManager;
24 import android.hardware.radio.RadioMetadata;
25 import android.hardware.radio.RadioTuner;
DProgramInfoAdapter.java17 package com.google.android.car.kitchensink.radio;
20 import android.hardware.radio.RadioManager;
21 import android.hardware.radio.RadioMetadata;
DAmFmTunerFragment.java17 package com.google.android.car.kitchensink.radio;
19 import android.hardware.radio.Flags;
20 import android.hardware.radio.ProgramSelector;
21 import android.hardware.radio.RadioManager;
22 import android.hardware.radio.RadioTuner;
DAmFmProgramInfoAdapter.java17 package com.google.android.car.kitchensink.radio;
20 import android.hardware.radio.RadioManager;
DDabProgramInfoAdapter.java17 package com.google.android.car.kitchensink.radio;
20 import android.hardware.radio.RadioManager;
DDabTunerFragment.java17 package com.google.android.car.kitchensink.radio;
19 import android.hardware.radio.RadioManager;
/packages/modules/ImsMedia/framework/src/android/telephony/imsmedia/
DAudioConfig.java37 public static final int CODEC_AMR = android.hardware.radio.ims.media.CodecType.AMR;
39 public static final int CODEC_AMR_WB = android.hardware.radio.ims.media.CodecType.AMR_WB;
41 public static final int CODEC_EVS = android.hardware.radio.ims.media.CodecType.EVS;
43 public static final int CODEC_PCMA = android.hardware.radio.ims.media.CodecType.PCMA;
45 public static final int CODEC_PCMU = android.hardware.radio.ims.media.CodecType.PCMU;
/packages/services/Car/car_product/app_overlays/car-ui-customizations/
DAndroid.bp79 name: "googlecarui-com-android-car-radio",
81 package_name: "com.android.car.radio.googlecarui.rro",
82 target_package_name: "com.android.car.radio",
209 name: "googlecarui.theme.orange-com-android-car-radio",
211 package_name: "com.android.car.radio.googlecarui.theme.orange.rro",
212 target_package_name: "com.android.car.radio",
339 name: "googlecarui.theme.pink-com-android-car-radio",
341 package_name: "com.android.car.radio.googlecarui.theme.pink.rro",
342 target_package_name: "com.android.car.radio",

1234