Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/content/pm/
DPackageParser.java167 TypedArray sa; field in PackageParser.ParsePackageItemArgs
957 TypedArray sa = res.obtainAttributes(attrs, in parsePackage() local
959 pkg.mVersionCode = sa.getInteger( in parsePackage()
961 pkg.mVersionName = sa.getNonConfigurationString( in parsePackage()
966 String str = sa.getNonConfigurationString( in parsePackage()
977 pkg.mSharedUserLabel = sa.getResourceId( in parsePackage()
980 sa.recycle(); in parsePackage()
982 pkg.installLocation = sa.getInteger( in parsePackage()
1049 sa = res.obtainAttributes(attrs, in parsePackage()
1051 cPref.reqTouchScreen = sa.getInt( 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.java525 CharSequence sa = mPM.getApplicationLabel(aa); in compare() local
526 if (sa == null) { in compare()
527 sa = aa.packageName; in compare()
534 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/services/java/com/android/server/accounts/
DAccountAuthenticatorCache.java58 TypedArray sa = res.obtainAttributes(attrs, in parseServiceAttributes() local
62 sa.getString(com.android.internal.R.styleable.AccountAuthenticator_accountType); in parseServiceAttributes()
63 final int labelId = sa.getResourceId( in parseServiceAttributes()
65 final int iconId = sa.getResourceId( in parseServiceAttributes()
67 final int smallIconId = sa.getResourceId( in parseServiceAttributes()
69 final int prefId = sa.getResourceId( in parseServiceAttributes()
71 final boolean customTokens = sa.getBoolean( in parseServiceAttributes()
79 sa.recycle(); in parseServiceAttributes()
/frameworks/rs/java/tests/RsTest/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/rs/java/tests/RSTest_CompatLib/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/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/native/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()
876 } sa;
878 memset(&sa, 0, sizeof(sa));
880 socklen_t namelen = sizeof(sa);
881 err = getsockname(fd, &(sa.address), &namelen);
888 if (sa.address.sa_family != AF_UNIX) {
895 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/native/cmds/atrace/
Datrace.cpp673 struct sigaction sa; in registerSigHandler() local
674 sigemptyset(&sa.sa_mask); in registerSigHandler()
675 sa.sa_flags = 0; in registerSigHandler()
676 sa.sa_handler = handleSignal; in registerSigHandler()
677 sigaction(SIGHUP, &sa, NULL); in registerSigHandler()
678 sigaction(SIGINT, &sa, NULL); in registerSigHandler()
679 sigaction(SIGQUIT, &sa, NULL); in registerSigHandler()
680 sigaction(SIGTERM, &sa, NULL); in registerSigHandler()
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pGroup.java127 String sa = null; in WifiP2pGroup() local
134 sa = nameValue[1]; in WifiP2pGroup()
149 mOwner = new WifiP2pDevice(sa); in WifiP2pGroup()
/frameworks/compile/slang/tests/P_array_init/
Darray_init.rs11 short sa[4] = {1, 1, 2, 3};
/frameworks/compile/slang/lit-tests/P_array_init/
Darray_init.rs25 short sa[4] = {1, 1, 2, 3};
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodInfo.java145 TypedArray sa = res.obtainAttributes(attrs, in InputMethodInfo() local
147 settingsActivityComponent = sa.getString( in InputMethodInfo()
149 isDefaultResId = sa.getResourceId( in InputMethodInfo()
151 sa.recycle(); in InputMethodInfo()
/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.java791 TypedArray sa = getResources().obtainAttributes(attrs, in loadHeadersFromResource() local
793 header.id = sa.getResourceId( in loadHeadersFromResource()
796 TypedValue tv = sa.peekValue( in loadHeadersFromResource()
805 tv = sa.peekValue( in loadHeadersFromResource()
814 tv = sa.peekValue( in loadHeadersFromResource()
823 tv = sa.peekValue( in loadHeadersFromResource()
832 header.iconRes = sa.getResourceId( in loadHeadersFromResource()
834 header.fragment = sa.getString( in loadHeadersFromResource()
836 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.java1503 TypedArray sa = res.obtainAttributes(attrs, in parseProviderInfoXml() local
1509 TypedValue value = sa in parseProviderInfoXml()
1512 value = sa.peekValue(com.android.internal.R.styleable.AppWidgetProviderInfo_minHeight); in parseProviderInfoXml()
1514 value = sa.peekValue( in parseProviderInfoXml()
1517 value = sa.peekValue( in parseProviderInfoXml()
1520 info.updatePeriodMillis = sa.getInt( in parseProviderInfoXml()
1522 info.initialLayout = sa.getResourceId( in parseProviderInfoXml()
1524 info.initialKeyguardLayout = sa.getResourceId(com.android.internal.R.styleable. in parseProviderInfoXml()
1526 String className = sa in parseProviderInfoXml()
1533 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