/frameworks/base/cmds/installd/ |
H A D | commands.c | 587 void mkinnerdirs(char* path, int basepos, mode_t mode, int uid, int gid, argument 595 if (mkdir(path, mode) == 0) {
|
/frameworks/base/core/java/android/app/ |
H A D | ActionBar.java | 48 * your activity, you can enable an action mode that offers actions specific to the selected 61 * Standard navigation mode. Consists of either a logo or icon 69 * List navigation mode. Instead of static title text this mode 76 * Tab navigation mode. Instead of static title text this mode 135 * Set the action bar into custom navigation mode, supplying a view 149 * Set the action bar into custom navigation mode, supplying a view 169 * Set the action bar into custom navigation mode, supplying a view 248 * Set the adapter and navigation callback for list navigation mode 491 setNavigationMode(int mode) argument [all...] |
H A D | Activity.java | 535 * preferred view mode in its persistent settings:</p> 1943 * mode ({@link #DEFAULT_KEYS_DISABLE}) will simply drop them on the 1950 * <p>Note that the mode selected here does not impact the default 1955 * @param mode The desired default key mode constant. 1964 public final void setDefaultKeyMode(int mode) { argument 1965 mDefaultKeyMode = mode; 1969 switch (mode) { 1995 * on the application compatibility mode: for 3168 * are launching uses the singleTask launch mode, i 3974 getPreferences(int mode) argument 4391 onActionModeStarted(ActionMode mode) argument 4400 onActionModeFinished(ActionMode mode) argument [all...] |
H A D | ActivityManager.java | 67 * Screen compatibility mode: the application most always run in 68 * compatibility mode. 74 * Screen compatibility mode: the application can never run in 75 * compatibility mode. 81 * Screen compatibility mode: unknown. 87 * Screen compatibility mode: the application currently has compatibility 88 * mode disabled. 94 * Screen compatibility mode: the application currently has compatibility 95 * mode enabled. 101 * Screen compatibility mode 118 setFrontActivityScreenCompatMode(int mode) argument 137 setPackageScreenCompatMode(String packageName, int mode) argument [all...] |
H A D | ActivityManagerNative.java | 891 int mode = data.readInt(); 892 int res = checkUriPermission(uri, pid, uid, mode); 915 int mode = data.readInt(); 916 grantUriPermission(app, targetPkg, uri, mode); 926 int mode = data.readInt(); 927 revokeUriPermission(app, uri, mode); 1347 int mode = data.readInt(); 1348 grantUriPermissionFromOwner(owner, fromUid, targetPkg, uri, mode); 1360 int mode = data.readInt(); 1361 revokeUriPermissionFromOwner(owner, uri, mode); 2667 checkUriPermission(Uri uri, int pid, int uid, int mode) argument 2683 grantUriPermission(IApplicationThread caller, String targetPkg, Uri uri, int mode) argument 2697 revokeUriPermission(IApplicationThread caller, Uri uri, int mode) argument 3235 grantUriPermissionFromOwner(IBinder owner, int fromUid, String targetPkg, Uri uri, int mode) argument 3251 revokeUriPermissionFromOwner(IBinder owner, Uri uri, int mode) argument 3355 setFrontActivityScreenCompatMode(int mode) argument 3379 setPackageScreenCompatMode(String packageName, int mode) argument [all...] |
H A D | ContextImpl.java | 576 public SharedPreferences getSharedPreferences(String name, int mode) { argument 582 sp = new SharedPreferencesImpl(prefsFile, mode); 587 if ((mode & Context.MODE_MULTI_PROCESS) != 0 || 614 public FileOutputStream openFileOutput(String name, int mode) argument 616 final boolean append = (mode&MODE_APPEND) != 0; 620 setFilePermissionsFromMode(f.getPath(), mode, 0); 632 setFilePermissionsFromMode(f.getPath(), mode, 0); 759 public SQLiteDatabase openOrCreateDatabase(String name, int mode, CursorFactory factory) { argument 762 setFilePermissionsFromMode(f.getPath(), mode, 0); 767 public SQLiteDatabase openOrCreateDatabase(String name, int mode, CursorFactor argument 1447 getDir(String name, int mode) argument 1551 setFilePermissionsFromMode(String name, int mode, int extraPermissions) argument [all...] |
H A D | Dialog.java | 972 * to the superclass implementation by calling super.onActionModeStarted(mode). 974 public void onActionModeStarted(ActionMode mode) { argument 975 mActionMode = mode; 982 * to the superclass implementation by calling super.onActionModeFinished(mode). 984 public void onActionModeFinished(ActionMode mode) { argument 985 if (mode == mActionMode) {
|
H A D | IActivityManager.java | 224 public int checkUriPermission(Uri uri, int pid, int uid, int mode) argument 227 Uri uri, int mode) throws RemoteException; 229 int mode) throws RemoteException; 333 Uri uri, int mode) throws RemoteException; 335 int mode) throws RemoteException; 350 public void setFrontActivityScreenCompatMode(int mode) throws RemoteException; argument 352 public void setPackageScreenCompatMode(String packageName, int mode) argument 226 grantUriPermission(IApplicationThread caller, String targetPkg, Uri uri, int mode) argument 228 revokeUriPermission(IApplicationThread caller, Uri uri, int mode) argument 332 grantUriPermissionFromOwner(IBinder owner, int fromUid, String targetPkg, Uri uri, int mode) argument 334 revokeUriPermissionFromOwner(IBinder owner, Uri uri, int mode) argument
|
H A D | NativeActivity.java | 374 void showIme(int mode) { argument 375 mIMM.showSoftInput(mNativeContentView, mode); 378 void hideIme(int mode) { argument 379 mIMM.hideSoftInputFromWindow(mNativeContentView.getWindowToken(), mode);
|
H A D | SharedPreferencesImpl.java | 71 SharedPreferencesImpl(File file, int mode) { argument 74 mMode = mode;
|
H A D | UiModeManager.java | 28 * It provides functionality to disable the car mode and it gives access to the 29 * night mode settings. 35 * to the appropriate UI mode, sends broadcasts about the mode switch, and 36 * starts the corresponding mode activity if appropriate. See the 40 * <p>In addition, the user may manually switch the system to car mode without 41 * physically being in a dock. While in car mode -- whether by manual action 43 * displayed allowing the user to exit dock mode. Thus the dock mode 55 * Broadcast sent when the device's UI has switched to car mode, eithe 198 setNightMode(int mode) argument [all...] |
/frameworks/base/core/java/android/app/backup/ |
H A D | BackupAgent.java | 393 * with the data from the file descriptor, then sets the file's access mode and 404 * @param mode The access mode to be assigned to the destination after its data is 411 File destination, int type, long mode, long mtime) 413 FullBackup.restoreFile(data, size, type, mode, mtime, destination); 422 int type, String domain, String path, long mode, long mtime) 427 + " domain=" + domain + " relpath=" + path + " mode=" + mode 450 onRestoreFile(data, size, outFile, type, mode, mtime); 456 FullBackup.restoreFile(data, size, type, mode, mtim 410 onRestoreFile(ParcelFileDescriptor data, long size, File destination, int type, long mode, long mtime) argument 421 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime) argument 571 doRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime, int token, IBackupManager callbackBinder) argument [all...] |
H A D | FullBackup.java | 67 * modification time and access mode of the resulting file will be set if desired. 72 * If the {@code mode} argument is negative, then the resulting output file will not 73 * have its access mode or last modification time reset as part of this operation. 81 * @param mode Unix-style file mode (as used by the chmod(2) syscall) to be set on 83 * the mode nor the mtime parameters will be used. 85 * last modification time of the output file. if the {@code mode} parameter is 92 long size, int type, long mode, long mtime, File outFile) throws IOException { 107 // and using the default mode for those is appropriate. 147 if (mode > 91 restoreFile(ParcelFileDescriptor data, long size, int type, long mode, long mtime, File outFile) argument [all...] |
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothAdapter.java | 142 * Activity Action: Show a system activity that requests discoverable mode. 145 * <p>Discoverable mode is equivalent to {@link 160 * for global notification whenever the scan mode changes. For example, an 197 * Broadcast Action: Indicates the Bluetooth scan mode of the local Adapter 210 * intents to request the current scan mode. Possible values are: 218 * intents to request the previous scan mode. Possible values are: 460 * such as Airplane mode, or the adapter is already turned on. 573 * Get the current Bluetooth scan mode of the local Bluetooth adapter. 574 * <p>The Bluetooth scan mode determines if the local adapter is 586 * @return scan mode 624 setScanMode(int mode, int duration) argument 633 setScanMode(int mode) argument [all...] |
/frameworks/base/core/java/android/content/ |
H A D | ContentProvider.java | 222 public ParcelFileDescriptor openFile(Uri uri, String mode) argument 224 if (mode != null && mode.startsWith("rw")) enforceWritePermission(uri); 226 return ContentProvider.this.openFile(uri, mode); 229 public AssetFileDescriptor openAssetFile(Uri uri, String mode) argument 231 if (mode != null && mode.startsWith("rw")) enforceWritePermission(uri); 233 return ContentProvider.this.openAssetFile(uri, mode); 654 * @param mode Access mode fo 669 openFile(Uri uri, String mode) argument 713 openAssetFile(Uri uri, String mode) argument 733 openFileHelper(Uri uri, String mode) argument [all...] |
H A D | ContentProviderClient.java | 93 public ParcelFileDescriptor openFile(Uri url, String mode) argument 95 return mContentProvider.openFile(url, mode); 105 public AssetFileDescriptor openAssetFile(Uri url, String mode) argument 107 return mContentProvider.openAssetFile(url, mode);
|
H A D | ContentProviderNative.java | 218 String mode = data.readString(); 221 fd = openFile(url, mode); 237 String mode = data.readString(); 240 fd = openAssetFile(url, mode); 511 public ParcelFileDescriptor openFile(Uri url, String mode) argument 519 data.writeString(mode); 533 public AssetFileDescriptor openAssetFile(Uri url, String mode) argument 541 data.writeString(mode);
|
H A D | ContentResolver.java | 404 * @param mode May be "w", "wa", "rw", or "rwt". 409 public final OutputStream openOutputStream(Uri uri, String mode) argument 411 AssetFileDescriptor fd = openAssetFileDescriptor(uri, mode); 439 * @param mode The file mode to use, as per {@link ContentProvider#openFile 444 * file exists under the URI or the mode is invalid. 448 String mode) throws FileNotFoundException { 449 AssetFileDescriptor afd = openAssetFileDescriptor(uri, mode); 504 * <p>Note that if this function is called for read-only input (mode is "r") 510 * @param mode Th 447 openFileDescriptor(Uri uri, String mode) argument 517 openAssetFileDescriptor(Uri uri, String mode) argument 686 modeToMode(Uri uri, String mode) argument [all...] |
H A D | Context.java | 53 * File creation mode: the default mode, where the created file can only 61 * File creation mode: allow all other applications to have read access 68 * File creation mode: allow all other applications to have write access 75 * File creation mode: for use with {@link #openFileOutput}, if the file 422 * @param mode Operating mode. Use 0 or {@link #MODE_PRIVATE} for the 439 int mode); 464 * @param mode Operating mode 438 getSharedPreferences(String name, int mode) argument 480 openFileOutput(String name, int mode) argument 684 getDir(String name, int mode) argument 705 openOrCreateDatabase(String name, int mode, CursorFactory factory) argument 731 openOrCreateDatabase(String name, int mode, CursorFactory factory, DatabaseErrorHandler errorHandler) argument [all...] |
H A D | ContextWrapper.java | 152 public SharedPreferences getSharedPreferences(String name, int mode) { argument 153 return mBase.getSharedPreferences(name, mode); 163 public FileOutputStream openFileOutput(String name, int mode) argument 165 return mBase.openFileOutput(name, mode); 209 public File getDir(String name, int mode) { argument 210 return mBase.getDir(name, mode); 214 public SQLiteDatabase openOrCreateDatabase(String name, int mode, CursorFactory factory) { argument 215 return mBase.openOrCreateDatabase(name, mode, factory); 219 public SQLiteDatabase openOrCreateDatabase(String name, int mode, CursorFactory factory, argument 221 return mBase.openOrCreateDatabase(name, mode, factor [all...] |
H A D | IContentProvider.java | 46 public ParcelFileDescriptor openFile(Uri url, String mode) argument 48 public AssetFileDescriptor openAssetFile(Uri url, String mode) argument
|
H A D | SearchRecentSuggestionsProvider.java | 91 // a small set of mode bitflags in the version int. 98 * This mode bit configures the database to record recent queries. <i>required</i> 104 * This mode bit configures the database to include a 2nd annotation line with each entry. 122 * as a mode flags field, and configures the database columns depending on the mode bits 166 * @param mode You can use mode flags here to determine certain functional aspects of your 173 protected void setupSuggestions(String authority, int mode) { argument 175 ((mode & DATABASE_MODE_QUERIES) == 0)) { 178 // unpack mode flag [all...] |
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteDatabase.java | 531 * Begins a transaction in EXCLUSIVE mode. 556 * Begins a transaction in IMMEDIATE mode. Transactions can be nested. When 580 * Begins a transaction in EXCLUSIVE mode. 609 * Begins a transaction in IMMEDIATE mode. Transactions can be nested. When 720 // but this is the slowest way to run sqlite with in write-ahead logging mode. 957 * @param flags to control database access mode 978 * @param flags to control database access mode 1054 private void setJournalMode(final String dbPath, final String mode) { argument 1055 // journal mode can be set only for non-memory databases 1060 String s = DatabaseUtils.stringForQuery(this, "PRAGMA journal_mode=" + mode, nul [all...] |
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | Keyboard.java | 132 /** Keyboard mode, or zero, if none. */ 178 /** The keyboard mode for this row */ 179 public int mode; field in class:Keyboard.Row 207 mode = a.getResourceId(com.android.internal.R.styleable.Keyboard_Row_keyboardMode, 515 * that have a keyboard mode defined but don't match the specified mode. 518 * @param modeId keyboard mode identifier 538 * that have a keyboard mode defined but don't match the specified mode. 541 * @param modeId keyboard mode identifie [all...] |
/frameworks/base/core/java/android/net/ |
H A D | Downloads.java | 387 Context context, long downloadId, String mode) 396 return cr.openFileDescriptor(downloadUri, mode); 386 openDownload( Context context, long downloadId, String mode) argument
|