Home
last modified time | relevance | path

Searched refs:inst (Results 1 – 25 of 27) sorted by relevance

12

/packages/apps/Bluetooth/src/com/android/bluetooth/sdp/
DSdpManager.java166 boolean add(SdpSearchInstance inst) { in add() argument
167 return mList.add(inst); in add()
170 boolean remove(SdpSearchInstance inst) { in remove() argument
171 return mList.remove(inst); in remove()
184 for (SdpSearchInstance inst : mList) { in getSearchInstance()
185 if (inst.getDevice().getAddress().equals(addressString) && inst.getUuid() in getSearchInstance()
187 return inst; in getSearchInstance()
195 for (SdpSearchInstance inst : mList) { in isSearching()
196 if (inst.getDevice().getAddress().equals(addressString) && inst.getUuid() in isSearching()
198 return inst.isSearching(); in isSearching()
[all …]
/packages/apps/Camera2/tests/src/com/android/camera/stress/
DVideoCapture.java69 public void captureVideos(String reportTag, Instrumentation inst) throws Exception{ in captureVideos() argument
78 inst.sendCharacterSync(KeyEvent.KEYCODE_CAMERA); in captureVideos()
80 inst.sendCharacterSync(KeyEvent.KEYCODE_CAMERA); in captureVideos()
86 Instrumentation inst = getInstrumentation(); in testBackVideoCapture() local
93 Activity act = inst.startActivitySync(intent); in testBackVideoCapture()
95 captureVideos("Back Camera Video Capture\n", inst); in testBackVideoCapture()
100 Instrumentation inst = getInstrumentation(); in testFrontVideoCapture() local
107 Activity act = inst.startActivitySync(intent); in testFrontVideoCapture()
109 captureVideos("Front Camera Video Capture\n", inst); in testFrontVideoCapture()
DImageCapture.java68 public void captureImages(String reportTag, Instrumentation inst) { in captureImages() argument
81 inst.sendKeySync(focusEvent); in captureImages()
82 inst.sendCharacterSync(KeyEvent.KEYCODE_CAMERA); in captureImages()
93 Instrumentation inst = getInstrumentation(); in testBackImageCapture() local
100 Activity act = inst.startActivitySync(intent); in testBackImageCapture()
102 captureImages("Back Camera Image Capture\n", inst); in testBackImageCapture()
107 Instrumentation inst = getInstrumentation(); in testFrontImageCapture() local
114 Activity act = inst.startActivitySync(intent); in testFrontImageCapture()
116 captureImages("Front Camera Image Capture\n", inst); in testFrontImageCapture()
DCameraStartUp.java52 Instrumentation inst = getInstrumentation(); in launchCamera() local
53 Activity cameraActivity = inst.startActivitySync(intent); in launchCamera()
75 Instrumentation inst = getInstrumentation(); in launchVideo() local
76 Activity recorderActivity = inst.startActivitySync(intent); in launchVideo()
DCameraLatency.java74 Instrumentation inst = getInstrumentation(); in testImageCapture() local
75 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_DOWN); in testImageCapture()
79 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_CENTER); in testImageCapture()
DShotToShotLatency.java94 Instrumentation inst = getInstrumentation(); in testShotToShotLatency() local
98 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_CENTER); in testShotToShotLatency()
DSwitchPreview.java91 Instrumentation inst = getInstrumentation(); in testSwitchMode() local
/packages/apps/LegacyCamera/tests/src/com/android/camera/stress/
DVideoCapture.java72 public void captureVideos(String reportTag, Instrumentation inst) throws Exception{ in captureVideos() argument
81 inst.sendCharacterSync(KeyEvent.KEYCODE_CAMERA); in captureVideos()
83 inst.sendCharacterSync(KeyEvent.KEYCODE_CAMERA); in captureVideos()
90 Instrumentation inst = getInstrumentation(); in testBackVideoCapture() local
97 Activity act = inst.startActivitySync(intent); in testBackVideoCapture()
99 captureVideos("Back Camera Video Capture\n", inst); in testBackVideoCapture()
105 Instrumentation inst = getInstrumentation(); in testFrontVideoCapture() local
112 Activity act = inst.startActivitySync(intent); in testFrontVideoCapture()
114 captureVideos("Front Camera Video Capture\n", inst); in testFrontVideoCapture()
DImageCapture.java70 public void captureImages(String reportTag, Instrumentation inst) { in captureImages() argument
83 inst.sendKeySync(focusEvent); in captureImages()
84 inst.sendCharacterSync(KeyEvent.KEYCODE_CAMERA); in captureImages()
96 Instrumentation inst = getInstrumentation(); in testBackImageCapture() local
103 Activity act = inst.startActivitySync(intent); in testBackImageCapture()
105 captureImages("Back Camera Image Capture\n", inst); in testBackImageCapture()
111 Instrumentation inst = getInstrumentation(); in testFrontImageCapture() local
118 Activity act = inst.startActivitySync(intent); in testFrontImageCapture()
120 captureImages("Front Camera Image Capture\n", inst); in testFrontImageCapture()
DCameraStartUp.java53 Instrumentation inst = getInstrumentation(); in launchCamera() local
54 Activity cameraActivity = inst.startActivitySync(intent); in launchCamera()
75 Instrumentation inst = getInstrumentation(); in launchVideo() local
76 Activity recorderActivity = inst.startActivitySync(intent); in launchVideo()
DCameraLatency.java72 Instrumentation inst = getInstrumentation(); in testImageCapture() local
73 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_DOWN); in testImageCapture()
77 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_CENTER); in testImageCapture()
DSwitchPreview.java92 Instrumentation inst = getInstrumentation(); in testSwitchMode() local
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DAvrcpBipClient.java396 AvrcpBipClientHandler(Looper looper, AvrcpBipClient inst) { in AvrcpBipClientHandler() argument
398 mInst = new WeakReference<>(inst); in AvrcpBipClientHandler()
403 AvrcpBipClient inst = mInst.get(); in handleMessage() local
406 if (!inst.isConnected()) { in handleMessage()
407 inst.connect(); in handleMessage()
412 if (inst.isConnected()) { in handleMessage()
413 inst.disconnect(); in handleMessage()
418 if (inst.isConnected()) { in handleMessage()
419 inst.refreshObexSession(); in handleMessage()
424 if (inst.isConnected()) { in handleMessage()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
DMasClient.java215 MasClientHandler(Looper looper, MasClient inst) { in MasClientHandler() argument
217 mInst = new WeakReference<>(inst); in MasClientHandler()
222 MasClient inst = mInst.get(); in handleMessage() local
225 if (!inst.mConnected) { in handleMessage()
226 inst.connect(); in handleMessage()
231 if (inst.mConnected) { in handleMessage()
232 inst.disconnect(); in handleMessage()
237 if (inst.mConnected) { in handleMessage()
238 inst.executeRequest((Request) msg.obj); in handleMessage()
DMnsObexServer.java123 Byte inst = oap.getByte(Request.OAP_TAGID_MAS_INSTANCE_ID); in onPut() local
/packages/apps/LegacyCamera/tests/src/com/android/camera/power/
DImageAndVideoCapture.java77 Instrumentation inst = getInstrumentation(); in testCapture5Image() local
81 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_UP); in testCapture5Image()
82 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_CENTER); in testCapture5Image()
95 Instrumentation inst = getInstrumentation(); in testCapture5Videos() local
105 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_CENTER); in testCapture5Videos()
107 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_CENTER); in testCapture5Videos()
/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/
DTestCommandReceiver.java120 Instrumentation inst = InstrumentationRegistry.getInstrumentation(); in callCommand() local
121 Uri uri = Uri.parse("content://" + inst.getContext().getPackageName() + ".commands"); in callCommand()
122 return inst.getTargetContext().getContentResolver().call(uri, command, arg, null); in callCommand()
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
DIpClientIntegrationTest.java420 final Instrumentation inst = InstrumentationRegistry.getInstrumentation();
422 inst.getUiAutomation().adoptShellPermissionIdentity();
427 inst.getContext().getSystemService(Context.TEST_NETWORK_SERVICE);
432 inst.getUiAutomation().dropShellPermissionIdentity();
452 final Instrumentation inst = InstrumentationRegistry.getInstrumentation();
454 (IBinder) inst.getContext().getSystemService(Context.NETD_SERVICE);
/packages/inputmethods/LatinIME/dictionaries/
Dsv_wordlist.combined.gz1dictionary=main:sv,locale=sv,description=Svenska,date=1414726264, ...
Des_wordlist.combined.gz1dictionary=main:es,locale=es,description=Español,date=1414726268, ...
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dpt_PT_wordlist.combined.gz1dictionary=main:pt_pt,locale=pt_PT,description=Português (Portugal),date ...
Dde_wordlist.combined.gz1dictionary=main:de,locale=de,description=Deutsch,date=1414726263, ...
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...

12