Home
last modified time | relevance | path

Searched refs:pcoData (Results 1 – 4 of 4) sorted by relevance

/packages/services/Iwlan/test/com/google/android/iwlan/
DIwlanBroadcastReceiverTest.java55 private byte[] pcoData = TEST_PCO_STRING.getBytes(); field in IwlanBroadcastReceiverTest
122 verify(mMockEpdgSelector, times(1)).setPcoData(testPcoIdIPv6, pcoData); in testOnReceiveIPv6Pass()
130 verify(mMockEpdgSelector, times(1)).setPcoData(testPcoIdIPv4, pcoData); in testOnReceiveIPv4Pass()
138 verify(mMockEpdgSelector, times(0)).setPcoData(testPcoIdIPv6, pcoData); in testOnReceiveIncorrectApnType()
146 verify(mMockEpdgSelector, times(0)).setPcoData(0xFF00, pcoData); in testOnReceiveMethodIncorrectPcoId()
176 mIntent.putExtra(EXTRA_PCO_VALUE_KEY, pcoData); in onReceiveMethodWithArgs()
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/
DEpdgSelector.java99 public boolean setPcoData(int pcoId, byte[] pcoData) { in setPcoData() argument
100 Log.d(TAG, "onReceive PcoId:" + String.format("0x%04x", pcoId) + " PcoData:" + pcoData); in setPcoData()
118 mV4PcoData = pcoData; in setPcoData()
122 mV6PcoData = pcoData; in setPcoData()
571 private void getInetAddressWithPcoData(byte[] pcoData, ArrayList<InetAddress> validIpList) { in getInetAddressWithPcoData() argument
573 if (pcoData != null && pcoData.length > 0) { in getInetAddressWithPcoData()
575 ipAddress = InetAddress.getByAddress(pcoData); in getInetAddressWithPcoData()
/packages/services/Iwlan/src/com/google/android/iwlan/
DIwlanBroadcastReceiver.java97 byte[] pcoData = intent.getByteArrayExtra(TelephonyManager.EXTRA_PCO_VALUE); in processCarrierSignalPcoValue()
99 Log.d(TAG, "PcoID:" + String.format("0x%04x", pcoId) + " PcoData:" + pcoData); in processCarrierSignalPcoValue()
126 boolean ret = selector.setPcoData(pcoId, pcoData); in processCarrierSignalPcoValue()
/packages/services/Iwlan/test/com/google/android/iwlan/epdg/
DEpdgSelectorTest.java71 private byte[] pcoData = testPcoString.getBytes(); field in EpdgSelectorTest
282 boolean retIPv6 = mEpdgSelector.setPcoData(testPcoIdIPv6, pcoData); in testSetPcoData()
283 boolean retIPv4 = mEpdgSelector.setPcoData(testPcoIdIPv4, pcoData); in testSetPcoData()
284 boolean retIncorrect = mEpdgSelector.setPcoData(0xFF00, pcoData); in testSetPcoData()