Home
last modified time | relevance | path

Searched refs:mToken (Results 1 – 25 of 46) sorted by relevance

12

/packages/apps/Settings/src/com/android/settings/biometrics/face/
DFaceSettings.java63 private byte[] mToken; field in FaceSettings
112 outState.putByteArray(KEY_TOKEN, mToken); in onSaveInstanceState()
119 mToken = getIntent().getByteArrayExtra(KEY_TOKEN); in onCreate()
160 mToken = savedInstanceState.getByteArray(KEY_TOKEN); in onCreate()
176 if (mToken == null && !mConfirmingPassword) { in onResume()
191 mAttentionController.setToken(mToken); in onResume()
192 mEnrollController.setToken(mToken); in onResume()
213 mToken = data.getByteArrayExtra( in onActivityResult()
215 if (mToken != null) { in onActivityResult()
216 mAttentionController.setToken(mToken); in onActivityResult()
[all …]
DFaceSettingsEnrollButtonPreferenceController.java42 private byte[] mToken; field in FaceSettingsEnrollButtonPreferenceController
71 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN, mToken); in onClick()
85 mToken = token; in setToken()
DFaceSettingsAttentionPreferenceController.java39 private byte[] mToken; field in FaceSettingsAttentionPreferenceController
83 mToken = token; in setToken()
116 mToken, mSetFeatureCallback); in setChecked() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DRemoteVolumePreferenceControllerTest.java59 private MediaSession.Token mToken; field in RemoteVolumePreferenceControllerTest
76 mToken = new MediaSession.Token(mStub); in setUp()
83 when(mMediaController.getSessionToken()).thenReturn(mToken); in setUp()
91 assertThat(mController.getActiveRemoteToken(mContext)).isEqualTo(mToken); in getActiveRemoteToken_containRemoteMedia_returnToken()
182 mController.mCallbacks.onRemoteUpdate(mToken, "token", mPlaybackInfo); in onRemoteUpdate_firstToken_updateTokenAndPreference()
184 assertThat(mController.mActiveToken).isEqualTo(mToken); in onRemoteUpdate_firstToken_updateTokenAndPreference()
192 mController.mActiveToken = mToken; in onRemoteUpdate_differentToken_doNothing()
196 assertThat(mController.mActiveToken).isEqualTo(mToken); in onRemoteUpdate_differentToken_doNothing()
202 mController.mActiveToken = mToken; in onRemoteRemoved_tokenRemoved_setInvisible()
204 mController.mCallbacks.onRemoteRemoved(mToken); in onRemoteRemoved_tokenRemoved_setInvisible()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DVmsPublisherServiceTest.java165 verify(mBrokerService).removeDeadPublisher(mPublisherClient.mToken); in testOnClientDisconnected()
174 mPublisherClient.mPublisherService.setLayersOffering(mPublisherClient.mToken, OFFERING); in testSetLayersOffering()
175 verify(mBrokerService).setPublisherLayersOffering(mPublisherClient.mToken, OFFERING); in testSetLayersOffering()
190 mPublisherClient.mPublisherService.setLayersOffering(mPublisherClient.mToken, OFFERING); in testSetLayersOffering_Disconnected()
199 mPublisherClient.mPublisherService.setLayersOffering(mPublisherClient.mToken, OFFERING); in testSetLayersOffering_PermissionDenied()
206 mPublisherClient.mPublisherService.publish(mPublisherClient.mToken, LAYER, PUBLISHER_ID, in testPublish()
221 mPublisherClient.mPublisherService.publish(mPublisherClient.mToken, null, PUBLISHER_ID, in testPublishNullLayerAndNullPayload()
231 mPublisherClient.mPublisherService.publish(mPublisherClient.mToken, LAYER, PUBLISHER_ID, in testPublish_NoSubscribers()
243 mPublisherClient.mPublisherService.publish(mPublisherClient.mToken, LAYER, PUBLISHER_ID, in testPublish_ClientError()
265 mPublisherClient.mPublisherService.publish(mPublisherClient.mToken, LAYER, PUBLISHER_ID, in testPublish_Disconnected()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/face/
DFaceSettings.java60 private byte[] mToken; field in FaceSettings
94 outState.putByteArray(KEY_TOKEN, mToken); in onSaveInstanceState()
120 mToken = savedInstanceState.getByteArray(KEY_TOKEN); in onCreate()
123 if (mToken == null) { in onCreate()
138 if (mToken != null) { in onResume()
139 mAttentionController.setToken(mToken); in onResume()
151 mToken = data.getByteArrayExtra( in onActivityResult()
153 if (mToken != null) { in onActivityResult()
154 mAttentionController.setToken(mToken); in onActivityResult()
160 if (mToken == null) { in onActivityResult()
DFaceSettingsAttentionPreferenceController.java39 private byte[] mToken; field in FaceSettingsAttentionPreferenceController
79 mToken = token; in setToken()
112 mToken, mSetFeatureCallback); in setChecked() local
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DObservableAsyncQuery.java56 private int mToken; field in ObservableAsyncQuery
75 mToken = 0; in ObservableAsyncQuery()
84 mAsyncQueryHandler.cancelOperation(mToken); // Cancel the query task. in startQuery()
86 mToken++; in startQuery()
90 mToken, in startQuery()
112 mAsyncQueryHandler.cancelOperation(mToken); // Cancel the query task. in stopQuery()
147 if (token == mQuery.mToken) { in onQueryComplete()
/packages/apps/Settings/src/com/android/settings/biometrics/
DBiometricEnrollBase.java82 protected byte[] mToken; field in BiometricEnrollBase
90 mToken = getIntent().getByteArrayExtra(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN); in onCreate()
92 if (savedInstanceState != null && mToken == null) { in onCreate()
94 mToken = savedInstanceState.getByteArray( in onCreate()
113 outState.putByteArray(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN, mToken); in onSaveInstanceState()
161 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN, mToken); in getFingerprintEnrollingIntent()
DBiometricEnrollIntroduction.java156 } else if (mToken == null) { in onCreate()
192 launchNextEnrollingActivity(mToken); in onNextButtonClick()
254 mToken = data.getByteArrayExtra( in onActivityResult()
266 mToken = data.getByteArrayExtra(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN); in onActivityResult()
DBiometricEnrollSidecar.java54 protected byte[] mToken; field in BiometricEnrollSidecar
123 mToken = activity.getIntent().getByteArrayExtra( in onAttach()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/
DBiometricEnrollBase.java82 protected byte[] mToken; field in BiometricEnrollBase
89 mToken = getIntent().getByteArrayExtra(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN); in onCreate()
90 if (savedInstanceState != null && mToken == null) { in onCreate()
92 mToken = savedInstanceState.getByteArray( in onCreate()
109 outState.putByteArray(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN, mToken); in onSaveInstanceState()
156 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN, mToken); in getFingerprintEnrollingIntent()
DBiometricEnrollIntroduction.java143 } else if (!mLaunchedConfirmLock || mToken == null) { in onCreate()
173 launchNextEnrollingActivity(mToken); in onNextButtonClick()
234 mToken = data.getByteArrayExtra( in onActivityResult()
244 mToken = data.getByteArrayExtra(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN); in onActivityResult()
/packages/apps/Calendar/src/com/android/calendar/
DCalendarUtils.java66 private static int mToken = 1; field in CalendarUtils.TimeZoneUtils
230 mHandler.cancelOperation(mToken); in setTimeZone()
236 if (++mToken == 0) { in setTimeZone()
237 mToken = 1; in setTimeZone()
243 mHandler.startUpdate(mToken, null, CalendarCache.URI, values, "key=?", in setTimeZone()
250 mHandler.startUpdate(mToken, null, CalendarCache.URI, values2, in setTimeZone()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallerInfoAsyncQueryFactoryFixture.java42 int mToken; field in CallerInfoAsyncQueryFactoryFixture.Request
50 mListener.onQueryComplete(mToken, mCookie, callerInfo); in replyWithCallerInfo()
59 r.mToken = token;
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DVmsHalServiceTest.java99 private IBinder mToken; field in VmsHalServiceTest
157 mToken = new Binder(); in initHalService()
158 mPublisherClient.setVmsPublisherService(mToken, mPublisherService); in initHalService()
225 verify(mPublisherService).publish(mToken, LAYER, PUBLISHER_ID, PAYLOAD); in testHandleDataEvent()
407 mToken, in testHandleOfferingEvent_ZeroOfferings()
424 mToken, in testHandleOfferingEvent_LayerOnly()
443 mToken, in testHandleOfferingEvent_LayerAndDependency()
472 mToken, in testHandleOfferingEvent_MultipleLayersAndDependencies()
/packages/services/Car/service/src/com/android/car/
DVmsPublisherService.java142 private final IBinder mToken; field in VmsPublisherService.PublisherProxy
149 this.mToken = token; in PublisherProxy()
163 mBrokerService.removeDeadPublisher(mToken); in unregister()
236 if (mToken != publisherToken) { in assertPermission()
DCarTestService.java115 private final IBinder mToken; field in CarTestService.TokenDeathRecipient
118 mToken = token; in TokenDeathRecipient()
123 releaseToken(mToken); in binderDied()
DBluetoothProfileInhibitManager.java177 private final IBinder mToken; field in BluetoothProfileInhibitManager.InhibitRecord
183 this.mToken = token; in InhibitRecord()
191 return mToken; in getToken()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/
DFingerprintSettings.java131 private byte[] mToken; field in FingerprintSettings.FingerprintSettingsFragment
279 mToken = getIntent().getByteArrayExtra( in onCreate()
312 mToken = savedInstanceState.getByteArray( in onCreate()
321 if (mToken == null && mLaunchedConfirm == false) { in onCreate()
458 mToken); in onSaveInstanceState()
471 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN, mToken); in onPreferenceTreeClick()
550 mToken = data.getByteArrayExtra( in onActivityResult()
562 if (mToken == null) { in onActivityResult()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/fingerprint/
DFingerprintSettings.java131 private byte[] mToken; field in FingerprintSettings.FingerprintSettingsFragment
309 mToken = savedInstanceState.getByteArray( in onCreate()
318 if (mToken == null && mLaunchedConfirm == false) { in onCreate()
455 mToken); in onSaveInstanceState()
468 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN, mToken); in onPreferenceTreeClick()
547 mToken = data.getByteArrayExtra( in onActivityResult()
559 if (mToken == null) { in onActivityResult()
/packages/services/Car/car-lib/src/android/car/vms/
DVmsPublisherClientService.java71 private IBinder mToken = null; field in VmsPublisherClientService
88 mToken = token; in setToken()
154 token = mToken; in getTokenForPublisherServiceThreadSafe()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/specialaccess/deviceadmin/
DDeviceAdminAdd.java98 private final IBinder mToken = new Binder(); field in DeviceAdminAdd
506 mAppOps.setUserRestriction(AppOpsManager.OP_SYSTEM_ALERT_WINDOW, true, mToken); in onResume()
507 mAppOps.setUserRestriction(AppOpsManager.OP_TOAST_WINDOW, true, mToken); in onResume()
516 mAppOps.setUserRestriction(AppOpsManager.OP_SYSTEM_ALERT_WINDOW, false, mToken); in onPause()
517 mAppOps.setUserRestriction(AppOpsManager.OP_TOAST_WINDOW, false, mToken); in onPause()
/packages/services/Car/car-lib/src/android/car/
DCarProjectionManager.java75 private final Binder mToken = new Binder(); field in CarProjectionManager
577 return mService.requestBluetoothProfileInhibit(device, profile, mToken); in requestBluetoothProfileInhibit()
595 return mService.releaseBluetoothProfileInhibit(device, profile, mToken); in releaseBluetoothProfileInhibit()
613 mService.updateProjectionStatus(status, mToken); in updateProjectionStatus()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/deviceadmin/
DDeviceAdminAdd.java99 private final IBinder mToken = new Binder(); field in DeviceAdminAdd
557 mAppOps.setUserRestriction(AppOpsManager.OP_SYSTEM_ALERT_WINDOW, true, mToken); in onResume()
558 mAppOps.setUserRestriction(AppOpsManager.OP_TOAST_WINDOW, true, mToken); in onResume()
567 mAppOps.setUserRestriction(AppOpsManager.OP_SYSTEM_ALERT_WINDOW, false, mToken); in onPause()
568 mAppOps.setUserRestriction(AppOpsManager.OP_TOAST_WINDOW, false, mToken); in onPause()

12