15cbbce535744b89df5ecea95de21ee3733298260Romain Guy/* 25cbbce535744b89df5ecea95de21ee3733298260Romain Guy * Copyright (C) 2011 The Android Open Source Project 35cbbce535744b89df5ecea95de21ee3733298260Romain Guy * 45cbbce535744b89df5ecea95de21ee3733298260Romain Guy * Licensed under the Apache License, Version 2.0 (the "License"); 55cbbce535744b89df5ecea95de21ee3733298260Romain Guy * you may not use this file except in compliance with the License. 65cbbce535744b89df5ecea95de21ee3733298260Romain Guy * You may obtain a copy of the License at 75cbbce535744b89df5ecea95de21ee3733298260Romain Guy * 85cbbce535744b89df5ecea95de21ee3733298260Romain Guy * http://www.apache.org/licenses/LICENSE-2.0 95cbbce535744b89df5ecea95de21ee3733298260Romain Guy * 105cbbce535744b89df5ecea95de21ee3733298260Romain Guy * Unless required by applicable law or agreed to in writing, software 115cbbce535744b89df5ecea95de21ee3733298260Romain Guy * distributed under the License is distributed on an "AS IS" BASIS, 125cbbce535744b89df5ecea95de21ee3733298260Romain Guy * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 135cbbce535744b89df5ecea95de21ee3733298260Romain Guy * See the License for the specific language governing permissions and 145cbbce535744b89df5ecea95de21ee3733298260Romain Guy * limitations under the License. 155cbbce535744b89df5ecea95de21ee3733298260Romain Guy */ 165cbbce535744b89df5ecea95de21ee3733298260Romain Guy 175cbbce535744b89df5ecea95de21ee3733298260Romain Guy#ifndef ANDROID_POWERMANAGER_H 185cbbce535744b89df5ecea95de21ee3733298260Romain Guy#define ANDROID_POWERMANAGER_H 195cbbce535744b89df5ecea95de21ee3733298260Romain Guy 205cbbce535744b89df5ecea95de21ee3733298260Romain Guynamespace android { 215cbbce535744b89df5ecea95de21ee3733298260Romain Guy 225cbbce535744b89df5ecea95de21ee3733298260Romain Guy// must be kept in sync with definitions in PowerManager.java 23d55a86120dd1e8ebcc6906c9ffd463f7460348daRomain Guyenum { 24d55a86120dd1e8ebcc6906c9ffd463f7460348daRomain Guy POWERMANAGER_PARTIAL_WAKE_LOCK = 1, // equals PowerManager.PARTIAL_WAKE_LOCK constant 255cbbce535744b89df5ecea95de21ee3733298260Romain Guy}; 265cbbce535744b89df5ecea95de21ee3733298260Romain Guy 275cbbce535744b89df5ecea95de21ee3733298260Romain Guy}; // namespace android 285cbbce535744b89df5ecea95de21ee3733298260Romain Guy 295cbbce535744b89df5ecea95de21ee3733298260Romain Guy#endif // ANDROID_POWERMANAGER_H 305cbbce535744b89df5ecea95de21ee3733298260Romain Guy