/packages/apps/Dialer/java/com/android/voicemail/impl/ |
D | VoicemailTranscriptionServiceGrpc.java | 19 import static io.grpc.stub.ClientCalls.asyncUnaryCall; 20 import static io.grpc.stub.ClientCalls.asyncServerStreamingCall; 21 import static io.grpc.stub.ClientCalls.asyncClientStreamingCall; 22 import static io.grpc.stub.ClientCalls.asyncBidiStreamingCall; 23 import static io.grpc.stub.ClientCalls.blockingUnaryCall; 24 import static io.grpc.stub.ClientCalls.blockingServerStreamingCall; 25 import static io.grpc.stub.ClientCalls.futureUnaryCall; 27 import static io.grpc.stub.ServerCalls.asyncUnaryCall; 28 import static io.grpc.stub.ServerCalls.asyncServerStreamingCall; 29 import static io.grpc.stub.ServerCalls.asyncClientStreamingCall; [all …]
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/ |
D | InternetPreferenceRepositoryTest.kt | 39 import org.mockito.kotlin.stub 70 mockConnectivityRepository.stub { in <lambda>() 73 mockWifiSummaryRepository.stub { on { summaryFlow() } doReturn flowOf(SUMMARY) } in <lambda>() 100 mockConnectivityRepository.stub { in <lambda>() 103 mockDataSubscriptionRepository.stub { on { dataSummaryFlow() } doReturn flowOf(SUMMARY) } in <lambda>() 124 mockConnectivityRepository.stub { in <lambda>() 127 mockDataSubscriptionRepository.stub { on { dataSummaryFlow() } doReturn flowOf(SUMMARY) } in <lambda>() 148 mockConnectivityRepository.stub { in <lambda>() 165 mockConnectivityRepository.stub { in <lambda>() 169 mockWifiRepository.stub { in <lambda>() [all …]
|
D | MobileNetworkListFragmentTest.kt | 32 import org.mockito.kotlin.stub 47 mockUserManager.stub { in isPageSearchEnabled_adminUser_shouldReturnTrue() 50 mockResources.stub { in isPageSearchEnabled_adminUser_shouldReturnTrue() 62 mockUserManager.stub { in isPageSearchEnabled_nonAdminUser_shouldReturnFalse() 65 mockResources.stub { in isPageSearchEnabled_nonAdminUser_shouldReturnFalse()
|
D | BluetoothWiFiResetPreferenceControllerTest.kt | 39 import org.mockito.kotlin.stub 68 mockUserManager.stub { in getAvailabilityStatus_isAdminUser_returnAvailable() 79 mockUserManager.stub { in getAvailabilityStatus_notAdminUser_returnConditionallyUnavailable() 97 mockResources.stub { in resetOperation_onDeviceWithSimVisible_notResetConnectivity() 108 mockResources.stub { in resetOperation_onDeviceWithSimInvisible_resetVpn()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/grpc/ |
D | TranscriptionClient.java | 29 private final VoicemailTranscriptionServiceGrpc.VoicemailTranscriptionServiceBlockingStub stub; field in TranscriptionClient 32 VoicemailTranscriptionServiceGrpc.VoicemailTranscriptionServiceBlockingStub stub) { in TranscriptionClient() argument 33 this.stub = stub; in TranscriptionClient() 39 return new TranscriptionResponseSync(stub.transcribeVoicemail(request)); in sendSyncRequest() 48 return new TranscriptionResponseAsync(stub.transcribeVoicemailAsync(request)); in sendUploadRequest() 57 return new GetTranscriptResponseAsync(stub.getTranscript(request)); in sendGetTranscriptRequest() 67 return new TranscriptionFeedbackResponseAsync(stub.sendTranscriptionFeedback(request)); in sendTranscriptFeedbackRequest()
|
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/provision/grpc/impl/ |
D | DeviceCheckInClientImpl.java | 186 DeviceLockCheckinServiceBlockingStub stub; in getDeviceCheckInStatus() local 191 stub = mNonVpnBlockingStub; in getDeviceCheckInStatus() 194 return getDeviceCheckInStatus(deviceIds, carrierInfo, fcmRegistrationToken, stub); in getDeviceCheckInStatus() 202 @NonNull DeviceLockCheckinServiceBlockingStub stub) { in getDeviceCheckInStatus() argument 206 stub.withDeadlineAfter(GRPC_DEADLINE_MS, TimeUnit.MILLISECONDS) in getDeviceCheckInStatus() 221 DeviceLockCheckinServiceBlockingStub stub; in isDeviceInApprovedCountry() local 226 stub = mNonVpnBlockingStub; in isDeviceInApprovedCountry() 230 return isDeviceInApprovedCountry(carrierInfo, stub); in isDeviceInApprovedCountry() 236 @Nullable String carrierInfo, @NonNull DeviceLockCheckinServiceBlockingStub stub) { in isDeviceInApprovedCountry() argument 239 stub.withDeadlineAfter(GRPC_DEADLINE_MS, TimeUnit.MILLISECONDS) in isDeviceInApprovedCountry() [all …]
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/telephony/ |
D | MmsMessagePreferenceControllerTest.kt | 33 import org.mockito.kotlin.stub 76 mockTelephonyManager2.stub { in getAvailabilityStatus_mobileDataOn_unavailable() 87 mockTelephonyManager2.stub { in getAvailabilityStatus_meteredOff_unavailable() 99 mockTelephonyManager2.stub { in getAvailabilityStatus_isDefaultDataAndDataOnAndAutoDataSwitchOn_unavailable() 114 mockTelephonyManager2.stub { in getAvailabilityStatus_isDefaultDataAndDataOffAndAutoDataSwitchOn_available() 128 mockTelephonyManager1.stub { in getAvailabilityStatus_defaultDataOnAndAutoDataSwitchOn_unavailable() 131 mockTelephonyManager2.stub { in getAvailabilityStatus_defaultDataOnAndAutoDataSwitchOn_unavailable() 144 mockTelephonyManager1.stub { in getAvailabilityStatus_defaultDataOffAndAutoDataSwitchOn_available() 147 mockTelephonyManager2.stub { in getAvailabilityStatus_defaultDataOffAndAutoDataSwitchOn_available() 160 mockTelephonyManager2.stub { in isChecked_whenMmsNotAlwaysAllowed_returnFalse() [all …]
|
D | SubscriptionActivationRepositoryTest.kt | 39 import org.mockito.kotlin.stub 63 mockCallStateRepository.stub { in <lambda>() 66 mockSatelliteRepository.stub { in <lambda>() 77 mockCallStateRepository.stub { in <lambda>() 80 mockSatelliteRepository.stub { in <lambda>() 91 mockCallStateRepository.stub { in <lambda>() 94 mockSatelliteRepository.stub { in <lambda>() 112 mockTelephonyManager.stub { in <lambda>() 123 mockTelephonyManager.stub { in <lambda>()
|
D | DisableSimFooterPreferenceControllerTest.kt | 31 import org.mockito.kotlin.stub 61 subscriptionInfo.stub { in getAvailabilityStatus_eSim_notAvailable() 72 mockSubscriptionRepository.stub { in getAvailabilityStatus_pSimAndCannotDisable_available() 75 subscriptionInfo.stub { in getAvailabilityStatus_pSimAndCannotDisable_available() 86 mockSubscriptionRepository.stub { in getAvailabilityStatus_pSimAndCanDisable_notAvailable() 89 subscriptionInfo.stub { in getAvailabilityStatus_pSimAndCanDisable_notAvailable()
|
D | MobileNetworkSwitchControllerTest.kt | 43 import org.mockito.kotlin.stub 77 mockSubscriptionManager.stub { in isVisible_pSimAndCanDisablePhysicalSubscription_returnTrue() 80 mockSubscriptionRepository.stub { in isVisible_pSimAndCanDisablePhysicalSubscription_returnTrue() 96 mockSubscriptionManager.stub { in isVisible_pSimAndCannotDisablePhysicalSubscription_returnFalse() 99 mockSubscriptionRepository.stub { in isVisible_pSimAndCannotDisablePhysicalSubscription_returnFalse() 115 mockSubscriptionRepository.stub { in isVisible_eSim_returnTrue() 127 mockSubscriptionRepository.stub { in isChecked_subscriptionEnabled_switchIsOn() 140 mockSubscriptionRepository.stub { in isChecked_subscriptionNotEnabled_switchIsOff()
|
D | NetworkSelectRepositoryTest.kt | 33 import org.mockito.kotlin.stub 60 mockTelephonyManager.stub { in getNetworkRegistrationInfo_notConnected_returnNull() 71 mockTelephonyManager.stub { in getNetworkRegistrationInfo_nullServiceState_returnNull() 82 mockServiceState.stub { in getNetworkRegistrationInfo_emptyNetworkList_returnNull() 97 mockServiceState.stub { in getNetworkRegistrationInfo_hasNetworkList_returnInfo() 104 mockTelephonyManager.stub { in getNetworkRegistrationInfo_hasNetworkList_returnInfo()
|
D | NrAdvancedCallingPreferenceControllerTest.kt | 39 import org.mockito.kotlin.stub 63 voNrRepository.stub { in isChecked_voNrEnabled_on() 77 voNrRepository.stub { in isChecked_voNrDisabled_off() 91 callStateRepository.stub { in isEnabled_notInCall_enabled() 105 callStateRepository.stub { in isEnabled_inCall_notEnabled() 119 voNrRepository.stub { in <lambda>()
|
D | SubscriptionRepositoryTest.kt | 38 import org.mockito.kotlin.stub 68 mockSubscriptionManager.stub { in <lambda>() 99 mockSubscriptionManager.stub { in getSelectableSubscriptionInfoList_sortedBySimSlotIndex() 120 mockSubscriptionManager.stub { in getSelectableSubscriptionInfoList_oneNotInSlot_inSlotSortedFirst() 141 mockSubscriptionManager.stub { in getSelectableSubscriptionInfoList_sameGroupAndOneHasSlot_returnTheOneWithSimSlotIndex() 163 mockSubscriptionManager.stub { in getSelectableSubscriptionInfoList_sameGroupAndNonHasSlot_returnTheOneWithMinimumSubId() 183 mockSubscriptionManager.stub { in <lambda>()
|
D | WifiCallingPreferenceControllerTest.kt | 43 import org.mockito.kotlin.stub 88 mockTelecomManager.stub { in <lambda>() 91 mockWifiCallingRepository.stub { in <lambda>() 104 mockTelecomManager.stub { in <lambda>() 117 mockCallStateRepository.stub { in isEnabled_callIdle_enabled() 129 mockCallStateRepository.stub { in <lambda>()
|
/packages/apps/Dialer/java/com/android/dialer/binary/aosp/ |
D | AospDialerRootComponent.java | 19 import com.android.bubble.stub.StubBubbleModule; 28 import com.android.dialer.duo.stub.StubDuoModule; 29 import com.android.dialer.enrichedcall.stub.StubEnrichedCallModule; 30 import com.android.dialer.feedback.stub.StubFeedbackModule; 38 import com.android.dialer.preferredsim.suggestion.stub.StubSimSuggestionModule; 41 import com.android.dialer.simulator.stub.StubSimulatorEnrichedCallModule; 42 import com.android.dialer.spam.stub.StubSpamModule; 46 import com.android.incallui.calllocation.stub.StubCallLocationModule; 47 import com.android.incallui.maps.stub.StubMapsModule;
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/telephony/wificalling/ |
D | WifiCallingRepositoryTest.kt | 38 import org.mockito.kotlin.stub 62 mockTelephonyManager.stub { in getWiFiCallingMode_roamingAndNotUseWfcHomeModeForRoaming_returnRoamingSetting() 66 mockImsMmTelRepository.stub { in getWiFiCallingMode_roamingAndNotUseWfcHomeModeForRoaming_returnRoamingSetting() 77 mockTelephonyManager.stub { in getWiFiCallingMode_roamingAndUseWfcHomeModeForRoaming_returnHomeSetting() 81 mockImsMmTelRepository.stub { in getWiFiCallingMode_roamingAndUseWfcHomeModeForRoaming_returnHomeSetting() 92 mockTelephonyManager.stub { in getWiFiCallingMode_notRoaming_returnHomeSetting() 95 mockImsMmTelRepository.stub { in getWiFiCallingMode_notRoaming_returnHomeSetting() 106 mockImsMmTelRepository.stub { in <lambda>() 121 mockCarrierConfigManager.stub { in mockUseWfcHomeModeForRoaming()
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/wifi/details2/ |
D | WifiPrivacyPreferenceController2Test.kt | 33 import org.mockito.kotlin.stub 56 controller.stub { in updateState_wifiPrivacy_setCorrectValue() 70 controller.stub { in updateState_wifiNotMetered_setCorrectValue() 84 mockWifiEntry.stub { in updateState_canSetPrivacyInNextUpdate_shouldBeSelectable() 91 mockWifiEntry.stub { in updateState_canSetPrivacyInNextUpdate_shouldBeSelectable() 101 mockWifiEntry.stub { in updateState_canNotSetPrivacyInNextUpdate_shouldNotBeSelectable() 108 mockWifiEntry.stub { in updateState_canNotSetPrivacyInNextUpdate_shouldNotBeSelectable() 118 mockWifiEntry.stub { in onPreferenceChange_sameNewValue_doNoting() 132 mockWifiEntry.stub { in onPreferenceChange_differentNewValue_setAndReconnect()
|
/packages/apps/TV/tests/robotests/src/com/android/tv/data/ |
D | ProgramDataManagerTest.java | 31 import com.android.tv.perf.stub.StubPerformanceMonitor; 118 ProgramInfo stub = ProgramInfo.create(); in testProgramUtils() local 120 int index = stub.getIndex(mClock.currentTimeMillis(), channelId); in testProgramUtils() 121 long startTimeMs = stub.getStartTimeMs(index, channelId); in testProgramUtils() 122 ProgramInfo programAt = stub.build(RuntimeEnvironment.application, index); in testProgramUtils() 160 ProgramInfo stub = ProgramInfo.create(); in testGetPrograms() local 161 int index = stub.getIndex(mClock.currentTimeMillis(), channelId); in testGetPrograms() 163 ProgramInfo programInfoAt = stub.build(RuntimeEnvironment.application, index); in testGetPrograms() 164 long startTimeMs = stub.getStartTimeMs(index, channelId); in testGetPrograms() 192 ProgramInfo stub = ProgramInfo.create(); in testCurrentProgramListener() local [all …]
|
/packages/modules/Virtualization/vm_payload/stub/ |
D | readme.txt | 1 The stub.c file here is a checked-in version of a generated code file. 5 libvm_payload.map.txt) and then compile it to form the stub version of 6 libvm_payload.so. Clients link against the stub, but at runtime they 10 suitable stub libvm_payload.so to be built. 17 …stub file can then be found at out/soong/.intermediates/packages/modules/Virtualization/vm_payload…
|
/packages/apps/Dialer/java/com/android/dialer/binary/google/ |
D | GoogleStubDialerRootComponent.java | 19 import com.android.bubble.stub.StubBubbleModule; 28 import com.android.dialer.duo.stub.StubDuoModule; 29 import com.android.dialer.enrichedcall.stub.StubEnrichedCallModule; 30 import com.android.dialer.feedback.stub.StubFeedbackModule; 38 import com.android.dialer.preferredsim.suggestion.stub.StubSimSuggestionModule; 41 import com.android.dialer.simulator.stub.StubSimulatorEnrichedCallModule; 42 import com.android.dialer.spam.stub.StubSpamModule;
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/appinfo/ |
D | AppForceStopButtonTest.kt | 47 import org.mockito.kotlin.stub 80 mockAppForceStopRepository.stub { in getActionButton_isStopped_buttonDisabled() 92 mockAppForceStopRepository.stub { in getActionButton_regularApp_buttonEnabled() 103 mockPackageManager.stub { in getAdminRestriction_packageNotProtected() 114 mockPackageManager.stub { in getAdminRestriction_packageProtectedAndHaveOwner() 117 mockDevicePolicyManager.stub { in getAdminRestriction_packageProtectedAndHaveOwner() 128 mockPackageManager.stub { in getAdminRestriction_packageProtectedAndNotHaveOwner() 131 mockDevicePolicyManager.stub { in getAdminRestriction_packageProtectedAndNotHaveOwner()
|
/packages/modules/AppSearch/framework/java/android/app/appsearch/ |
D | GlobalSearchSession.java | 277 IAppSearchObserverProxy stub = null; in registerObserverCallback() local 281 stub = observersForPackage.get(observer); in registerObserverCallback() 283 if (stub == null) { in registerObserverCallback() 285 stub = in registerObserverCallback() 354 stub); in registerObserverCallback() 372 observersForPackage.put(observer, stub); in registerObserverCallback() 400 IAppSearchObserverProxy stub; in unregisterObserverCallback() local 407 stub = observersForPackage.get(observer); in unregisterObserverCallback() 408 if (stub == null) { in unregisterObserverCallback() 422 stub); in unregisterObserverCallback()
|
/packages/services/Car/service/src/com/android/car/ |
D | VehicleStub.java | 255 VehicleStub stub = new AidlVehicleStub(); in newVehicleStub() local 256 if (stub.isValid()) { in newVehicleStub() 260 return new FakeVehicleStub(stub); in newVehicleStub() 266 return stub; in newVehicleStub() 271 stub = new HidlVehicleStub(); in newVehicleStub() 273 if (!stub.isValid()) { in newVehicleStub() 277 return stub; in newVehicleStub()
|
/packages/modules/Bluetooth/system/blueberry/grpc/ |
D | blueberry_test_client.py | 19 def _UpdateDiscoveryMode(stub, request): argument 22 response = stub.SetDiscoverableMode(request) 35 stub = blueberry_device_controller_pb2_grpc.BlueberryDeviceControllerStub( 42 return _UpdateDiscoveryMode(stub, request)
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/system/ |
D | ClientInitiatedActionRepositoryTest.kt | 33 import org.mockito.kotlin.stub 49 mockCarrierConfigManager.stub { in onSystemUpdate_runtimeException_doNothing() 60 mockCarrierConfigManager.stub { in onSystemUpdate_illegalStateException_doNothing() 71 mockCarrierConfigManager.stub { in onSystemUpdate_notEnabled() 82 mockCarrierConfigManager.stub { in onSystemUpdate_enabled()
|