Searched refs:sa (Results 1 - 25 of 30) sorted by relevance

12

/frameworks/base/core/java/android/content/
H A DSyncAdaptersCache.java48 TypedArray sa = res.obtainAttributes(attrs,
52 sa.getString(com.android.internal.R.styleable.SyncAdapter_contentAuthority);
54 sa.getString(com.android.internal.R.styleable.SyncAdapter_accountType);
59 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_userVisible, true);
61 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_supportsUploading,
64 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_isAlwaysSyncable,
67 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_allowParallelSyncs,
70 sa.getString(com.android.internal.R.styleable
75 sa.recycle();
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
H A DUT_array_init.java51 short[] sa = s.get_sa();
52 _RS_ASSERT("sa[0] == 1", sa[0] == 1);
53 _RS_ASSERT("sa[1] == 1", sa[1] == 1);
54 _RS_ASSERT("sa[2] == 2", sa[2] == 2);
55 _RS_ASSERT("sa[3] == 3", sa[3] == 3);
56 _RS_ASSERT("sa
[all...]
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
H A DUT_array_init.java51 short[] sa = s.get_sa();
52 _RS_ASSERT("sa[0] == 1", sa[0] == 1);
53 _RS_ASSERT("sa[1] == 1", sa[1] == 1);
54 _RS_ASSERT("sa[2] == 2", sa[2] == 2);
55 _RS_ASSERT("sa[3] == 3", sa[3] == 3);
56 _RS_ASSERT("sa
[all...]
/frameworks/base/services/java/com/android/server/accounts/
H A DAccountAuthenticatorCache.java58 TypedArray sa = res.obtainAttributes(attrs,
62 sa.getString(com.android.internal.R.styleable.AccountAuthenticator_accountType);
63 final int labelId = sa.getResourceId(
65 final int iconId = sa.getResourceId(
67 final int smallIconId = sa.getResourceId(
69 final int prefId = sa.getResourceId(
71 final boolean customTokens = sa.getBoolean(
79 sa.recycle();
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dquantize.c129 Word32 sa; local
132 sa = L_abs(mdctSpeL);
133 //saShft = L_shr(sa, 16 + g);
134 saShft = sa >> g;
155 qua = quantizeSingleLine(gain, sa);
177 Word32 sa; local
180 sa = L_abs(mdctSpeL);
181 saShft = sa << g;
202 qua = quantizeSingleLine(gain, sa);
351 Word32 sa; local
401 Word32 sa; local
[all...]
/frameworks/base/core/java/android/content/pm/
H A DPackageParser.java172 TypedArray sa; field in class:PackageParser.ParsePackageItemArgs
979 TypedArray sa = res.obtainAttributes(attrs,
981 pkg.mVersionCode = sa.getInteger(
983 pkg.mVersionName = sa.getNonConfigurationString(
988 String str = sa.getNonConfigurationString(
999 pkg.mSharedUserLabel = sa.getResourceId(
1002 sa.recycle();
1004 pkg.installLocation = sa.getInteger(
1075 sa = res.obtainAttributes(attrs,
1077 cPref.reqTouchScreen = sa
2221 parsePackageItemInfo(Package owner, PackageItemInfo outInfo, String[] outError, String tag, TypedArray sa, int nameRes, int labelRes, int iconRes, int logoRes) argument
[all...]
H A DPackageItemInfo.java278 CharSequence sa = aa.loadLabel(mPM);
279 if (sa == null) sa = aa.name;
282 return sCollator.compare(sa.toString(), sb.toString());
H A DApplicationInfo.java540 CharSequence sa = mPM.getApplicationLabel(aa);
541 if (sa == null) {
542 sa = aa.packageName;
549 return sCollator.compare(sa.toString(), sb.toString());
H A DResolveInfo.java377 CharSequence sa = a.loadLabel(mPM);
378 if (sa == null) sa = a.activityInfo.name;
382 return mCollator.compare(sa.toString(), sb.toString());
/frameworks/native/cmds/ip-up-vpn/
H A Dip-up-vpn.c41 static int set_address(struct sockaddr *sa, const char *address) { argument
42 sa->sa_family = AF_INET;
44 return inet_pton(AF_INET, address, &((struct sockaddr_in *)sa)->sin_addr);
/frameworks/base/core/java/android/app/
H A DWallpaperInfo.java116 TypedArray sa = res.obtainAttributes(attrs,
118 settingsActivityComponent = sa.getString(
121 thumbnailRes = sa.getResourceId(
124 authorRes = sa.getResourceId(
127 descriptionRes = sa.getResourceId(
131 sa.recycle();
/frameworks/base/core/java/android/nfc/cardemulation/
H A DApduServiceInfo.java143 TypedArray sa = res.obtainAttributes(attrs,
146 mDescription = sa.getString(
148 mRequiresDeviceUnlock = sa.getBoolean(
151 mBannerResourceId = sa.getResourceId(
153 sa.recycle();
155 TypedArray sa = res.obtainAttributes(attrs,
158 mDescription = sa.getString(
161 mBannerResourceId = sa.getResourceId(
163 sa.recycle();
/frameworks/base/core/java/android/view/textservice/
H A DSpellCheckerInfo.java95 TypedArray sa = res.obtainAttributes(attrs,
97 label = sa.getResourceId(com.android.internal.R.styleable.SpellChecker_label, 0);
98 settingsActivityComponent = sa.getString(
100 sa.recycle();
/frameworks/base/core/jni/
H A Dandroid_net_LocalSocketImpl.cpp148 } sa; local
167 addrlen = sizeof(sa);
168 ret = accept(fd, &(sa.address), &addrlen);
830 } sa;
832 memset(&sa, 0, sizeof(sa));
834 socklen_t namelen = sizeof(sa);
835 err = getsockname(fd, &(sa.address), &namelen);
842 if (sa.address.sa_family != AF_UNIX) {
849 if (sa
[all...]
/frameworks/native/cmds/atrace/
H A Datrace.cpp677 struct sigaction sa; local
678 sigemptyset(&sa.sa_mask);
679 sa.sa_flags = 0;
680 sa.sa_handler = handleSignal;
681 sigaction(SIGHUP, &sa, NULL);
682 sigaction(SIGINT, &sa, NULL);
683 sigaction(SIGQUIT, &sa, NULL);
684 sigaction(SIGTERM, &sa, NULL);
/frameworks/base/core/java/android/net/
H A DProxy.java212 InetSocketAddress sa = (InetSocketAddress)prefProxy.address();
213 return new HttpHost(sa.getHostName(), sa.getPort(), "http");
/frameworks/base/wifi/java/android/net/wifi/p2p/
H A DWifiP2pGroup.java90 * P2P-INVITATION-RECEIVED sa=fa:7b:7a:42:02:13 go_dev_addr=f8:7b:7a:42:02:13
93 * P2P-INVITATION-RECEIVED sa=b8:f9:34:2a:c7:9d persistent=0
127 String sa = null;
133 if (nameValue[0].equals("sa")) {
134 sa = nameValue[1];
149 mOwner = new WifiP2pDevice(sa);
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodInfo.java163 TypedArray sa = res.obtainAttributes(attrs,
165 settingsActivityComponent = sa.getString(
167 isDefaultResId = sa.getResourceId(
169 supportsSwitchingToNextInputMethod = sa.getBoolean(
172 sa.recycle();
/frameworks/base/core/java/android/preference/
H A DPreferenceActivity.java797 TypedArray sa = getResources().obtainAttributes(attrs,
799 header.id = sa.getResourceId(
802 TypedValue tv = sa.peekValue(
811 tv = sa.peekValue(
820 tv = sa.peekValue(
829 tv = sa.peekValue(
838 header.iconRes = sa.getResourceId(
840 header.fragment = sa.getString(
842 sa.recycle();
/frameworks/base/core/java/android/app/admin/
H A DDeviceAdminInfo.java260 TypedArray sa = res.obtainAttributes(attrs,
263 mVisible = sa.getBoolean(
266 sa.recycle();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
H A DModelInterpreter.java175 ModelInterpreter (InetSocketAddress sa) throws java.io.IOException argument
180 mSS.bind(sa);
/frameworks/base/services/common_time/
H A Dcommon_time_server.cpp1397 const struct sockaddr_in* sa = local
1399 unsigned long a = ntohl(sa->sin_addr.s_addr);
1400 uint16_t p = ntohs(sa->sin_port);
1407 const struct sockaddr_in6* sa = local
1409 const uint8_t* a = sa->sin6_addr.s6_addr;
1410 uint16_t p = ntohs(sa->sin6_port);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DDessertCaseView.java216 <T> T pick(SparseArray<T> sa) { argument
217 return sa.valueAt((int)(Math.random()*sa.size()));
/frameworks/base/core/java/android/os/
H A DParcel.java1734 SparseArray sa = new SparseArray(N);
1735 readSparseArrayInternal(sa, N, loader);
1736 return sa;
1749 SparseBooleanArray sa = new SparseBooleanArray(N);
1750 readSparseBooleanArrayInternal(sa, N);
1751 return sa;
/frameworks/base/services/jni/
H A Dcom_android_server_connectivity_Vpn.cpp47 static inline in_addr_t *as_in_addr(sockaddr *sa) { argument
48 return &((sockaddr_in *)sa)->sin_addr.s_addr;

Completed in 795 milliseconds

12