Searched refs:serviceState (Results 1 – 5 of 5) sorted by relevance
44 private static BackupManagerServiceState serviceState = new BackupManagerServiceState(); field in ShadowBackupManager48 serviceState = new BackupManagerServiceState(); in reset()62 serviceState.backupEnabled = isEnabled; in setBackupEnabled()69 return serviceState.backupEnabled; in isBackupEnabled()86 Long token = serviceState.restoredPackages.get(packageName); in getPackageRestoreToken()92 serviceState.restoreData.put(restoreToken, packages); in addAvailableRestoreSets()112 Set<Long> restoreTokens = serviceState.restoreData.keySet(); in getAvailableRestoreSets()148 List<String> restorePackages = new ArrayList<>(serviceState.restoreData.get(token)); in restorePackages()156 serviceState.restoredPackages.put(restorePackages.get(index), token); in restorePackages()159 serviceState.lastRestoreToken = token; in restorePackages()[all …]
80 private ServiceState serviceState; field in ShadowTelephonyManager585 return serviceState;589 public void setServiceState(ServiceState serviceState) {590 this.serviceState = serviceState;
217 ServiceStateEvent(ServiceState serviceState, int subscriptionId) { in ServiceStateEvent() argument218 mServiceState = serviceState; in ServiceStateEvent()221 serviceState.getState()); in ServiceStateEvent()224 serviceState.isEmergencyOnly()) { in ServiceStateEvent()238 JSONObject serviceState = in toJSON() local241 serviceState.put( in toJSON()245 return serviceState; in toJSON()
285 public void onServiceStateChanged(ServiceState serviceState) { in onServiceStateChanged() argument288 serviceState, subscriptionId)); in onServiceStateChanged()
332 ServiceState serviceState = new ServiceState(); in shouldSetServiceState() local333 serviceState.setState(ServiceState.STATE_OUT_OF_SERVICE); in shouldSetServiceState()335 shadowTelephonyManager.setServiceState(serviceState); in shouldSetServiceState()337 assertEquals(serviceState, telephonyManager.getServiceState()); in shouldSetServiceState()