Home
last modified time | relevance | path

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

12345678910>>...15

/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.java89 public @NonNull ComponentName getMediaSource(@MediaSourceMode int mode) { in getMediaSource()
103 public void setMediaSource(@NonNull ComponentName componentName, @MediaSourceMode int mode) { in setMediaSource()
119 @MediaSourceMode int mode) { in addMediaSourceListener()
144 @MediaSourceMode int mode) { in removeMediaSourceListener()
162 public @NonNull List<ComponentName> getLastMediaSources(@MediaSourceMode int mode) { in getLastMediaSources()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/source/
DMediaSourceViewModel.java75 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/apps/Settings/tests/robotests/src/com/android/settings/development/
DWifiEnhancedMacRandomizationPreferenceControllerTest.java63 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
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
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
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
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
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
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
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
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
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
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
DBluetoothSnoopLogPreferenceControllerTest.java94 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
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
131 final int mode = Settings.Global.getInt(mContext.getContentResolver(), in onDeveloperOptionsSwitchDisabled_preferenceShouldBeDisabled() local
DDesktopModePreferenceControllerTest.java88 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
DFreeformWindowsPreferenceControllerTest.java87 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
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/modules/adb/sysdeps/
Dstat.h48 #define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK) argument
54 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) argument
/packages/services/Car/tests/usb/AoapHostApp/src/com/google/android/car/usb/aoap/host/
DUsbAoapHostActivity.java92 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/
DZenModeVoiceActivity.java52 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/apps/UniversalMediaPlayer/java/com/android/pump/widget/
DSortOrderSpinner.java45 public SortOrderSpinner(@NonNull Context context, int mode) { in SortOrderSpinner()
62 @AttrRes int defStyleAttr, int mode) { in SortOrderSpinner()
68 @AttrRes int defStyleAttr, int mode, @Nullable Resources.Theme popupTheme) { in SortOrderSpinner()

12345678910>>...15