/frameworks/base/core/java/android/os/ |
H A D | FileUtils.java | 58 public int mode; field in class:FileUtils.FileStatus 84 public static native int setPermissions(String file, int mode, int uid, int gid); argument 160 if (max > 0 || (size > 0 && max == 0)) { // "head" mode: read the first N bytes 168 } else if (max < 0) { // "tail" mode: keep the last N 188 } else { // "cat" mode: size unknown, read it all in streaming fashion
|
/frameworks/base/core/tests/coretests/src/android/pim/vcard/ |
H A D | VCardTestsBase.java | 79 public ParcelFileDescriptor openFile(Uri url, String mode) { argument 84 public AssetFileDescriptor openAssetFile(Uri uri, String mode) { argument
|
/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | g_pitch.cpp | 81 #include "mode.h" 115 mode = AMR mode (enum Mode) 164 enum Mode mode, // i : AMR mode 266 if (sub(mode, MR122) == 0) 299 enum Mode mode, /* i : AMR mode */ 456 if (mode == MR122) 298 G_pitch( enum Mode mode, Word16 xn[], Word16 y1[], Word16 g_coeff[], Word16 L_subfr, Flag *pOverflow ) argument
|
H A D | pitch_ol.cpp | 669 mode = data of type enum Mode specifies the mode. 724 enum Mode mode, // i : coder mode 756 if ((sub(mode, MR475) == 0) || (sub(mode, MR515) == 0)) 828 // mode dependent scaling in Lag_max 829 if (sub(mode, MR122) == 0) 941 enum Mode mode, /* i : coder mode */ 939 Pitch_ol( vadState *vadSt, enum Mode mode, Word16 signal[], Word16 pit_min, Word16 pit_max, Word16 L_frame, Word16 idx, Flag dtx, Flag *pOverflow ) argument [all...] |
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/include/ |
H A D | mp4dec_api.h | 150 OSCL_IMPORT_REF Bool PVInitVideoDecoder(VideoDecControls *decCtrl, uint8 *volbuf[], int32 *volbuf_size, int nLayers, int width, int height, MP4DecodingMode mode); 162 OSCL_IMPORT_REF void PVSetPostProcType(VideoDecControls *decCtrl, int mode);
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothAdapter.java | 132 * Activity Action: Show a system activity that requests discoverable mode. 135 * <p>Discoverable mode is equivalent to {@link 150 * for global notification whenever the scan mode changes. For example, an 187 * Broadcast Action: Indicates the Bluetooth scan mode of the local Adapter 200 * intents to request the current scan mode. Possible values are: 208 * intents to request the previous scan mode. Possible values are: 392 * such as Airplane mode, or the adapter is already turned on. 484 * Get the current Bluetooth scan mode of the local Bluetooth adaper. 485 * <p>The Bluetooth scan mode determines if the local adapter is 493 * @return scan mode 526 setScanMode(int mode, int duration) argument 534 setScanMode(int mode) argument [all...] |
/frameworks/base/core/java/android/content/ |
H A D | Context.java | 51 * File creation mode: the default mode, where the created file can only 59 * File creation mode: allow all other applications to have read access 66 * File creation mode: allow all other applications to have write access 73 * File creation mode: for use with {@link #openFileOutput}, if the file 316 * @param mode Operating mode. Use 0 or {@link #MODE_PRIVATE} for the 328 int mode); 353 * @param mode Operating mode 327 getSharedPreferences(String name, int mode) argument 369 openFileOutput(String name, int mode) argument 566 getDir(String name, int mode) argument 587 openOrCreateDatabase(String name, int mode, CursorFactory factory) argument [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | EditStyledText.java | 69 /** The mode that no editing action is done. */ 71 /** The mode of copy. */ 73 /** The mode of paste. */ 75 /** The mode of changing size. */ 77 /** The mode of changing color. */ 79 /** The mode of selection. */ 81 /** The mode of changing alignment. */ 83 /** The mode of changing cut. */ 119 public void notifyStateChanged(int mode, int state); argument 415 * Get the mode o 564 notifyStateChanged(int mode, int state) argument 867 handleTextViewFunc(int mode, int id) argument 917 handleSetSpan(int mode) argument [all...] |
H A D | PasswordEntryKeyboardHelper.java | 90 public void setKeyboardMode(int mode) { argument 91 switch (mode) { 106 mKeyboardMode = mode; 147 // Switch back to old keyboard if we're not in capslock mode 225 // Maybe turn off shift if not in capslock mode.
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Shader.cpp | 226 SkShader* shaderA, SkShader* shaderB, SkXfermode* mode) 228 return new SkComposeShader(shaderA, shaderB, mode); 232 SkShader* shaderA, SkShader* shaderB, SkPorterDuff::Mode mode) 234 SkAutoUnref au(SkPorterDuff::CreateXfermode(mode)); 225 ComposeShader_create1(JNIEnv* env, jobject, SkShader* shaderA, SkShader* shaderB, SkXfermode* mode) argument 231 ComposeShader_create2(JNIEnv* env, jobject, SkShader* shaderA, SkShader* shaderB, SkPorterDuff::Mode mode) argument
|
/frameworks/base/include/utils/ |
H A D | BackupHelpers.h | 46 int mode; member in struct:android::FileState
|
/frameworks/base/media/java/android/media/ |
H A D | MediaMetadataRetriever.java | 50 * Call this method before setDataSource() so that the mode becomes 52 * at the beginning if the intended mode of operation for a 56 * intended mode of operation is to both capture frame and retrieve meta 62 * @param mode The intended mode of operation. Can be any combination of 71 public native void setMode(int mode); argument 74 * @return the current mode of operation. A negative return value indicates
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLErrorWrapper.java | 201 public void glCullFace(int mode) { argument 203 mgl.glCullFace(mode); 255 public void glDrawArrays(int mode, int first, int count) { argument 257 mgl.glDrawArrays(mode, first, count); 261 public void glDrawElements(int mode, int count, int type, Buffer indices) { argument 263 mgl.glDrawElements(mode, count, type, indices); 327 public void glFrontFace(int mode) { argument 329 mgl.glFrontFace(mode); 384 public void glHint(int target, int mode) { argument 386 mgl.glHint(target, mode); 546 glMatrixMode(int mode) argument 712 glShadeModel(int mode) argument 1003 glDrawElements(int mode, int count, int type, int offset) argument [all...] |
H A D | GLES10.java | 467 // C function void glCullFace ( GLenum mode ) 470 int mode 526 // C function void glDrawArrays ( GLenum mode, GLint first, GLsizei count ) 529 int mode, 534 // C function void glDrawElements ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices ) 537 int mode, 609 // C function void glFrontFace ( GLenum mode ) 612 int mode 677 // C function void glHint ( GLenum target, GLenum mode ) 681 int mode 528 glDrawArrays( int mode, int first, int count ) argument 536 glDrawElements( int mode, int count, int type, java.nio.Buffer indices ) argument [all...] |
/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockContext.java | 126 public SharedPreferences getSharedPreferences(String name, int mode) { argument 136 public FileOutputStream openFileOutput(String name, int mode) throws FileNotFoundException { argument 176 public File getDir(String name, int mode) { argument 181 public SQLiteDatabase openOrCreateDatabase(String file, int mode, argument
|
/frameworks/base/opengl/tools/glgen/specs/gles11/ |
H A D | GLES20.spec | 9 void glBlendEquation ( GLenum mode )
28 void glCullFace ( GLenum mode )
41 void glDrawArrays ( GLenum mode, GLint first, GLsizei count )
42 void glDrawElements ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices )
49 void glFrontFace ( GLenum mode )
81 void glHint ( GLenum target, GLenum mode )
|
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/ |
H A D | GL10.java | 393 int mode 434 int mode, 440 int mode, 493 int mode 545 int mode 690 int mode 846 int mode 433 glDrawArrays( int mode, int first, int count ) argument 439 glDrawElements( int mode, int count, int type, java.nio.Buffer indices ) argument
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | SettingsProvider.java | 500 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { argument 532 return context.getContentResolver().openFileDescriptor(soundUri, mode); 537 return super.openFile(uri, mode); 541 public AssetFileDescriptor openAssetFile(Uri uri, String mode) throws FileNotFoundException { argument 575 pfd = context.getContentResolver().openFileDescriptor(soundUri, mode); 583 return super.openAssetFile(soundUri, mode); 597 return super.openAssetFile(uri, mode);
|
/frameworks/base/opengl/libagl/ |
H A D | array.cpp | 49 static void validate_arrays(ogles_context_t* c, GLenum mode); 403 void vertex_cache_t::dump_stats(GLenum mode) argument 409 switch (mode) { 1089 void validate_arrays(ogles_context_t* c, GLenum mode) argument 1099 c->perspective && mode!=GL_POINTS && (enables & GGL_ENABLE_TMUS); 1104 switch (mode) { 1119 (mode == GL_POINTS) ? GL_FLAT : c->lighting.shadeModel); 1350 void glDrawArrays(GLenum mode, GLint first, GLsizei count) argument 1357 switch (mode) { 1377 validate_arrays(c, mode); 1394 glDrawElements( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_net_wifi_Wifi.cpp | 270 // Ignore any error from setting the scan mode. 385 static jboolean android_net_wifi_setPowerModeCommand(JNIEnv* env, jobject clazz, jint mode) argument 389 int numWritten = snprintf(cmdstr, sizeof(cmdstr), "DRIVER POWERMODE %d", mode); 421 static jboolean android_net_wifi_setBluetoothCoexistenceModeCommand(JNIEnv* env, jobject clazz, jint mode) argument 425 int numWritten = snprintf(cmdstr, sizeof(cmdstr), "DRIVER BTCOEXMODE %d", mode); 453 static jboolean android_net_wifi_setScanResultHandlingCommand(JNIEnv* env, jobject clazz, jint mode) argument 457 int numWritten = snprintf(cmdstr, sizeof(cmdstr), "AP_SCAN %d", mode);
|
H A D | android_util_Process.cpp | 661 const jint mode = formatData[fi]; local 662 if ((mode&PROC_PARENS) != 0) { 665 const char term = (char)(mode&PROC_TERM_MASK); 673 if ((mode&PROC_PARENS) != 0) { 689 if ((mode&PROC_COMBINE) != 0) { 696 //LOGI("Field %d: %d-%d dest=%d mode=0x%x\n", i, start, end, di, mode); 698 if ((mode&(PROC_OUT_FLOAT|PROC_OUT_LONG|PROC_OUT_STRING)) != 0) { 701 if ((mode&PROC_OUT_FLOAT) != 0 && di < NR) { 705 if ((mode [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | UiModeManagerService.java | 136 // Only launch car home when car mode is enabled and the caller 142 // Only launch car home when desk mode is enabled and the caller 144 // mode flag since we don't have a formal API for "desk mode". 157 // we are in care mode. 226 // Airplane mode is now off! 367 public void setNightMode(int mode) throws RemoteException { argument 369 switch (mode) { 375 throw new IllegalArgumentException("Unknown mode: " + mode); [all...] |
/frameworks/base/telephony/java/android/telephony/ |
H A D | TelephonyManager.java | 315 int mode = SystemProperties.getInt("ro.telephony.default_network", -1); 316 if (mode == -1) 318 return PhoneFactory.getPhoneType(mode); 877 * Returns the CDMA ERI icon mode,
|
/frameworks/base/core/java/android/webkit/ |
H A D | CookieManager.java | 141 byte mode; field in class:CookieManager.Cookie 368 cookieEntry.mode = Cookie.MODE_REPLACED; 372 cookieEntry.mode = Cookie.MODE_DELETED; 384 cookie.mode = Cookie.MODE_NEW; 392 && cookieEntry2.mode != Cookie.MODE_DELETED) { 396 toDelete.mode = Cookie.MODE_DELETED; 459 && cookie.mode != Cookie.MODE_DELETED) { 606 if (cookie.mode == Cookie.MODE_DELETED) { 625 cookie.mode = Cookie.MODE_NORMAL;
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | BitmapDrawable.java | 266 public void setTileModeX(Shader.TileMode mode) { argument 267 setTileModeXY(mode, mBitmapState.mTileModeY); 270 public final void setTileModeY(Shader.TileMode mode) { argument 271 setTileModeXY(mBitmapState.mTileModeX, mode);
|