Home
last modified time | relevance | path

Searched refs:mgr (Results 1 – 9 of 9) sorted by relevance

/cts/suite/audio_quality/client/src/com/android/cts/audiotest/
DCtsAudioClientActivity.java69 AudioManager mgr = (AudioManager) getSystemService(Context.AUDIO_SERVICE); in setVolume() local
70 mgr.setStreamMute(stream, false); in setVolume()
71 int original = mgr.getStreamVolume(AudioManager.STREAM_MUSIC); in setVolume()
74 targetLevel = mgr.getStreamMaxVolume(stream); in setVolume()
76 mgr.setStreamVolume(stream, targetLevel, 0); in setVolume()
/cts/tests/tests/telephony/src/android/telephony/cts/
DCarrierConfigManagerTest.java47 ConnectivityManager mgr = in hasTelephony() local
49 return mgr.isNetworkSupported(ConnectivityManager.TYPE_MOBILE); in hasTelephony()
/cts/hostsidetests/incident/apps/boundwidgetapp/src/android/appwidget/cts/
DAppWidgetTest.java94 AppWidgetManager mgr = getAppWidgetManager(); in setupWidget() local
97 assertEquals(0, mgr.getAppWidgetIds(prov.provider).length); in setupWidget()
107 assertEquals(1, mgr.getAppWidgetIds(prov.provider).length); in setupWidget()
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/
DEventBasicVerificationTest.java42 SensorManager mgr = (SensorManager) mContext.getSystemService(Context.SENSOR_SERVICE); in testVerify() local
47 Sensor sensor2 = mgr.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); in testVerify()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/widget/
DWidgetCtsProvider.java97 AppWidgetManager mgr = AppWidgetManager.getInstance(ctx); in onReceive() local
98 Bundle options = getAppWidgetOptions(mgr, widgetId); in onReceive()
99 updateWidget(ctx, widgetId, mgr, options); in onReceive()
111 Bundle getAppWidgetOptions(AppWidgetManager mgr, int widgetId) { in getAppWidgetOptions() argument
113 return mgr.getAppWidgetOptions(widgetId); in getAppWidgetOptions()
/cts/tests/camera/libctscamera2jni/
Dnative-camera-jni.cpp1197 ACameraManager* mgr = ACameraManager_create(); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetCameraIdsNative() local
1199 camera_status_t ret = ACameraManager_getCameraIdList(mgr, &cameraIdList); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetCameraIdsNative()
1214 if (mgr) { in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetCameraIdsNative()
1215 ACameraManager_delete(mgr); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetCameraIdsNative()
1233 ACameraManager* mgr = ACameraManager_create(); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerAvailabilityCallbackNative() local
1235 camera_status_t ret = ACameraManager_getCameraIdList(mgr, &cameraIdList); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerAvailabilityCallbackNative()
1242 ret = ACameraManager_registerAvailabilityCallback(mgr, &cbs); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerAvailabilityCallbackNative()
1256 ret = ACameraManager_unregisterAvailabilityCallback(mgr, &cbs); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerAvailabilityCallbackNative()
1266 if (mgr) { in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerAvailabilityCallbackNative()
1267 ACameraManager_delete(mgr); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerAvailabilityCallbackNative()
[all …]
/cts/tests/tests/provider/src/android/provider/cts/
DMockFontProvider.java206 final AssetManager mgr = context.getAssets(); in prepareFontFiles() local
208 try (InputStream is = mgr.open(path)) { in prepareFontFiles()
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DCarrierApiTest.java111 ConnectivityManager mgr = in hasCellular() local
113 return mgr.isNetworkSupported(ConnectivityManager.TYPE_MOBILE) && in hasCellular()
/cts/tests/tests/media/assets/
Dsegment000001.ts2029 ���1_���o����IE��� /�C�z�%��`mgr�$��׫�{/�N❗ĝ�G��@�ᛈR0z�Z�=��#h��O��2G죉/e����̶�e����#�g…