/frameworks/base/services/usb/java/com/android/server/usb/ |
H A D | UsbPortManager.java | 73 // SysFS file that contains a USB port's current mode. (read-write if configurable) 75 private static final String SYSFS_PORT_MODE = "mode"; 187 // Determine whether we need to change the mode in order to accomplish this goal. 218 logAndPrint(Log.INFO, pw, "Setting USB port mode and role: portId=" + portId 241 // Changing the mode will have the side-effect of also changing 249 logAndPrint(Log.ERROR, pw, "Failed to set the USB port mode: " 297 public void connectSimulatedPort(String portId, int mode, boolean canChangeMode, argument 307 if (mode == 0 || powerRole == 0 || dataRole == 0) { 308 pw.println("Cannot connect simulated port in null mode, " 313 if ((portInfo.mSupportedModes & mode) [all...] |
/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockContext.java | 139 public SharedPreferences getSharedPreferences(String name, int mode) { argument 145 public SharedPreferences getSharedPreferences(File file, int mode) { argument 165 public FileOutputStream openFileOutput(String name, int mode) throws FileNotFoundException { argument 231 public File getDir(String name, int mode) { argument 236 public SQLiteDatabase openOrCreateDatabase(String file, int mode, argument 242 public SQLiteDatabase openOrCreateDatabase(String file, int mode, argument
|
/frameworks/opt/net/ims/src/java/com/android/ims/internal/ |
H A D | ImsCallSession.java | 338 * @param mode mode of the USSD message (REQUEST / NOTIFY) 342 int mode, String ussdMessage) { 375 * Called when TTY mode of remote party changed 378 * @param mode TTY mode of remote party 381 int mode) { 790 * Updates the current call's properties (ex. call mode change: video upgrade / downgrade). 1202 int mode, String ussdMessage) { 1204 mListener.callSessionUssdMessageReceived(ImsCallSession.this, mode, ussdMessag 341 callSessionUssdMessageReceived(ImsCallSession session, int mode, String ussdMessage) argument 380 callSessionTtyModeReceived(ImsCallSession session, int mode) argument 1201 callSessionUssdMessageReceived(IImsCallSession session, int mode, String ussdMessage) argument 1238 callSessionTtyModeReceived(IImsCallSession session, int mode) argument [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LockPatternUtils.java | 249 * Gets the device policy password mode. If the mode is non-specific, returns 822 * as the requested mode, but will adjust the mode to be as good as the 944 * Retrieves the quality mode for {@param userHandle}. 1142 int mode = getKeyguardStoredPasswordQuality(userId); 1143 return isLockPatternEnabled(mode, userId) || isLockPasswordEnabled(mode, userId); 1150 private boolean isLockPasswordEnabled(int mode, int userId) { argument 1151 final boolean passwordEnabled = mode 1180 isLockPatternEnabled(int mode, int userId) argument [all...] |
H A D | PasswordEntryKeyboardHelper.java | 155 public void setKeyboardMode(int mode) { argument 156 switch (mode) { 172 mKeyboardMode = mode; 215 // Switch back to old keyboard if we're not in capslock mode 294 // Maybe turn off shift if not in capslock mode.
|
H A D | DecorToolbar.java | 83 void setNavigationMode(int mode); argument
|
/frameworks/base/packages/Keyguard/test/src/com/android/keyguard/test/ |
H A D | KeyguardTestActivity.java | 175 private void setMode(int mode) { argument 180 switch(mode) { 203 mSecurityMode = mode;
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ActionBarContainer.java | 32 * This class acts as a container for the action bar view and action mode context views. 229 // No starting an action mode for an action bar child! (Where would it go?) 261 final int mode = MeasureSpec.getMode(heightMeasureSpec); 263 && mode != MeasureSpec.EXACTLY) { 272 final int maxHeight = mode == MeasureSpec.AT_MOST ?
|
/frameworks/av/include/ndk/ |
H A D | NdkMediaCodec.h | 209 cryptoinfo_mode_t mode,
|
/frameworks/av/media/libmedia/ |
H A D | ICrypto.cpp | 101 CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern, 109 data.writeInt32(mode); 284 CryptoPlugin::Mode mode = (CryptoPlugin::Mode)data.readInt32(); local 356 mode, pattern, 97 decrypt( DestinationType dstType, const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern, const sp<IMemory> &sharedBuffer, size_t offset, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, void *dstPtr, AString *errorDetailMsg) argument
|
H A D | IMediaSource.cpp | 436 void IMediaSource::ReadOptions::setSeekTo(int64_t time_us, SeekMode mode) { argument 439 mSeekMode = mode; 449 int64_t *time_us, SeekMode *mode) const { 451 *mode = mSeekMode;
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | voAMRWBEnc.c | 152 Word16 * mode, /* input : used mode */ 155 Word16 * ser_size, /* output: bit rate of the used mode */ 217 *ser_size = nb_of_bits[*mode]; 218 codec_mode = *mode; 381 /* Note that mode may change here */ 382 tx_dtx_handler(st->dtx_encSt, vad_flag, mode); 383 *ser_size = nb_of_bits[*mode]; 386 if(*mode != MRDTX) 544 if(*mode 151 coder( Word16 * mode, Word16 speech16k[], Word16 prms[], Word16 * ser_size, void *spe_state, Word16 allow_dtx ) argument 1570 Word16 coding_mode = 0, nb_bits, allow_dtx, mode, reset_flag; local [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | mb_motion_comp.cpp | 57 the motion compensation mode in order to determine which luminance or 143 uint8 mode; local 187 /* get mode for current MB */ 188 mode = video->headerInfo.Mode[mbnum]; 193 if (mode & INTER_1VMASK) 243 /*if (mode == MODE_INTER4V) 05/08/15 */ 401 if (mode&INTER_1VMASK) 421 /* Post-processing mode (MBM_INTER8) */ 600 /* Post-processing mode (copy previous MB) */
|
/frameworks/av/media/libstagefright/include/ |
H A D | AVIExtractor.h | 106 int64_t timeUs, MediaSource::ReadOptions::SeekMode mode,
|
/frameworks/av/media/libstagefright/wifi-display/rtp/ |
H A D | RTPSender.h | 34 // or "AVC/H.264 encapsulation as specified in RFC 3984 (non-interleaved mode)" 57 PacketizationMode mode);
|
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/include/ |
H A D | ParameterManagerWrapper.h | 80 * It will set the telephony mode criterion accordingly and apply the configuration in order 81 * to select the right configuration on domains depending on this mode criterion. 83 * @param[in] mode: Android Phone state (normal, ringtone, csv, in communication) 87 status_t setPhoneState(audio_mode_t mode);
|
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/ |
H A D | UiAutomatorTestRunner.java | 138 Tracer.Mode mode = Tracer.Mode.valueOf(Tracer.Mode.class, traceType); 139 if (mode == Tracer.Mode.FILE || mode == Tracer.Mode.ALL) { 147 Tracer.getInstance().setOutputMode(mode); 188 // pretty printer mode? 211 // pretty printer mode?
|
/frameworks/base/core/java/android/app/backup/ |
H A D | BackupAgent.java | 706 * with the data from the file descriptor, then sets the file's access mode and 717 * @param mode The access mode to be assigned to the destination after its data is 724 File destination, int type, long mode, long mtime) 729 FullBackup.restoreFile(data, size, type, mode, mtime, accept ? destination : null); 824 int type, String domain, String path, long mode, long mtime) 829 + " domain=" + domain + " relpath=" + path + " mode=" + mode 834 mode = -1; // < 0 is a token to skip attempting a chmod() 844 onRestoreFile(data, size, outFile, type, mode, mtim 723 onRestoreFile(ParcelFileDescriptor data, long size, File destination, int type, long mode, long mtime) argument 823 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime) argument 1025 doRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime, int token, IBackupManager callbackBinder) argument [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | Shader.cpp | 233 SkXfermode* mode = reinterpret_cast<SkXfermode *>(modeHandle); local 234 SkShader* shader = SkShader::CreateComposeShader(shaderA, shaderB, mode); 243 SkXfermode::Mode mode = static_cast<SkXfermode::Mode>(xfermodeHandle); local 244 SkAutoTUnref<SkXfermode> xfermode(SkXfermode::Create(mode));
|
/frameworks/base/include/androidfw/ |
H A D | BackupHelpers.h | 48 int mode; member in struct:android::FileState
|
/frameworks/base/libs/hwui/ |
H A D | AnimationContext.cpp | 57 void AnimationContext::startFrame(TreeInfo::TraversalMode mode) { argument
|
H A D | Caches.h | 100 * @param mode Indicates how much of the cache should be flushed 102 void flush(FlushMode mode);
|
/frameworks/base/libs/hwui/renderstate/ |
H A D | RenderState.h | 70 void invokeFunctor(Functor* functor, DrawGlInfo::Mode mode, DrawGlInfo* info);
|
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
H A D | GLImpl.java | 281 // C function void glCullFace ( GLenum mode ) 284 int mode 340 // C function void glDrawArrays ( GLenum mode, GLint first, GLsizei count ) 343 int mode, 348 // C function void glDrawElements ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices ) 351 int mode, 423 // C function void glFrontFace ( GLenum mode ) 426 int mode 502 // C function void glHint ( GLenum target, GLenum mode ) 506 int mode 342 glDrawArrays( int mode, int first, int count ) argument 350 glDrawElements( int mode, int count, int type, java.nio.Buffer indices ) argument 1256 glDrawElements( int mode, int count, int type, int offset ) argument [all...] |
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/ |
H A D | SharedStorageAgent.java | 68 int type, String domain, String relpath, long mode, long mtime) 67 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String relpath, long mode, long mtime) argument
|