/frameworks/base/core/java/android/os/ |
H A D | ParcelFileDescriptor.java | 101 * There are no guarantees that this access mode will remain on 117 * There are no guarantees that this access mode will remain on 186 * @param mode The desired access mode, must be one of 194 * be opened with the requested mode. 197 public static ParcelFileDescriptor open(File file, int mode) throws FileNotFoundException { argument 198 final FileDescriptor fd = openInternal(file, mode); 208 * @param mode The desired access mode, must be one of 219 * be opened with the requested mode 222 open( File file, int mode, Handler handler, OnCloseListener listener) argument 244 openInternal(File file, int mode) argument 474 parseMode(String mode) argument [all...] |
/frameworks/av/libvideoeditor/osal/src/ |
H A D | M4OSA_FileCommon.c | 54 * @param fileModeAccess: (IN) File mode access 63 * @return M4ERR_FILE_BAD_MODE_ACCESS: the file mode access is not correct 75 M4OSA_Char mode[4] = ""; local 113 /* Read mode not set for the reader */ 117 /* Read mode not set for the reader */ 121 /* M4OSAfileReadOpen cannot be used with Write file mode access */ 132 /* Write mode not set for the writer */ 140 strncat((char *)mode, (const char *)pWriteString, (size_t)1); 141 strncat((char *)mode, (const char *)pPlusString, (size_t)1); 147 strncat((char *)mode, (cons [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/libs/hwui/ |
H A D | OpenGLRenderer.cpp | 63 SkXfermode::Mode mode; member in struct:android::uirenderer::Blender 89 // this array's SrcOver blending mode is actually DstOver. You can refer to 781 int alpha, SkXfermode::Mode mode, int flags) { 786 createLayer(left, top, right, bottom, alpha, mode, flags, previousFbo); 837 int alpha, SkXfermode::Mode mode, int flags) { 914 int alpha, SkXfermode::Mode mode, int flags, GLuint previousFbo) { 937 layer->setAlpha(alpha, mode); 1305 SkXfermode::Mode mode, bool dirty) { 1318 drawColorRects(rects.array(), rects.size(), color, mode, true, dirty, false); 1370 // the Clear blending mode 780 saveLayer(float left, float top, float right, float bottom, int alpha, SkXfermode::Mode mode, int flags) argument 836 saveLayerDeferred(float left, float top, float right, float bottom, int alpha, SkXfermode::Mode mode, int flags) argument 913 createLayer(float left, float top, float right, float bottom, int alpha, SkXfermode::Mode mode, int flags, GLuint previousFbo) argument 1304 drawRegionRects(const SkRegion& region, int color, SkXfermode::Mode mode, bool dirty) argument 1832 accountForClear(SkXfermode::Mode mode) argument 1840 setupDrawBlending(SkXfermode::Mode mode, bool swapSrcDst) argument 1849 setupDrawBlending(bool blend, SkXfermode::Mode mode, bool swapSrcDst) argument 2065 SkXfermode::Mode mode; local 2107 SkXfermode::Mode mode; local 2286 SkXfermode::Mode mode; local 2347 SkXfermode::Mode mode; local 2441 SkXfermode::Mode mode; local 2500 SkXfermode::Mode mode; local 2518 SkXfermode::Mode mode = getXfermode(paint->getXfermode()); local 2631 drawColor(int color, SkXfermode::Mode mode) argument 2798 drawTextShadow(SkPaint* paint, const char* text, int bytesCount, int count, const float* positions, FontRenderer& fontRenderer, int alpha, SkXfermode::Mode mode, float x, float y) argument 2869 SkXfermode::Mode mode; local 2944 SkXfermode::Mode mode; local 3020 SkXfermode::Mode mode; local 3250 SkXfermode::Mode mode; local 3330 SkXfermode::Mode mode = getXfermode(paint->getXfermode()); local 3335 drawColorRects(const float* rects, int count, int color, SkXfermode::Mode mode, bool ignoreTransform, bool dirty, bool clip) argument 3392 drawColorRect(float left, float top, float right, float bottom, int color, SkXfermode::Mode mode, bool ignoreTransform) argument 3418 SkXfermode::Mode mode; local 3455 drawTextureRect(float left, float top, float right, float bottom, GLuint texture, float alpha, SkXfermode::Mode mode, bool blend) argument 3461 drawTextureMesh(float left, float top, float right, float bottom, GLuint texture, float alpha, SkXfermode::Mode mode, bool blend, GLvoid* vertices, GLvoid* texCoords, GLenum drawMode, GLsizei elementsCount, bool swapSrcDst, bool ignoreTransform, GLuint vbo, bool ignoreScale, bool dirty) argument 3486 drawIndexedTextureMesh(float left, float top, float right, float bottom, GLuint texture, float alpha, SkXfermode::Mode mode, bool blend, GLvoid* vertices, GLvoid* texCoords, GLenum drawMode, GLsizei elementsCount, bool swapSrcDst, bool ignoreTransform, GLuint vbo, bool ignoreScale, bool dirty) argument 3511 drawAlpha8TextureMesh(float left, float top, float right, float bottom, GLuint texture, bool hasColor, int color, int alpha, SkXfermode::Mode mode, GLvoid* vertices, GLvoid* texCoords, GLenum drawMode, GLsizei elementsCount, bool ignoreTransform, bool ignoreScale, bool dirty) argument 3540 chooseBlending(bool blend, SkXfermode::Mode mode, ProgramDescription& description, bool swapSrcDst) argument [all...] |
H A D | Layer.h | 132 inline void setAlpha(int alpha, SkXfermode::Mode mode) { argument 134 this->mode = mode; 142 return mode; 348 * Blending mode of the layer. 350 SkXfermode::Mode mode; member in struct:android::uirenderer::Layer
|
/frameworks/base/core/java/android/app/ |
H A D | AppOpsManager.java | 59 * <p></p>When checking operations, the result is a "mode" integer indicating the current 408 * This specifies the default mode for each operation. 569 * Retrieve the default mode for the operation. 658 public OpEntry(int op, int mode, long time, long rejectTime, int duration) { argument 660 mMode = mode; 776 public void setMode(int code, int uid, String packageName, int mode) { argument 778 mService.setMode(code, uid, packageName, mode); 792 * Monitor for changes to the operating mode for the given op in the given app package. 803 * Monitor for changes to the operating mode for the given op in the given app package. 971 int mode [all...] |
/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/app/backup/ |
H A D | BackupAgent.java | 451 * with the data from the file descriptor, then sets the file's access mode and 462 * @param mode The access mode to be assigned to the destination after its data is 469 File destination, int type, long mode, long mtime) 471 FullBackup.restoreFile(data, size, type, mode, mtime, destination); 480 int type, String domain, String path, long mode, long mtime) 485 + " domain=" + domain + " relpath=" + path + " mode=" + mode 505 mode = -1; // < 0 is a token to skip attempting a chmod() 520 onRestoreFile(data, size, outFile, type, mode, mtim 468 onRestoreFile(ParcelFileDescriptor data, long size, File destination, int type, long mode, long mtime) argument 479 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime) argument 663 doRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime, int token, IBackupManager callbackBinder) argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | AudioTrack.java | 34 * In Streaming mode, the application writes a continuous stream of data to the AudioTrack, using 37 * mode is most useful when playing blocks of audio data that for instance are: 46 * The static mode should be chosen when dealing with short sounds that fit in memory and 47 * that need to be played with the smallest latency possible. The static mode will 54 * For an AudioTrack using the static mode, this size is the maximum size of the sound that can 56 * For the streaming mode, data will be written to the audio sink in chunks of 85 * Creation mode where audio data is transferred from Java to the native layer 90 * Creation mode where audio data is streamed from Java to the native layer 251 * If track's creation mode is {@link #MODE_STREAM}, you can write data into 254 * If the track's creation mode i 262 AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, int bufferSizeInBytes, int mode) argument 303 AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, int bufferSizeInBytes, int mode, int sessionId) argument 362 audioParamCheck(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, int mode) argument 1321 native_setup(Object audiotrack_this, int streamType, int sampleRate, int nbChannels, int audioFormat, int buffSizeInBytes, int mode, int[] sessionId) argument [all...] |
/frameworks/av/libvideoeditor/lvpp/ |
H A D | VideoEditorSRC.cpp | 124 ReadOptions::SeekMode mode = ReadOptions::SEEK_PREVIOUS_SYNC; local 125 if (options && options->getSeekTo(&seekTimeUs, &mode)) { 128 mSeekMode = mode; 214 ReadOptions::SeekMode mode = mSeekMode; local 215 options.setSeekTo(mSeekTimeUs, mode);
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
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...] |
H A D | cod_amr.cpp | 759 mode = AMR mode of type enum Mode 763 usedMode = pointer to the used mode of type enum Mode 814 enum Mode mode, // i : AMR mode 817 enum Mode *usedMode, // o : used mode 867 *usedMode = mode; 902 lpc(st->lpcSt, mode, st->p_window, st->p_window_12k2, A_t); 906 lsp(st->lspSt, mode, *usedMode, A_t, Aq_t, lsp_new, &ana); 914 // Check if in DTX mode 1215 cod_amr( cod_amrState *st, enum Mode mode, Word16 new_speech[], Word16 ana[], enum Mode *usedMode, Word16 synth[] ) argument [all...] |
/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/base/services/java/com/android/server/updates/ |
H A D | SELinuxPolicyInstallReceiver.java | 129 String mode = Settings.Global.getString(context.getContentResolver(), 131 if ("1".equals(mode)) { 132 Slog.i(TAG, "Setting enforcing mode"); 133 SystemProperties.set("persist.selinux.enforcing", mode); 134 } else if ("0".equals(mode)) { 135 Slog.i(TAG, "Tried to set permissive mode, ignoring"); 137 Slog.e(TAG, "Got invalid enforcing mode: " + mode);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
H A D | omxVCM4P10_MotionEstimationMB.c | 46 * Calculate SAD value for the selected MB encoding mode and update 125 /* Create predicted MB Intra4x4 mode */ 180 * Update neighbouring Pred mode array which will be used for 454 * choosing the best mode 467 * function with best mode predicted values 469 * [in] pIntra4x4PredMode - Array of Intra 4x4 prediction mode for the MB. 471 * [in] pBestCost - Cost for the Best Intra 4x4 mode 488 OMX_S32 i, j, x, y, BlockX, BlockY, mode; local 533 /* Go through each mode for minim cost */ 534 for (mode 1126 OMX_S32 mode; local 1387 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); 247 metadata.mode = tolel(mode); 362 r.s.mode = st.st_mode; 410 LOGP(" new: modTime=%d,%d mode=%04o size=%-3d crc32=0x%08x", 411 f.modTime_sec, f.modTime_nsec, f.mode, 744 int mode; local [all...] |
H A D | Asset.cpp | 119 * We can use "mode" to decide how we want to go about it. 121 /*static*/ Asset* Asset::createFromFile(const char* fileName, AccessMode mode) argument 166 pAsset->mAccessMode = mode; 178 AccessMode mode) 226 pAsset->mAccessMode = mode; 236 size_t length, AccessMode mode) 246 pAsset->mAccessMode = mode; 255 AccessMode mode) 266 pAsset->mAccessMode = mode; 275 AccessMode mode) 177 createFromCompressedFile(const char* fileName, AccessMode mode) argument 274 createFromUncompressedMap(FileMap* dataMap, AccessMode mode) argument 292 createFromCompressedMap(FileMap* dataMap, int method, size_t uncompressedLen, AccessMode mode) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | pstfilt.cpp | 94 #include "mode.h" 265 mode = AMR mode 313 enum Mode mode, // i : AMR mode 346 if (sub(mode, MR122) == 0 || sub(mode, MR102) == 0) 441 enum Mode mode, /* i : AMR mode */ 474 if (mode 439 Post_Filter( Post_FilterState *st, enum Mode mode, Word16 *syn, Word16 *Az_4, Flag *pOverflow ) argument [all...] |
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | Tracer.java | 116 * @param mode 118 public void setOutputMode(Mode mode) { argument 120 mCurrentMode = mode; 122 switch (mode) {
|
/frameworks/uiautomator/core/com/android/uiautomator/core/ |
H A D | Tracer.java | 116 * @param mode 118 public void setOutputMode(Mode mode) { argument 120 mCurrentMode = mode; 122 switch (mode) {
|
/frameworks/base/services/java/com/android/server/ |
H A D | AppOpsService.java | 106 public int mode; field in class:AppOpsService.Op 116 mode = AppOpsManager.opToDefaultMode(op); 275 resOps.add(new AppOpsManager.OpEntry(curOp.op, curOp.mode, curOp.time, 285 resOps.add(new AppOpsManager.OpEntry(curOp.op, curOp.mode, curOp.time, 358 public void setMode(int code, int uid, String packageName, int mode) { argument 366 if (op.mode != mode) { 367 op.mode = mode; 382 if (mode [all...] |
/frameworks/av/include/media/ |
H A D | Visualizer.h | 43 * In addition to the polling capture mode, a callback mode is also available by installing a 112 // mode must one of VISUALIZER_SCALING_MODE_NORMALIZED, 114 status_t setScalingMode(uint32_t mode); 119 status_t setMeasurementMode(uint32_t mode);
|
/frameworks/av/include/media/stagefright/ |
H A D | NuMediaExtractor.h | 65 MediaSource::ReadOptions::SeekMode mode = 107 MediaSource::ReadOptions::SeekMode mode =
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | IBluetoothHeadset.aidl | 56 void clccResponse(int index, int direction, int status, int mode, boolean mpty,
|