/frameworks/base/tests/ChoreographerTests/jni/ |
D | android_view_tests_ChoreographerNativeTest.cpp | 81 auto* cb = static_cast<CallbackData*>(data); in vsyncCallback() local 83 std::lock_guard<std::mutex> _l(cb->mutex); in vsyncCallback() 84 cb->count++; in vsyncCallback() 85 cb->endTime = now(); in vsyncCallback() 86 cb->frameTime = std::chrono::nanoseconds{frameTimeNanos}; in vsyncCallback() 89 static_cast<long>(cb->endTime.count()), frameTimeNanos, cb->count); in vsyncCallback() 90 if (cb->endTime - cb->startTime > kMaxRuntime) { in vsyncCallback() 91 cb->callbacksComplete = true; in vsyncCallback() 92 cb->condition.notify_all(); in vsyncCallback() 98 AChoreographer_postVsyncCallback(cb->choreographer, vsyncCallback, data); in vsyncCallback() [all …]
|
/frameworks/av/media/libeffects/dynamicsproc/dsp/ |
D | DPFrequency.cpp | 183 void DPFrequency::updateParameters(ChannelBuffer &cb, int channelIndex) { in updateParameters() argument 194 IS_CHANGED(changed, cb.inputGainDb, pChannel->getInputGain()); in updateParameters() 196 if (cb.mPreEqInUse) { in updateParameters() 202 IS_CHANGED(changed, cb.mPreEqEnabled, pPreEq->isEnabled()); in updateParameters() 203 if (cb.mPreEqEnabled) { in updateParameters() 210 ChannelBuffer::EqBandParams *pEqBandParams = &cb.mPreEqBands[b]; in updateParameters() 220 float inputGainFactor = dBtoLinear(cb.inputGainDb); in updateParameters() 221 if (cb.mPreEqInUse && cb.mPreEqEnabled) { in updateParameters() 225 ChannelBuffer::EqBandParams *pEqBandParams = &cb.mPreEqBands[b]; in updateParameters() 228 cb.computeBinStartStop(*pEqBandParams, binNext); in updateParameters() [all …]
|
/frameworks/av/media/module/codecs/mp3dec/src/ |
D | pvmp3_dequantize_sample.cpp | 194 int32 cb = 0; in pvmp3_dequantize_sample() local 230 cb++; /* critical band counter */ in pvmp3_dequantize_sample() 239 cb = 3; in pvmp3_dequantize_sample() 243 next_cb_boundary = mp3_sfBandIndex[sfreq].l[cb+1]; in pvmp3_dequantize_sample() 247 next_cb_boundary = mp3_sfBandIndex[sfreq].s[cb+1] * 3; in pvmp3_dequantize_sample() 249 cb_width = cb; in pvmp3_dequantize_sample() 250 cb_begin = mp3_sfBandIndex[sfreq].s[cb] * 3; in pvmp3_dequantize_sample() 257 (scalefac->l[cb] + gr_info->preflag * pretab[cb]) << 1; in pvmp3_dequantize_sample() 265 next_cb_boundary = mp3_sfBandIndex[sfreq].s[cb+1] * 3; in pvmp3_dequantize_sample() 266 cb_width = cb; in pvmp3_dequantize_sample() [all …]
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/ |
D | FakeManagedProfileController.java | 37 public void addCallback(Callback cb) { in addCallback() argument 38 mCallbackList.add(cb); in addCallback() 39 cb.onManagedProfileChanged(); in addCallback() 43 public void removeCallback(Callback cb) { in removeCallback() argument 44 mCallbackList.remove(cb); in removeCallback() 51 for (Callback cb: mCallbackList) { in setWorkModeEnabled() 52 cb.onManagedProfileChanged(); in setWorkModeEnabled() 69 for (Callback cb: mCallbackList) { in setHasActiveProfile() 70 cb.onManagedProfileChanged(); in setHasActiveProfile() 72 cb.onManagedProfileRemoved(); in setHasActiveProfile()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | VSyncDispatchTimerQueueTest.cpp | 245 CountingCallback cb(mDispatch); in TEST_F() local 247 mDispatch->schedule(cb, in TEST_F() 259 CountingCallback cb(mDispatch); in TEST_F() local 261 mDispatch->schedule(cb, in TEST_F() 269 ASSERT_THAT(cb.mCalls.size(), Eq(1)); in TEST_F() 270 EXPECT_THAT(cb.mCalls[0], Eq(mPeriod)); in TEST_F() 279 CountingCallback cb(mDispatch); in TEST_F() local 281 mDispatch->schedule(cb, in TEST_F() 288 mDispatch->update(cb, {.workDuration = 300, .readyDuration = 0, .lastVsync = intended}); in TEST_F() 295 ASSERT_THAT(cb.mCalls.size(), Eq(1)); in TEST_F() [all …]
|
/frameworks/base/native/android/ |
D | storage_manager.cpp | 53 , cb(_cb) in ObbCallback() 58 AStorageManager_obbCallbackFunc cb; member in ObbCallback 75 ObbCallback* cb = new ObbCallback(getNextNonce(), func, data); in registerObbCallback() local 78 mCallbacks.push(cb); in registerObbCallback() 80 return cb; in registerObbCallback() 126 ObbCallback* cb = mCallbacks.editItemAt(i); in fireCallback() local 127 if (cb->nonce == nonce) { in fireCallback() 128 target = cb; in fireCallback() 136 target->cb(filename, state, target->data); in fireCallback() 157 ObbCallback* cb = registerObbCallback(func, data); in mountObb() local [all …]
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/ |
D | FakeSoundTriggerHal.java | 159 mCallbackDispatcher.wrap((ISoundTriggerHwCallback cb) -> in forceRecognitionForModel() 160 cb.phraseRecognitionCallback(mModelHandle, phraseEvent)); in forceRecognitionForModel() 163 mCallbackDispatcher.wrap((ISoundTriggerHwCallback cb) -> in forceRecognitionForModel() 164 cb.recognitionCallback(mModelHandle, event)); in forceRecognitionForModel() 205 mCallbackDispatcher.wrap((ISoundTriggerHwCallback cb) -> in triggerUnloadModel() 206 cb.modelUnloaded(mModelHandle)); in triggerUnloadModel() 213 mGlobalCallbackDispatcher.wrap((ISoundTriggerHwGlobalCallback cb) -> in triggerUnloadModel() 214 cb.onResourcesAvailable()); in triggerUnloadModel() 236 mCallbackDispatcher.wrap((ISoundTriggerHwCallback cb) -> in triggerRecognitionEvent() 237 cb.phraseRecognitionCallback(mModelHandle, phraseEvent)); in triggerRecognitionEvent() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | InternetTile.java | 454 CellularCallbackInfo cb = (CellularCallbackInfo) arg; in handleUpdateState() local 456 synchronized (cb) { in handleUpdateState() 457 cb.copyTo(cellularInfo); in handleUpdateState() 462 WifiCallbackInfo cb = (WifiCallbackInfo) arg; in handleUpdateState() local 464 synchronized (cb) { in handleUpdateState() 465 cb.copyTo(wifiInfo); in handleUpdateState() 470 EthernetCallbackInfo cb = (EthernetCallbackInfo) arg; in handleUpdateState() local 472 synchronized (cb) { in handleUpdateState() 473 cb.copyTo(ethernetInfo); in handleUpdateState() 503 WifiCallbackInfo cb = (WifiCallbackInfo) arg; in handleUpdateWifiState() local [all …]
|
/frameworks/hardware/interfaces/displayservice/1.0/vts/functional/ |
D | VtsFwkDisplayServiceV1_0TargetTest.cpp | 89 cb = new TestCallback(); in SetUp() 90 EXPECT_SUCCESS(receiver->init(cb)); in SetUp() 97 sp<TestCallback> cb; member in DisplayServiceTest 105 EXPECT_EQ(0, cb->vsyncs); in TEST_P() 110 EXPECT_EQ(1, cb->vsyncs); in TEST_P() 117 ASSERT_EQ(0, cb->vsyncs); in TEST_P() 121 int at1 = cb->vsyncs; in TEST_P() 123 cb->vsyncs = 0; in TEST_P() 126 int at2 = cb->vsyncs; in TEST_P() 128 cb->vsyncs = 0; in TEST_P() [all …]
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/ |
D | TestHal.java | 56 public ISession createSession(int sensorId, int userId, ISessionCallback cb) { in createSession() argument 73 cb.onChallengeGenerated(0L); in createSession() 79 cb.onChallengeRevoked(challenge); in createSession() 94 cb.onError(Error.CANCELED, 0 /* vendorCode */); in createSession() 113 cb.onError(Error.CANCELED, 0 /* vendorCode */); in createSession() 132 cb.onError(Error.CANCELED, 0 /* vendorCode */); in createSession() 148 cb.onEnrollmentsEnumerated(new int[0]); in createSession() 154 cb.onEnrollmentsRemoved(enrollmentIds); in createSession() 160 cb.onFeaturesRetrieved(new byte[0]); in createSession() 167 cb.onFeatureSet(feature); in createSession() [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | KernelCpuUidTimeReader.java | 93 public void readDelta(@Nullable Callback<T> cb) { in readDelta() argument 94 readDelta(false, cb); in readDelta() 103 public void readDelta(boolean force, @Nullable Callback<T> cb) { in readDelta() argument 105 readDeltaImpl(cb, force); in readDelta() 115 readDeltaImpl(cb, force); in readDelta() 124 public void readAbsolute(Callback<T> cb) { in readAbsolute() argument 126 readAbsoluteImpl(cb); in readAbsolute() 136 readAbsoluteImpl(cb); in readAbsolute() 140 abstract void readDeltaImpl(@Nullable Callback<T> cb, boolean forceRead); in readDeltaImpl() argument 231 void readDeltaImpl(@Nullable Callback<long[]> cb, boolean forceRead) { in readDeltaImpl() argument [all …]
|
/frameworks/native/cmds/servicemanager/ |
D | main.cpp | 42 sp<BinderCallback> cb = sp<BinderCallback>::make(); in setupTo() local 43 cb->mLooper = looper; in setupTo() 45 IPCThreadState::self()->setupPolling(&cb->mBinderFd); in setupTo() 46 LOG_ALWAYS_FATAL_IF(cb->mBinderFd < 0, "Failed to setupPolling: %d", cb->mBinderFd); in setupTo() 48 int ret = looper->addFd(cb->mBinderFd, Looper::POLL_CALLBACK, Looper::EVENT_INPUT, cb, in setupTo() 52 return cb; in setupTo() 77 sp<ClientCallbackCallback> cb = sp<ClientCallbackCallback>::make(manager); in setupTo() local 78 cb->mBinderCallback = binderCallback; in setupTo() 100 cb, in setupTo() 104 return cb; in setupTo()
|
D | test_sm.cpp | 407 sp<CallbackHistorian> cb = sp<CallbackHistorian>::make(); in TEST() local 409 EXPECT_EQ(sm->registerForNotifications("foofoo", cb).exceptionCode(), Status::EX_SECURITY); in TEST() 423 sp<CallbackHistorian> cb = sp<CallbackHistorian>::make(); in TEST() local 425 EXPECT_EQ(sm->registerForNotifications("foofoo", cb).exceptionCode(), in TEST() 437 sp<CallbackHistorian> cb = sp<CallbackHistorian>::make(); in TEST() local 440 EXPECT_EQ(sm->unregisterForNotifications("foofoo", cb).exceptionCode(), in TEST() 447 sp<CallbackHistorian> cb = sp<CallbackHistorian>::make(); in TEST() local 449 EXPECT_EQ(sm->registerForNotifications("foo@foo", cb).exceptionCode(), in TEST() 463 sp<CallbackHistorian> cb = sp<CallbackHistorian>::make(); in TEST() local 465 EXPECT_TRUE(sm->registerForNotifications("foofoo", cb).isOk()); in TEST() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/ |
D | ImsStateCallbackTest.java | 98 LocalCallback cb = new LocalCallback(); in testMmTelRegisterAndUnregisterImsStateCallbackValues() local 104 mmTelManager.registerImsStateCallback(Runnable::run, cb); in testMmTelRegisterAndUnregisterImsStateCallbackValues() 109 mmTelManager.unregisterImsStateCallback(cb); in testMmTelRegisterAndUnregisterImsStateCallbackValues() 120 LocalCallback cb = new LocalCallback(); in testRcsRegisterAndUnregisterImsStateCallbackValues() local 127 rcsManager.registerImsStateCallback(Runnable::run, cb); in testRcsRegisterAndUnregisterImsStateCallbackValues() 132 rcsManager.unregisterImsStateCallback(cb); in testRcsRegisterAndUnregisterImsStateCallbackValues() 143 LocalCallback cb = new LocalCallback(); in testSipDelegateRegisterAndUnregisterImsStateCallbackValues() local 151 sipManager.registerImsStateCallback(Runnable::run, cb); in testSipDelegateRegisterAndUnregisterImsStateCallbackValues() 156 sipManager.unregisterImsStateCallback(cb); in testSipDelegateRegisterAndUnregisterImsStateCallbackValues() 166 LocalCallback cb = new LocalCallback(); in testImsStateCallbacks() local [all …]
|
/frameworks/native/libs/gui/ |
D | Choreographer.cpp | 143 void Choreographer::postFrameCallbackDelayed(AChoreographer_frameCallback cb, in postFrameCallbackDelayed() argument 148 FrameCallback callback{cb, cb64, vsyncCallback, data, now + delay, callbackType}; in postFrameCallbackDelayed() 174 void Choreographer::registerRefreshRateCallback(AChoreographer_refreshRateCallback cb, void* data) { in registerRefreshRateCallback() argument 178 if (cb == callback.callback && data == callback.data) { in registerRefreshRateCallback() 183 RefreshRateCallback{.callback = cb, .data = data, .firstCallbackFired = false}); in registerRefreshRateCallback() 216 void Choreographer::unregisterRefreshRateCallback(AChoreographer_refreshRateCallback cb, in unregisterRefreshRateCallback() argument 222 return cb == callback.callback && in unregisterRefreshRateCallback() 275 for (auto& cb : mRefreshRateCallbacks) { in handleRefreshRateUpdates() local 276 callbacks.push_back(cb); in handleRefreshRateUpdates() 277 cb.firstCallbackFired = true; in handleRefreshRateUpdates() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardUpdateMonitor.java | 297 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); 298 if (cb != null) { 299 cb.onShadeExpandedChanged(isExpanded); 510 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in onTrustChanged() local 511 if (cb != null) { in onTrustChanged() 512 cb.onTrustChanged(userId); in onTrustChanged() 542 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in onTrustChanged() local 543 if (cb != null) { in onTrustChanged() 544 cb.onTrustGrantedForCurrentUser( in onTrustChanged() 582 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in onEnabledTrustAgentsChanged() local [all …]
|
/frameworks/base/tests/OneMedia/src/com/android/onemedia/ |
D | PlayerService.java | 124 public void sendRequest(String action, Bundle params, IRequestCallback cb) { in sendRequest() argument 133 public void registerCallback(final IPlayerCallback cb) throws RemoteException { in registerCallback() argument 134 if (!mCbs.contains(cb)) { in registerCallback() 135 mCbs.add(cb); in registerCallback() 136 cb.asBinder().linkToDeath(new IBinder.DeathRecipient() { in registerCallback() 139 mCbs.remove(cb); in registerCallback() 144 cb.onSessionChanged(getSessionToken()); in registerCallback() 146 mCbs.remove(cb); in registerCallback() 152 public void unregisterCallback(IPlayerCallback cb) throws RemoteException { in unregisterCallback() argument 153 mCbs.remove(cb); in unregisterCallback()
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/aidl/ |
D | TestHal.java | 54 public ISession createSession(int sensorId, int userId, ISessionCallback cb) { in createSession() argument 71 cb.onChallengeGenerated(0L); in createSession() 77 cb.onChallengeRevoked(challenge); in createSession() 86 cb.onError(Error.CANCELED, 0 /* vendorCode */); in createSession() 105 cb.onError(Error.CANCELED, 0 /* vendorCode */); in createSession() 124 cb.onError(Error.CANCELED, 0 /* vendorCode */); in createSession() 140 cb.onEnrollmentsEnumerated(new int[0]); in createSession() 146 cb.onEnrollmentsRemoved(enrollmentIds); in createSession() 152 cb.onAuthenticatorIdRetrieved(0L); in createSession() 158 cb.onAuthenticatorIdInvalidated(0L); in createSession() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stylus/ |
D | StylusManager.kt | 123 executeStylusCallbacks { cb -> cb.onStylusAdded(deviceId) } in <lambda>() method 128 executeStylusCallbacks { cb -> cb.onStylusBluetoothConnected(deviceId, btAddress) } in <lambda>() method 145 executeStylusCallbacks { cb -> cb.onStylusBluetoothConnected(deviceId, currAddress) } in <lambda>() method 150 executeStylusCallbacks { cb -> cb.onStylusBluetoothDisconnected(deviceId, prevAddress) } in <lambda>() method 166 executeStylusCallbacks { cb -> cb.onStylusBluetoothDisconnected(deviceId, btAddress) } in <lambda>() method 168 executeStylusCallbacks { cb -> cb.onStylusRemoved(deviceId) } in <lambda>() method 188 executeStylusCallbacks { cb -> in <lambda>() method 189 cb.onStylusBluetoothChargingStateChanged(inputDeviceId, device, isCharging) in <lambda>() 214 executeStylusCallbacks { cb -> in <lambda>() method 215 cb.onStylusUsiBatteryStateChanged(deviceId, eventTimeMillis, batteryState) in <lambda>() [all …]
|
/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/ |
D | AudioVolumeGroupChangeHandlerTest.java | 79 final AudioVolumeGroupCallbackHelper cb = new AudioVolumeGroupCallbackHelper(); in testUnregisterInvalidCallback() local 80 audioAudioVolumeGroupChangedHandler.registerListener(cb); in testUnregisterInvalidCallback() 86 audioAudioVolumeGroupChangedHandler.unregisterListener(cb); in testUnregisterInvalidCallback() 165 for (final AudioVolumeGroupCallbackHelper cb : validCbs) { in testMultipleCallbackReceived() 166 audioAudioVolumeGroupChangedHandler.registerListener(cb); in testMultipleCallbackReceived() 193 for (final AudioVolumeGroupCallbackHelper cb : validCbs) { in testMultipleCallbackReceived() 194 cb.setExpectedVolumeGroup(volumeGroupId); in testMultipleCallbackReceived() 198 for (final AudioVolumeGroupCallbackHelper cb : validCbs) { in testMultipleCallbackReceived() 199 assertTrue(cb.waitForExpectedVolumeGroupChanged( in testMultipleCallbackReceived() 206 for (final AudioVolumeGroupCallbackHelper cb : validCbs) { in testMultipleCallbackReceived() [all …]
|
/frameworks/base/tests/vcn/java/com/android/server/vcn/routeselection/ |
D | UnderlyingNetworkControllerTest.java | 633 UnderlyingNetworkListener cb = mUnderlyingNetworkListenerCaptor.getValue(); in verifyRegistrationOnAvailableAndGetCallback() local 634 cb.onAvailable(mNetwork); in verifyRegistrationOnAvailableAndGetCallback() 638 cb.onCapabilitiesChanged(mNetwork, responseNetworkCaps); in verifyRegistrationOnAvailableAndGetCallback() 639 cb.onLinkPropertiesChanged(mNetwork, INITIAL_LINK_PROPERTIES); in verifyRegistrationOnAvailableAndGetCallback() 640 cb.onBlockedStatusChanged(mNetwork, false /* isFalse */); in verifyRegistrationOnAvailableAndGetCallback() 650 return cb; in verifyRegistrationOnAvailableAndGetCallback() 655 UnderlyingNetworkListener cb = verifyRegistrationOnAvailableAndGetCallback(); in testRecordTrackerCallbackNotifiedForNetworkCapabilitiesChange() local 659 cb.onCapabilitiesChanged(mNetwork, responseNetworkCaps); in testRecordTrackerCallbackNotifiedForNetworkCapabilitiesChange() 672 UnderlyingNetworkListener cb = verifyRegistrationOnAvailableAndGetCallback(); in testRecordTrackerCallbackNotifiedForLinkPropertiesChange() local 674 cb.onLinkPropertiesChanged(mNetwork, UPDATED_LINK_PROPERTIES); in testRecordTrackerCallbackNotifiedForLinkPropertiesChange() [all …]
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
D | RcsFeatureConnection.java | 174 public void addCallbackForSubscription(int subId, IImsCapabilityCallback cb) { in addCallbackForSubscription() argument 175 mAvailabilityCallbackManager.addCallbackForSubscription(cb, subId); in addCallbackForSubscription() 178 public void addCallbackForSubscription(int subId, IImsRegistrationCallback cb) { in addCallbackForSubscription() argument 179 mRegistrationCallbackManager.addCallbackForSubscription(cb, subId); in addCallbackForSubscription() 182 public void addCallback(IImsRegistrationCallback cb) { in addCallback() argument 183 mRegistrationCallbackManager.addCallback(cb); in addCallback() 186 public void removeCallbackForSubscription(int subId, IImsCapabilityCallback cb) { in removeCallbackForSubscription() argument 187 mAvailabilityCallbackManager.removeCallback(cb); in removeCallbackForSubscription() 190 public void removeCallbackForSubscription(int subId, IImsRegistrationCallback cb) { in removeCallbackForSubscription() argument 191 mRegistrationCallbackManager.removeCallback(cb); in removeCallbackForSubscription() [all …]
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | AndroidCameraAgentImpl.java | 314 android.hardware.Camera camera, Object cb) { in setAutoFocusMoveCallback() argument 316 camera.setAutoFocusMoveCallback((AutoFocusMoveCallback) cb); in setAutoFocusMoveCallback() 809 final Handler handler, final CameraPreviewDataCallback cb) { in setPreviewDataCallback() argument 815 handler, AndroidCameraProxyImpl.this, cb)) in setPreviewDataCallback() 823 final CameraPreviewDataCallback cb) { in setOneShotPreviewCallback() argument 829 .getNewInstance(handler, AndroidCameraProxyImpl.this, cb)) in setOneShotPreviewCallback() 837 final Handler handler, final CameraPreviewDataCallback cb) { in setPreviewDataCallbackWithBuffer() argument 843 .getNewInstance(handler, AndroidCameraProxyImpl.this, cb)) in setPreviewDataCallbackWithBuffer() 850 public void autoFocus(final Handler handler, final CameraAFCallback cb) { in autoFocus() argument 862 cb.onAutoFocus(b, AndroidCameraProxyImpl.this); in autoFocus() [all …]
|
/frameworks/base/telephony/java/android/telephony/gba/ |
D | GbaService.java | 164 IBootstrapAuthenticationCallback cb = null; in reportKeysAvailable() local 166 cb = mCallbacks.get(token); in reportKeysAvailable() 169 if (cb != null) { in reportKeysAvailable() 171 cb.onKeysAvailable(token, gbaKey, transactionId); in reportKeysAvailable() 188 IBootstrapAuthenticationCallback cb = null; in reportAuthenticationFailure() local 190 cb = mCallbacks.get(token); in reportAuthenticationFailure() 193 if (cb != null) { in reportAuthenticationFailure() 195 cb.onAuthenticationFailure(token, reason); in reportAuthenticationFailure()
|
/frameworks/native/libs/vr/libvr_manager/ |
D | vr_manager.cpp | 97 void registerListener(const sp<IVrStateCallbacks>& cb) override { in registerListener() argument 100 data.writeStrongBinder(IInterface::asBinder(cb)); in registerListener() 104 void unregisterListener(const sp<IVrStateCallbacks>& cb) override { in unregisterListener() argument 107 data.writeStrongBinder(IInterface::asBinder(cb)); in unregisterListener() 112 const sp<IPersistentVrStateCallbacks>& cb) override { in registerPersistentVrStateListener() argument 115 data.writeStrongBinder(IInterface::asBinder(cb)); in registerPersistentVrStateListener() 120 const sp<IPersistentVrStateCallbacks>& cb) override { in unregisterPersistentVrStateListener() argument 123 data.writeStrongBinder(IInterface::asBinder(cb)); in unregisterPersistentVrStateListener()
|