Looks like even on the emulator the ConnectivityService is setting up the 
net.dns* properties. 

It looks like in the full build (full-eng), the telephony components (via 
full_base_telephony.mk) is being included. This seems to trigger the 
addition of the net.dns* properties through a chain that includes 
GsmPhone*, MobileDataStateTracker etc. 

But in full_x86 build (full_x86-eng), the telephony components are not 
included. Does anybody know why these components are not included in the 
full_x86 build?

Thanks,

Sreekanth

On Wednesday, December 5, 2012 5:35:58 PM UTC-6, Sreekanth Vietla wrote:
>
> Thanks Robert. I will check if ConnectivityService is setting net.dns* 
> properties on emulator.
>
> Sreekanth
>
> On Wednesday, December 5, 2012 12:31:52 PM UTC-6, Robert Greenwalt wrote:
>>
>> On a device the net.dns* properties are set by ConnectivityService.java. 
>>  I'm not sure how this may change on the emulator.
>>
>>
>>
>> On Wed, Dec 5, 2012 at 7:58 AM, Sreekanth Vietla <vie...@gmail.com>wrote:
>>
>>> I have built AOSP jelly bean (4.1.1_r6) for x86 and loaded the images 
>>> into the emulator. But I am not able to access the internet using DNS 
>>> names. Looks like the property 'net.dns1' is not set. 
>>>
>>> I have built the same version for arm and loaded the images into the 
>>> emulator. But this time, I am able to access the internet without a problem 
>>> using DNS names. Also, the 'net.dns1' property is set properly.
>>>
>>> What is the difference between arm and x86 builds as far as DNS is 
>>> concerned? How is the 'net.dns1' property set? Can somebody please point me 
>>> to the code/scripts that sets this property in the AOSP source?
>>>
>>> Thanks,
>>> Sreekanth
>>>
>>> -- 
>>> unsubscribe: android-porti...@googlegroups.com
>>> website: http://groups.google.com/group/android-porting
>>>
>>
>>

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to