Home
last modified time | relevance | path

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

123

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/bluetooth/
DBluetoothProfileInhibitManagerTest.java59 private IBinder mToken = new Binder(); field in BluetoothProfileInhibitManagerTest
87 mToken)).isFalse(); in testIsProfileInhibited_default_isNotInhibited()
93 mToken); in testIsProfileInhibited_inhibitRequested_isInhibited()
99 mToken)).isTrue(); in testIsProfileInhibited_inhibitRequested_isInhibited()
105 mToken); in testIsProfileInhibited_proxyNotAvailable_isNotInhibited()
111 mToken)).isFalse(); in testIsProfileInhibited_proxyNotAvailable_isNotInhibited()
117 mToken); in testIsProfileInhibited_profileAllowed_isNotInhibited()
123 mToken)).isFalse(); in testIsProfileInhibited_profileAllowed_isNotInhibited()
129 mToken); in testIsProfileInhibited_inhibitReleased_isNotInhibited()
131 mToken); in testIsProfileInhibited_inhibitReleased_isNotInhibited()
[all …]
DCarBluetoothServiceTest.java98 private IBinder mToken = new Binder(); field in CarBluetoothServiceTest
292 assertThat(mCarBluetoothService.requestProfileInhibit(device, A2DP_SINK, mToken)).isTrue(); in testRequestProfileInhibit_setsConnectionPolicyForbidden()
305 () -> mCarBluetoothService.requestProfileInhibit(device, A2DP_SINK, mToken)); in testRequestProfileInhibit_withoutBluetoothConnect_throwsSecurityException()
316 () -> mCarBluetoothService.requestProfileInhibit(device, A2DP_SINK, mToken)); in testRequestProfileInhibit_withoutBluetoothPrivileged_throwsSecurityException()
330 assertThat(mCarBluetoothService.requestProfileInhibit(device, A2DP_SINK, mToken)).isTrue(); in testReleaseProfileInhibit_setsConnectionPolicyAllowed()
337 assertThat(mCarBluetoothService.releaseProfileInhibit(device, A2DP_SINK, mToken)).isTrue(); in testReleaseProfileInhibit_setsConnectionPolicyAllowed()
350 () -> mCarBluetoothService.releaseProfileInhibit(device, A2DP_SINK, mToken)); in testReleaseProfileInhibit_withoutBluetoothConnect_throwsSecurityException()
361 () -> mCarBluetoothService.releaseProfileInhibit(device, A2DP_SINK, mToken)); in testReleaseProfileInhibit_withoutBluetoothPrivileged_throwsSecurityException()
371 A2DP_SINK, mToken)); in testIsProfileInhibited_defaultFalse() local
383 mCarBluetoothService.requestProfileInhibit(device, A2DP_SINK, mToken); in testIsProfileInhibited_profileIsInhibited_returnsTrue()
[all …]
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/data/events/
DEventState.java36 private final byte[] mToken; field in EventState
71 this.mToken = token; in EventState()
73 NonNull.class, null, mToken); in EventState()
89 return mToken; in getToken()
121 && java.util.Arrays.equals(mToken, that.mToken) in equals()
133 _hash = 31 * _hash + java.util.Arrays.hashCode(mToken); in hashCode()
146 private @NonNull byte[] mToken; field in EventState.Builder
169 mToken = token; in Builder()
171 NonNull.class, null, mToken); in Builder()
187 mToken = value; in setToken()
[all …]
/packages/modules/HealthFitness/framework/java/android/health/connect/changelog/
DChangeLogsRequest.java32 private final String mToken; field in ChangeLogsRequest
41 mToken = token; in ChangeLogsRequest()
46 mToken = in.readString(); in ChangeLogsRequest()
67 return mToken; in getToken()
86 dest.writeString(mToken); in writeToParcel()
92 private String mToken; field in ChangeLogsRequest.Builder
98 mToken = token; in Builder()
124 return new ChangeLogsRequest(mToken, mPageSize); in build()
DChangeLogTokenResponse.java32 private final String mToken; field in ChangeLogTokenResponse
42 mToken = token; in ChangeLogTokenResponse()
46 mToken = in.readString(); in ChangeLogTokenResponse()
66 return mToken; in getToken()
76 dest.writeString(mToken); in writeToParcel()
/packages/modules/NeuralNetworks/common/
DTokenHasher.cpp52 mToken.resize(ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN); in finish()
53 if (SHA256_Final(mToken.data(), &mHasher) == 0) { in finish()
54 mToken.clear(); in finish()
65 CHECK(!mToken.empty()); in getCacheToken()
66 return mToken.data(); in getCacheToken()
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DFaceSettings.java100 private byte[] mToken; field in FaceSettings
166 outState.putByteArray(KEY_TOKEN, mToken); in onSaveInstanceState()
184 mToken = getIntent().getByteArrayExtra(KEY_TOKEN); in onCreate()
288 mToken = savedInstanceState.getByteArray(KEY_TOKEN); in onCreate()
332 if (mToken == null && !mConfirmingPassword) { in onResume()
349 mAttentionController.setToken(mToken); in onResume()
350 mEnrollController.setToken(mToken); in onResume()
362 if (mToken == null && !BiometricUtils.containsGatekeeperPasswordHandle(data)) { in onActivityResult()
371 mToken = BiometricUtils.requestGatekeeperHat(getPrefContext(), data, mUserId, in onActivityResult()
376 mAttentionController.setToken(mToken); in onActivityResult()
[all …]
DFaceAttentionController.java31 @Nullable private byte[] mToken; field in FaceAttentionController
88 mToken = token; in setToken()
106 mFaceManager.setFeature(userId, FEATURE_REQUIRE_ATTENTION, enabled, mToken, in setAttentionStatus()
DFaceSettingsEnrollButtonPreferenceController.java53 private byte[] mToken; field in FaceSettingsEnrollButtonPreferenceController
105 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN, mToken); in startEnrolling()
123 mToken = token; in setToken()
/packages/services/Car/tests/CarExtendedApiTest/src/android/car/extendedapitest/
DCarPropertyManagerTest.java68 private Binder mToken; field in CarPropertyManagerTest
78 mToken = new Binder("stop_car_service"); in setUp()
129 mTestManager.stopCarService(mToken); in testGetPropertyListWithLargeNumberOfConfigs()
133 mTestManager.startCarService(mToken); in testGetPropertyListWithLargeNumberOfConfigs()
159 mTestManager.stopCarService(mToken); in testSetPropertiesAsyncWithLargeNumberRequests()
163 mTestManager.startCarService(mToken); in testSetPropertiesAsyncWithLargeNumberRequests()
203 mTestManager.stopCarService(mToken); in testGetPropertiesAsyncWithLargeNumberRequests()
208 mTestManager.startCarService(mToken); in testGetPropertiesAsyncWithLargeNumberRequests()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DBinderUtilTest.java37 private long mToken; field in BinderUtilTest
44 mToken = Binder.clearCallingIdentity(); in setUp()
52 Binder.restoreCallingIdentity(mToken); in cleanUp()
92 Binder.restoreCallingIdentity(mToken); in setUidAndRestoreCallingIdentity()
/packages/apps/Car/Settings/src/com/android/car/settings/enterprise/
DDeviceAdminAddHeaderPreferenceController.java41 private final IBinder mToken = new Binder(); field in DeviceAdminAddHeaderPreferenceController
74 mAppOps.setUserRestriction(AppOpsManager.OP_SYSTEM_ALERT_WINDOW, true, mToken); in onResumeInternal()
75 mAppOps.setUserRestriction(AppOpsManager.OP_TOAST_WINDOW, true, mToken); in onResumeInternal()
91 mAppOps.setUserRestriction(AppOpsManager.OP_SYSTEM_ALERT_WINDOW, false, mToken); in onPauseInternal()
92 mAppOps.setUserRestriction(AppOpsManager.OP_TOAST_WINDOW, false, mToken); in onPauseInternal()
/packages/apps/Settings/src/com/android/settings/biometrics/
DBiometricEnrollBase.java132 protected byte[] mToken; field in BiometricEnrollBase
166 if (mToken == null) { in onCreate()
167 mToken = getIntent().getByteArrayExtra( in onCreate()
172 if (mToken == null) { in onCreate()
174 mToken = savedInstanceState.getByteArray( in onCreate()
202 outState.putByteArray(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN, mToken); in onSaveInstanceState()
321 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN, mToken); in getFingerprintEnrollingIntent()
/packages/apps/Calendar/src/com/android/calendar/
DCalendarUtils.kt226 mHandler?.cancelOperation(mToken) in setTimeZone()
231 if (++mToken == 0) { in setTimeZone()
232 mToken = 1 in setTimeZone()
238 mHandler?.startUpdate(mToken, null, CalendarCache.URI, values, "key=?", in setTimeZone()
245 mHandler?.startUpdate(mToken, null, CalendarCache.URI, values2, in setTimeZone()
338 private var mToken = 1 variable
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DWallpaperConnection.java127 private IBinder mToken; field in WallpaperConnection
236 mService.detach(mToken); in detachConnection()
241 mToken = null; in detachConnection()
432 preUMethod.invoke(mService, this, mToken, LayoutParams.TYPE_APPLICATION_MEDIA, true, in tryPreUAttach()
456 preBMethod.invoke(mService, this, mToken, LayoutParams.TYPE_APPLICATION_MEDIA, true, in tryPreBAttach()
476 mToken = mContainerView.getWindowToken(); in attachConnection()
482 mService.attach(this, mToken, LayoutParams.TYPE_APPLICATION_MEDIA, true, in attachConnection()
/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/am/
DCarActivityServiceTaskMonitorUnitTest.java98 private IBinder mToken; field in CarActivityServiceTaskMonitorUnitTest
128 mService.registerTaskMonitor(mToken); in setUp()
140 mService.unregisterTaskMonitor(mToken); in tearDown()
169 mService.onTaskAppeared(mToken, taskInfo, leash); in onTaskAppeared()
174 mService.onTaskInfoChanged(mToken, taskInfo); in onTaskInfoChanged()
179 mService.onTaskVanished(mToken, taskInfo); in onTaskVanished()
222 verify(mToken).linkToDeath(mDeathRecipientCaptor.capture(), anyInt()); in testDeathRecipientIsSet()
230 verify(mToken).linkToDeath(mDeathRecipientCaptor.capture(), anyInt()); in testBinderDied_cleansUpDeathRecipient()
234 verify(mToken).unlinkToDeath(eq(mDeathRecipientCaptor.getValue()), anyInt()); in testBinderDied_cleansUpDeathRecipient()
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/
DEpdgTunnelManager.java498 private final int mToken; field in TmIkeSessionCallback
502 this.mToken = token; in TmIkeSessionCallback()
511 Log.d(TAG, "Ike session opened for apn: " + mApnName + " with token: " + mToken); in onOpened()
514 new IkeSessionOpenedData(mApnName, mToken, sessionConfiguration)) in onOpened()
524 Log.d(TAG, "Ike session closed for apn: " + mApnName + " with token: " + mToken); in onClosed()
527 new SessionClosedData(mApnName, mToken, null /* ikeException */)) in onClosed()
534 onSessionClosedWithException(exception, mApnName, mToken, EVENT_IKE_SESSION_CLOSED); in onClosedWithException()
539 Log.d(TAG, "Ike session onError for apn: " + mApnName + " with token: " + mToken); in onError()
564 + mToken in onIkeSessionConnectionInfoChanged()
570 mApnName, mToken, ikeSessionConnectionInfo)) in onIkeSessionConnectionInfoChanged()
[all …]
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/
DFingerprintEnrollSidecar.java89 if (mToken == null) { in startEnrollment()
105 mFingerprintUpdater.enroll(mToken, mEnrollmentCancel, mUserId, in startEnrollment()
109 mFingerprintUpdater.enroll(mToken, mEnrollmentCancel, mUserId, mEnrollmentCallback, in startEnrollment()
/packages/services/Car/car_product/distant_display/apps/CarDistantDisplaySystemUI/src/com/android/systemui/car/distantdisplay/common/
DDistantDisplayForegroundTaskMap.java66 public WindowContainerToken mToken; field in DistantDisplayForegroundTaskMap.TaskData
72 mToken = token; in TaskData()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarProjectionServiceTest.java105 private final IBinder mToken = new Binder(); field in CarProjectionServiceTest
261 mService.stopProjectionAccessPoint(mToken); in stopLohs_success()
274 mService.stopProjectionAccessPoint(mToken); in stopLohs_success_unregisterLocalOnlyHotspotSoftApCallback()
288 mService.stopProjectionAccessPoint(mToken); in startLohsWithStableCredentials_success()
309 mService.startProjectionAccessPoint(mMessenger, mToken); in startProjectionLohs()
336 mService.stopProjectionAccessPoint(mToken); in resetProjectionAccessPointCredentials()
347 mService.updateProjectionStatus(status, mToken); in updateProjectionStatus_subscribeAfterUpdate()
410 mService.updateProjectionStatus(createProjectionStatus(), mToken); in updateProjectionStatus_subscribeBeforeUpdate() local
599 mToken)).isEqualTo(true); in isBluetoothProfileInhibited()
834 mService.startProjectionAccessPoint(mMessenger, mToken); in startProjectionTethering()
/packages/services/Car/libs/car-wm-shell-lib/tests/unittest/src/com/android/wm/shell/automotive/utility/
DTestRunningTaskInfoBuilder.java42 private WindowContainerToken mToken = createMockWCToken(); field in TestRunningTaskInfoBuilder
69 mToken = token; in setToken()
189 info.token = mToken; in build()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/car/displayarea/
DCarDisplayAreaAnimationController.java109 private final WindowContainerToken mToken; field in CarDisplayAreaAnimationController.CarDisplayAreaTransitionAnimator
127 mToken = token; in CarDisplayAreaTransitionAnimator()
201 return mToken; in getToken()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothLeCallControl.java212 private String mToken; field in BluetoothLeCallControl
342 mToken = uci; in registerBearer()
359 mToken, in registerBearer()
405 service.unregisterBearer(mToken, mAttributionSource); in unregisterBearer()
/packages/services/Car/service/src/com/android/car/
DCarTestService.java270 private final IBinder mToken; field in CarTestService.TokenDeathRecipient
273 mToken = token; in TokenDeathRecipient()
278 releaseToken(mToken); in binderDied()

123