| /packages/services/Car/car-lib/src/android/car/media/ |
| D | ICarMedia.aidl | 30 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()
|
| D | CarMediaManager.java | 90 public @NonNull ComponentName getMediaSource(@MediaSourceMode int mode) { in getMediaSource() 104 public void setMediaSource(@NonNull ComponentName componentName, @MediaSourceMode int mode) { in setMediaSource() 120 @MediaSourceMode int mode) { in addMediaSourceListener() 145 @MediaSourceMode int mode) { in removeMediaSourceListener() 163 public @NonNull List<ComponentName> getLastMediaSources(@MediaSourceMode int mode) { in getLastMediaSources()
|
| /packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
| D | WifiEnhancedMacRandomizationPreferenceControllerTest.java | 63 int mode = Settings.Global.getInt(mContext.getContentResolver(), in onPreferenceChanged_enabled_shouldTurnOnEnhancedRandomization() local 72 int mode = Settings.Global.getInt(mContext.getContentResolver(), in onPreferenceChanged_disabled_shouldTurnOffEnhancedRandomization() local 99 int mode = Settings.Global.getInt(mContext.getContentResolver(), in onDeveloperOptionsDisabled_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 | 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 | 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 | SizeCompatFreeformPreferenceControllerTest.java | 67 final int mode = Settings.Global.getInt(mContext.getContentResolver(), in onPreferenceChange_switchEnabled_shouldEnableSizeCompatFreeform() local 76 final int mode = Settings.Global.getInt(mContext.getContentResolver(), in onPreferenceChange_switchDisabled_shouldDisableSizeCompatFreeform() local 105 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 | 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 | 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 | 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 | 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 | 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 | BluetoothSnoopLogPreferenceControllerTest.java | 94 final String mode = SystemProperties.get(BLUETOOTH_BTSNOOP_LOG_MODE_PROPERTY); in onPreferenceChanged_turnOnFullBluetoothSnoopLog() local 103 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
|
| 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 131 final int mode = Settings.Global.getInt(mContext.getContentResolver(), in onDeveloperOptionsSwitchDisabled_preferenceShouldBeDisabled() local
|
| D | DesktopModePreferenceControllerTest.java | 88 final int mode = Settings.Global.getInt(mContext.getContentResolver(), in onPreferenceChange_switchEnabled_shouldEnableFreeformWindows() local 97 final int mode = Settings.Global.getInt(mContext.getContentResolver(), in onPreferenceChange_switchDisabled_shouldDisableFreeformWindows() local 126 final int mode = Settings.Global.getInt(mContext.getContentResolver(), in onDeveloperOptionsSwitchDisabled_shouldDisablePreference() local
|
| D | FreeformWindowsPreferenceControllerTest.java | 87 final int mode = Settings.Global.getInt(mContext.getContentResolver(), in onPreferenceChange_switchEnabled_shouldEnableFreeformWindows() local 96 final int mode = Settings.Global.getInt(mContext.getContentResolver(), in onPreferenceChange_switchDisabled_shouldDisableFreeformWindows() local 125 final int mode = Settings.Global.getInt(mContext.getContentResolver(), in onDeveloperOptionsSwitchDisabled_shouldDisablePreference() local
|
| D | BugReportInPowerPreferenceControllerTest.java | 101 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
|
| D | ShowFirstCrashDialogPreferenceControllerTest.java | 67 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/ |
| D | DarkUISettingsRadioButtonsController.java | 41 final int mode = mManager.getNightMode(); in getDefaultKey() local 63 final int mode = mManager.getNightMode(); in updateFooter() local 75 public static String modeToDescription(Context context, int mode) { in modeToDescription()
|
| /packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/source/ |
| D | MediaSourceViewModel.java | 75 public static MediaSourceViewModel get(@NonNull Application application, int mode) { in get() 87 private MediaSourceViewModel(@NonNull Application application, int mode) { in MediaSourceViewModel() 119 MediaSourceViewModel(@NonNull Application application, int mode, in MediaSourceViewModel() 162 public void setPrimaryMediaSource(@NonNull MediaSource mediaSource, int mode) { in setPrimaryMediaSource() 163 mCarMediaManager.setMediaSource(mediaSource.getBrowseServiceComponentName(), mode); in setPrimaryMediaSource() local
|
| /packages/services/Car/tests/usb/AoapHostApp/src/com/google/android/car/usb/aoap/host/ |
| D | UsbAoapHostActivity.java | 92 private String getTestModeString(int mode) { in getTestModeString() 113 public void testStarted(int mode, int bufferSize) { in testStarted() 119 public void testFinished(int mode, int bufferSize) { in testFinished() 125 public void testResult(int mode, String update) { in testResult()
|
| /packages/apps/Settings/src/com/android/settings/notification/zen/ |
| D | ZenModeVoiceActivity.java | 52 int mode = Global.ZEN_MODE_OFF; in onVoiceSettingInteraction() local 77 private void setZenModeConfig(int mode, Condition condition) { in setZenModeConfig() 88 private CharSequence getChangeSummary(int mode, int minutes) { in getChangeSummary()
|
| /packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
| D | ZenModeVoiceActivity.java | 52 int mode = Global.ZEN_MODE_OFF; in onVoiceSettingInteraction() local 77 private void setZenModeConfig(int mode, Condition condition) { in setZenModeConfig() 88 private CharSequence getChangeSummary(int mode, int minutes) { in getChangeSummary()
|