Home
last modified time | relevance | path

Searched refs:mClientId (Results 1 – 25 of 30) sorted by relevance

12

/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpLease.java43 private final byte[] mClientId; field in DhcpLease
59 mClientId = (clientId == null ? null : Arrays.copyOf(clientId, clientId.length)); in DhcpLease()
74 if (mClientId == null) { in getClientId()
77 return Arrays.copyOf(mClientId, mClientId.length); in getClientId()
111 return new DhcpLease(mClientId, mHwAddr, mNetAddr, mPrefixLength, in renewedLease()
122 if (mClientId != null) { in matchesClient()
123 return Arrays.equals(mClientId, clientId); in matchesClient()
135 return Arrays.equals(mClientId, other.mClientId) in equals()
145 return Objects.hash(Arrays.hashCode(mClientId), mHwAddr, mNetAddr, mPrefixLength, in hashCode()
164 clientIdToString(mClientId), mHwAddr.toString(), inet4AddrToString(mNetAddr), in toString()
[all …]
DDhcpPacket.java312 protected byte[] mClientId; field in DhcpPacket
450 return mClientId != null; in hasExplicitClientId()
468 clientId = Arrays.copyOf(mClientId, mClientId.length); in getClientId()
1387 newPacket.mClientId = clientId; in decodeFullPacket()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DActionBatch.java97 private final String mClientId; field in ActionBatch.StartDownloadAction
102 mClientId = clientId; in StartDownloadAction()
113 final SQLiteDatabase db = MetadataDbHelper.getDb(context, mClientId); in execute()
163 private final String mClientId; field in ActionBatch.InstallAfterDownloadAction
171 mClientId = clientId; in InstallAfterDownloadAction()
190 final SQLiteDatabase db = MetadataDbHelper.getDb(context, mClientId); in execute()
207 private final String mClientId; field in ActionBatch.EnableAction
213 mClientId = clientId; in EnableAction()
224 final SQLiteDatabase db = MetadataDbHelper.getDb(context, mClientId); in execute()
243 private final String mClientId; field in ActionBatch.DisableAction
[all …]
DDictionarySettingsFragment.java66 private String mClientId; field in DictionarySettingsFragment
100 mClientId = activity.getIntent().getStringExtra(DICT_SETTINGS_FRAGMENT_CLIENT_ID_ARGUMENT); in onActivityCreated()
113 return MetadataDbHelper.getMetadataUriAsString(getActivity(), mClientId); in onCreateOptionsMenu()
147 if (!MetadataDbHelper.isClientKnown(activity, mClientId)) { in onResume()
148 Log.i(TAG, "Unknown dictionary pack client: " + mClientId in onResume()
153 DictionaryPackConstants.DICTIONARY_PROVIDER_CLIENT_EXTRA, mClientId); in onResume()
237 createInstalledDictSettingsCollection(mClientId); in refreshInterface()
349 mClientId, wordlistId, version, locale, description, status, in createInstalledDictSettingsCollection()
400 UpdateHandler.cancelUpdate(context, mClientId); in cancelRefresh()
DWordListPreference.java61 private final String mClientId; field in WordListPreference
75 mClientId = clientId; in WordListPreference()
172 UpdateHandler.markAsUnused(context, mClientId, mWordlistId, mVersion, mStatus); in disableDict()
189 UpdateHandler.markAsUsed(context, mClientId, mWordlistId, mVersion, mStatus, true); in enableDict()
210 UpdateHandler.markAsDeleting(context, mClientId, mWordlistId, mVersion, mStatus); in deleteDict()
221 progressBar.setIds(mClientId, mWordlistId); in onBindView()
DDownloadOverMeteredDialog.java42 private String mClientId; field in DownloadOverMeteredDialog
49 mClientId = intent.getStringExtra(CLIENT_ID_KEY); in onCreate()
83 UpdateHandler.installIfNeverRequested(this, mClientId, mWordListToDownload); in onClickAllow()
DDownloadRecord.java25 public final String mClientId; field in DownloadRecord
31 mClientId = clientId; in DownloadRecord()
DDictionaryDownloadProgressBar.java35 private String mClientId; field in DictionaryDownloadProgressBar
49 mClientId = clientId; in setIds()
77 getDownloadManagerPendingIdFromWordlistId(getContext(), mClientId, mWordlistId); in updateReporterThreadRunningStatusAccordingToVisibility()
DDictionaryService.java206 final String mClientId = context.getString(R.string.dictionary_pack_client_id); in dispatchBroadcast() local
207 BinaryDictionaryFileDumper.initializeClientRecordHelper(context, mClientId); in dispatchBroadcast()
DUpdateHandler.java445 final SQLiteDatabase db = MetadataDbHelper.getDb(context, record.mClientId); in downloadFinished()
447 db, record.mAttributes, record.mClientId); in downloadFinished()
518 DebugLogUtils.l("Data D/L'd is metadata for", downloadRecord.mClientId); in handleDownloadedFile()
521 manager.openDownloadedFile(fileId)), downloadRecord.mClientId); in handleDownloadedFile()
621 MetadataDbHelper.DESCRIPTION_COLUMN), "for", downloadRecord.mClientId); in handleWordList()
624 + " for " + downloadRecord.mClientId); in handleWordList()
DMetadataDbHelper.java186 mClientId = clientId; in MetadataDbHelper()
190 private final String mClientId; field in MetadataDbHelper
207 if (!TextUtils.isEmpty(mClientId)) return; in createClientTable()
275 if (TextUtils.isEmpty(mClientId)) { in onUpgrade()
288 if (TextUtils.isEmpty(mClientId)) { in onUpgrade()
/packages/modules/Wifi/framework/java/android/net/wifi/aware/
DDiscoverySession.java63 protected final int mClientId; field in DiscoverySession
91 mClientId = clientId; in DiscoverySession()
115 mgr.terminateSession(mClientId, mSessionId); in close()
166 return mClientId; in getClientId()
229 mgr.sendMessage(mClientId, mSessionId, peerHandle, message, messageId, retryCount); in sendMessage()
299 mgr.initiateNanPairingSetupRequest(mClientId, mSessionId, peerHandle, password, in initiatePairingRequest()
339 mgr.responseNanPairingSetupRequest(mClientId, mSessionId, peerHandle, requestId, password, in acceptPairingRequest()
369 mgr.responseNanPairingSetupRequest(mClientId, mSessionId, peerHandle, requestId, null, in rejectPairingRequest()
400 mgr.initiateBootStrappingSetupRequest(mClientId, mSessionId, peerHandle, method); in initiateBootstrappingRequest()
431 mgr.suspend(mClientId, mSessionId); in suspend()
[all …]
DWifiAwareSession.java56 private final int mClientId; field in WifiAwareSession
67 mClientId = clientId; in WifiAwareSession()
90 mgr.disconnect(mClientId, mBinder); in close()
124 return mClientId; in getClientId()
183 mgr.publish(mClientId, (handler == null) ? Looper.getMainLooper() : handler.getLooper(), in publish()
243 mgr.subscribe(mClientId, (handler == null) ? Looper.getMainLooper() : handler.getLooper(), in subscribe()
267 mgr.setMasterPreference(mClientId, mBinder, masterPreference); in setMasterPreference()
291 mgr.getMasterPreference(mClientId, mBinder, executor, resultsCallback); in getMasterPreference()
338 return mgr.createNetworkSpecifier(mClientId, role, peer, null, null); in createNetworkSpecifierOpen()
390 return mgr.createNetworkSpecifier(mClientId, role, peer, null, passphrase); in createNetworkSpecifierPassphrase()
[all …]
DSubscribeDiscoverySession.java70 mgr.updateSubscribe(mClientId, mSessionId, subscribeConfig); in updateSubscribe()
DPublishDiscoverySession.java65 mgr.updatePublish(mClientId, mSessionId, publishConfig); in updatePublish()
DWifiAwareManager.java1032 private final int mClientId; field in WifiAwareManager.WifiAwareDiscoverySessionCallbackProxy
1043 mClientId = clientId; in WifiAwareDiscoverySessionCallbackProxy()
1250 mClientId, sessionId); in onProxySessionStarted()
1255 session = new SubscribeDiscoverySession(mgr, mClientId, sessionId); in onProxySessionStarted()
/packages/services/Car/car-lib/src/android/car/remoteaccess/
DRemoteTaskClientRegistrationInfo.java51 private final @NonNull String mClientId; field in RemoteTaskClientRegistrationInfo
96 this.mClientId = clientId; in RemoteTaskClientRegistrationInfo()
98 NonNull.class, null, mClientId); in RemoteTaskClientRegistrationInfo()
132 return mClientId; in getClientId()
144 dest.writeString(mClientId); in writeToParcel()
172 this.mClientId = clientId; in RemoteTaskClientRegistrationInfo()
174 NonNull.class, null, mClientId); in RemoteTaskClientRegistrationInfo()
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareClientState.java58 private final int mClientId; field in WifiAwareClientState
84 mClientId = clientId; in WifiAwareClientState()
115 Log.v(TAG, "onAwareSessionTerminated, ClientId:" + mClientId); in destroy()
135 return mClientId; in getClientId()
254 Log.v(TAG, "onInterfaceAddressChange: mClientId=" + mClientId in onInterfaceAddressChange()
290 "onClusterChange: mClientId=" + mClientId + ", mNotifyIdentityChange=" in onClusterChange()
368 pw.println(" mClientId: " + mClientId); in dump()
DWifiAwareStateManager.java413 public final int mClientId; field in WifiAwareStateManager.PairingInfo
419 mClientId = clientId; in PairingInfo()
427 public final int mClientId; field in WifiAwareStateManager.BootStrppingInfo
435 mClientId = clientId; in BootStrppingInfo()
4865 WifiAwareDiscoverySessionState session = getClientSession(pairingInfo.mClientId, in onRespondToPairingIndicationResponseSuccessLocal()
4886 WifiAwareDiscoverySessionState session = getClientSession(pairingInfo.mClientId, in onRespondToPairingIndicationResponseFail()
4914 WifiAwareDiscoverySessionState session = getClientSession(pairingInfo.mClientId, in onInitiatePairingResponseSuccessLocal()
4936 WifiAwareDiscoverySessionState session = getClientSession(pairingInfo.mClientId, in onInitiatePairingResponseFailLocal()
4959 WifiAwareDiscoverySessionState session = getClientSession(info.mClientId, info.mSessionId, in onInitiateBootstrappingResponseSuccessLocal()
4982 WifiAwareDiscoverySessionState session = getClientSession(info.mClientId, info.mSessionId, in onInitiateBootStrappingResponseFailLocal()
[all …]
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DAudioFocusInfoBuilder.java33 private String mClientId; field in AudioFocusInfoBuilder
53 mClientId = clientId; in setClientId()
114 return new AudioFocusInfo(builder.build(), mClientUid, mClientId, in createAudioFocusInfo()
DCarZonesAudioFocusTestBase.java301 private final String mClientId; field in CarZonesAudioFocusTestBase.AudioClientInfo
306 mClientId = clientId; in AudioClientInfo()
318 return mClientId; in getClientId()
/packages/modules/Connectivity/service-t/src/com/android/metrics/
DNetworkNsdReportedMetrics.java38 private final int mClientId; field in NetworkNsdReportedMetrics
48 mClientId = clientId; in NetworkNsdReportedMetrics()
92 builder.setClientId(mClientId); in makeReportedBuilder()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/remoteaccess/hal/
DRemoteAccessHalWrapperUnitTest.java409 private String mClientId; field in RemoteAccessHalWrapperUnitTest.RemoteAccessHalCallbackImpl
414 mClientId = clientId; in onRemoteTaskRequested()
420 return mClientId; in getClientId()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/kanon/
DKAnonCallerImpl.java140 @NonNull private UUID mClientId; field in KAnonCallerImpl
198 mClientId = mUserProfileIdManager.getOrCreateId(); in KAnonCallerImpl()
207 mClientId.toString().getBytes())) in KAnonCallerImpl()
544 .setClientId(mClientId)
591 if (!mClientId.equals(dbClientParameters.getClientId())) {
695 mClientId.toString().getBytes()))
/packages/services/Car/tests/CarLibUnitTest/src/android/car/remoteaccess/
DCarRemoteAccessManagerUnitTest.java655 private String mClientId; field in CarRemoteAccessManagerUnitTest.RemoteTaskClient
670 mClientId = info.getClientId(); in onRegistrationUpdated()
715 return mClientId; in getClientId()

12