Searched defs:inst (Results 1 - 7 of 7) sorted by relevance

/packages/apps/Camera2/tests/src/com/android/camera/stress/
H A DVideoCapture.java69 public void captureVideos(String reportTag, Instrumentation inst) throws Exception{ argument
78 inst.sendCharacterSync(KeyEvent.KEYCODE_CAMERA);
80 inst.sendCharacterSync(KeyEvent.KEYCODE_CAMERA);
86 Instrumentation inst = getInstrumentation();
93 Activity act = inst.startActivitySync(intent);
95 captureVideos("Back Camera Video Capture\n", inst);
100 Instrumentation inst = getInstrumentation();
107 Activity act = inst.startActivitySync(intent);
109 captureVideos("Front Camera Video Capture\n", inst);
H A DImageCapture.java68 public void captureImages(String reportTag, Instrumentation inst) { argument
81 inst.sendKeySync(focusEvent);
82 inst.sendCharacterSync(KeyEvent.KEYCODE_CAMERA);
93 Instrumentation inst = getInstrumentation();
100 Activity act = inst.startActivitySync(intent);
102 captureImages("Back Camera Image Capture\n", inst);
107 Instrumentation inst = getInstrumentation();
114 Activity act = inst.startActivitySync(intent);
116 captureImages("Front Camera Image Capture\n", inst);
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/util/
H A DTempStorage.java33 private static TempStorage inst = null; field in class:TempStorage
40 if (inst != null) {
41 inst = (TempStorage) Class.forName(clazz).newInstance();
49 if (inst == null) {
50 inst = new SimpleTempStorage();
63 return inst;
66 public static void setInstance(TempStorage inst) { argument
67 if (inst == null) {
68 throw new NullPointerException("inst");
70 TempStorage.inst
[all...]
/packages/apps/LegacyCamera/tests/src/com/android/camera/stress/
H A DImageCapture.java70 public void captureImages(String reportTag, Instrumentation inst) { argument
83 inst.sendKeySync(focusEvent);
84 inst.sendCharacterSync(KeyEvent.KEYCODE_CAMERA);
96 Instrumentation inst = getInstrumentation();
103 Activity act = inst.startActivitySync(intent);
105 captureImages("Back Camera Image Capture\n", inst);
111 Instrumentation inst = getInstrumentation();
118 Activity act = inst.startActivitySync(intent);
120 captureImages("Front Camera Image Capture\n", inst);
H A DVideoCapture.java72 public void captureVideos(String reportTag, Instrumentation inst) throws Exception{ argument
81 inst.sendCharacterSync(KeyEvent.KEYCODE_CAMERA);
83 inst.sendCharacterSync(KeyEvent.KEYCODE_CAMERA);
90 Instrumentation inst = getInstrumentation();
97 Activity act = inst.startActivitySync(intent);
99 captureVideos("Back Camera Video Capture\n", inst);
105 Instrumentation inst = getInstrumentation();
112 Activity act = inst.startActivitySync(intent);
114 captureVideos("Front Camera Video Capture\n", inst);
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
H A DMasClient.java176 MasClientHandler(Looper looper, MasClient inst) { argument
178 mInst = new WeakReference<>(inst);
183 MasClient inst = mInst.get();
184 if (!inst.mConnected && msg.what != CONNECT) {
191 inst.connect();
195 inst.disconnect();
199 inst.executeRequest((Request) msg.obj);
/packages/apps/Bluetooth/src/com/android/bluetooth/sdp/
H A DSdpManager.java155 boolean add(SdpSearchInstance inst){ argument
156 return list.add(inst);
159 boolean remove(SdpSearchInstance inst) { argument
160 return list.remove(inst);
173 for (SdpSearchInstance inst : list) {
174 if (inst.getDevice().getAddress().equals(addressString)
175 && inst.getUuid().equals(uuid)) {
176 return inst;
184 for (SdpSearchInstance inst : list) {
185 if (inst
441 sendSdpIntent(SdpSearchInstance inst, Parcelable record, boolean moreResults) argument
[all...]

Completed in 199 milliseconds