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;
216 ServiceStateEvent(ServiceState serviceState, int subscriptionId) { in ServiceStateEvent() argument217 mServiceState = serviceState; in ServiceStateEvent()220 serviceState.getState()); in ServiceStateEvent()223 serviceState.isEmergencyOnly()) { in ServiceStateEvent()237 JSONObject serviceState = in toJSON() local240 serviceState.put( in toJSON()244 return serviceState; in toJSON()
246 public void onServiceStateChanged(ServiceState serviceState) { in onServiceStateChanged() argument249 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()