Home
last modified time | relevance | path

Searched refs:entry (Results 1 – 25 of 37) sorted by relevance

12

/development/tools/winscope/src/
Dtransform_wm.js19 function transform_window(entry) { argument
22 var visible = entry.windowContainer.visible;
33 var name = renderIdentifier(entry.identifier)
34 var rect = transform_rect((entry.windowFrames || entry).frame, name);
43 obj: entry,
47 [entry.childWindows, transform_window]
56 function transform_app_window_token(entry) { argument
58 obj: entry,
60 name: entry.name,
62 [entry.windowToken.windows, transform_window],
[all …]
Dtransform_protolog.js93 function transform_unformatted(entry) { argument
95 text: (entry.messageHash.toString() + ' - [' + entry.strParams.toString() +
96 '] [' + entry.sint64Params.toString() + '] [' + entry.doubleParams.toString() +
97 '] [' + entry.booleanParams.toString() + ']'),
98 time: nanos_to_string(entry.elapsedRealtimeNanos),
101 timestamp: entry.elapsedRealtimeNanos,
105 function transform_formatted(entry, message) { argument
107 text: format_text(message.message, entry),
108 time: nanos_to_string(entry.elapsedRealtimeNanos),
111 timestamp: entry.elapsedRealtimeNanos,
[all …]
Dtransform_transaction.js43 function transform_entry(entry) { argument
44 var transactionType = entry.increment;
46 obj: entry,
48 name: nanos_to_string(entry.timeStamp),
49 children: [[[entry[transactionType]], transform_entry_type(transactionType)]],
50 timestamp: entry.timeStamp,
Dtransform_wl.js82 function transform_wl_entry(entry) { argument
84 obj: entry,
86 name: nanos_to_string(entry.elapsedRealtimeNanos) + " - " + entry.where,
88 [[entry.state], transform_wl_outputstate],
90 timestamp: entry.elapsedRealtimeNanos,
101 [entries.entry, transform_wl_entry],
Dtransform_sf.js326 function transform_layers_entry(entry) { argument
328 obj: entry,
330 name: nanos_to_string(entry.elapsedRealtimeNanos) + " - " + entry.where,
332 [[entry.layers], transform_layers],
334 timestamp: entry.elapsedRealtimeNanos,
345 [entries.entry, transform_layers_entry],
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DDiskLruCache.java380 Entry entry = lruEntries.get(key); in readJournalLine() local
381 if (entry == null) { in readJournalLine()
382 entry = new Entry(key); in readJournalLine()
383 lruEntries.put(key, entry); in readJournalLine()
387 entry.readable = true; in readJournalLine()
388 entry.currentEditor = null; in readJournalLine()
389 entry.setLengths(copyOfRange(parts, 2, parts.length)); in readJournalLine()
391 entry.currentEditor = new Editor(entry); in readJournalLine()
406 Entry entry = i.next(); in processJournal() local
407 if (entry.currentEditor == null) { in processJournal()
[all …]
/development/samples/browseable/AppRestrictionSchema/src/com.example.android.apprestrictionschema/
DAppRestrictionSchemaFragment.java105 for (RestrictionEntry entry : entries) { in resolveRestrictions()
106 String key = entry.getKey(); in resolveRestrictions()
109 updateCanSayHello(entry, restrictions); in resolveRestrictions()
111 updateMessage(entry, restrictions); in resolveRestrictions()
113 updateNumber(entry, restrictions); in resolveRestrictions()
115 updateRank(entry, restrictions); in resolveRestrictions()
117 updateApprovals(entry, restrictions); in resolveRestrictions()
124 private void updateCanSayHello(RestrictionEntry entry, Bundle restrictions) { in updateCanSayHello() argument
127 canSayHello = entry.getSelectedState(); in updateCanSayHello()
137 private void updateMessage(RestrictionEntry entry, Bundle restrictions) { in updateMessage() argument
[all …]
/development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/
DLocationDataManager.java77 public final void addPoint(LocationEntry entry) { in addPoint() argument
79 List<LocationEntry> points = getPoints(entry.calendar); in addPoint()
81 mDbHelper.insert(entry); in addPoint()
85 points.add(entry); in addPoint()
86 mPointsMap.put(entry.day, points); in addPoint()
88 if (!points.contains(entry)) { in addPoint()
89 mDbHelper.insert(entry); in addPoint()
90 points.add(entry); in addPoint()
DPhoneMainActivity.java112 for (LocationEntry entry : entries) { in showTrack()
113 LatLng latLng = new LatLng(entry.latitude, entry.longitude); in showTrack()
/development/samples/browseable/AppRestrictions/src/com.example.android.apprestrictions/
DCustomRestrictionsFragment.java119 for (RestrictionEntry entry : mRestrictions) { in onActivityCreated()
120 if (entry.getKey().equals(GetRestrictionsReceiver.KEY_BOOLEAN)) { in onActivityCreated()
121 mBooleanPref.setChecked(entry.getSelectedState()); in onActivityCreated()
122 mBooleanEntry = entry; in onActivityCreated()
123 } else if (entry.getKey().equals(GetRestrictionsReceiver.KEY_CHOICE)) { in onActivityCreated()
124 mChoicePref.setValue(entry.getSelectedString()); in onActivityCreated()
125 mChoiceEntry = entry; in onActivityCreated()
126 } else if (entry.getKey().equals(GetRestrictionsReceiver.KEY_MULTI_SELECT)) { in onActivityCreated()
128 Collections.addAll(set, entry.getAllSelectedStrings()); in onActivityCreated()
130 mMultiEntry = entry; in onActivityCreated()
DGetRestrictionsReceiver.java57 public static void populateBooleanEntry(Resources res, RestrictionEntry entry) { in populateBooleanEntry() argument
58 entry.setType(RestrictionEntry.TYPE_BOOLEAN); in populateBooleanEntry()
59 entry.setTitle(res.getString(R.string.boolean_entry_title)); in populateBooleanEntry()
128 for (RestrictionEntry entry : newEntries) { in createRestrictions()
129 final String key = entry.getKey(); in createRestrictions()
131 entry.setSelectedState(existingRestrictions.getBoolean(KEY_BOOLEAN)); in createRestrictions()
134 entry.setSelectedString(existingRestrictions.getString(KEY_CHOICE)); in createRestrictions()
138 entry.setAllSelectedStrings(existingRestrictions.getStringArray(key)); in createRestrictions()
/development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/db/
DLocationDbHelper.java83 public final long insert(LocationEntry entry) { in insert() argument
92 values.put(COLUMN_NAME_DAY, entry.day); in insert()
93 values.put(COLUMN_NAME_LONGITUDE, entry.longitude); in insert()
94 values.put(COLUMN_NAME_LATITUDE, entry.latitude); in insert()
95 values.put(COLUMN_NAME_TIME, entry.calendar.getTimeInMillis()); in insert()
136 LocationEntry entry = new LocationEntry(cal, cursor.getDouble(1), in read() local
138 result.add(entry); in read()
/development/host/windows/usb/api/
Dadb_interface_enum.cpp78 AdbInstanceEnumEntry& entry = *current_interface_; in Next() local
81 if ((NULL == info) || (*size < entry.GetFlatSize())) { in Next()
82 *size = entry.GetFlatSize(); in Next()
88 entry.Save(info); in Next()
/development/tools/mkstubs/src/com/android/mkstubs/
DStubGenerator.java60 for (Entry<String, ClassReader> entry : classes.entrySet()) { in generateStubbedJar()
61 ClassReader cr = entry.getValue(); in generateStubbedJar()
90 for (Entry<String, byte[]> entry : all.entrySet()) { in createJar()
91 String name = entry.getKey(); in createJar()
94 jar.write(entry.getValue()); in createJar()
DAsmAnalyzer.java49 ZipEntry entry; in parseInputJar() local
51 entry = entries.nextElement(); in parseInputJar()
52 if (entry.getName().endsWith(".class")) { in parseInputJar()
53 ClassReader cr = new ClassReader(zip.getInputStream(entry)); in parseInputJar()
DSourceGenerator.java56 for (Entry<String, ClassReader> entry : classes.entrySet()) { in generateSource()
57 ClassReader cr = entry.getValue(); in generateSource()
/development/samples/browseable/BasicAndroidKeyStore/src/com.example.android.basicandroidkeystore/
DBasicAndroidKeyStoreFragment.java234 KeyStore.Entry entry = ks.getEntry(mAlias, null); in signData() local
243 if (entry == null) { in signData()
254 if (!(entry instanceof KeyStore.PrivateKeyEntry)) { in signData()
268 s.initSign(((KeyStore.PrivateKeyEntry) entry).getPrivateKey()); in signData()
319 KeyStore.Entry entry = ks.getEntry(mAlias, null); in verifyData() local
321 if (entry == null) { in verifyData()
327 if (!(entry instanceof KeyStore.PrivateKeyEntry)) { in verifyData()
339 s.initVerify(((KeyStore.PrivateKeyEntry) entry).getCertificate()); in verifyData()
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/
DAlarmStorage.java90 for (Map.Entry<String, ?> entry : mSharedPreferences.getAll().entrySet()) { in getAlarms()
91 alarms.add(Alarm.fromJson(entry.getValue().toString())); in getAlarms()
104 for (Map.Entry<String, ?> entry : mSharedPreferences.getAll().entrySet()) { in deleteAlarm()
105 Alarm alarm = Alarm.fromJson(entry.getValue().toString()); in deleteAlarm()
/development/samples/Vault/src/com/example/android/vault/
DSecretKeyWrapper.java66 final KeyStore.PrivateKeyEntry entry = (KeyStore.PrivateKeyEntry) keyStore.getEntry( in SecretKeyWrapper() local
68 mPair = new KeyPair(entry.getCertificate().getPublicKey(), entry.getPrivateKey()); in SecretKeyWrapper()
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/provider/
DTouristAttractions.java134 for (Map.Entry<String, LatLng> entry: CITY_LOCATIONS.entrySet()) { in getClosestCity()
135 double distance = SphericalUtil.computeDistanceBetween(curLatLng, entry.getValue()); in getClosestCity()
138 closestCity = entry.getKey(); in getClosestCity()
/development/samples/browseable/DirectorySelection/src/com.example.android.directoryselection/
DDirectorySelectionFragment.java178 DirectoryEntry entry = new DirectoryEntry(); in updateDirectoryEntries() local
179 entry.fileName = childCursor.getString(0); in updateDirectoryEntries()
180 entry.mimeType = childCursor.getString(1); in updateDirectoryEntries()
181 directoryEntries.add(entry); in updateDirectoryEntries()
/development/samples/training/network-usage/src/com/example/android/networkusage/
DNetworkActivity.java250 for (Entry entry : entries) { in loadXmlFromNetwork()
252 htmlString.append(entry.link); in loadXmlFromNetwork()
253 htmlString.append("'>" + entry.title + "</a></p>"); in loadXmlFromNetwork()
257 htmlString.append(entry.summary); in loadXmlFromNetwork()
/development/samples/MultiDisplay/src/com/example/android/multidisplay/launcher/
DPinnedAppPickerDialog.java68 final AppEntry entry = mAppListAdapter.getItem(position); in onViewCreated() local
69 mAppPickerCallback.onAppPicked(entry); in onViewCreated()
/development/samples/ApiDemos/src/com/example/android/apis/security/
DKeyStoreUsage.java362 KeyStore.Entry entry = ks.getEntry(alias, null); in doInBackground() local
363 if (!(entry instanceof PrivateKeyEntry)) { in doInBackground()
368 s.initSign(((PrivateKeyEntry) entry).getPrivateKey()); in doInBackground()
433 KeyStore.Entry entry = ks.getEntry(alias, null); in doInBackground() local
434 if (!(entry instanceof PrivateKeyEntry)) { in doInBackground()
439 s.initVerify(((PrivateKeyEntry) entry).getCertificate()); in doInBackground()
/development/samples/browseable/ScopedDirectoryAccess/src/com.example.android.scopeddirectoryaccess/
DScopedDirectoryAccessFragment.java204 DirectoryEntry entry = new DirectoryEntry(); in updateDirectoryEntries() local
205 entry.fileName = childCursor.getString(childCursor.getColumnIndex( in updateDirectoryEntries()
207 entry.mimeType = childCursor.getString(childCursor.getColumnIndex( in updateDirectoryEntries()
209 mDirectoryEntries.add(entry); in updateDirectoryEntries()

12