Searched refs:entry (Results 1 - 25 of 43) sorted by relevance

12

/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
H A DDiskLruCache.java59 * entry has a string key and a fixed number of values. Values are byte
75 * <p>Clients call {@link #edit} to create or update the values of an entry. An
76 * entry may have only one editor at one time; if a value is not available to be
79 * <li>When an entry is being <strong>created</strong> it is necessary to
82 * <li>When an entry is being <strong>edited</strong>, it is not necessary
90 * <p>Clients call {@link #get} to read a snapshot of an entry. The read will
136 * cache entry. Each line contains space-separated values: a state, a key,
138 * o DIRTY lines track that an entry is actively being created or updated.
142 * o CLEAN lines track a cache entry that has been successfully published
167 * To differentiate between old and current snapshots, each entry i
775 private final Entry entry; field in class:DiskLruCache.Editor
778 Editor(Entry entry) argument
[all...]
/development/host/windows/usb/api/
H A Dadb_interface_enum.cpp78 AdbInstanceEnumEntry& entry = *current_interface_; local
81 if ((NULL == info) || (*size < entry.GetFlatSize())) {
82 *size = entry.GetFlatSize();
88 entry.Save(info);
/development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/
H A DLocationDataManager.java77 public final void addPoint(LocationEntry entry) { argument
79 List<LocationEntry> points = getPoints(entry.calendar);
81 mDbHelper.insert(entry);
85 points.add(entry);
86 mPointsMap.put(entry.day, points);
88 if (!points.contains(entry)) {
89 mDbHelper.insert(entry);
90 points.add(entry);
H A DPhoneMainActivity.java108 for (LocationEntry entry : entries) {
109 LatLng latLng = new LatLng(entry.latitude, entry.longitude);
/development/ndk/platforms/android-3/include/linux/
H A Dworkqueue.h23 struct list_head entry; member in struct:work_struct
34 #define __WORK_INITIALIZER(n, f, d) { .entry = { &(n).entry, &(n).entry }, .func = (f), .data = (d), .timer = TIMER_INITIALIZER(NULL, 0, 0), }
40 #define INIT_WORK(_work, _func, _data) do { INIT_LIST_HEAD(&(_work)->entry); (_work)->pending = 0; PREPARE_WORK((_work), (_func), (_data)); init_timer(&(_work)->timer); } while (0)
H A Dtimer.h22 struct list_head entry; member in struct:timer_list
H A Dsysdev.h38 struct list_head entry; member in struct:sysdev_driver
/development/ndk/platforms/android-L/include/linux/
H A Dflat.h27 unsigned long entry; member in struct:flat_hdr
H A Dcoff.h70 char entry[4]; member in struct:__anon807
/development/ndk/platforms/android-9/arch-x86/include/asm/
H A Ddesc_32.h64 #define write_ldt_entry(dt, entry, a, b) write_dt_entry(dt, entry, a, b)
65 #define write_gdt_entry(dt, entry, a, b) write_dt_entry(dt, entry, a, b)
66 #define write_idt_entry(dt, entry, a, b) write_dt_entry(dt, entry, a, b)
H A Dpgtable_32.h151 #define ptep_set_access_flags(vma, address, ptep, entry, dirty) ({ int __changed = !pte_same(*(ptep), entry); if (__changed && dirty) { (ptep)->pte_low = (entry).pte_low; pte_update_defer((vma)->vm_mm, (address), (ptep)); flush_tlb_page(vma, address); } __changed; })
/development/samples/browseable/AppRestrictions/src/com.example.android.apprestrictions/
H A DGetRestrictionsReceiver.java56 // Initializes a boolean type restriction entry.
57 public static void populateBooleanEntry(Resources res, RestrictionEntry entry) { argument
58 entry.setType(RestrictionEntry.TYPE_BOOLEAN);
59 entry.setTitle(res.getString(R.string.boolean_entry_title));
62 // Initializes a single choice type restriction entry.
75 // Initializes a multi-select type restriction entry.
128 for (RestrictionEntry entry : newEntries) {
129 final String key = entry.getKey();
131 entry.setSelectedState(existingRestrictions.getBoolean(KEY_BOOLEAN));
134 entry
[all...]
H A DCustomRestrictionsFragment.java118 for (RestrictionEntry entry : mRestrictions) {
119 if (entry.getKey().equals(GetRestrictionsReceiver.KEY_BOOLEAN)) {
120 mBooleanPref.setChecked(entry.getSelectedState());
121 mBooleanEntry = entry;
122 } else if (entry.getKey().equals(GetRestrictionsReceiver.KEY_CHOICE)) {
123 mChoicePref.setValue(entry.getSelectedString());
124 mChoiceEntry = entry;
125 } else if (entry.getKey().equals(GetRestrictionsReceiver.KEY_MULTI_SELECT)) {
127 for (String value : entry.getAllSelectedStrings()) {
131 mMultiEntry = entry;
[all...]
/development/tools/mkstubs/src/com/android/mkstubs/
H A DAsmAnalyzer.java49 ZipEntry entry;
51 entry = entries.nextElement();
52 if (entry.getName().endsWith(".class")) {
53 ClassReader cr = new ClassReader(zip.getInputStream(entry));
H A DStubGenerator.java60 for (Entry<String, ClassReader> entry : classes.entrySet()) {
61 ClassReader cr = entry.getValue();
74 * Utility method that converts a fully qualified java name into a JAR entry path
90 for (Entry<String, byte[]> entry : all.entrySet()) {
91 String name = entry.getKey();
94 jar.write(entry.getValue());
H A DSourceGenerator.java56 for (Entry<String, ClassReader> entry : classes.entrySet()) {
57 ClassReader cr = entry.getValue();
81 * Utility method that converts a fully qualified java name into a JAR entry path
/development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/db/
H A DLocationDbHelper.java83 public final long insert(LocationEntry entry) { argument
92 values.put(COLUMN_NAME_DAY, entry.day);
93 values.put(COLUMN_NAME_LONGITUDE, entry.longitude);
94 values.put(COLUMN_NAME_LATITUDE, entry.latitude);
95 values.put(COLUMN_NAME_TIME, entry.calendar.getTimeInMillis());
115 // sort ASC based on the time of the entry
136 LocationEntry entry = new LocationEntry(cal, cursor.getDouble(1),
138 result.add(entry);
/development/samples/Vault/src/com/example/android/vault/
H A DSecretKeyWrapper.java66 final KeyStore.PrivateKeyEntry entry = (KeyStore.PrivateKeyEntry) keyStore.getEntry(
68 mPair = new KeyPair(entry.getCertificate().getPublicKey(), entry.getPrivateKey());
/development/samples/browseable/BasicAndroidKeyStore/src/com.example.android.basicandroidkeystore/
H A DBasicAndroidKeyStoreFragment.java212 KeyStore.Entry entry = ks.getEntry(mAlias, null);
214 /* If the entry is null, keys were never stored under this alias.
221 if (entry == null) {
227 /* If entry is not a KeyStore.PrivateKeyEntry, it might have gotten stored in a previous
230 * You can determine the type using entry.getClass() and debug from there.
232 if (!(entry instanceof KeyStore.PrivateKeyEntry)) {
246 s.initSign(((KeyStore.PrivateKeyEntry) entry).getPrivateKey());
297 KeyStore.Entry entry = ks.getEntry(mAlias, null);
299 if (entry == null) {
305 if (!(entry instanceo
[all...]
/development/ndk/platforms/android-3/include/
H A Ddirent.h66 extern int readdir_r(DIR* dirp, struct dirent* entry, struct dirent** result);
/development/ndk/platforms/android-L/include/linux/netfilter/
H A Dx_tables.h114 #define xt_ematch_foreach(pos, entry) for ((pos) = (struct xt_entry_match *)entry->elems; (pos) < (struct xt_entry_match *)((char *)(entry) + (entry)->target_offset); (pos) = (struct xt_entry_match *)((char *)(pos) + (pos)->u.match_size))
/development/ndk/platforms/android-L/include/linux/netfilter_ipv6/
H A Dip6_tables.h102 struct ip6t_entry entry; member in struct:ip6t_standard
107 struct ip6t_entry entry; member in struct:ip6t_error
112 #define IP6T_STANDARD_INIT(__verdict) { .entry = IP6T_ENTRY_INIT(sizeof(struct ip6t_standard)), .target = XT_TARGET_INIT(XT_STANDARD_TARGET, sizeof(struct xt_standard_target)), .target.verdict = -(__verdict) - 1, }
114 #define IP6T_ERROR_INIT { .entry = IP6T_ENTRY_INIT(sizeof(struct ip6t_error)), .target = XT_TARGET_INIT(XT_ERROR_TARGET, sizeof(struct xt_error_target)), .target.errorname = "ERROR", }
/development/samples/training/network-usage/src/com/example/android/networkusage/
H A DNetworkActivity.java247 // This section processes the entries list to combine each entry with HTML markup.
248 // Each entry is displayed in the UI as a link that optionally includes
250 for (Entry entry : entries) {
252 htmlString.append(entry.link);
253 htmlString.append("'>" + entry.title + "</a></p>");
257 htmlString.append(entry.summary);
/development/samples/ApiDemos/src/com/example/android/apis/security/
H A DKeyStoreUsage.java99 * Button in the UI that causes a key entry to be deleted from the
115 * The alias of the selected entry in the KeyStore.
127 * us to choose from the available entry aliases.
305 * Generate a new entry in the KeyStore by using the
366 KeyStore.Entry entry = ks.getEntry(alias, null);
367 if (!(entry instanceof PrivateKeyEntry)) {
372 s.initSign(((PrivateKeyEntry) entry).getPrivateKey());
437 KeyStore.Entry entry = ks.getEntry(alias, null);
438 if (!(entry instanceof PrivateKeyEntry)) {
443 s.initVerify(((PrivateKeyEntry) entry)
[all...]
/development/samples/browseable/SpeedTracker/Wearable/src/com.example.android.wearable.speedtracker/
H A DWearableMainActivity.java297 LocationEntry entry = new LocationEntry(mCalendar, latitude, longitude);
300 putDataMapRequest.getDataMap().putDouble(Constants.KEY_LATITUDE, entry.latitude);
301 putDataMapRequest.getDataMap().putDouble(Constants.KEY_LONGITUDE, entry.longitude);
303 .putLong(Constants.KEY_TIME, entry.calendar.getTimeInMillis());

Completed in 463 milliseconds

12