Searched defs:mode (Results 176 - 200 of 623) sorted by last modified time

1234567891011>>

/frameworks/base/tests/RemoteDisplayProvider/src/com/android/media/remotedisplay/test/
H A DRemoteDisplayProviderService.java68 public void onDiscoveryModeChanged(int mode) { argument
69 Log.d(TAG, "onDiscoveryModeChanged: mode=" + mode);
71 if (mode != DISCOVERY_MODE_NONE) {
155 if (mode == DISCOVERY_MODE_ACTIVE) {
/frameworks/base/tests/JankBench/scripts/external/
H A Dstatistics.py35 mode Mode (most common value) of data.
98 'mean', 'mode',
451 def mode(data): function
454 ``mode`` assumes discrete data, and returns a single value. This is the
455 standard treatment of the mode as commonly taught in schools:
457 >>> mode([1, 1, 2, 3, 3, 3, 3, 4])
462 >>> mode(["red", "blue", "blue", "red", "green", "red", "red"])
465 If there is not exactly one most common value, ``mode`` will raise
474 'no unique mode; found %d equally common values' % len(table)
477 raise StatisticsError('no mode fo
[all...]
/frameworks/base/telephony/java/android/telephony/
H A DServiceState.java40 * <li>Duplex mode: UNKNOWN, FDD, TDD
43 * <li>Network selection mode
82 * Duplex mode for the phone is unknown.
87 * Duplex mode for the phone is frequency-division duplexing.
92 * Duplex mode for the phone is time-division duplexing.
462 * Get the current duplex mode
472 // only support LTE duplex mode
715 * Get current network selection mode.
717 * @return true if manual mode, false if automatic mode
1046 setCdmaEriIconMode(int mode) argument
[all...]
/frameworks/base/telephony/java/android/telephony/ims/
H A DImsCallSession.java344 * @param mode mode of the USSD message (REQUEST / NOTIFY)
348 int mode, String ussdMessage) {
399 * Called when TTY mode of remote party changed
402 * @param mode TTY mode of remote party
405 int mode) {
858 * Updates the current call's properties (ex. call mode change: video upgrade / downgrade).
1297 public void callSessionUssdMessageReceived(int mode, String ussdMessage) { argument
1299 mListener.callSessionUssdMessageReceived(ImsCallSession.this, mode, ussdMessag
347 callSessionUssdMessageReceived(ImsCallSession session, int mode, String ussdMessage) argument
404 callSessionTtyModeReceived(ImsCallSession session, int mode) argument
1351 callSessionTtyModeReceived(int mode) argument
[all...]
H A DImsCallSessionListener.java451 * @param mode The mode of the USSD message, either
456 public void callSessionUssdMessageReceived(int mode, String ussdMessage) argument
459 mListener.callSessionUssdMessageReceived(mode, ussdMessage);
520 * The TTY mode has been changed by the remote party.
522 * @param mode one of the following: -
528 public void callSessionTtyModeReceived(int mode) { argument
530 mListener.callSessionTtyModeReceived(mode);
/frameworks/base/telephony/java/android/telephony/ims/compat/stub/
H A DImsCallSessionImplBase.java254 * Updates the current call's properties (ex. call mode change: video upgrade / downgrade).
537 public void callSessionUssdMessageReceived(IImsCallSession i, int mode, String message) argument
539 mNewListener.callSessionUssdMessageReceived(mode, message);
561 public void callSessionTtyModeReceived(IImsCallSession iImsCallSession, int mode) argument
563 mNewListener.callSessionTtyModeReceived(mode);
/frameworks/base/telephony/java/android/telephony/ims/feature/
H A DMmTelFeature.java591 * @return The {@link ImsEcbmImplBase} Emergency call-back mode interface for emergency VoLTE
609 * Sets the current UI TTY mode for the MmTelFeature.
610 * @param mode An integer containing the new UI TTY Mode, can consist of
621 * // Notify framework that the mode was changed.
629 public void setUiTtyMode(int mode, Message onCompleteMessage) { argument
/frameworks/base/telephony/java/android/telephony/mbms/
H A DMbmsTempFileProvider.java83 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { argument
86 final int fileMode = ParcelFileDescriptor.parseMode(mode);
/frameworks/base/test-mock/src/android/test/mock/
H A DMockContentProvider.java88 String callingPackage, Uri url, String mode, ICancellationSignal signal)
90 return MockContentProvider.this.openAssetFile(url, mode);
95 String callingPackage, Uri url, String mode, ICancellationSignal signal,
97 return MockContentProvider.this.openFile(url, mode);
87 openAssetFile( String callingPackage, Uri url, String mode, ICancellationSignal signal) argument
94 openFile( String callingPackage, Uri url, String mode, ICancellationSignal signal, IBinder callerToken) argument
H A DMockContext.java147 public SharedPreferences getSharedPreferences(String name, int mode) { argument
153 public SharedPreferences getSharedPreferences(File file, int mode) { argument
179 public FileOutputStream openFileOutput(String name, int mode) throws FileNotFoundException { argument
245 public File getDir(String name, int mode) { argument
250 public SQLiteDatabase openOrCreateDatabase(String file, int mode, argument
256 public SQLiteDatabase openOrCreateDatabase(String file, int mode, argument
H A DMockIContentProvider.java71 String callingPackage, Uri url, String mode, ICancellationSignal signal,
78 String callingPackage, Uri uri, String mode, ICancellationSignal signal) {
70 openFile( String callingPackage, Uri url, String mode, ICancellationSignal signal, IBinder callerToken) argument
77 openAssetFile( String callingPackage, Uri uri, String mode, ICancellationSignal signal) argument
/frameworks/base/test-runner/src/android/test/
H A DProviderTestCase2.java87 public File getDir(String name, int mode) { argument
90 return getContext().getDir("mockcontext2_" + name, mode);
H A DRenamingDelegatingContext.java151 int mode, SQLiteDatabase.CursorFactory factory) {
157 return mFileContext.openOrCreateDatabase(internalName, mode, factory);
162 int mode, SQLiteDatabase.CursorFactory factory, DatabaseErrorHandler errorHandler) {
168 return mFileContext.openOrCreateDatabase(internalName, mode, factory, errorHandler);
203 public FileOutputStream openFileOutput(String name, int mode) argument
206 return mFileContext.openFileOutput(renamedFileName(name), mode);
150 openOrCreateDatabase(String name, int mode, SQLiteDatabase.CursorFactory factory) argument
161 openOrCreateDatabase(String name, int mode, SQLiteDatabase.CursorFactory factory, DatabaseErrorHandler errorHandler) argument
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DBackingStore.java33 /** Access mode None: Frame data will not be accessed at all. */
35 /** Access mode Bytes: Frame data will be accessed as a ByteBuffer. */
37 /** Access mode Texture: Frame data will be accessed as a TextureSource. */
39 /** Access mode RenderTarget: Frame data will be accessed as a RenderTarget. */
41 /** Access mode Object: Frame data will be accessed as a generic Object. */
43 /** Access mode Bitmap: Frame data will be accessed as a Bitmap. */
45 /** Access mode Allocation: Frame data will be accessed as a RenderScript Allocation. */
84 public Object lockData(int mode, int accessFormat) { argument
85 return lockBacking(mode, accessFormat).lock(accessFormat);
88 public Backing lockBacking(int mode, in argument
186 fetchBacking(int mode, int access) argument
201 getBacking(int mode, int access) argument
215 attachNewBacking(int mode, int access) argument
224 createBacking(int mode, int access) argument
296 lock(Backing backingToLock, int mode) argument
[all...]
H A DFrame.java37 * frame data in the desired format. You must pass in a {@code mode} indicating whether you wish
58 /** Frame data access mode: Read */
60 /** Frame data access mode: Write */
174 final void assertAccessible(int mode) { argument
175 // Make sure frame is in write-mode
176 if (mReadOnly && mode == MODE_WRITE) {
H A DFrameBuffer1D.java38 public ByteBuffer lockBytes(int mode) { argument
39 assertAccessible(mode);
40 return (ByteBuffer)mBackingStore.lockData(mode, BackingStore.ACCESS_BYTES);
51 public Allocation lockAllocation(int mode) { argument
52 assertAccessible(mode);
53 return (Allocation) mBackingStore.lockData(mode, BackingStore.ACCESS_ALLOCATION);
H A DFrameManager.java115 public abstract Backing fetchBacking(int mode, int access, int[] dimensions, int elemSize); argument
135 public Backing fetchBacking(int mode, int access, int[] dimensions, int elemSize) { argument
173 public Backing fetchBacking(int mode, int access, int[] dimensions, int elemSize) { argument
175 int backingAccess = (mode == Frame.MODE_WRITE)
409 Backing fetchBacking(int mode, int access, int[] dimensions, int elemSize) { argument
410 return mCache.fetchBacking(mode, access, dimensions, elemSize);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DFramebufferBlendActivity.java87 private void drawBlendedBitmap(Canvas canvas, PorterDuff.Mode mode) { argument
93 mPaint.setXfermode(new PorterDuffXfermode(mode));
99 private void drawBlendedBitmapInverse(Canvas canvas, PorterDuff.Mode mode) { argument
104 mPaint.setXfermode(new PorterDuffXfermode(mode));
H A DXfermodeActivity.java127 private void drawRects(Canvas canvas, PorterDuff.Mode mode) { argument
132 mRedPaint.setXfermode(new PorterDuffXfermode(mode));
/frameworks/base/services/core/java/com/android/server/display/
H A DColorDisplayService.java192 // Set the color mode, if valid, and immediately apply the updated tint matrix based on the
193 // existing activated state. This ensures consistency of tint across the color mode change.
204 // Initialize the current auto mode.
292 public void onDisplayColorModeChanged(int mode) { argument
293 if (mode == -1) {
302 setCoefficientMatrix(getContext(), DisplayTransformManager.needsLinearColorMatrix(mode));
306 dtm.setColorMode(mode, (mIsActivated != null && mIsActivated) ? mMatrixNight
H A DColorFade.java134 * @param mode The desired mode for the upcoming animation.
137 public boolean prepare(Context context, int mode) { argument
139 Slog.d(TAG, "prepare: mode=" + mode);
142 mMode = mode;
183 if (mode == MODE_COOL_DOWN) {
H A DDisplayPowerState.java175 * @param mode The electron beam animation mode to prepare.
178 public boolean prepareColorFade(Context context, int mode) { argument
179 if (mColorFade == null || !mColorFade.prepare(context, mode)) {
H A DDisplayTransformManager.java165 * Returns the current Daltonization mode.
174 * Sets the current Daltonization mode. This adjusts the color space to correct for or simulate
177 * @param mode the new Daltonization mode, or -1 to disable
179 public void setDaltonizerMode(int mode) { argument
181 if (mDaltonizerMode != mode) {
182 mDaltonizerMode = mode;
183 applyDaltonizerMode(mode);
215 * Propagates the provided Daltonization mode to the SurfaceFlinger.
217 private static void applyDaltonizerMode(int mode) { argument
[all...]
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DSystemAudioAction.java49 // The target audio status of the action, whether to enable the system audio mode or not.
61 * @param targetStatus Whether to enable the system audio mode or not
135 protected void setSystemAudioMode(boolean mode) { argument
136 tv().setSystemAudioMode(mode);
149 HdmiLogger.debug("Failed to start system audio mode request.");
164 HdmiLogger.debug("Unexpected system audio mode request:" + receivedStatus);
/frameworks/base/services/core/java/com/android/server/input/
H A DInputManagerService.java150 // List of currently registered tablet mode changed listeners by process id
272 /** Switch code: Tablet mode switch.
273 * When set, the device is in tablet mode (i.e. no keyboard is connected).
594 public boolean injectInputEvent(InputEvent event, int mode) { argument
595 return injectInputEventInternal(event, Display.DEFAULT_DISPLAY, mode);
598 private boolean injectInputEventInternal(InputEvent event, int displayId, int mode) { argument
602 if (mode != InputManager.INJECT_INPUT_EVENT_MODE_ASYNC
603 && mode != InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH
604 && mode != InputManager.INJECT_INPUT_EVENT_MODE_WAIT_FOR_RESULT) {
605 throw new IllegalArgumentException("mode i
2212 injectInputEvent(InputEvent event, int displayId, int mode) argument
[all...]

Completed in 415 milliseconds

1234567891011>>