HomeSort by relevance Sort by last modified time
    Searched refs:keyPrefix (Results 1 - 25 of 62) sorted by null

1 2 3

  /external/libbackup/src/com/google/android/libraries/backup/shadow/
BackupHelperSimulator.java 14 protected final String keyPrefix;
16 public BackupHelperSimulator(String keyPrefix) {
17 this.keyPrefix = Preconditions.checkNotNull(keyPrefix);
SharedPreferencesBackupHelperSimulator.java 30 private SharedPreferencesBackupHelperSimulator(String keyPrefix, Set<String> prefGroups) {
31 super(keyPrefix);
36 String keyPrefix, Set<String> prefGroups) {
37 return new SharedPreferencesBackupHelperSimulator(keyPrefix, prefGroups);
41 String keyPrefix, SharedPreferencesBackupHelper helper) {
43 keyPrefix, extractPreferenceGroupsFromHelper(helper));
89 Log.w(TAG, "Shared prefs \"" + prefGroup + "\" are empty. The helper \"" + keyPrefix
111 + keyPrefix + "\": " + data.getClass());
125 + keyPrefix + "\" because the corresponding file is missing in the restored data.");
128 + keyPrefix + "\" because the corresponding file is empty in the restored data.")
    [all...]
FileBackupHelperSimulator.java 30 private FileBackupHelperSimulator(String keyPrefix, Set<String> fileNames) {
31 super(keyPrefix);
35 public static FileBackupHelperSimulator fromFileNames(String keyPrefix, Set<String> fileNames) {
36 return new FileBackupHelperSimulator(keyPrefix, fileNames);
39 public static FileBackupHelperSimulator fromHelper(String keyPrefix, FileBackupHelper helper) {
40 return new FileBackupHelperSimulator(keyPrefix, extractFileNamesFromHelper(helper));
129 Log.w(TAG, "File \"" + fileName + "\" not found by helper \"" + keyPrefix + "\".");
141 + keyPrefix + "\": " + data.getClass());
149 Log.w(TAG, "File \"" + fileName + "\" ignored by helper \"" + keyPrefix + "\".");
BackupAgentHelperShadow.java 135 public void addHelper(String keyPrefix, BackupHelper helper) {
140 keyPrefix, (SharedPreferencesBackupHelper) helper);
142 simulator = FileBackupHelperSimulator.fromHelper(keyPrefix, (FileBackupHelper) helper);
145 "Unknown backup helper class for key prefix \"" + keyPrefix + "\": " + helperClass);
147 helperSimulators.put(keyPrefix, simulator);
156 String keyPrefix = simulatorEntry.getKey();
158 backupDataMapBuilder.put(keyPrefix, simulator.backup(realHelper));
171 String keyPrefix = simulatorEntry.getKey();
172 Object dataToRestore = backupDataMap.get(keyPrefix);
174 Log.w(TAG, "No data to restore for key prefix: \"" + keyPrefix + "\".")
    [all...]
  /frameworks/base/core/java/android/app/backup/
BackupAgentHelper.java 88 * @param keyPrefix A string used to disambiguate the various helpers within this agent
92 public void addHelper(String keyPrefix, BackupHelper helper) {
93 mDispatcher.addHelper(keyPrefix, helper);
BackupHelperDispatcher.java 33 String keyPrefix;
41 public void addHelper(String keyPrefix, BackupHelper helper) {
42 mHelpers.put(keyPrefix, helper);
58 BackupHelper helper = helpers.get(header.keyPrefix);
59 Log.d(TAG, "handling existing helper '" + header.keyPrefix + "' " + helper);
62 helpers.remove(header.keyPrefix);
72 header.keyPrefix = entry.getKey();
73 Log.d(TAG, "handling new helper '" + header.keyPrefix + "'");
91 data.setKeyPrefix(header.keyPrefix);
BackupDataOutput.java 154 public void setKeyPrefix(String keyPrefix) {
155 setKeyPrefix_native(mBackupWriter, keyPrefix);
173 private native static void setKeyPrefix_native(long mBackupWriter, String keyPrefix);
  /external/vogar/src/vogar/
Md5Cache.java 31 private final String keyPrefix;
35 * Creates a new cache accessor. There's only one directory on disk, so 'keyPrefix' is really
38 public Md5Cache(Log log, String keyPrefix, FileCache fileCache) {
40 this.keyPrefix = keyPrefix;
106 String key = keyPrefix;
122 return keyPrefix + "-" + md5(file);
134 return keyPrefix + "-" + md5(sb.toString());
  /external/python/cpython2/PC/
import_nt.c 24 const char keyPrefix[] = "Software\\Python\\PythonCore\\";
43 size_t bufSize = sizeof(keyPrefix)-1 +
getpathp.c 232 static const TCHAR keyPrefix[] = _T("Software\\Python\\PythonCore\\");
243 keyBuf = keyBufPtr = malloc(sizeof(keyPrefix) +
248 memcpy(keyBufPtr, keyPrefix, sizeof(keyPrefix)-sizeof(TCHAR));
249 keyBufPtr += sizeof(keyPrefix)/sizeof(TCHAR) - 1;
  /frameworks/base/core/jni/
android_backup_BackupDataOutput.cpp 91 String8 keyPrefix(keyPrefixUTF ? keyPrefixUTF : "");
93 writer->SetKeyPrefix(keyPrefix);
android_backup_BackupHelperDispatcher.cpp 49 String8 keyPrefix;
103 buf = keyPrefix.lockBuffer(flattenedHeader.nameLength);
112 keyPrefix.unlockBuffer(flattenedHeader.nameLength);
121 env->SetObjectField(headerObj, s_keyPrefixField, env->NewStringUTF(keyPrefix.string()));
233 s_keyPrefixField = GetFieldIDOrDie(env, clazz, "keyPrefix", "Ljava/lang/String;");
  /external/python/cpython2/PC/os2vacpp/
getpathp.c 157 const char keyPrefix[] = "Software\\Python\\PythonCore\\";
166 keyBuf = alloca(sizeof(keyPrefix)-1 + versionLen + sizeof(keySuffix)); // chars only, plus 1 NULL.
168 memcpy(keyBuf, keyPrefix, sizeof(keyPrefix)-1);
169 memcpy(keyBuf+sizeof(keyPrefix)-1, PyWin_DLLVersionString, versionLen);
170 memcpy(keyBuf+sizeof(keyPrefix)-1+versionLen, keySuffix, sizeof(keySuffix)); // NULL comes with this one!
  /external/guava/guava-tests/test/com/google/common/cache/
CacheExpirationTest.java 400 FakeTicker ticker, String keyPrefix, long ttl) {
406 assertEquals(Integer.valueOf(i + shift1), cache.getUnchecked(keyPrefix + i));
421 cache.invalidate(keyPrefix + i);
422 assertEquals("key: " + keyPrefix + i,
423 Integer.valueOf(i + shift2), cache.getUnchecked(keyPrefix + i));
437 assertEquals(Integer.valueOf(i + shift2), cache.getUnchecked(keyPrefix + i));
451 String keyPrefix = KEY_PREFIX;
465 public void setKeyPrefix(String keyPrefix) {
466 this.keyPrefix = keyPrefix;
    [all...]
  /frameworks/multidex/library/src/androidx/multidex/
MultiDexExtractor.java 319 private static void putStoredApkInfo(Context context, String keyPrefix, long timeStamp,
323 edit.putLong(keyPrefix + KEY_TIME_STAMP, timeStamp);
324 edit.putLong(keyPrefix + KEY_CRC, crc);
325 edit.putInt(keyPrefix + KEY_DEX_NUMBER, extractedDexes.size() + 1);
329 edit.putLong(keyPrefix + KEY_DEX_CRC + extractedDexId, dex.crc);
330 edit.putLong(keyPrefix + KEY_DEX_TIME + extractedDexId, dex.lastModified());
  /frameworks/base/libs/androidfw/include/androidfw/
BackupHelpers.h 85 void SetKeyPrefix(const String8& keyPrefix);
  /frameworks/base/libs/androidfw/
BackupData.cpp 171 BackupDataWriter::SetKeyPrefix(const String8& keyPrefix)
173 m_keyPrefix = keyPrefix;
  /external/python/cpython3/PC/
getpathp.c 303 static const WCHAR keyPrefix[] = L"Software\\Python\\PythonCore\\";
314 keyBufLen = sizeof(keyPrefix) +
320 memcpy_s(keyBufPtr, keyBufLen, keyPrefix, sizeof(keyPrefix)-sizeof(WCHAR));
321 keyBufPtr += Py_ARRAY_LENGTH(keyPrefix) - 1;
  /frameworks/base/services/tests/servicestests/src/com/android/server/pm/
SuspendPackagesTest.java 208 private PersistableBundle getExtras(String keyPrefix, long lval, String sval, double dval) {
210 extras.putLong(keyPrefix + ".LONG_VALUE", lval);
211 extras.putDouble(keyPrefix + ".DOUBLE_VALUE", dval);
212 extras.putString(keyPrefix + ".STRING_VALUE", sval);
  /tools/tradefederation/contrib/src/com/android/media/tests/
VideoMultimeterTest.java 273 Map<String, String> metrics, String keyprefix, float fps, boolean lipsync) {
281 CLog.i("== Video Multimeter Result '%s' ==", keyprefix);
285 metrics.put(keyprefix + "frame_captured", nrOfDataPointsStr);
289 Assert.assertTrue("Multimeter did not collect any data for " + keyprefix,
298 keyprefix, LogDataType.TEXT, new ByteArrayInputStreamSource(allData.getBytes()));
301 return parseResult(metrics, nrOfDataPoints, allData, keyprefix, fps, lipsync);
323 String keyPrefix = videoInfo[1].trim();
327 metrics = getResult(listener, metrics, keyPrefix, fps, true);
362 long frameCaptured, String result, String keyprefix, float fps,
393 metrics.put(keyprefix + "frame_captured", String.valueOf(frameCount))
    [all...]
  /prebuilts/tools/common/m2/repository/org/jsoup/jsoup/1.6.3/
jsoup-1.6.3.jar 
  /prebuilts/tools/common/m2/repository/org/jsoup/jsoup/1.7.3/
jsoup-1.7.3.jar 
  /prebuilts/tools/common/m2/repository/com/squareup/picasso/picasso/2.5.2/
picasso-2.5.2.jar 
  /prebuilts/tools/common/m2/repository/org/eclipse/aether/aether-impl/1.0.2.v20150114/
aether-impl-1.0.2.v20150114.jar 
  /prebuilts/tools/common/m2/repository/com/amazonaws/aws-java-sdk-s3/1.11.18/
aws-java-sdk-s3-1.11.18.jar 

Completed in 1761 milliseconds

1 2 3