Home
last modified time | relevance | path

Searched refs:isDeviceInApprovedCountry (Results 1 – 10 of 10) sorted by relevance

/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/provision/worker/
DIsDeviceInApprovedCountryWorkerTest.java69 when(mClient.isDeviceInApprovedCountry(any())).thenReturn(mResponse); in setUp()
94 when(mResponse.isDeviceInApprovedCountry()).thenReturn(true); in doWork_responseIsSuccessful_isInApprovedCountry_correctResultAndLog()
109 when(mResponse.isDeviceInApprovedCountry()).thenReturn(false); in doWork_responseIsSuccessful_isNotInApprovedCountry_correctResultAndLog()
124 when(mResponse.isDeviceInApprovedCountry()).thenReturn(false); in doWork_responseIsNotSuccessful_failureResultAndLog()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/provision/grpc/impl/
DDeviceCheckInClientImpl.java215 public IsDeviceInApprovedCountryGrpcResponse isDeviceInApprovedCountry( in isDeviceInApprovedCountry() method in DeviceCheckInClientImpl
219 isDeviceInApprovedCountry(carrierInfo, mDefaultBlockingStub); in isDeviceInApprovedCountry()
230 return isDeviceInApprovedCountry(carrierInfo, stub); in isDeviceInApprovedCountry()
235 private IsDeviceInApprovedCountryGrpcResponse isDeviceInApprovedCountry( in isDeviceInApprovedCountry() method in DeviceCheckInClientImpl
240 .isDeviceInApprovedCountry(createIsDeviceInApprovedCountryRequest( in isDeviceInApprovedCountry()
DIsDeviceInApprovedCountryGrpcResponseWrapper.java46 public boolean isDeviceInApprovedCountry() { in isDeviceInApprovedCountry() method in IsDeviceInApprovedCountryGrpcResponseWrapper
DGetDeviceCheckInStatusGrpcResponseWrapper.java158 public boolean isDeviceInApprovedCountry() { in isDeviceInApprovedCountry() method in GetDeviceCheckInStatusGrpcResponseWrapper
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/debug/
DDeviceCheckInClientDebug.java186 public boolean isDeviceInApprovedCountry() { in getDeviceCheckInStatus() method in DeviceCheckInClientDebug
204 public IsDeviceInApprovedCountryGrpcResponse isDeviceInApprovedCountry(
209 public boolean isDeviceInApprovedCountry() {
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/provision/worker/
DIsDeviceInApprovedCountryWorker.java68 client.isDeviceInApprovedCountry(carrierInfo); in startWork()
79 response.isDeviceInApprovedCountry()).build()); in startWork()
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/provision/grpc/impl/
DDeviceCheckinClientImplTest.java353 mDeviceCheckInClientImpl.isDeviceInApprovedCountry(TEST_CARRIER_INFO))) in isDeviceInApprovedCountry_succeeds()
391 mDeviceCheckInClientImpl.isDeviceInApprovedCountry(TEST_CARRIER_INFO))) in isDeviceInApprovedCountry_noDefaultConnectivity_fallsBackToNonVpn()
419 mDeviceCheckInClientImpl.isDeviceInApprovedCountry(TEST_CARRIER_INFO))) in isDeviceInApprovedCountry_noConnectivityOrNonVpnNetwork_isNotSuccessful()
452 mDeviceCheckInClientImpl.isDeviceInApprovedCountry(TEST_CARRIER_INFO))) in isDeviceInApprovedCountry_lostNonVpnConnection_isNotSuccessful()
759 public void isDeviceInApprovedCountry(IsDeviceInApprovedCountryRequest req, in makeSucceedingService() method in DeviceCheckinClientImplTest
800 public void isDeviceInApprovedCountry(IsDeviceInApprovedCountryRequest req,
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/provision/grpc/
DIsDeviceInApprovedCountryGrpcResponse.java42 public abstract boolean isDeviceInApprovedCountry(); in isDeviceInApprovedCountry() method in IsDeviceInApprovedCountryGrpcResponse
DGetDeviceCheckInStatusGrpcResponse.java103 public abstract boolean isDeviceInApprovedCountry(); in isDeviceInApprovedCountry() method in GetDeviceCheckInStatusGrpcResponse
DDeviceCheckInClient.java158 public abstract IsDeviceInApprovedCountryGrpcResponse isDeviceInApprovedCountry( in isDeviceInApprovedCountry() method in DeviceCheckInClient