Lines Matching refs:APIUtils
14 function($scope, $window, APIUtils, dataService, Constants, $q) { argument
34 var getLogsPromise = APIUtils.getLogs().then(
44 var getFirmwaresPromise = APIUtils.getFirmwares().then(
53 var getLEDStatePromise = APIUtils.getLEDState().then(
55 if (data == APIUtils.LED_STATE.on) {
56 dataService.LED_state = APIUtils.LED_STATE_TEXT.on;
58 dataService.LED_state = APIUtils.LED_STATE_TEXT.off;
65 var getBMCTimePromise = APIUtils.getBMCTime().then(
73 var getServerInfoPromise = APIUtils.getServerInfo().then(
81 var getPowerConsumptionPromise = APIUtils.getPowerConsumption().then(
89 var getPowerCapPromise = APIUtils.getPowerCap().then(
102 var getNetworkInfoPromise = APIUtils.getNetworkInfo().then(
131 (dataService.LED_state == APIUtils.LED_STATE_TEXT.on) ?
132 APIUtils.LED_STATE.off :
133 APIUtils.LED_STATE.on;
135 (dataService.LED_state == APIUtils.LED_STATE_TEXT.on) ?
136 APIUtils.LED_STATE_TEXT.off :
137 APIUtils.LED_STATE_TEXT.on;
138 APIUtils.setLEDState(toggleState, function(status) {});
144 APIUtils.setHostname(hostname).then(
146 APIUtils.getNetworkInfo().then(function(data) {