/aosp12/packages/services/Car/car-lib/src/android/car/media/ |
H A 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()
|
H A D | CarMediaManager.java | 89 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()
|
/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
H A D | WindowDecorActionBarTest.java | 49 ActionMode mode = mWindowDecorActionBar.startActionMode(mCallback); in testStartActionMode() local 59 ActionMode mode = mWindowDecorActionBar.startActionMode(mCallback); in testStartActionModeWhenCreateReturnsFalse() local 81 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { in onPrepareActionMode() 86 public void onDestroyActionMode(ActionMode mode) { in onDestroyActionMode() 91 public boolean onCreateActionMode(ActionMode mode, Menu menu) { in onCreateActionMode() 97 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { in onActionItemClicked()
|
/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/policy/ |
H A D | PhoneWindowActionModeTest.java | 63 ActionMode mode = mPhoneWindow.getDecorView().startActionMode( in testStartActionModeWithCallback() local 128 ActionMode mode = mPhoneWindow.getDecorView().startActionMode( in testWindowCallbackModesLifecycleIsNotHandled() local 141 ActionMode mode = mPhoneWindow.getDecorView().startActionMode( in testCreatedPrimaryModeLifecycleIsHandled() local 154 ActionMode mode = mPhoneWindow.getDecorView().startActionMode( in testCreatedFloatingModeLifecycleIsHandled() local 168 ActionMode mode = mPhoneWindow.getDecorView().startActionMode( in testCreatedModeIsNotStartedIfCreateReturnsFalse() local 267 MockActionMode mode = new MockActionMode(); in onWindowStartingActionMode() local 277 MockActionMode mode = new MockActionMode(); in onWindowStartingActionMode() local 286 public void onActionModeStarted(ActionMode mode) { in onActionModeStarted() 291 public void onActionModeFinished(ActionMode mode) {} in onActionModeFinished() 304 public void onDestroyActionMode(ActionMode mode) {} in onDestroyActionMode() [all …]
|
/aosp12/frameworks/base/core/java/android/webkit/ |
H A D | FindActionModeCallback.java | 200 public boolean onCreateActionMode(ActionMode mode, Menu menu) { in onCreateActionMode() 223 public void onDestroyActionMode(ActionMode mode) { in onDestroyActionMode() 231 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { in onPrepareActionMode() 236 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { in onActionItemClicked() 294 public boolean onCreateActionMode(ActionMode mode, Menu menu) { in onCreateActionMode() 299 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { in onPrepareActionMode() 304 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { in onActionItemClicked() 309 public void onDestroyActionMode(ActionMode mode) { in onDestroyActionMode()
|
/aosp12/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
H A D | MagnificationController.java | 127 public void onTouchInteractionStart(int displayId, int mode) { in onTouchInteractionStart() 132 public void onTouchInteractionEnd(int displayId, int mode) { in onTouchInteractionEnd() 136 private void handleUserInteractionChanged(int displayId, int mode) { in handleUserInteractionChanged() 146 public void onShortcutTriggered(int displayId, int mode) { in onShortcutTriggered() 151 public void onTripleTapped(int displayId, int mode) { in onTripleTapped() 155 private void updateMagnificationButton(int displayId, int mode) { in updateMagnificationButton() 301 public void logMagnificationUsageState(int mode, long duration) { in logMagnificationUsageState() 312 public void logMagnificationModeWithIme(int mode) { in logMagnificationModeWithIme() 368 final int mode; in logMagnificationModeWithImeOnIfNeeded() local 440 private boolean isActivated(int displayId, int mode) { in isActivated() [all …]
|
/aosp12/frameworks/libs/net/common/framework/com/android/net/module/util/ |
H A D | ConnectivitySettingsUtils.java | 49 public static String getPrivateDnsModeAsString(int mode) { in getPrivateDnsModeAsString() 62 private static int getPrivateDnsModeAsInt(String mode) { in getPrivateDnsModeAsInt() 83 String mode = Settings.Global.getString(cr, PRIVATE_DNS_MODE); in getPrivateDnsMode() local 97 public static void setPrivateDnsMode(@NonNull Context context, int mode) { in setPrivateDnsMode()
|
/aosp12/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/source/ |
H A 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() 120 MediaSourceViewModel(@NonNull Application application, int mode, in MediaSourceViewModel() 168 public void setPrimaryMediaSource(@NonNull MediaSource mediaSource, int mode) { in setPrimaryMediaSource() 175 mCarMediaManager.setMediaSource(mediaSource.getBrowseServiceComponentName(), mode); in setPrimaryMediaSource() local
|
/aosp12/system/logging/liblog/ |
H A D | logger_read.cpp | 40 static struct logger_list* android_logger_list_alloc_internal(int mode, unsigned int tail, in android_logger_list_alloc_internal() 55 struct logger_list* android_logger_list_alloc(int mode, unsigned int tail, pid_t pid) { in android_logger_list_alloc() 59 struct logger_list* android_logger_list_alloc_time(int mode, log_time start, pid_t pid) { in android_logger_list_alloc_time() 77 struct logger_list* android_logger_list_open(log_id_t logId, int mode, unsigned int tail, in android_logger_list_open()
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
H A 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
|
H A 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
|
H A 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
|
H A 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
|
H A 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
|
H A 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
|
H A 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
|
H A 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
|
H A 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
|
H A 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
|
H A 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
|
H A 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
|
H A 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
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
H A D | AccessibilityButtonModeObserver.java | 66 void onAccessibilityButtonModeChanged(@AccessibilityButtonMode int mode); in onAccessibilityButtonModeChanged() 76 final int mode = parseAccessibilityButtonMode(value); in onValueChanged() local 92 int mode; in parseAccessibilityButtonMode() local
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | PhoneStatusBarTransitions.java | 55 private float getNonBatteryClockAlphaFor(int mode) { in getNonBatteryClockAlphaFor() 61 private float getBatteryClockAlpha(int mode) { in getBatteryClockAlpha() 66 private boolean isOpaque(int mode) { in isOpaque() 77 private void applyMode(int mode, boolean animate) { in applyMode()
|
/aosp12/frameworks/layoutlib/bridge/src/android/graphics/ |
H A D | BlendComposite.java | 59 private BlendingMode mode; field in BlendComposite 61 private BlendComposite(BlendingMode mode) { in BlendComposite() 65 private BlendComposite(BlendingMode mode, float alpha) { in BlendComposite() 70 public static BlendComposite getInstance(BlendingMode mode) { in getInstance() 74 public static BlendComposite getInstance(BlendingMode mode, float alpha) { in getInstance()
|