Searched refs:up (Results 1 - 25 of 75) sorted by relevance

123

/frameworks/native/cmds/ip-up-vpn/
H A DAndroid.mk20 LOCAL_SRC_FILES := ip-up-vpn.c
23 LOCAL_MODULE := ip-up-vpn
/frameworks/base/core/java/android/net/
H A DINetworkManagementEventObserver.aidl32 * @param up True if the interface has been enabled.
34 void interfaceStatusChanged(String iface, boolean up);
41 * @param up True if the physical link-layer connection signal is valid.
43 void interfaceLinkStateChanged(String iface, boolean up);
/frameworks/base/core/java/com/android/server/net/
H A DBaseNetworkObserver.java31 public void interfaceStatusChanged(String iface, boolean up) { argument
51 public void interfaceLinkStateChanged(String iface, boolean up) { argument
/frameworks/base/core/jni/android/opengl/
H A Dpoly_clip.cpp61 float *up, *vp, *wp; local
79 up = (float *)u;
82 for(int i = 0; i < 4; i++, wp++, up++, vp++) {
83 *wp = *up+t*(*vp-*up);
148 /* if result ended up in p2 then copy it to p1 */
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
H A DViewMatrix.java212 double[] up = {0, 0, 1};
218 v.setUpVector(up);
280 double[] up = new double[3];
284 VectorUtil.cross(zv, rv, up);
285 VectorUtil.cross(zv, up, rv);
286 VectorUtil.cross(zv, rv, up);
287 mUpVector = up;
300 double[] up = new double[3];
304 VectorUtil.cross(zv, rv, up);
305 VectorUtil.cross(zv, up, r
[all...]
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/app/
H A DActionBarDrawerToggleHoneycomb.java36 * Before JB-MR2 (API 18) it was not possible to change the home-as-up indicator glyph
60 Log.w(TAG, "Couldn't set home-as-up indicator via JB-MR2 API", e);
65 Log.w(TAG, "Couldn't set home-as-up indicator");
131 final View up = first.getId() == android.R.id.home ? second : first;
133 if (up instanceof ImageView) {
135 upIndicatorView = (ImageView) up;
/frameworks/support/v7/recyclerview/src/test/java/androidx/recyclerview/widget/
H A DAdapterHelperTest.java225 up(0, 5);
626 up(6, 2);
653 up(0, 39);
658 up(36, 29);
662 up(12, 69);
663 up(116, 13);
664 up(118, 19);
666 up(98, 21);
669 up(71, 8);
682 up(
1037 void up(int start, int count) { method in class:AdapterHelperTest
1044 void up(int start, int count, Object payload) { method in class:AdapterHelperTest
[all...]
H A DOpReorderTest.java276 up(s, len);
303 UpdateOp up(int start, int count) { method in class:OpReorderTest
582 up(1, 2);
585 assertEquals(up(2, 2), mUpdateOps.get(0));
592 up(0, 4);
595 assertEquals(up(0, 1), mUpdateOps.get(0));
596 assertEquals(up(1, 3), mUpdateOps.get(1));
603 up(1, 3);
606 assertEquals(up(3, 1), mUpdateOps.get(0));
607 assertEquals(up(
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
H A DGridScrollListenerTest.java86 KeyEvent up = new KeyEvent(0, 0, KeyEvent.ACTION_UP,
89 inst.sendKeySync(up);
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListScrollListenerTest.java84 KeyEvent up = new KeyEvent(0, 0, KeyEvent.ACTION_UP,
87 inst.sendKeySync(up);
/frameworks/native/services/sensorservice/
H A DFusion.cpp294 vec3_t up(mData[0]);
298 east = normalize(cross_product(mData[1], up));
300 east = getOrthogonal(up);
303 vec3_t north(cross_product(up, east));
304 R << east << north << up; local
370 const vec3_t up( getRotationMatrix() * Ba );
371 const vec3_t east( cross_product(m, up) );
373 // If the m and up vectors align, the cross product magnitude will
383 vec3_t north( cross_product(up, east) );
/frameworks/base/core/java/android/util/
H A DDayOfMonthCursor.java26 * <li>Provides methods to move the cursor up / down / left / right.</li>
96 * Move up one box, potentially flipping to the previous month.
100 public boolean up() { method in class:DayOfMonthCursor
102 // within current month, just move up
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DNat464Xlat.java70 RUNNING, // start() called, and the stacked iface is known to be up.
108 * @return true if clatd has been started but the stacked interface is not yet up.
115 * @return true if clatd has been started and the stacked interface is up.
151 * Enter running state just after getting confirmation that the stacked interface is up, and
279 private void handleInterfaceLinkStateChanged(String iface, boolean up) { argument
280 if (!isStarting() || !up || !Objects.equals(mIface, iface)) {
290 Slog.i(TAG, String.format("interface %s is up, adding stacked link %s on top of %s",
322 public void interfaceLinkStateChanged(String iface, boolean up) { argument
323 mNetwork.handler().post(() -> { handleInterfaceLinkStateChanged(iface, up); });
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
H A DEthernetNetworkFactory.java49 * interface's link is up, and a score of 0 otherwise.
165 boolean updateInterfaceLinkState(String ifaceName, boolean up) { argument
171 Log.d(TAG, "updateInterfaceLinkState, iface: " + ifaceName + ", up: " + up);
175 return iface.updateLinkState(up);
343 boolean updateLinkState(boolean up) { argument
344 if (mLinkUp == up) return false;
345 mLinkUp = up;
348 if (up) {
424 + "up
[all...]
H A DEthernetTracker.java57 * system (or is present at boot time) this class will start tracking it and bring it up. Only
176 // Bring up the interface so we get link status indications.
210 // restarted while it was running), we need to fake a link up notification so we
217 private void updateInterfaceState(String iface, boolean up) { argument
218 boolean modified = mFactory.updateInterfaceLinkState(iface, up);
230 mListeners.getBroadcastItem(i).onAvailabilityChanged(iface, up);
270 public void interfaceLinkStateChanged(String iface, boolean up) { argument
272 Log.i(TAG, "interfaceLinkStateChanged, iface: " + iface + ", up: " + up);
274 mHandler.post(() -> updateInterfaceState(iface, up));
[all...]
/frameworks/base/core/tests/coretests/src/android/util/
H A DDayOfMonthCursorTest.java112 // up, same month
113 assertFalse(mc.up());
118 // up, flips back
119 assertTrue(mc.up());
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothAvrcpController.java89 public void onBluetoothStateChange(boolean up) {
90 if (DBG) Log.d(TAG, "onBluetoothStateChange: up=" + up);
91 if (!up) {
H A DBluetoothPbap.java116 public void onBluetoothStateChange(boolean up) {
117 log("onBluetoothStateChange: up=" + up);
118 if (!up) {
H A DBluetoothPbapClient.java60 public void onBluetoothStateChange(boolean up) {
62 Log.d(TAG, "onBluetoothStateChange: PBAP CLIENT up=" + up);
64 if (!up) {
H A DBluetoothA2dpSink.java133 public void onBluetoothStateChange(boolean up) {
134 if (DBG) Log.d(TAG, "onBluetoothStateChange: up=" + up);
135 if (!up) {
H A DBluetoothMap.java61 public void onBluetoothStateChange(boolean up) {
62 if (DBG) Log.d(TAG, "onBluetoothStateChange: up=" + up);
63 if (!up) {
H A DBluetoothMapClient.java77 public void onBluetoothStateChange(boolean up) {
78 if (DBG) Log.d(TAG, "onBluetoothStateChange: up=" + up);
79 if (!up) {
H A DBluetoothSap.java99 public void onBluetoothStateChange(boolean up) {
100 if (DBG) Log.d(TAG, "onBluetoothStateChange: up=" + up);
101 if (!up) {
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
H A DZenDurationDialog.java241 onClickTimeButton(row, tag, true /*up*/, rowIndex);
290 protected void onClickTimeButton(View row, ConditionTag tag, boolean up, int rowId) { argument
297 int j = up ? i : N - 1 - i;
299 if (up && bucketMinutes > time || !up && bucketMinutes < time) {
311 mBucketIndex = Math.max(0, Math.min(N - 1, mBucketIndex + (up ? 1 : -1)));
H A DEnableZenModeDialog.java375 onClickTimeButton(row, tag, true /*up*/, rowId);
419 private void onClickTimeButton(View row, ConditionTag tag, boolean up, int rowId) { argument
420 MetricsLogger.action(mContext, MetricsProto.MetricsEvent.QS_DND_TIME, up);
429 int j = up ? i : N - 1 - i;
432 if (up && bucketTime > time || !up && bucketTime < time) {
447 mBucketIndex = Math.max(0, Math.min(N - 1, mBucketIndex + (up ? 1 : -1)));

Completed in 379 milliseconds

123