Home
last modified time | relevance | path

Searched refs:mName (Results 1 – 25 of 137) sorted by relevance

123456

/packages/apps/TV/src/com/android/tv/parental/
DContentRatingSystem.java48 private final String mName; field in ContentRatingSystem
86 return mDomain + DELIMITER + mName; in getId()
90 return mName; in getName()
146 return mDomain.equals(rating.getDomain()) && mName.equals(rating.getRatingSystem()); in ownsRating()
153 return this.mName.equals(other.mName) && this.mDomain.equals(other.mDomain); in equals()
160 return 31 * mName.hashCode() + mDomain.hashCode(); in hashCode()
167 mName = name; in ContentRatingSystem()
181 private String mName; field in ContentRatingSystem.Builder
196 mName = name; in setName()
246 if (TextUtils.isEmpty(mName)) { in build()
[all …]
/packages/apps/Settings/src/com/android/settings/applications/
DProcStatsEntry.java43 final String mName; field in ProcStatsEntry
66 mName = proc.getName(); in ProcStatsEntry()
84 mName = procName; in ProcStatsEntry()
95 mName = in.readString(); in ProcStatsEntry()
128 if (DEBUG) Log.d(TAG, "Eval pkg of " + mName + ": single pkg " + mPackages.get(0)); in evaluateTargetPackage()
149 if (DEBUG) Log.d(TAG, "Eval pkg of " + mName + ", pkg " in evaluateTargetPackage()
153 + mUid + " in process " + mName); in evaluateTargetPackage()
156 ProcessState pkgProc = pkgState.mProcesses.get(mName); in evaluateTargetPackage()
158 Log.w(TAG, "No process " + mName + " found in package state " in evaluateTargetPackage()
170 if (DEBUG) Log.d(TAG, "Eval pkg of " + mName + ": best pkg " in evaluateTargetPackage()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DProfileService.java50 protected String mName; field in ProfileService
74 mName = getName(); in ProfileService()
77 Integer refCount = sReferenceCount.get(mName); in ProfileService()
83 sReferenceCount.put(mName, refCount); in ProfileService()
92 Integer refCount = sReferenceCount.get(mName); in finalize()
98 sReferenceCount.put(mName, refCount); in finalize()
123 Log.w(mName, "Stopping profile service: device does not have BT"); in onStartCommand()
129 Log.e(mName, "Permission denied!"); in onStartCommand()
134 Log.d(mName, "Restarting profile service..."); in onStartCommand()
141 Log.d(mName, "Received stop request...Stopping profile..."); in onStartCommand()
[all …]
/packages/apps/Contacts/src/com/android/contacts/model/
DSimContact.java47 private final String mName; field in SimContact
57 mName = name; in SimContact()
63 this(other.mId, other.mName, other.mPhone, other.mEmails); in SimContact()
71 return mName; in getName()
94 if (mName != null) { in appendCreateContactOperations()
96 StructuredName.DISPLAY_NAME, mName)); in appendCreateContactOperations()
121 .add(ContactsContract.Contacts.DISPLAY_NAME_PRIMARY, mName) in appendAsContactRow()
126 return !TextUtils.isEmpty(mName); in hasName()
143 if (mName != null) { in getLookupKey()
144 return "sim-n-" + Uri.encode(mName); in getLookupKey()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapAccountItem.java33 private final String mName; field in BluetoothMapAccountItem
46 this.mName = name; in BluetoothMapAccountItem()
100 if(!other.mName.equals(this.mName)){ in compareTo()
101 if(V) Log.d(TAG, "Wrong name : " + this.mName + " vs " + other.mName); in compareTo()
130 result = prime * result + ((mName == null) ? 0 : mName.hashCode()); in hashCode()
152 if (mName == null) { in equals()
153 if (other.mName != null) in equals()
155 } else if (!mName.equals(other.mName)) in equals()
177 return mName + " (" + mBase_uri + ")"; in toString()
185 return mName; in getName()
DBluetoothMapConvoContactElement.java53 private String mName = null; field in BluetoothMapConvoContactElement
76 this.mName = name; in BluetoothMapConvoContactElement()
130 return mName; in getName()
134 this.mName = name; in setName()
207 if(mName != null) { in encode()
209 BluetoothMapUtils.stripInvalidChars(mName)); in encode()
258 newElement.mName = attributeValue; in createFromXml()
322 if (mName == null) { in equals()
323 if (other.mName != null) { in equals()
326 } else if (!mName.equals(other.mName)) { in equals()
DBluetoothMapConvoListingElement.java50 private String mName = ""; //title of the conversation #REQUIRED, but allowed empty field in BluetoothMapConvoListingElement
96 return mName; in getName()
101 this.mName = name; in setName()
252 if(mName != null) { in encode()
254 BluetoothMapUtils.stripInvalidChars(mName)); in encode()
299 newElement.mName = attributeValue; in createFromXml()
368 if (mName == null) { in equals()
369 if (other.mName != null) { in equals()
372 } else if (!mName.equals(other.mName)) { in equals()
DBluetoothMapFolderElement.java40 private String mName; field in BluetoothMapFolderElement
57 this.mName = name; in BluetoothMapFolderElement()
71 return mName; in getName()
115 StringBuilder sb = new StringBuilder(mName); in getFullPath()
119 sb.insert(0, current.mName + "/"); in getFullPath()
378 int ret = mName.compareToIgnoreCase(another.mName); in compareTo()
402 if(D) Log.i(TAG, "mName: " + mName + " another.mName: " + another.mName); in compareTo()
/packages/apps/TV/src/com/android/tv/util/
DRecurringRunner.java46 private final String mName; field in RecurringRunner
55 mName = runnable.getClass().getCanonicalName(); in RecurringRunner()
56 if (DEBUG) Log.i(TAG, " Delaying " + mName + " " + (intervalMs / 1000.0) + " seconds"); in RecurringRunner()
61 SoftPreconditions.checkState(!mRunning, TAG, mName + " start is called twice."); in start()
100 if (DEBUG) Log.i(TAG, "Next run of " + mName + " at " + new Date(next)); in postAt()
106 if (DEBUG) Log.i(TAG, "Starting " + mName); in postAt()
109 Log.w(TAG, "Error running " + mName, e); in postAt()
115 Log.w(TAG, "Scheduling a future run of " + mName + " at " + new Date(next) + "failed"); in postAt()
117 if (DEBUG) Log.i(TAG, "Actual delay of " + mName + " is " + (delay / 1000.0) + " seconds."); in postAt()
129 long next = getSharedPreferences().getLong(mName, System.currentTimeMillis()); in getNextRunTime()
[all …]
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/
DPermissionGroup.java22 private final String mName; field in PermissionGroup
32 mName = name; in PermissionGroup()
40 return mName; in getName()
90 if (mName == null) { in equals()
91 if (other.mName != null) { in equals()
94 } else if (!mName.equals(other.mName)) { in equals()
111 return mName != null ? mName.hashCode() + mTotal + mGranted : mTotal + mGranted; in hashCode()
DAppPermissionGroup.java51 private final String mName; field in AppPermissionGroup
203 mName = name; in AppPermissionGroup()
268 return mName; in getName()
304 if (LocationUtils.isLocationGroupAndProvider(mName, mPackageInfo.packageName)) { in areRuntimePermissionsGranted()
633 if (mName == null) { in equals()
634 if (other.mName != null) { in equals()
637 } else if (!mName.equals(other.mName)) { in equals()
646 return mName != null ? mName.hashCode() : 0; in hashCode()
653 builder.append("{name=").append(mName); in toString()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DMockSource.java51 private final String mName; field in MockSource
58 mName = name; in MockSource()
64 getClass().getName() + "." + mName); in getIntentComponent()
93 return "MockSource " + mName; in getLabel()
105 return "Suggestions from MockSource " + mName; in getSettingsDescription()
131 Uri data = new Uri.Builder().scheme("content").authority(mName).path(query).build(); in createSuggestion()
142 return s.mName.equals(mName); in equals()
149 return mName.hashCode(); in hashCode()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DEmojiAltPhysicalKeyDetector.java46 private final String mName; field in EmojiAltPhysicalKeyDetector.EmojiHotKeys
53 mName = name; in EmojiHotKeys()
60 Log.d(TAG, "EmojiHotKeys.onKeyDown() - " + mName + " - considering " + keyEvent); in onKeyDown()
67 Log.d(TAG, "EmojiHotKeys.onKeyDown() - " + mName + " - enabling action"); in onKeyDown()
73 Log.d(TAG, "EmojiHotKeys.onKeyDown() - " + mName + " - disabling action"); in onKeyDown()
81 Log.d(TAG, "EmojiHotKeys.onKeyUp() - " + mName + " - considering " + keyEvent); in onKeyUp()
98 Log.d(TAG, "EmojiHotKeys.onKeyUp() - " + mName + " - firing action"); in onKeyUp()
105 … Log.d(TAG, "EmojiHotKeys.onKeyUp() - " + mName + " - canceled, ignoring action"); in onKeyUp()
114 Log.d(TAG, "EmojiHotKeys.onKeyUp() - " + mName + " - disabling action"); in onKeyUp()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DFilterRepresentation.java31 private String mName; field in FilterRepresentation
53 mName = name; in FilterRepresentation()
57 FilterRepresentation representation = new FilterRepresentation(mName); in copy()
81 && representation.mName.equalsIgnoreCase(mName) in equals()
108 return mName; in toString()
112 mName = name; in setName()
116 return mName; in getName()
262 mName = rep[i][1]; in deSerializeRepresentation()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSetupNamesFragment.java41 private EditText mName; field in AccountSetupNamesFragment
63 mName = UiUtilities.getView(view, R.id.account_name); in onCreateView()
65 mName.setKeyListener(TextKeyListener.getInstance(false, TextKeyListener.Capitalize.WORDS)); in onCreateView()
98 mName.setVisibility(View.GONE); in onActivityCreated()
102 mName.setText(account.getSenderName()); in onActivityCreated()
118 if (data == null || !TextUtils.isEmpty(mName.getText())) { in onActivityCreated()
127 mName.setText(name); in onActivityCreated()
142 return mName.getText().toString().trim(); in getSenderName()
/packages/apps/Contacts/src/com/android/contacts/model/account/
DAccountDisplayInfo.java32 private final CharSequence mName; field in AccountDisplayInfo
41 mName = name; in AccountDisplayInfo()
52 return mName; in getNameLabel()
76 return !TextUtils.equals(mName, mType); in hasDistinctName()
84 return withNameAndType(mName, type); in withType()
93 return new AccountDisplayInfo(mSource, context.getString(nameFormat, mName), in formatted()
98 return withName(context.getString(nameFormat, mName)); in withFormattedName()
/packages/apps/CertInstaller/src/com/android/certinstaller/
DCredentialHelper.java71 private String mName = ""; field in CredentialHelper
89 mName = name; in CredentialHelper()
107 outStates.putString(KeyChain.EXTRA_NAME, mName); in onSaveStates()
128 mName = savedStates.getString(KeyChain.EXTRA_NAME); in onRestoreStates()
251 mName = name; in setName()
255 return mName; in getName()
284 Credentials.USER_PRIVATE_KEY + mName); in createSystemInstallIntent()
290 Credentials.USER_CERTIFICATE + mName); in createSystemInstallIntent()
296 Credentials.CA_CERTIFICATE + mName); in createSystemInstallIntent()
379 if (TextUtils.isEmpty(mName)) { in extractPkcs12Internal()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DConversationCursorLoader.java39 private final String mName; field in ConversationCursorLoader
50 mName = name; in ConversationCursorLoader()
63 LogUtils.d(TAG, " >> " + loader.mName + " (" + loader.mUri + ")"); in dumpLoaders()
93 LogUtils.d(TAG, "Reset loader/disable cursor: " + mName); in onReset()
101 LogUtils.d(TAG, "Reset loader/retain cursor: " + mName); in onReset()
123 LogUtils.d(TAG, "Restarting reset loader: " + mName); in onStartLoading()
128 LogUtils.d(TAG, "Resuming retained loader: " + mName); in onStartLoading()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseDatabaseHelperUpgradeTest.java70 private final String mName; field in BaseDatabaseHelperUpgradeTest.TableStructure
73 mName = tableName; in TableStructure()
97 mName = ""; in TableStructure()
108 throw new AssertionFailedError("Table " + mName + ": Column missing: " + name); in assertHasColumn()
111 throw new AssertionFailedError("Table " + mName + ": Column " + name + " type:" in assertHasColumn()
115 throw new AssertionFailedError("Table " + mName + ": Column " + name + " notnull:" in assertHasColumn()
120 throw new AssertionFailedError("Table " + mName + ": Column " + name in assertHasColumn()
124 throw new AssertionFailedError("Table " + mName + ": Column " + name in assertHasColumn()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DFace.java26 private String mName; field in Face
31 mName = name; in Face()
33 Utils.assertTrue(mName != null && mPersonId != null && rect != null); in Face()
49 return mName; in getName()
63 return mName.compareTo(another.mName); in compareTo()
/packages/apps/Settings/src/com/android/settings/vpn2/
DAppPreference.java38 private final String mName; field in AppPreference
70 mName = label; in AppPreference()
72 setTitle(mName); in AppPreference()
86 return mName; in getLabel()
104 (result = mName.compareToIgnoreCase(another.mName)) == 0 && in compareTo()
/packages/apps/Nfc/src/com/android/nfc/handover/
DBluetoothPeripheralHandover.java92 final String mName; field in BluetoothPeripheralHandover
126 mName = name; in BluetoothPeripheralHandover()
219 Log.i(TAG, "ACTION_DISCONNECT addr=" + mDevice + " name=" + mName); in nextStepInit()
222 Log.i(TAG, "ACTION_CONNECT addr=" + mDevice + " name=" + mName); in nextStepInit()
228 Log.i(TAG, "ACTION_DISCONNECT addr=" + mDevice + " name=" + mName); in nextStepInit()
243 Log.i(TAG, "ACTION_CONNECT addr=" + mDevice + " name=" + mName); in nextStepInit()
315 return mContext.getString(resid, mName != null ? mName : R.string.device); in getToastString()
408 mDevice.setAlias(mName); in nextStepConnect()
548 dialogIntent.putExtra(BluetoothDevice.EXTRA_NAME, mName); in requestPairConfirmation()
/packages/services/Car/car-lib/src/com/android/car/internal/
DCarPermission.java31 private final String mName; field in CarPermission
36 mName = name; in CarPermission()
41 if (mName != null) { in checkGranted()
44 mContext.checkCallingOrSelfPermission(mName); in checkGranted()
55 + mName in assertGranted()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DSelectFromListWizardFragment.java112 private final String mName; field in SelectFromListWizardFragment.ListItem
119 mName = name; in ListItem()
127 mName = scanResult.SSID; in ListItem()
137 return mName; in getName()
167 return mName; in toString()
197 dest.writeString(mName); in writeToParcel()
207 return TextUtils.equals(mName, li.mName); in equals()
210 && TextUtils.equals(mName, li.mName) in equals()
/packages/apps/Email/provider_src/com/android/email/provider/
DContentCache.java105 private final String mName; field in ContentCache
412 mName = name; in ContentCache()
426 mTokenList = new TokenList(mName); in ContentCache()
735 private final String mName; field in ContentCache.Statistics
763 mName = mCache.mName; in Statistics()
768 mName = name; in Statistics()
798 sb.append("Cache " + mName); in toString()
816 LogUtils.d(cache.mName, cache.mStats.toString()); in dumpStats()
820 LogUtils.d(totals.mName, totals.toString()); in dumpStats()

123456