/packages/services/Car/car-lib/src/android/car/media/ |
D | ICarMedia.aidl | 30 ComponentName getMediaSource(int mode, int userId); in getMediaSource() 32 void setMediaSource(in ComponentName mediaSource, int mode, int userId); in setMediaSource() 34 void registerMediaSourceListener(in ICarMediaSourceListener callback, int mode, int userId); in registerMediaSourceListener() 36 void unregisterMediaSourceListener(in ICarMediaSourceListener callback, int mode, int userId); in unregisterMediaSourceListener() 38 List<ComponentName> getLastMediaSources(int mode, int userId); in getLastMediaSources()
|
D | CarMediaManager.java | 91 public @NonNull ComponentName getMediaSource(@MediaSourceMode int mode) { in getMediaSource() 105 public void setMediaSource(@NonNull ComponentName componentName, @MediaSourceMode int mode) { in setMediaSource() 121 @MediaSourceMode int mode) { in addMediaSourceListener() 156 @MediaSourceMode int mode) { in removeMediaSourceListener() 175 public @NonNull List<ComponentName> getLastMediaSources(@MediaSourceMode int mode) { in getLastMediaSources()
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/nodes/ |
D | ImsMediaAudioUtil.cpp | 219 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() 327 uint32_t ImsMediaAudioUtil::ConvertEVSAudioModeToBitLen(uint32_t mode) in ConvertEVSAudioModeToBitLen() 336 uint32_t ImsMediaAudioUtil::ConvertEVSAMRIOAudioModeToBitLen(uint32_t mode) in ConvertEVSAMRIOAudioModeToBitLen() 345 uint32_t ImsMediaAudioUtil::ConvertAmrModeToBitrate(uint32_t mode) in ConvertAmrModeToBitrate() 369 uint32_t ImsMediaAudioUtil::ConvertAmrWbModeToBitrate(uint32_t mode) in ConvertAmrWbModeToBitrate() 427 int32_t ImsMediaAudioUtil::ConvertEVSModeToBitRate(const int32_t mode) in ConvertEVSModeToBitRate()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | BluetoothSnoopLogFilterProfileMapPreferenceControllerTest.java | 101 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
|
D | BluetoothSnoopLogFilterProfilePbapPreferenceControllerTest.java | 101 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
|
D | WifiNonPersistentMacRandomizationPreferenceControllerTest.java | 63 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
|
D | ResizableActivityPreferenceControllerTest.java | 62 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
|
D | EnableGpuDebugLayersPreferenceControllerTest.java | 68 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
|
D | MobileDataAlwaysOnPreferenceControllerTest.java | 63 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
|
D | WifiDisplayCertificationPreferenceControllerTest.java | 63 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
|
D | AllowAppsOnExternalPreferenceControllerTest.java | 68 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
|
D | TetheringHardwareAccelPreferenceControllerTest.java | 63 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
|
D | NonResizableMultiWindowPreferenceControllerTest.java | 67 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
|
D | ArtVerifierPreferenceControllerTest.java | 63 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
|
D | AppsNotRespondingPreferenceControllerTest.java | 68 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
|
D | EnableGnssRawMeasFullTrackingPreferenceControllerTest.java | 68 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
|
D | DebugViewAttributesPreferenceControllerTest.java | 63 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
|
D | NotificationChannelWarningsPreferenceControllerTest.java | 64 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
|
D | BluetoothSnoopLogPreferenceControllerTest.java | 90 final String mode = SystemProperties.get(BLUETOOTH_BTSNOOP_LOG_MODE_PROPERTY); in onPreferenceChanged_turnOnFullBluetoothSnoopLog() local 100 final String mode = SystemProperties.get(BLUETOOTH_BTSNOOP_LOG_MODE_PROPERTY); in onPreferenceChanged_turnOnFilteredBluetoothSnoopLog() local 110 final String mode = SystemProperties.get(BLUETOOTH_BTSNOOP_LOG_MODE_PROPERTY); in onPreferenceChanged_turnOffBluetoothSnoopLog() local
|
/packages/apps/Car/Settings/src/com/android/car/settings/qc/ |
D | ThemeToggle.java | 90 private QCActionItem createThemeToggleButton(int mode) { in createThemeToggleButton() 109 private void setForcedDayNightModeSetting(int mode) { in setForcedDayNightModeSetting() 110 Settings.Global.putInt(getContext().getContentResolver(), FORCED_DAY_NIGHT_MODE, mode); in setForcedDayNightModeSetting() local 113 private Icon getThemeModeIcon(int mode) { in getThemeModeIcon()
|
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/ |
D | ConnectivitySettingsUtils.java | 49 public static String getPrivateDnsModeAsString(int mode) { in getPrivateDnsModeAsString() 62 private static int getPrivateDnsModeAsInt(String mode) { in getPrivateDnsModeAsInt() 90 String mode = Settings.Global.getString(cr, PRIVATE_DNS_MODE); in getPrivateDnsMode() local 101 public static void setPrivateDnsMode(@NonNull Context context, int mode) { in setPrivateDnsMode()
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/development/ |
D | SensitiveContentProtectionPreferenceControllerTest.kt | 74 val mode = Settings.Global.getInt( in onPreferenceChange_settingEnabled_shouldDisableSensitiveContentProtection() constant 86 val mode = Settings.Global.getInt( in onPreferenceChange_settingDisabled_shouldEnableSensitiveContentProtection() constant 122 val mode = Settings.Global.getInt( in onDeveloperOptionsSwitchDisabled_preferenceShouldBeDisabled() constant
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/displaysound/ |
D | HdrFormatSelectionFragmentTest.java | 96 Display.Mode mode = new Display.Mode(0, 0, 0, 0, new float[0], displayReportedHdrTypes); in testOnPreferenceTreeClick_withFormatDisabled_disablesHdrTypeInDisplayManager() local 124 Display.Mode mode = new Display.Mode(0, 0, 0, 0, new float[0], displayReportedHdrTypes); in testOnPreferenceTreeClick_withFormatEnabled_enablesHdrTypeInDisplayManager() local 152 Display.Mode mode = new Display.Mode(0, 0, 0, 0, new float[0], displayReportedHdrTypes); in testGetPreferenceScreen_whenManual_returnsFormatPreferencesInCorrectPreferenceGroup() local 183 Display.Mode mode = new Display.Mode(0, 0, 0, 0, new float[0], displayReportedHdrTypes); in testGetPreferenceScreen_whenManual_returnsFormatPreferencesWithCorrectCheckedState() local 210 Display.Mode mode = new Display.Mode(0, 0, 0, 0, new float[0], displayReportedHdrTypes); in testGetPreferenceScreen_whenAuto_returnsNoFormatPreferences() local 226 Display.Mode mode = new Display.Mode(0, 0, 0, 0, new float[0], displayReportedHdrTypes); in testGetPreferenceScreen_whenAuto_showsFormatInfoPreference() local 252 Display.Mode mode = new Display.Mode(0, 0, 0, 0, new float[0], displayReportedHdrTypes); in testGetPreferenceScreen_whenAuto_returnsFormatsInCorrectPreferenceGroup() local 325 Display.Mode mode = new Display.Mode(0, 0, 0, 0, new float[0], new int[0]); in createDefaultHdrFormatSelectionFragment() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/ |
D | ZenModesBackendTest.java | 185 ZenMode mode = mBackend.getMode(ZenMode.MANUAL_DND_MODE_ID); in getMode_manualDnd_returnsMode() local 202 ZenMode mode = mBackend.getMode(ZEN_RULE_ID); in getMode_zenRule_returnsMode() local 211 ZenMode mode = mBackend.getMode(ZEN_RULE_ID); in getMode_missingRule_returnsNull() local 228 ZenMode mode = mBackend.getMode(ZenMode.MANUAL_DND_MODE_ID); in getMode_manualDnd_returnsCorrectActiveState() local 252 ZenMode mode = mBackend.getMode(ZEN_RULE_ID); in getMode_zenRule_returnsCorrectActiveState() local
|
/packages/services/Car/tests/usb/AoapHostApp/src/com/google/android/car/usb/aoap/host/ |
D | UsbAoapHostActivity.java | 100 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()
|