Home
last modified time | relevance | path

Searched refs:sa (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/core/java/android/content/pm/
DPackageParser.java169 TypedArray sa; field in PackageParser.ParsePackageItemArgs
932 TypedArray sa = res.obtainAttributes(attrs, in parsePackage() local
934 pkg.mVersionCode = sa.getInteger( in parsePackage()
936 pkg.mVersionName = sa.getNonConfigurationString( in parsePackage()
941 String str = sa.getNonConfigurationString( in parsePackage()
952 pkg.mSharedUserLabel = sa.getResourceId( in parsePackage()
955 sa.recycle(); in parsePackage()
957 pkg.installLocation = sa.getInteger( in parsePackage()
1018 sa = res.obtainAttributes(attrs, in parsePackage()
1023 String name = sa.getNonResourceString( in parsePackage()
[all …]
DPackageItemInfo.java278 CharSequence sa = aa.loadLabel(mPM); in compare() local
279 if (sa == null) sa = aa.name; in compare()
282 return sCollator.compare(sa.toString(), sb.toString()); in compare()
DResolveInfo.java334 CharSequence sa = a.loadLabel(mPM); in compare() local
335 if (sa == null) sa = a.activityInfo.name; in compare()
339 return sCollator.compare(sa.toString(), sb.toString()); in compare()
DApplicationInfo.java513 CharSequence sa = mPM.getApplicationLabel(aa); in compare() local
514 if (sa == null) { in compare()
515 sa = aa.packageName; in compare()
522 return sCollator.compare(sa.toString(), sb.toString()); in compare()
/frameworks/av/media/libstagefright/codecs/aacenc/src/
Dquantize.c129 Word32 sa; in quantizeLines() local
132 sa = L_abs(mdctSpeL); in quantizeLines()
134 saShft = sa >> g; in quantizeLines()
155 qua = quantizeSingleLine(gain, sa); in quantizeLines()
177 Word32 sa; in quantizeLines() local
180 sa = L_abs(mdctSpeL); in quantizeLines()
181 saShft = sa << g; in quantizeLines()
202 qua = quantizeSingleLine(gain, sa); in quantizeLines()
351 Word32 sa; in calcSfbDist() local
353 sa = L_abs(spec[line]); in calcSfbDist()
[all …]
/frameworks/base/core/java/android/content/
DSyncAdaptersCache.java48 TypedArray sa = res.obtainAttributes(attrs, in parseServiceAttributes() local
52 sa.getString(com.android.internal.R.styleable.SyncAdapter_contentAuthority); in parseServiceAttributes()
54 sa.getString(com.android.internal.R.styleable.SyncAdapter_accountType); in parseServiceAttributes()
59 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_userVisible, true); in parseServiceAttributes()
61 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_supportsUploading, in parseServiceAttributes()
64 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_isAlwaysSyncable, in parseServiceAttributes()
67 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_allowParallelSyncs, in parseServiceAttributes()
70 sa.getString(com.android.internal.R.styleable in parseServiceAttributes()
75 sa.recycle(); in parseServiceAttributes()
/frameworks/base/core/java/android/accounts/
DAccountAuthenticatorCache.java55 TypedArray sa = res.obtainAttributes(attrs, in parseServiceAttributes() local
59 sa.getString(com.android.internal.R.styleable.AccountAuthenticator_accountType); in parseServiceAttributes()
60 final int labelId = sa.getResourceId( in parseServiceAttributes()
62 final int iconId = sa.getResourceId( in parseServiceAttributes()
64 final int smallIconId = sa.getResourceId( in parseServiceAttributes()
66 final int prefId = sa.getResourceId( in parseServiceAttributes()
68 final boolean customTokens = sa.getBoolean( in parseServiceAttributes()
76 sa.recycle(); in parseServiceAttributes()
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
Darray_init.rs7 short sa[4] = {1, 1, 2, 3};
29 _RS_ASSERT(sa[0] == 1);
30 _RS_ASSERT(sa[1] == 1);
31 _RS_ASSERT(sa[2] == 2);
32 _RS_ASSERT(sa[3] == 3);
DUT_array_init.java51 short[] sa = s.get_sa(); in checkInit() local
52 _RS_ASSERT("sa[0] == 1", sa[0] == 1); in checkInit()
53 _RS_ASSERT("sa[1] == 1", sa[1] == 1); in checkInit()
54 _RS_ASSERT("sa[2] == 2", sa[2] == 2); in checkInit()
55 _RS_ASSERT("sa[3] == 3", sa[3] == 3); in checkInit()
56 _RS_ASSERT("sa.length == 4", sa.length == 4); in checkInit()
/frameworks/compile/libbcc/runtime/lib/
Dmulvti3.c42 ti_int sa = a >> (N - 1); in __mulvti3() local
43 ti_int abs_a = (a ^ sa) - sa; in __mulvti3()
48 if (sa == sb) in __mulvti3()
Dmulvdi3.c40 di_int sa = a >> (N - 1); in __mulvdi3() local
41 di_int abs_a = (a ^ sa) - sa; in __mulvdi3()
46 if (sa == sb) in __mulvdi3()
Dmulvsi3.c40 si_int sa = a >> (N - 1); in __mulvsi3() local
41 si_int abs_a = (a ^ sa) - sa; in __mulvsi3()
46 if (sa == sb) in __mulvsi3()
/frameworks/base/core/java/android/app/
DWallpaperInfo.java116 TypedArray sa = res.obtainAttributes(attrs, in WallpaperInfo() local
118 settingsActivityComponent = sa.getString( in WallpaperInfo()
121 thumbnailRes = sa.getResourceId( in WallpaperInfo()
124 authorRes = sa.getResourceId( in WallpaperInfo()
127 descriptionRes = sa.getResourceId( in WallpaperInfo()
131 sa.recycle(); in WallpaperInfo()
/frameworks/base/cmds/ip-up-vpn/
Dip-up-vpn.c41 static int set_address(struct sockaddr *sa, const char *address) { in set_address() argument
42 sa->sa_family = AF_INET; in set_address()
44 return inet_pton(AF_INET, address, &((struct sockaddr_in *)sa)->sin_addr); in set_address()
/frameworks/base/core/jni/
Dandroid_net_LocalSocketImpl.cpp168 } sa; in socket_accept() local
187 addrlen = sizeof(sa); in socket_accept()
188 ret = accept(fd, &(sa.address), &addrlen); in socket_accept()
852 } sa;
854 memset(&sa, 0, sizeof(sa));
856 socklen_t namelen = sizeof(sa);
857 err = getsockname(fd, &(sa.address), &namelen);
864 if (sa.address.sa_family != AF_UNIX) {
871 if (sa.un_address.sun_path[0] == '\0') {
/frameworks/base/core/java/android/view/textservice/
DSpellCheckerInfo.java95 TypedArray sa = res.obtainAttributes(attrs, in SpellCheckerInfo() local
97 label = sa.getResourceId(com.android.internal.R.styleable.SpellChecker_label, 0); in SpellCheckerInfo()
98 settingsActivityComponent = sa.getString( in SpellCheckerInfo()
100 sa.recycle(); in SpellCheckerInfo()
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pGroup.java125 String sa = null; in WifiP2pGroup() local
132 sa = nameValue[1]; in WifiP2pGroup()
147 mOwner = new WifiP2pDevice(sa); in WifiP2pGroup()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodInfo.java139 TypedArray sa = res.obtainAttributes(attrs, in InputMethodInfo() local
141 settingsActivityComponent = sa.getString( in InputMethodInfo()
143 isDefaultResId = sa.getResourceId( in InputMethodInfo()
145 sa.recycle(); in InputMethodInfo()
/frameworks/compile/slang/lit-tests/P_array_init/
Darray_init.rs25 short sa[4] = {1, 1, 2, 3};
/frameworks/compile/slang/tests/P_array_init/
Darray_init.rs11 short sa[4] = {1, 1, 2, 3};
/frameworks/base/core/java/android/net/
DProxy.java222 InetSocketAddress sa = (InetSocketAddress)prefProxy.address(); in getPreferredHttpHost() local
223 return new HttpHost(sa.getHostName(), sa.getPort(), "http"); in getPreferredHttpHost()
/frameworks/base/core/java/android/preference/
DPreferenceActivity.java785 TypedArray sa = getResources().obtainAttributes(attrs, in loadHeadersFromResource() local
787 header.id = sa.getResourceId( in loadHeadersFromResource()
790 TypedValue tv = sa.peekValue( in loadHeadersFromResource()
799 tv = sa.peekValue( in loadHeadersFromResource()
808 tv = sa.peekValue( in loadHeadersFromResource()
817 tv = sa.peekValue( in loadHeadersFromResource()
826 header.iconRes = sa.getResourceId( in loadHeadersFromResource()
828 header.fragment = sa.getString( in loadHeadersFromResource()
830 sa.recycle(); in loadHeadersFromResource()
/frameworks/base/core/java/android/app/admin/
DDeviceAdminInfo.java260 TypedArray sa = res.obtainAttributes(attrs, in DeviceAdminInfo() local
263 mVisible = sa.getBoolean( in DeviceAdminInfo()
266 sa.recycle(); in DeviceAdminInfo()
/frameworks/base/services/java/com/android/server/
DAppWidgetServiceImpl.java1430 TypedArray sa = res.obtainAttributes(attrs, in parseProviderInfoXml() local
1436 TypedValue value = sa in parseProviderInfoXml()
1439 value = sa.peekValue(com.android.internal.R.styleable.AppWidgetProviderInfo_minHeight); in parseProviderInfoXml()
1441 value = sa.peekValue( in parseProviderInfoXml()
1444 value = sa.peekValue( in parseProviderInfoXml()
1447 info.updatePeriodMillis = sa.getInt( in parseProviderInfoXml()
1449 info.initialLayout = sa.getResourceId( in parseProviderInfoXml()
1451 info.initialKeyguardLayout = sa.getResourceId(com.android.internal.R.styleable. in parseProviderInfoXml()
1453 String className = sa in parseProviderInfoXml()
1460 info.previewImage = sa.getResourceId( in parseProviderInfoXml()
[all …]
/frameworks/base/services/common_time/
Dcommon_time_server.cpp1397 const struct sockaddr_in* sa = in sockaddrToString() local
1399 unsigned long a = ntohl(sa->sin_addr.s_addr); in sockaddrToString()
1400 uint16_t p = ntohs(sa->sin_port); in sockaddrToString()
1407 const struct sockaddr_in6* sa = in sockaddrToString() local
1409 const uint8_t* a = sa->sin6_addr.s6_addr; in sockaddrToString()
1410 uint16_t p = ntohs(sa->sin6_port); in sockaddrToString()

12