OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:shared_prefs
(Results
1 - 12
of
12
) sorted by null
/external/chromium-trace/catapult/devil/devil/android/sdk/
shared_prefs_test.py
7
Unit tests for the contents of
shared_prefs
.py (mostly SharedPrefs).
15
from devil.android.sdk import
shared_prefs
namespace
45
'/data/data/com.some.package/
shared_prefs
/prefs.xml':
57
prefs =
shared_prefs
.SharedPrefs(
71
prefs =
shared_prefs
.SharedPrefs(
81
prefs =
shared_prefs
.SharedPrefs(
90
prefs =
shared_prefs
.SharedPrefs(
100
prefs =
shared_prefs
.SharedPrefs(
117
prefs =
shared_prefs
.SharedPrefs(
128
with
shared_prefs
.SharedPrefs
[
all
...]
shared_prefs.py
180
prefs =
shared_prefs
.SharedPrefs(device, 'com.my.app', 'my_prefs.xml')
200
self._path = '/data/data/%s/
shared_prefs
/%s' % (package, filename)
/frameworks/base/tests/backup/
test_restore.sh
55
echo --- Previous
shared_prefs
56
a shell "ls -l /data/data/com.android.backuptest/
shared_prefs
"
57
a shell "rm /data/data/com.android.backuptest/
shared_prefs
/*"
58
echo --- Erased files and
shared_prefs
60
a shell "ls -l /data/data/com.android.backuptest/
shared_prefs
"
86
check_file
shared_prefs
/raw.xml '<map><int name="pref" value="1" /></map>' || need_bug=1
102
echo --- Restored
shared_prefs
103
a shell "ls -l /data/data/com.android.backuptest/
shared_prefs
"
test_backup.sh
50
mkdir /data/data/com.android.backuptest/
shared_prefs
; \
52
> /data/data/com.android.backuptest/
shared_prefs
/raw.xml ; \
/device/sample/apps/LeanbackWidget/src/com/google/android/leanbacklauncher/partnerwidget/
ClockWidgetProvider.java
15
private static final String
SHARED_PREFS
= "widget-prefs";
86
context.getSharedPreferences(
SHARED_PREFS
, Context.MODE_PRIVATE).edit()
91
return context.getSharedPreferences(
SHARED_PREFS
, Context.MODE_PRIVATE).getBoolean(
/packages/apps/Nfc/src/com/android/nfc/
NfcBackupAgent.java
24
static final String SHARED_PREFS_BACKUP_KEY = "
shared_prefs
";
/frameworks/base/tests/backup/src/com/android/backuptest/
BackupTestAgent.java
29
addHelper("
shared_prefs
", new SharedPreferencesBackupHelper(this, "settings", "raw"));
/frameworks/native/cmds/installd/tests/
installd_utils_test.cpp
387
EXPECT_EQ(0, create_move_path(path, "com.android.test", "
shared_prefs
", 0))
390
EXPECT_STREQ("/data/data/com.android.test/
shared_prefs
", path)
397
EXPECT_EQ(-1, create_move_path(path, REALLY_LONG_APP_NAME, "
shared_prefs
", 0))
/cts/tests/tests/content/src/android/content/cts/
SharedPreferencesTest.java
57
"
shared_prefs
/android.content.cts_preferences.xml");
/hardware/intel/common/utils/ISV/profile/
isv_profile.cpp
357
snprintf(path, 80, "/data/user/%d/com.intel.vpp/
shared_prefs
/vpp_settings.xml", userId);
/frameworks/base/core/java/com/android/internal/app/
ChooserActivity.java
271
"
shared_prefs
"),
[
all
...]
/frameworks/base/core/java/android/app/
ContextImpl.java
475
mPreferencesDir = new File(getDataDir(), "
shared_prefs
");
[
all
...]
Completed in 1008 milliseconds