Home
last modified time | relevance | path

Searched refs:sm (Results 1 – 25 of 78) sorted by relevance

1234

/cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/
DStorageTest.java128 final StorageManager sm = getContext().getSystemService(StorageManager.class); in testVerifySpaceApi() local
131 final long cacheSize = sm.getCacheSizeBytes( in testVerifySpaceApi()
132 sm.getUuidForPath(getContext().getCacheDir())); in testVerifySpaceApi()
133 final long extCacheSize = sm.getCacheSizeBytes( in testVerifySpaceApi()
134 sm.getUuidForPath(getContext().getExternalCacheDir())); in testVerifySpaceApi()
178 final StorageManager sm = getContext().getSystemService(StorageManager.class); in testVerifyQuotaApi() local
180 final long cacheSize = sm.getCacheQuotaBytes( in testVerifyQuotaApi()
181 sm.getUuidForPath(getContext().getCacheDir())); in testVerifyQuotaApi()
186 final StorageManager sm = getContext().getSystemService(StorageManager.class); in testVerifyAllocateApi() local
191 final UUID filesUuid = sm.getUuidForPath(filesDir); in testVerifyAllocateApi()
[all …]
DUtilsReceiver.java54 final StorageManager sm = context.getSystemService(StorageManager.class); in doAllocation() local
62 final UUID intUuid = sm.getUuidForPath(intDir); in doAllocation()
63 final UUID extUuid = sm.getUuidForPath(extDir); in doAllocation()
69 final long quota = sm.getCacheQuotaBytes(intUuid); in doAllocation()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSubscriptionManagerTest.java416 (sm) -> sm.createSubscriptionGroup(subGroup)); in testSubscriptionGroupingWithPermission()
432 (sm) -> sm.addSubscriptionsIntoGroup(availableSubGroup, uuid)); in testSubscriptionGroupingWithPermission()
439 (sm) -> sm.removeSubscriptionsFromGroup(availableSubGroup, uuid)); in testSubscriptionGroupingWithPermission()
444 (sm) -> sm.removeSubscriptionsFromGroup(subGroup, uuid)); in testSubscriptionGroupingWithPermission()
507 (sm) -> sm.getEnabledSubscriptionId(slotId)); in testGetEnabledSubscriptionId()
515 (sm) -> sm.isSubscriptionEnabled(mSubId)); in testSetAndCheckSubscriptionEnabled()
523 (sm) -> sm.setSubscriptionEnabled(mSubId, !enabled)); in testSetAndCheckSubscriptionEnabled()
532 (sm) -> sm.getPreferredDataSubscriptionId()); in testSetPreferredDataSubscriptionId()
562 (sm) -> sm.setPreferredDataSubscriptionId(newPreferredSubId, false, in testSetPreferredDataSubscriptionId()
572 (sm) -> sm.getPreferredDataSubscriptionId()); in testSetPreferredDataSubscriptionId()
[all …]
DTelephonyManagerTest.java1136 SubscriptionManager sm = (SubscriptionManager) getContext() in testGetMeidForSlot() local
1138 List<SubscriptionInfo> subInfos = sm.getActiveSubscriptionInfoList(); in testGetMeidForSlot()
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DScopedDirectoryAccessClientTest.java110 final StorageManager sm = (StorageManager) in getVolumes() local
112 final List<StorageVolume> volumes = sm.getStorageVolumes(); in getVolumes()
118 final StorageManager sm = (StorageManager) in getPrimaryVolume() local
120 return sm.getPrimaryStorageVolume(); in getPrimaryVolume()
/cts/tests/tests/security/src/android/security/cts/
DVoldExploitTest.java31 final StorageManager sm = (StorageManager) getContext().getSystemService( in testTryCommandInjection() local
33 String path = sm.getMountedObbPath("/dev/null\0asec list"); in testTryCommandInjection()
/cts/hostsidetests/appsecurity/test-apps/StorageStatsApp/src/com/android/cts/storagestatsapp/
DStorageStatsTest.java250 final StorageManager sm = context.getSystemService(StorageManager.class); in testCacheClearing() local
255 final UUID filesUuid = sm.getUuidForPath(filesDir); in testCacheClearing()
259 final long beforeAllocatable = sm.getAllocatableBytes(filesUuid); in testCacheClearing()
279 sm.getAllocatableBytes(filesUuid), 10 * MB_IN_BYTES); in testCacheClearing()
284 sm.getAllocatableBytes(filesUuid), 10 * MB_IN_BYTES); in testCacheClearing()
298 sm.allocateBytes(filesUuid, clear1); in testCacheClearing()
313 sm.allocateBytes(filesUuid, clear2); in testCacheClearing()
325 final StorageManager sm = context.getSystemService(StorageManager.class); in testCacheBehavior() local
328 final UUID filesUuid = sm.getUuidForPath(context.getFilesDir()); in testCacheBehavior()
346 sm.setCacheBehaviorGroup(group, true); in testCacheBehavior()
[all …]
/cts/apps/NotificationBot/src/com/android/cts/robot/
DNotificationBot.java108 final ShortcutManager sm = context.getSystemService(ShortcutManager.class); in testShortcutResetSetupNotification() local
115 while (!sm.isRateLimitingActive()) { in testShortcutResetSetupNotification()
116 sm.setDynamicShortcuts(EMPTY_LIST); in testShortcutResetSetupNotification()
168 final ShortcutManager sm = context.getSystemService(ShortcutManager.class); in testShortcutResetInlineReplyReceived() local
171 final boolean success = !sm.isRateLimitingActive(); in testShortcutResetInlineReplyReceived()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-2419/
Dpoc.cpp45 sp<IServiceManager> sm = defaultServiceManager(); in doInforLeakTest() local
46 sp<IBinder> mediaPlayerSevice = sm->checkService(String16("media.player")); in doInforLeakTest()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-13232/
Dpoc.cpp75 sp<IServiceManager> sm = defaultServiceManager(); in getOutputForAttr() local
76 sp<IBinder> binder = sm->getService(String16("media.audio_policy")); in getOutputForAttr()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-13253/
Dpoc.cpp34 sp<IServiceManager> sm = defaultServiceManager(); in main() local
35 sp<IBinder> binder = sm->getService(String16("media.drm")); in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-2460/
Dpoc.cpp33 sp<IServiceManager> sm = defaultServiceManager(); in main() local
34 sp<IBinder> MeidaPlayerService = sm->checkService(String16("media.player")); in main()
/cts/tests/tests/view/src/android/view/cts/
DOrientationEventListenerTest.java63 SensorManager sm = (SensorManager)mContext.getSystemService(Context.SENSOR_SERVICE); in testCanDetectOrientation() local
65 boolean hasSensor = (sm.getDefaultSensor(Sensor.TYPE_ACCELEROMETER) != null); in testCanDetectOrientation()
/cts/tests/tests/provider/src/android/provider/cts/
DMediaStoreTest.java127 final StorageManager sm = mContext.getSystemService(StorageManager.class); in testGetStorageVolume() local
128 final StorageVolume sv = sm.getStorageVolume(uri); in testGetStorageVolume()
134 assertEquals(sm.getPrimaryStorageVolume(), sv); in testGetStorageVolume()
140 final StorageManager sm = mContext.getSystemService(StorageManager.class); in testGetStorageVolume_Unrelated() local
142 sm.getStorageVolume(Uri.parse("content://com.example/path/to/item/")); in testGetStorageVolume_Unrelated()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-2412/
Dpoc.cpp90 sp<IServiceManager> sm = defaultServiceManager(); in main() local
91 sp<IBinder> service = sm->checkService(String16("activity")); in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9424/
Dpoc.cpp50 sp<IServiceManager> sm = defaultServiceManager(); in make_crypto() local
51 sp<IBinder> drm_binder = sm->getService(String16("media.drm")); in make_crypto()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
DSearchUtil.java105 SearchManager sm = (SearchManager) context.getSystemService(Context.SEARCH_SERVICE); in getSearchableInfos() local
106 List<SearchableInfo> globalSearchableInfos = sm.getSearchablesInGlobalSearch(); in getSearchableInfos()
/cts/tests/tests/media/assets/hls_variant/165340/
D22.ts319 …����������������������GA���&��!e����\@#��.* t[�@��%Z)�)�U��D��sm G�~V�;����^�}^�\��…
626 …�s9W������TR1"(�};��d�4���ިC��� ��w,v������fQ�~�=���?:�#��G�����m���sm�O��G�&�����N���}…
/cts/tests/tests/media/assets/hls_variant/387360/
D02.ts703 �1 s����X�f��?�z�v({I|ǎ�R����>��q"f�����{sm@���`��w֣Spld�E�}W>���,ڣ�
981 +��Ś���ܯ`�U̦G���{�G��+�K�&7;���T��*d�8�D�d�G'�-1��U��cѥ��*[��I�sm��F7MM�pJ0�D?G��k:�* …
1677 ]�>�b���<xh�LN�"�߳*�S����`��j�a7� �a�M���'N�i��%$�Ԙ�f�H`��{sm"�h6��火yG\�.j B2�G�j…
D12.ts1090 …C�^�E[aVd�G���s [����S2Z�� 1��lz�z4�@y�Ϳ���h�@�Q�X���=<g��n��Ȋ :z ���sm�b����X�qnG���`�����…
/cts/tests/tests/media/assets/hls_variant/344388/
D21.ts573 ��Tz��ח����u��Ah�jEֈ*t�VO_y3��w2-�&Պg6�\���!е+���¦k��S��K���誤D��!��8ϽLtr�sm ytHտ]؄
1144 …����ܟ�����96M$Cs��\���m2$&�g�O�Dq�6gޭ.l,H^R�����t=�ŵݶIF��zv��G��hƢ=sm�b/ XZT���}�``���…
/cts/tests/tests/media/assets/hls_variant/765178/
D01.ts502 …Q��W�x��VN 0c<:x�JNb�zq� ;��Z��+9��h!3ߑ)O�u?�~^���fd��G�-z��?ܒ��sm�5��8p/���C�DHo�4��…
1086 G�p�箥��:�q���&�i���El��bK1�~�w�.HK+�5��b�sm��.�Fλ=%I:H91E�r�Dg��P��pP�o1�
1576 L�sm��d�8��9�X�͆���^ڥ��|uG�8ϺG��qv�JU
1614 r�|��`j���P�����(��sm|��(Ez��a;i�Wϡ},^V�,j��0/����)I��C5"=�߂u���L�JG�=��\
3482 …�Q�|�?�S����f��<=��e%�;~�>�:��q��b�M���uFS&E�"w��� Y� iY(���*�SqN>sm��M�+����ʻ,2�'��>���…
D19.ts253 …����������������������������������������������������������j��ґ��\�1�}�sm��b� �*z������K<l��…
1235 oR�w���{��L9��QI������bbq�sm��dL�V�Z�w[#9N�;Z�v=e�ɴ��
3101 …�nQ�� �2]�}`iˁ�9&� �?N������v����e�&d��yK̲��“�jФ�`���LɅ2��cD�U��sm}Ζ�e0�&��Z�H�ͮ��]~j…
D13.ts1314 O�[�ky���Afbx|���ļ������<Q-�����sm���:s2,�I$חY��xnEZ������x(
2167 …N�[-�T�($����>���$�W}mt��ϗYW��[7�$��ρ��pG�ϐ���p�K��*喻"��AN���� �1+�sm��k��"v�B[>3n �����…
2780 …G��>����%���;�5Dq���w�RL0mm8ˌ:G��{7��5��ќm��c�qd5���t���[xI�cD���sm�5h�������N撔��zW8s…
D03.ts1483 d�(*�������L���&L�&Y^����cj��.�sm�s�~sy��������q��G�?U������������������������������������…
1888 …�[�L�Oi��13��m��,c��S�e�$}KijӰ�w�zƏ<���T����C�_�}g*��~�s ؘ0*��a3B?�� sm�MS��um5��M��7�����`Ш
2879 …Cf�4�r=���-��@��UNT̕�P-���2�!���sGA���� ���!�i���� ����zԯ Q�ύ�! sm��r{�5%�N�W��B�cڰQr�*…

1234