Home
last modified time | relevance | path

Searched defs:mode (Results 1 – 25 of 570) sorted by relevance

12345678910>>...23

/packages/services/Car/car-lib/src/android/car/media/
DICarMedia.aidl30 ComponentName getMediaSource(int mode); in getMediaSource()
32 void setMediaSource(in ComponentName mediaSource, int mode); in setMediaSource()
34 void registerMediaSourceListener(in ICarMediaSourceListener callback, int mode); in registerMediaSourceListener()
36 void unregisterMediaSourceListener(in ICarMediaSourceListener callback, int mode); in unregisterMediaSourceListener()
38 List<ComponentName> getLastMediaSources(int mode); in getLastMediaSources()
DCarMediaManager.java95 public @NonNull ComponentName getMediaSource(@MediaSourceMode int mode) { in getMediaSource()
110 public void setMediaSource(@NonNull ComponentName componentName, @MediaSourceMode int mode) { in setMediaSource()
127 @MediaSourceMode int mode) { in addMediaSourceListener()
153 @MediaSourceMode int mode) { in removeMediaSourceListener()
172 public @NonNull List<ComponentName> getLastMediaSources(@MediaSourceMode int mode) { in getLastMediaSources()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/nodes/
DImsMediaAudioUtil.cpp219 uint32_t ImsMediaAudioUtil::ConvertAmrModeToLen(uint32_t mode) in ConvertAmrModeToLen()
228 uint32_t ImsMediaAudioUtil::ConvertAmrModeToBitLen(uint32_t mode) in ConvertAmrModeToBitLen()
253 uint32_t ImsMediaAudioUtil::ConvertAmrWbModeToLen(uint32_t mode) in ConvertAmrWbModeToLen()
262 uint32_t ImsMediaAudioUtil::ConvertAmrWbModeToBitLen(uint32_t mode) in ConvertAmrWbModeToBitLen()
324 uint32_t ImsMediaAudioUtil::ConvertEVSAudioModeToBitLen(uint32_t mode) in ConvertEVSAudioModeToBitLen()
333 uint32_t ImsMediaAudioUtil::ConvertEVSAMRIOAudioModeToBitLen(uint32_t mode) in ConvertEVSAMRIOAudioModeToBitLen()
342 uint32_t ImsMediaAudioUtil::ConvertAmrModeToBitrate(uint32_t mode) in ConvertAmrModeToBitrate()
366 uint32_t ImsMediaAudioUtil::ConvertAmrWbModeToBitrate(uint32_t mode) in ConvertAmrWbModeToBitrate()
422 int32_t ImsMediaAudioUtil::ConvertEVSModeToBitRate(const int32_t mode) in ConvertEVSModeToBitRate()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DBluetoothSnoopLogFilterProfileMapPreferenceControllerTest.java101 var mode = in onPreferenceChanged_turnOnBluetoothSnoopLogFullFilterMap() local
119 var mode = in onPreferenceChanged_turnOnBluetoothSnoopLogHeaderFilterMap() local
136 var mode = in onPreferenceChanged_turnOnBluetoothSnoopLogMagicFilterMap() local
153 var mode = in onPreferenceChanged_turnOffBluetoothSnoopLogFilterMap() local
DBluetoothSnoopLogFilterProfilePbapPreferenceControllerTest.java101 var mode = in onPreferenceChanged_turnOnBluetoothSnoopLogFullFilterPbap() local
119 var mode = in onPreferenceChanged_turnOnBluetoothSnoopLogHeaderFilterPbap() local
136 var mode = in onPreferenceChanged_turnOnBluetoothSnoopLogMagicFilterPbap() local
153 var mode = in onPreferenceChanged_turnOffBluetoothSnoopLogFilterPbap() local
DWifiNonPersistentMacRandomizationPreferenceControllerTest.java63 int mode = Settings.Global.getInt(mContext.getContentResolver(), in onPreferenceChanged_enabled_shouldTurnOnNonPersistentRandomization() local
72 int mode = Settings.Global.getInt(mContext.getContentResolver(), in onPreferenceChanged_disabled_shouldTurnOffNonPersistentRandomization() local
99 int mode = Settings.Global.getInt(mContext.getContentResolver(), in onDeveloperOptionsDisabled_shouldDisablePreference() local
DAllowAppsOnExternalPreferenceControllerTest.java68 final int mode = Settings.Global.getInt(mContext.getContentResolver(), in onPreferenceChange_settingEnabled_allowAppsOnExternalShouldBeOn() local
78 final int mode = Settings.Global.getInt(mContext.getContentResolver(), in onPreferenceChange_settingDisabled_allowAppsOnExternalShouldBeOff() local
106 final int mode = Settings.Global.getInt(mContext.getContentResolver(), in onDeveloperOptionsSwitchDisabled_shouldDisablePreference() local
DDebugViewAttributesPreferenceControllerTest.java63 final int mode = Settings.Global.getInt(mContext.getContentResolver(), in onPreferenceChanged_turnOnViewAttributes() local
73 final int mode = Settings.Global.getInt(mContext.getContentResolver(), in onPreferenceChanged_turnOffViewAttributes() local
100 final int mode = Settings.Global.getInt(mContext.getContentResolver(), in onDeveloperOptionsDisabled_shouldDisablePreference() local
DArtVerifierPreferenceControllerTest.java63 final int mode = Settings.Global.getInt(mContext.getContentResolver(), in onPreferenceChanged_settingEnabled_turnOnArtVerifier() local
73 final int mode = Settings.Global.getInt(mContext.getContentResolver(), in onPreferenceChanged_settingDisabled_turnOffArtVerifier() local
102 final int mode = Settings.Global.getInt(mContext.getContentResolver(), in onDeveloperOptionsSwitchDisabled_shouldDisablePreference() local
DNonResizableMultiWindowPreferenceControllerTest.java67 final int mode = Settings.Global.getInt(mContext.getContentResolver(), in onPreferenceChange_switchEnabled_shouldEnableNonResizableMultiWindow() local
76 final int mode = Settings.Global.getInt(mContext.getContentResolver(), in onPreferenceChange_switchDisabled_shouldDisableNonResizableMultiWindow() local
105 final int mode = Settings.Global.getInt(mContext.getContentResolver(), in onDeveloperOptionsSwitchDisabled_shouldDisablePreference() local
DTetheringHardwareAccelPreferenceControllerTest.java63 final int mode = Settings.Global.getInt(mContext.getContentResolver(), in onPreferenceChanged_settingEnabled_turnOnTetheringAccel() local
73 final int mode = Settings.Global.getInt(mContext.getContentResolver(), in onPreferenceChanged_settingDisabled_turnOffTetheringAccel() local
102 final int mode = Settings.Global.getInt(mContext.getContentResolver(), in onDeveloperOptionsSwitchDisabled_shouldDisablePreference() local
DMobileDataAlwaysOnPreferenceControllerTest.java63 final int mode = Settings.Global.getInt(mContext.getContentResolver(), in onPreferenceChanged_turnOnPreference_shouldEnableMobileDataAlwaysOn() local
73 final int mode = Settings.Global.getInt(mContext.getContentResolver(), in onPreferenceChanged_turnOffPreference_shouldDisableMobileDataAlwaysOn() local
100 final int mode = Settings.Global.getInt(mContext.getContentResolver(), in onDeveloperOptionsSwitchDisabled_shouldDisableMobileDataAlwaysOn() local
DWifiDisplayCertificationPreferenceControllerTest.java63 final int mode = Settings.Global.getInt(mContext.getContentResolver(), in onPreferenceChanged_turnOnWifiDisplayCertification() local
73 final int mode = Settings.Global.getInt(mContext.getContentResolver(), in onPreferenceChanged_turnOffWifiDisplayCertification() local
102 final int mode = Settings.Global.getInt(mContext.getContentResolver(), in onDeveloperOptionsDisabled_shouldDisablePreference() local
DEnableGpuDebugLayersPreferenceControllerTest.java68 final int mode = Settings.Global.getInt(mContext.getContentResolver(), in onPreferenceChange_settingEnabled_enableGpuDebugLayersShouldBeOn() local
78 final int mode = Settings.Global.getInt(mContext.getContentResolver(), in onPreferenceChange_settingDisabled_enableGpuDebugLayersShouldBeOff() local
106 final int mode = Settings.Global.getInt(mContext.getContentResolver(), in onDeveloperOptionsSwitchDisabled_shouldDisablePreference() local
DEnableGnssRawMeasFullTrackingPreferenceControllerTest.java68 final int mode = Settings.Global.getInt(mContext.getContentResolver(), in onPreferenceChange_settingEnabled_enableGnssRawMeasFullTrackingShouldBeOn() local
78 final int mode = Settings.Global.getInt(mContext.getContentResolver(), in onPreferenceChange_settingDisabled_enableGnssRawMeasFullTrackingShouldBeOff() local
106 final int mode = Settings.Global.getInt(mContext.getContentResolver(), in onDeveloperOptionsSwitchDisabled_shouldDisablePreference() local
DAppsNotRespondingPreferenceControllerTest.java68 final int mode = Settings.Secure.getInt(mContext.getContentResolver(), in onPreferenceChange_settingEnabled_appsNotRespondingDialogShouldBeOn() local
78 final int mode = Settings.Secure.getInt(mContext.getContentResolver(), in onPreferenceChange_settingDisabled_appsNotRespondingDialogShouldBeOff() local
106 final int mode = Settings.Secure.getInt(mContext.getContentResolver(), in onDeveloperOptionsSwitchDisabled_shouldDisablePreference() local
DResizableActivityPreferenceControllerTest.java62 final int mode = Settings.Global.getInt(mContext.getContentResolver(), in onPreferenceChange_settingEnabled_shouldEnableResizableActivities() local
73 final int mode = Settings.Global.getInt(mContext.getContentResolver(), in onPreferenceChange_settingDisabled_shouldDisableResizableActivities() local
105 final int mode = Settings.Global.getInt(mContext.getContentResolver(), in onDeveloperOptionsSwitchDisabled_preferenceShouldBeDisabled() local
DNotificationChannelWarningsPreferenceControllerTest.java64 final int mode = Settings.Global.getInt(mContext.getContentResolver(), in onPreferenceChange_settingEnabled_shouldEnableNotificationChannelWarnings() local
75 final int mode = Settings.Global.getInt(mContext.getContentResolver(), in onPreferenceChange_settingDisabled_shouldDisableNotificationChannelWarnings() local
119 final int mode = Settings.Global.getInt(mContext.getContentResolver(), in onDeveloperOptionsSwitchDisabled_preferenceShouldBeDisabled() local
DBluetoothSnoopLogPreferenceControllerTest.java92 final String mode = SystemProperties.get(BLUETOOTH_BTSNOOP_LOG_MODE_PROPERTY); in onPreferenceChanged_turnOnFullBluetoothSnoopLog() local
102 final String mode = SystemProperties.get(BLUETOOTH_BTSNOOP_LOG_MODE_PROPERTY); in onPreferenceChanged_turnOnFilteredBluetoothSnoopLog() local
112 final String mode = SystemProperties.get(BLUETOOTH_BTSNOOP_LOG_MODE_PROPERTY); in onPreferenceChanged_turnOffBluetoothSnoopLog() local
DBugReportInPowerPreferenceControllerTest.java101 int mode = Settings.Secure.getInt(mContext.getContentResolver(), in onPreferenceChanged_settingDisabled_shouldDisableBugReportInPowerSetting() local
113 int mode = Settings.Secure.getInt(mContext.getContentResolver(), in onPreferenceChanged_settingEnabled_shouldEnableBugReportInPowerSetting() local
150 int mode = Settings.Secure.getInt(mContext.getContentResolver(), in onDeveloperOptionsSwitchDisabled_shouldTurnOffPreference() local
DShowFirstCrashDialogPreferenceControllerTest.java67 final int mode = Settings.Secure.getInt(mContext.getContentResolver(), in onPreferenceChange_settingEnabled_showFirstCrashDialogShouldBeOn() local
77 final int mode = Settings.Secure.getInt(mContext.getContentResolver(), in onPreferenceChange_settingDisabled_showFirstCrashDialogShouldBeOff() local
105 final int mode = Settings.Secure.getInt(mContext.getContentResolver(), in onDeveloperOptionsSwitchDisabled_shouldDisablePreference() local
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/displaysound/
DHdrFormatSelectionFragmentTest.java94 Display.Mode mode = new Display.Mode(0, 0, 0, 0, new float[0], displayReportedHdrTypes); in testOnPreferenceTreeClick_withFormatDisabled_disablesHdrTypeInDisplayManager() local
122 Display.Mode mode = new Display.Mode(0, 0, 0, 0, new float[0], displayReportedHdrTypes); in testOnPreferenceTreeClick_withFormatEnabled_enablesHdrTypeInDisplayManager() local
150 Display.Mode mode = new Display.Mode(0, 0, 0, 0, new float[0], displayReportedHdrTypes); in testGetPreferenceScreen_whenManual_returnsFormatPreferencesInCorrectPreferenceGroup() local
181 Display.Mode mode = new Display.Mode(0, 0, 0, 0, new float[0], displayReportedHdrTypes); in testGetPreferenceScreen_whenManual_returnsFormatPreferencesWithCorrectCheckedState() local
208 Display.Mode mode = new Display.Mode(0, 0, 0, 0, new float[0], displayReportedHdrTypes); in testGetPreferenceScreen_whenAuto_returnsNoFormatPreferences() local
224 Display.Mode mode = new Display.Mode(0, 0, 0, 0, new float[0], displayReportedHdrTypes); in testGetPreferenceScreen_whenAuto_showsFormatInfoPreference() local
250 Display.Mode mode = new Display.Mode(0, 0, 0, 0, new float[0], displayReportedHdrTypes); in testGetPreferenceScreen_whenAuto_returnsFormatsInCorrectPreferenceGroup() local
323 Display.Mode mode = new Display.Mode(0, 0, 0, 0, new float[0], new int[0]); in createDefaultHdrFormatSelectionFragment() local
/packages/services/Car/tests/usb/AoapHostApp/src/com/google/android/car/usb/aoap/host/
DUsbAoapHostActivity.java100 private static String getTestModeString(int mode) { in getTestModeString()
123 public void testStarted(int mode, int bufferSize) { in testStarted()
129 public void testFinished(int mode, int bufferSize) { in testFinished()
135 public void testResult(int mode, String update) { in testResult()
/packages/services/Car/service/src/com/android/car/hal/fakevhal/
DREADME.md19 #### Push ENABLE file and optional custom config files to device
39 #### Activate fake VHAL mode.
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/eco/
DEnergyModesHelper.java247 private boolean isEnergyModeEnabled(EnergyMode mode) { in isEnergyModeEnabled()
289 public String getSummary(EnergyMode mode) { in getSummary()
306 public String getFeaturesList(EnergyMode mode) { in getFeaturesList()
333 LowPowerStandbyPolicy getPolicy(EnergyMode mode) { in getPolicy()
350 private Set<String> getExemptPackages(EnergyMode mode) { in getExemptPackages()
358 Set<String> getAllowedFeatures(EnergyMode mode) { in getAllowedFeatures()
380 private int getAllowedReasons(EnergyMode mode) { in getAllowedReasons()
431 private int getEnergyModeIndex(EnergyMode mode) { in getEnergyModeIndex()

12345678910>>...23