/frameworks/base/tests/RemoteDisplayProvider/src/com/android/media/remotedisplay/test/ |
H A D | RemoteDisplayProviderService.java | 68 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 D | statistics.py | 35 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 D | ServiceState.java | 40 * <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 D | ImsCallSession.java | 344 * @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 D | ImsCallSessionListener.java | 451 * @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 D | ImsCallSessionImplBase.java | 254 * 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 D | MmTelFeature.java | 591 * @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 D | MbmsTempFileProvider.java | 83 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 D | MockContentProvider.java | 88 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 D | MockContext.java | 147 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 D | MockIContentProvider.java | 71 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 D | ProviderTestCase2.java | 87 public File getDir(String name, int mode) { argument 90 return getContext().getDir("mockcontext2_" + name, mode);
|
H A D | RenamingDelegatingContext.java | 151 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 D | BackingStore.java | 33 /** 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 D | Frame.java | 37 * 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 D | FrameBuffer1D.java | 38 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 D | FrameManager.java | 115 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 D | FramebufferBlendActivity.java | 87 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 D | XfermodeActivity.java | 127 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 D | ColorDisplayService.java | 192 // 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 D | ColorFade.java | 134 * @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 D | DisplayPowerState.java | 175 * @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 D | DisplayTransformManager.java | 165 * 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 D | SystemAudioAction.java | 49 // 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 D | InputManagerService.java | 150 // 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...] |