HomeSort by relevance Sort by last modified time
    Searched refs:realMode (Results 1 - 3 of 3) sorted by null

  /frameworks/base/services/core/java/com/android/server/power/
BatterySaverPolicy.java 447 * Get the {@link PowerSaveState} based on {@paramref type} and {@paramref realMode}.
452 * @param realMode whether the battery saver is on by default
455 public PowerSaveState getBatterySaverPolicy(@ServiceType int type, boolean realMode) {
458 .setGlobalBatterySaverEnabled(realMode);
459 if (!realMode) {
460 return builder.setBatterySaverEnabled(realMode)
465 return builder.setBatterySaverEnabled(realMode)
506 return builder.setBatterySaverEnabled(realMode)
  /frameworks/base/core/java/android/os/
ParcelFileDescriptor.java 305 int realMode = S_IRWXU | S_IRWXG;
306 if ((mode & MODE_WORLD_READABLE) != 0) realMode |= S_IROTH;
307 if ((mode & MODE_WORLD_WRITEABLE) != 0) realMode |= S_IWOTH;
311 return Os.open(path, flags, realMode);
    [all...]
  /frameworks/base/core/jni/
android_os_Parcel.cpp 503 int realMode = S_IRWXU|S_IRWXG;
504 if (mode&0x00000001) realMode |= S_IROTH;
505 if (mode&0x00000002) realMode |= S_IWOTH;
507 int fd = open(name8.c_str(), flags, realMode);

Completed in 95 milliseconds