/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | lpc.cpp | 65 #include "mode.h" 397 mode = coder mode of type enum Mode 437 if ( sub ((Word16)mode, (Word16)MR122) == 0) 489 enum Mode mode, /* i : coder mode */ 501 if (mode == MR122) 487 lpc( lpcState *st, enum Mode mode, Word16 x[], Word16 x_12k2[], Word16 a[], Flag *pOverflow ) argument
|
H A D | sp_enc.cpp | 79 #include "mode.h" 599 mode = AMR mode of type enum Mode 603 usedMode = pointer to the used mode of type enum Mode 646 enum Mode mode, // i : speech coder mode 649 enum Mode *usedMode // o : used speech coder mode 681 cod_amr(st->cod_amr_state, mode, new_speech, prm, usedMode, syn); 717 enum Mode mode, /* i : speech coder mode */ 715 GSMEncodeFrame( void *state_data, enum Mode mode, Word16 *new_speech, Word16 *serial, enum Mode *usedMode ) argument [all...] |
H A D | spstproc.cpp | 102 mode -- enum Mode -- coder mode 174 enum Mode mode, /* i : coder mode */ 205 if (mode != MR122) 172 subframePostProc( Word16 *speech, enum Mode mode, Word16 i_subfr, Word16 gain_pit, Word16 gain_code, Word16 *Aq, Word16 synth[], Word16 xn[], Word16 code[], Word16 y1[], Word16 y2[], Word16 *mem_syn, Word16 *mem_err, Word16 *mem_w0, Word16 *exc, Word16 *sharp, Flag *pOverflow ) argument
|
H A D | calc_en.cpp | 404 mode = coder mode, type Mode 468 enum Mode mode, // i : coder mode 486 if (sub(mode, MR795) == 0 || sub(mode, MR475) == 0) 536 if (sub(mode, MR475) == 0 || sub(mode, MR795) == 0) 593 enum Mode mode, /* i : coder mode */ 592 calc_filt_energies( enum Mode mode, Word16 xn[], Word16 xn2[], Word16 y1[], Word16 Y2[], Word16 g_coeff[], Word16 frac_coeff[], Word16 exp_coeff[], Word16 *cod_gain_frac, Word16 *cod_gain_exp, Flag *pOverflow ) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
H A D | phase_dispersion.cpp | 50 int16 mode, (i) : level, 0=hi, 1=lo, 2=off 155 int16 mode, /* (i) : level, 0=hi, 1=lo, 2=off */ 224 state += mode; /* level of dispersion */ 151 phase_dispersion( int16 gain_code, int16 gain_pit, int16 code[], int16 mode, int16 disp_mem[], int16 ScratchMem[] ) argument
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | vlc_encode.h | 27 Int PutMCBPC_Inter(Int cbpc, Int mode, BitstreamEncVideo *bitstream); 28 Int PutMCBPC_Intra(Int cbpc, Int mode, BitstreamEncVideo *bitstream);
|
/frameworks/base/core/java/android/content/ |
H A D | ContentProviderClient.java | 269 public ParcelFileDescriptor openFile(Uri url, String mode) argument 271 return openFile(url, mode, null); 281 public ParcelFileDescriptor openFile(Uri url, String mode, CancellationSignal signal) argument 291 return mContentProvider.openFile(mPackageName, url, mode, remoteSignal, null); 309 public AssetFileDescriptor openAssetFile(Uri url, String mode) argument 311 return openAssetFile(url, mode, null); 321 public AssetFileDescriptor openAssetFile(Uri url, String mode, CancellationSignal signal) argument 331 return mContentProvider.openAssetFile(mPackageName, url, mode, remoteSignal);
|
/frameworks/native/include/input/ |
H A D | KeyLayoutMap.h | 38 // Axis mode. 39 Mode mode; member in struct:android::AxisInfo 54 AxisInfo() : mode(MODE_NORMAL), axis(-1), highAxis(-1), splitValue(0), flatOverride(-1) {
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | LegacyMetadataMapper.java | 390 for (String mode : antiBandingModes) { 391 int convertedMode = convertAntiBandingMode(mode); 393 Log.v(TAG, "Antibanding mode " + ((mode == null) ? "NULL" : mode) + 624 if (supportedSceneModes == null) { // camera1 doesn't support scene mode settings 640 Log.v(TAG, "mapLens - focus-mode='" + p.getFocusMode() + "'"); 904 // Only "OFF" test pattern mode is available 1019 static int convertSceneModeFromLegacy(String mode) { argument 1020 if (mode 1030 convertSceneModeToLegacy(int mode) argument 1067 convertEffectModeFromLegacy(String mode) argument 1078 convertEffectModeToLegacy(int mode) argument 1093 convertAntiBandingMode(String mode) argument 1125 convertAntiBandingModeOrDefault(String mode) argument 1402 convertAfModeToLegacy(int mode, List<String> supportedFocusModes) argument [all...] |
/frameworks/base/media/java/android/media/audiofx/ |
H A D | Visualizer.java | 47 * <p>In addition to the polling capture mode described above with {@link #getWaveForm(byte[])} and 48 * {@link #getFft(byte[])} methods, a callback mode is also available by installing a listener by 90 * Defines a capture mode where amplification is applied based on the content of the captured 91 * data. This is the default Visualizer mode, and is suitable for music visualization. 95 * Defines a capture mode where the playback volume will affect (scale) the range of the 101 * Defines a measurement mode in which no measurements are performed. 106 * Defines a measurement mode which computes the peak and RMS value in mB, where 0mB is the 335 * @param mode see {@link #SCALING_MODE_NORMALIZED} 341 public int setScalingMode(int mode) argument 348 return native_setScalingMode(mode); 377 setMeasurementMode(int mode) argument 733 native_setScalingMode(int mode) argument 737 native_setMeasurementMode(int mode) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | KeyguardBouncer.java | 199 SecurityMode mode = mKeyguardView.getSecurityMode(); 200 return mode == SecurityMode.SimPin || mode == SecurityMode.SimPuk; 211 SecurityMode mode = mKeyguardView.getCurrentSecurityMode(); 212 return mode == SecurityMode.SimPin || mode == SecurityMode.SimPuk;
|
/frameworks/base/test-runner/src/android/test/ |
H A D | RenamingDelegatingContext.java | 142 int mode, SQLiteDatabase.CursorFactory factory) { 148 return mFileContext.openOrCreateDatabase(internalName, mode, factory); 153 int mode, SQLiteDatabase.CursorFactory factory, DatabaseErrorHandler errorHandler) { 159 return mFileContext.openOrCreateDatabase(internalName, mode, factory, errorHandler); 194 public FileOutputStream openFileOutput(String name, int mode) argument 197 return mFileContext.openFileOutput(renamedFileName(name), mode); 141 openOrCreateDatabase(String name, int mode, SQLiteDatabase.CursorFactory factory) argument 152 openOrCreateDatabase(String name, int mode, SQLiteDatabase.CursorFactory factory, DatabaseErrorHandler errorHandler) argument
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
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/core/java/android/os/ |
H A D | ParcelFileDescriptor.java | 102 * There are no guarantees that this access mode will remain on 118 * There are no guarantees that this access mode will remain on 187 * @param mode The desired access mode, must be one of 195 * be opened with the requested mode. 198 public static ParcelFileDescriptor open(File file, int mode) throws FileNotFoundException { argument 199 final FileDescriptor fd = openInternal(file, mode); 209 * @param mode The desired access mode, must be one of 220 * be opened with the requested mode 223 open( File file, int mode, Handler handler, OnCloseListener listener) argument 246 openInternal(File file, int mode) argument 476 parseMode(String mode) argument [all...] |
/frameworks/support/v4/java/android/support/v4/content/ |
H A D | FileProvider.java | 241 * {@link Uri}, using the desired mode flags. This grants temporary access permission for the 512 * @param mode Access mode for the file. May be "r" for read-only access, "rw" for read and 517 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { argument 520 final int fileMode = modeToMode(mode); 727 private static int modeToMode(String mode) { argument 729 if ("r".equals(mode)) { 731 } else if ("w".equals(mode) || "wt".equals(mode)) { 735 } else if ("wa".equals(mode)) { [all...] |
/frameworks/base/media/java/android/media/ |
H A D | AudioTrack.java | 51 * In Streaming mode, the application writes a continuous stream of data to the AudioTrack, using 54 * mode is most useful when playing blocks of audio data that for instance are: 63 * The static mode should be chosen when dealing with short sounds that fit in memory and 64 * that need to be played with the smallest latency possible. The static mode will 71 * For an AudioTrack using the static mode, this size is the maximum size of the sound that can 73 * For the streaming mode, data will be written to the audio sink in chunks of 109 * Creation mode where audio data is transferred from Java to the native layer 114 * Creation mode where audio data is streamed from Java to the native layer 181 * The write mode indicating the write operation will block until all data has been written, 186 * The write mode indicatin 313 AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, int bufferSizeInBytes, int mode) argument 355 AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, int bufferSizeInBytes, int mode, int sessionId) argument 391 AudioTrack(AudioAttributes attributes, AudioFormat format, int bufferSizeInBytes, int mode, int sessionId) argument 483 audioParamCheck(int sampleRateInHz, int channelConfig, int audioFormat, int mode) argument 1634 native_setup(Object audiotrack_this, Object attributes, int sampleRate, int channelMask, int audioFormat, int buffSizeInBytes, int mode, int[] sessionId) argument [all...] |
/frameworks/av/media/ndk/ |
H A D | NdkMediaExtractor.cpp | 153 media_status_t AMediaExtractor_seekTo(AMediaExtractor *ex, int64_t seekPosUs, SeekMode mode) { argument 155 if (mode == AMEDIAEXTRACTOR_SEEK_PREVIOUS_SYNC) { 157 } else if (mode == AMEDIAEXTRACTOR_SEEK_CLOSEST_SYNC) { 344 int32_t mode; local 345 if (!meta->findInt32(kKeyCryptoMode, &mode)) { 346 mode = CryptoPlugin::kMode_AES_CTR; 353 (cryptoinfo_mode_t) mode,
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | dcac_prediction.cpp | 226 uint8 *mode = video->headerInfo.Mode; local 269 && (mode[mbnum-nMBPerRow] == MODE_INTRA || mode[mbnum-nMBPerRow] == MODE_INTRA_Q);; 277 && (mode[mbnum-1] == MODE_INTRA || mode[mbnum-1] == MODE_INTRA_Q); 285 && (mode[mbnum-nMBPerRow] == MODE_INTRA || mode[mbnum-nMBPerRow] == MODE_INTRA_Q); 287 && (mode[mbnum-1] == MODE_INTRA || mode[mbnum-1] == MODE_INTRA_Q);
|
H A D | post_filter.cpp | 180 uint8 *mode, 217 if (mode[mbnum] != MODE_SKIPPED) 306 if (mode[mbnum] != MODE_SKIPPED || mode[mbnum - nMBPerRow] != MODE_SKIPPED) 309 if (mode[mbnum] != MODE_SKIPPED) 405 if (mode[mbnum] != MODE_SKIPPED) 495 if (mode[mbnum] != MODE_SKIPPED || mode[mbnum-1] != MODE_SKIPPED) 498 if (mode[mbnum] != MODE_SKIPPED) 176 H263_Deblock(uint8 *rec, int width, int height, int16 *QP_store, uint8 *mode, int chr, int annex_T) argument
|
/frameworks/base/core/java/android/provider/ |
H A D | DocumentsProvider.java | 421 * document. You may return a pipe or socket pair if the mode is exclusively 429 * @param mode the mode to open with, such as 'r', 'w', or 'rw'. 439 String documentId, String mode, CancellationSignal signal) throws FileNotFoundException; 711 public final ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { argument 713 return openDocument(getDocumentId(uri), mode, null); 722 public final ParcelFileDescriptor openFile(Uri uri, String mode, CancellationSignal signal) argument 725 return openDocument(getDocumentId(uri), mode, signal); 735 public final AssetFileDescriptor openAssetFile(Uri uri, String mode) argument 738 final ParcelFileDescriptor fd = openDocument(getDocumentId(uri), mode, nul 438 openDocument( String documentId, String mode, CancellationSignal signal) argument 749 openAssetFile(Uri uri, String mode, CancellationSignal signal) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | Layer.h | 158 inline void setAlpha(int alpha, SkXfermode::Mode mode) { argument 160 this->mode = mode; 168 return mode; 401 * Blending mode of the layer. 403 SkXfermode::Mode mode; member in class:android::uirenderer::Layer
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | DirectoryLoader.java | 53 int mode = MODE_UNKNOWN; field in class:DirectoryResult 133 result.mode = userMode; 136 result.mode = State.MODE_GRID; 138 result.mode = State.MODE_LIST; 157 Log.d(TAG, "userMode=" + userMode + ", userSortOrder=" + mUserSortOrder + " --> mode=" 158 + result.mode + ", sortOrder=" + result.sortOrder);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
H A D | omxVCM4P10_MotionEstimationMB.c | 61 * Calculate SAD value for the selected MB encoding mode and update 140 /* Create predicted MB Intra4x4 mode */ 195 * Update neighbouring Pred mode array which will be used for 469 * choosing the best mode 482 * function with best mode predicted values 484 * [in] pIntra4x4PredMode - Array of Intra 4x4 prediction mode for the MB. 486 * [in] pBestCost - Cost for the Best Intra 4x4 mode 503 OMX_S32 i, j, x, y, BlockX, BlockY, mode; local 548 /* Go through each mode for minim cost */ 549 for (mode 1141 OMX_S32 mode; local 1402 OMX_S32 i, j, x, y, mode; local [all...] |
/frameworks/base/libs/androidfw/ |
H A D | BackupHelpers.cpp | 58 * - 4-byte access mode (little-endian) 64 int mode; member in struct:android::file_metadata_v1 215 write_update_file(BackupDataWriter* dataStream, int fd, int mode, const String8& key, argument 218 LOGP("write_update_file %s (%s) : mode 0%o\n", realFilename, key.string(), mode); 245 metadata.mode = tolel(mode); 368 r.s.mode = st.st_mode; 410 LOGP(" old: modTime=%d,%d mode=%04o size=%-3d crc32=0x%08x", 411 f.modTime_sec, f.modTime_nsec, f.mode, 750 int mode; local [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | AppOpsService.java | 119 public int mode; field in class:AppOpsService.Op 129 mode = AppOpsManager.opToDefaultMode(op); 290 resOps.add(new AppOpsManager.OpEntry(curOp.op, curOp.mode, curOp.time, 300 resOps.add(new AppOpsManager.OpEntry(curOp.op, curOp.mode, curOp.time, 373 public void setMode(int code, int uid, String packageName, int mode) { argument 384 if (op.mode != mode) { 385 op.mode = mode; 400 if (mode 612 setAudioRestriction(int code, int usage, int uid, int mode, String[] exceptionPackages) argument 1263 int mode; field in class:AppOpsService.Restriction [all...] |