Home
last modified time | relevance | path

Searched refs:getKey (Results 1 – 25 of 215) sorted by relevance

123456789

/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DRegisteredAidCache.java161 boolean isPrefix = isPrefix(entry.getKey()); in resolveAid()
162 String entryAid = isPrefix ? entry.getKey().substring(0, in resolveAid()
163 entry.getKey().length() - 1) : entry.getKey(); // Cut off '*' if prefix in resolveAid()
165 if (DBG) Log.d(TAG, "resolveAid: AID " + entry.getKey() + " matches."); in resolveAid()
426 if (!entry.getKey().equalsIgnoreCase(prefixAid)) { in findConflictsForPrefixLocked()
428 Log.d(TAG, "AID " + entry.getKey() + " conflicts with prefix; " + in findConflictsForPrefixLocked()
431 prefixConflicts.aids.add(entry.getKey()); in findConflictsForPrefixLocked()
483 if (!entry.getKey().equalsIgnoreCase(aidToResolve)) { in generateAidCacheLocked()
485 Log.d(TAG, "AID " + entry.getKey() + " shared with prefix; " + in generateAidCacheLocked()
494 mAidCache.put(entry.getKey(),childResolveInfo); in generateAidCacheLocked()
[all …]
/packages/experimental/NotificationListenerSample/src/com/android/example/notificationlistener/
DListener.java83 mRankingMap.getRanking(lhs.getKey(), mLhsRanking);
84 mRankingMap.getRanking(rhs.getKey(), mRhsRanking);
115 Log.i(TAG, "notify: " + delta.mSbn.getKey());
117 boolean exists = mRankingMap.getRanking(delta.mSbn.getKey(), mTmpRanking);
130 .putExtra(EXTRA_KEY, delta.mSbn.getKey()));
134 Log.i(TAG, "remove: " + delta.mSbn.getKey());
136 boolean exists = mRankingMap.getRanking(delta.mSbn.getKey(), mTmpRanking);
174 Log.d(TAG, "failed to send intent for " + sbn.getKey(), e);
190 Log.d(TAG, "failed to send intent for " + sbn.getKey(), e);
DNotificationListenerActivity.java124 Log.d(TAG, " on " + sbn.getKey()); in dismiss()
127 .putExtra(Listener.EXTRA_KEY, sbn.getKey())); in dismiss()
136 Log.d(TAG, " on " + sbn.getKey()); in launch()
139 .putExtra(Listener.EXTRA_KEY, sbn.getKey())); in launch()
188 final String key = sbn.getKey(); in getItemId()
209 if (sbn.getKey().equals(mUpdateKey)) { in getView()
215 mRecycledViews.put(old.getKey(), content); in getView()
218 child = mRecycledViews.get(sbn.getKey()); in getView()
235 mKeys.add(mNotifications.get(i).getKey()); in update()
/packages/apps/Browser/src/com/android/browser/
DBrowserYesNoPreference.java39 if (PreferenceKeys.PREF_PRIVACY_CLEAR_CACHE.equals(getKey())) { in onDialogClosed()
42 } else if (PreferenceKeys.PREF_PRIVACY_CLEAR_COOKIES.equals(getKey())) { in onDialogClosed()
44 } else if (PreferenceKeys.PREF_PRIVACY_CLEAR_HISTORY.equals(getKey())) { in onDialogClosed()
46 } else if (PreferenceKeys.PREF_PRIVACY_CLEAR_FORM_DATA.equals(getKey())) { in onDialogClosed()
48 } else if (PreferenceKeys.PREF_PRIVACY_CLEAR_PASSWORDS.equals(getKey())) { in onDialogClosed()
51 getKey())) { in onDialogClosed()
55 getKey())) { in onDialogClosed()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DSecurityActivity.java83 if (ACTION_RESTRICTED_PROFILE.equals(action.getKey())) { in onActionClicked()
86 } else if (ACTION_SECURITY_UNKNOWN_SOURCES.equals(action.getKey())) { in onActionClicked()
112 } else if (ACTION_SECURITY_UNKNOWN_SOURCES_OFF.equals(action.getKey())) { in onActionClicked()
116 } else if (ACTION_SECURITY_UNKNOWN_SOURCES_CONFIRM.equals(action.getKey())) { in onActionClicked()
139 } else if (ACTION_SECURITY_UNKNOWN_SOURCES_CONFIRM_OK.equals(action.getKey())) { in onActionClicked()
144 } else if (ACTION_SECURITY_UNKNOWN_SOURCES_CONFIRM_CANCEL.equals(action.getKey())) { in onActionClicked()
147 } else if (ACTION_SECURITY_VERIFY_APPS.equals(action.getKey())) { in onActionClicked()
171 } else if (ACTION_SECURITY_VERIFY_APPS_ON.equals(action.getKey())) { in onActionClicked()
175 } else if (ACTION_SECURITY_VERIFY_APPS_OFF.equals(action.getKey())) { in onActionClicked()
DCaptionSetupActivity.java298 action.setChecked(action.getKey().equals(mTextSize)); in refreshActionList()
304 action.setChecked(action.getKey().equals(mStyle)); in refreshActionList()
326 action.setChecked(action.getKey().equals(mLanguage)); in refreshActionList()
332 action.setChecked(action.getKey().equals(mFontFamily)); in refreshActionList()
341 action.setChecked(action.getKey().equals(mTextOpacity)); in refreshActionList()
347 action.setChecked(action.getKey().equals(mEdgeType)); in refreshActionList()
359 action.setChecked(action.getKey().equals(mBackgroundOpacity)); in refreshActionList()
381 action.setChecked(action.getKey().equals(mWindowOpacity)); in refreshActionList()
396 final String key = action.getKey(); in onActionFocused()
480 final String key = action.getKey(); in onActionClicked()
[all …]
/packages/apps/Camera2/src/com/android/camera/settings/
DCameraSettingsActivity.java237 intent.putExtra(PREF_SCREEN_EXTRA, preferenceScreen.getKey()); in setPreferenceScreenIntent()
265 if (key.equals(parent.getKey())) { in findByKey()
369 if (listPreference.getKey().equals(Keys.KEY_PICTURE_SIZE_BACK)) { in setEntries()
371 } else if (listPreference.getKey().equals(Keys.KEY_PICTURE_SIZE_FRONT)) { in setEntries()
373 } else if (listPreference.getKey().equals(Keys.KEY_VIDEO_QUALITY_BACK)) { in setEntries()
375 } else if (listPreference.getKey().equals(Keys.KEY_VIDEO_QUALITY_FRONT)) { in setEntries()
390 if (listPreference.getKey().equals(Keys.KEY_PICTURE_SIZE_BACK)) { in setSummary()
393 } else if (listPreference.getKey().equals(Keys.KEY_PICTURE_SIZE_FRONT)) { in setSummary()
396 } else if (listPreference.getKey().equals(Keys.KEY_VIDEO_QUALITY_BACK)) { in setSummary()
398 } else if (listPreference.getKey().equals(Keys.KEY_VIDEO_QUALITY_FRONT)) { in setSummary()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/privacy/
DPrivacyActivity.java118 ActionType.class, ActionBehavior.class, action.getKey()); in onActionClicked()
191 ActionBehavior.INIT).getKey()) in getFactoryResetActions()
196 ActionBehavior.CANCEL).getKey()) in getFactoryResetActions()
206 ActionBehavior.OK).getKey()) in getFactoryResetConfirmActions()
211 ActionBehavior.CANCEL).getKey()) in getFactoryResetConfirmActions()
225 ActionType.BACKUP_DATA, ActionBehavior.ON).getKey(), in onBackupData()
229 ActionType.BACKUP_DATA, ActionBehavior.OFF).getKey(), in onBackupData()
285 ActionType.AUTOMATIC_RESTORE, ActionBehavior.ON).getKey(), getResources(), in onAutomaticRestore()
288 ActionType.AUTOMATIC_RESTORE, ActionBehavior.OFF).getKey(), getResources(), in onAutomaticRestore()
/packages/apps/Settings/src/com/android/settings/
DApnPreference.java65 boolean isChecked = getKey().equals(mSelectedKey); in getView()
68 mSelectedKey = getKey(); in getView()
89 return getKey().equals(mSelectedKey); in isChecked()
93 mSelectedKey = getKey(); in setChecked()
97 Log.i(TAG, "ID: " + getKey() + " :" + isChecked); in onCheckedChanged()
107 mSelectedKey = getKey(); in onCheckedChanged()
119 int pos = Integer.parseInt(getKey()); in onClick()
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/
DApnPreference.java72 boolean isChecked = getKey().equals(mSelectedKey); in getView()
75 mSelectedKey = getKey(); in getView()
103 return getKey().equals(mSelectedKey); in isChecked()
107 mSelectedKey = getKey(); in setChecked()
115 Log.i(TAG, "ID: " + getKey() + " :" + isChecked); in onCheckedChanged()
125 mSelectedKey = getKey(); in onCheckedChanged()
139 UIIntents.get().getApnEditorIntent(context, getKey(), mSubId)); in onClick()
/packages/apps/Settings/src/com/android/settings/users/
DAppRestrictionsFragment.java331 String packageName = entry.getKey(); in applyUserAppsStates()
772 if (prefKey.equals(pref.getKey())) { in updateAllEntries()
787 final String packageName = pref.getKey().substring(PKG_PREFIX.length()); in onClick()
805 updateAllEntries(pref.getKey(), pref.isChecked()); in onClick()
812 String key = preference.getKey(); in onPreferenceChange()
822 if (entry.getKey().equals(restrictionKey)) { in onPreferenceChange()
863 if (preference.getKey().startsWith(PKG_PREFIX)) { in onAppSettingsIconClicked()
867 String packageName = preference.getKey().substring(PKG_PREFIX.length()); in onAppSettingsIconClicked()
1001 p.setKey(preference.getKey().substring(PKG_PREFIX.length()) + DELIMITER in onRestrictionsReceived()
1002 + entry.getKey()); in onRestrictionsReceived()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DRestrictedProfileDialogFragment.java199 if (ACTION_RESTRICTED_PROFILE_SWITCH_TO.equals(action.getKey())) { in onActionClicked()
202 } else if (ACTION_RESTRICTED_PROFILE_SWITCH_OUT.equals(action.getKey())) { in onActionClicked()
213 } else if (ACTION_RESTRICTED_PROFILE_CHANGE_PASSWORD.equals(action.getKey())) { in onActionClicked()
224 } else if (ACTION_RESTRICTED_PROFILE_CONFIG.equals(action.getKey())) { in onActionClicked()
232 } else if (ACTION_RESTRICTED_PROFILE_CONFIG_APPS.equals(action.getKey())) { in onActionClicked()
236 } else if (ACTION_RESTRICTED_PROFILE_DELETE.equals(action.getKey())) { in onActionClicked()
247 } else if (ACTION_RESTRICTED_PROFILE_DELETE_CONFIRM.equals(action.getKey())) { in onActionClicked()
252 } else if (ACTION_RESTRICTED_PROFILE_DELETE_CANCEL.equals(action.getKey())) { in onActionClicked()
255 } else if (ACTION_RESTRICTED_PROFILE_CREATE.equals(action.getKey())) { in onActionClicked()
DAppRestrictionsManager.java125 if (ACTION_CUSTOM_CONFIGURATION.equals(action.getKey())) { in onActionClicked()
127 } else if (ACTION_CHANGE_RESTRICTION.equals(action.getKey())) { in onActionClicked()
211 } else if (ACTION_TRUE.equals(action.getKey())) { in onActionClicked()
214 } else if (ACTION_FALSE.equals(action.getKey())) { in onActionClicked()
217 } else if (ACTION_CHOICE.equals(action.getKey())) { in onActionClicked()
220 } else if (ACTION_MULTI_CHOICE.equals(action.getKey())) { in onActionClicked()
259 if (entry.getKey().equals(key)) { in findRestriction()
299 Intent data = new Intent().putExtra(EXTRA_RESTRICTION_KEY, entry.getKey()); in getRestrictionActions()
DRestrictionUtils.java75 userRestrictions.putBoolean(entry.getKey(), !entry.getSelectedState()); in setRestrictions()
76 if (entry.getKey().equals(UserManager.DISALLOW_SHARE_LOCATION) in setRestrictions()
89 bundle.putBoolean(entry.getKey(), entry.getSelectedState()); in restrictionsToBundle()
91 bundle.putStringArray(entry.getKey(), entry.getAllSelectedStrings()); in restrictionsToBundle()
93 bundle.putString(entry.getKey(), entry.getSelectedString()); in restrictionsToBundle()
/packages/services/Telephony/src/com/android/phone/settings/
DVoicemailSettingsActivity.java318 } else if (preference.getKey().equals(mVoicemailSettings.getKey())) { in onPreferenceTreeClick()
385 } else if (preference.getKey().equals(mVoicemailNotificationVibrate.getKey())) { in onPreferenceChange()
391 } else if (preference.getKey().equals(mVoicemailVisualVoicemail.getKey())) { in onPreferenceChange()
467 final String victim = mVoicemailProviders.getKey(); in onActivityResult()
499 saveVoiceMailAndForwardingNumber(mVoicemailProviders.getKey(), in onActivityResult()
578 saveVoiceMailAndForwardingNumber(mVoicemailProviders.getKey(), newSettings); in onDialogClosed()
1063 if (DBG) log("handleVmAndFwdSetSuccess: key is " + mVoicemailProviders.getKey()); in handleVmAndFwdSetSuccess()
1065 mPreviousVMProviderKey = mVoicemailProviders.getKey(); in handleVmAndFwdSetSuccess()
/packages/apps/Camera/src/com/android/camera/
DCameraSettings.java203 removePreference(group, focusMode.getKey()); in initPreference()
217 removePreference(group, timeLapseInterval.getKey()); in initPreference()
230 removePreference(group, cameraHdr.getKey()); in initPreference()
239 removePreference(group, exposure.getKey()); in buildExposureCompensation()
269 removePreference(group, preference.getKey()); in buildCameraId()
289 ((ListPreference) child).getKey().equals(key)) { in removePreference()
303 removePreference(group, pref.getKey()); in filterUnsupportedOptions()
309 removePreference(group, pref.getKey()); in filterUnsupportedOptions()
320 removePreference(group, pref.getKey()); in filterSimilarPictureSize()
/packages/apps/DeskClock/src/com/android/deskclock/
DSettingsActivity.java123 if (KEY_AUTO_SILENCE.equals(pref.getKey())) { in onPreferenceChange()
127 } else if (KEY_CLOCK_STYLE.equals(pref.getKey())) { in onPreferenceChange()
131 } else if (KEY_HOME_TZ.equals(pref.getKey())) { in onPreferenceChange()
136 } else if (KEY_AUTO_HOME_CLOCK.equals(pref.getKey())) { in onPreferenceChange()
141 } else if (KEY_VOLUME_BUTTONS.equals(pref.getKey())) { in onPreferenceChange()
145 } else if (KEY_WEEK_START.equals(pref.getKey())) { in onPreferenceChange()
162 if (KEY_ALARM_VOLUME.equals(pref.getKey())) { in onPreferenceClick()
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DMediaResourceManager.java148 mediaRequest.getKey(), e); in requestMediaResourceSync()
194 final T mediaResource = mediaCache.fetchResourceFromCache(mediaRequest.getKey()); in loadMediaFromCache()
273 mediaRequest.getKey(), mException); in scheduleAsyncMediaRequest()
281 LogUtil.sanitizePII(mediaRequest.getKey()) /* key with phone# */); in scheduleAsyncMediaRequest()
296 mediaCache.addResourceToCache(mediaRequest.getKey(), mediaResource); in addResourceToMemoryCache()
299 LogUtil.sanitizePII(mediaRequest.getKey()) /* key can contain phone# */); in addResourceToMemoryCache()
DImageRequest.java63 public String getKey() { in getKey() method in ImageRequest
64 return mDescriptor.getKey(); in getKey()
114 GifImageResource.createGifImageResource(getKey(), getInputStreamForResource()); in loadMediaInternal()
124 return new DecodedImageResource(getKey(), loadedBitmap, mOrientation); in loadMediaInternal()
231 return new DecodedImageResource(getKey(), targetBitmap, in postProcessOnBitmapResourceLoaded()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DActionType.java80 .key(getKey(this, ActionBehavior.INIT)) in toAction()
88 .key(getKey(this, ActionBehavior.INIT)) in toInfo()
101 .key(getKey(this, ActionBehavior.INIT)) in toAction()
107 private String getKey(ActionType t, ActionBehavior b) { in getKey() method in ActionType
108 return new ActionKey<ActionType, ActionBehavior>(t, b).getKey(); in getKey()
/packages/apps/Browser/src/com/android/browser/preferences/
DAdvancedPreferencesFragment.java115 if (pref.getKey().equals(PreferenceKeys.PREF_DEFAULT_ZOOM)) { in onPreferenceChange()
118 } else if (pref.getKey().equals(PreferenceKeys.PREF_DEFAULT_TEXT_ENCODING)) { in onPreferenceChange()
121 } else if (pref.getKey().equals(PreferenceKeys.PREF_RESET_DEFAULT_PREFERENCES)) { in onPreferenceChange()
128 } else if (pref.getKey().equals(PreferenceKeys.PREF_PLUGIN_STATE) in onPreferenceChange()
129 || pref.getKey().equals(PreferenceKeys.PREF_SEARCH_ENGINE)) { in onPreferenceChange()
/packages/apps/Messaging/src/com/android/messaging/util/exif/
DExifParser.java300 offsetSize = mCorrespondingEvent.firstEntry().getKey() - in next()
317 skipTo(entry.getKey()); in next()
319 Log.w(TAG, "Failed to skip to data at: " + entry.getKey() + in next()
326 mIfdStartOffset = entry.getKey(); in next()
654 if (mCorrespondingEvent.firstEntry().getKey() < mTiffStream.getReadByteCount() in readFullTagValue()
661 Log.w(TAG, "Invalid thumbnail offset: " + entry.getKey()); in readFullTagValue()
672 size = mCorrespondingEvent.firstEntry().getKey() in readFullTagValue()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DExifParser.java299 offsetSize = mCorrespondingEvent.firstEntry().getKey() - in next()
316 skipTo(entry.getKey()); in next()
318 Log.w(TAG, "Failed to skip to data at: " + entry.getKey() + in next()
325 mIfdStartOffset = entry.getKey(); in next()
652 if (mCorrespondingEvent.firstEntry().getKey() < mTiffStream.getReadByteCount() in readFullTagValue()
659 Log.w(TAG, "Invalid thumbnail offset: " + entry.getKey()); in readFullTagValue()
670 size = mCorrespondingEvent.firstEntry().getKey() in readFullTagValue()
/packages/apps/Camera2/src/com/android/camera/exif/
DExifParser.java299 offsetSize = mCorrespondingEvent.firstEntry().getKey() - in next()
316 skipTo(entry.getKey()); in next()
318 Log.w(TAG, "Failed to skip to data at: " + entry.getKey() + in next()
325 mIfdStartOffset = entry.getKey(); in next()
652 if (mCorrespondingEvent.firstEntry().getKey() < mTiffStream.getReadByteCount() in readFullTagValue()
659 Log.w(TAG, "Invalid thumbnail offset: " + entry.getKey()); in readFullTagValue()
670 size = mCorrespondingEvent.firstEntry().getKey() in readFullTagValue()
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/
DExifParser.java299 offsetSize = mCorrespondingEvent.firstEntry().getKey() - in next()
316 skipTo(entry.getKey()); in next()
318 Log.w(TAG, "Failed to skip to data at: " + entry.getKey() + in next()
325 mIfdStartOffset = entry.getKey(); in next()
652 if (mCorrespondingEvent.firstEntry().getKey() < mTiffStream.getReadByteCount() in readFullTagValue()
659 Log.w(TAG, "Invalid thumbnail offset: " + entry.getKey()); in readFullTagValue()
670 size = mCorrespondingEvent.firstEntry().getKey() in readFullTagValue()

123456789