Home | History | Annotate | Download | only in launcher3

Lines Matching defs:in

5  * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
181 * <P>Keys may come back in any order, so each key/value is one complete row of the database.
192 Journal in = readJournal(oldState);
195 writeJournal(newState, in);
198 Log.v(TAG, "lastBackupTime = " + in.t);
200 applyJournal(in);
203 // was going on, do not get missed in next backup.
212 // Delete any key which still exist in the old backup, but is not valid anymore.
219 // Delete anything left in the existing keys.
229 // 1) Storing it in newState allows us to do partial backups by comparing old state
230 // 2) Storing it in backup data allows us to validate keys during restore
269 * It assumes that the keys will arrive in lexical order. So if the journal was present in the
306 if (DEBUG) Log.e(TAG, "Ignoring key not present in the backup state " + backupKey);
395 // Don't backup apps in other profiles for now.
420 * <P>Keys arrive in any order, so screens and containers may not exist yet.
470 * <P>Keys arrive in any order, so children of this screen may already exist.
504 // Don't backup apps in other profiles for now.
562 * <P>Keys arrive in any order, so shortcuts that use this icon may already exist.
656 * <P>Keys arrive in any order, so widgets that use this data may already exist.
845 throw new InvalidBackupException("Widget not in screen bounds, aborting restore");
856 throw new InvalidBackupException("Item not in hotseat bounds, aborting restore");
862 throw new InvalidBackupException("Item not in desktop bounds, aborting restore");
942 * In the event of any error, just pretend we didn't have a journal,
943 * in that case, do a full backup.
1028 * In the event of any error, just pretend we didn't have a journal,
1029 * in that case, do a full backup.
1047 /** Wrap a proto in a CheckedMessage and compute the checksum. */
1101 * @return true if the launcher is in a state to support backup