Home
last modified time | relevance | path

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

/system/extras/tests/workloads/
Ddefs.sh60 (-s) deviceName=$2; shift;;
88 if [ -z "$deviceName" ]; then
91 devInfo=$(adb devices -l | grep $deviceName)
95 echo Error: could not find device $deviceName
98 deviceName=$1
99 ADB="adb -s $deviceName shell "
/system/chre/java/test/utils/src/com/google/android/utils/chre/
DContextHubHostTestUtil.java183 String deviceName = Build.DEVICE; in deviceInAllowlist() local
185 if (element.equals(deviceName)) { in deviceInAllowlist()
208 String deviceName = Build.DEVICE; in deviceInDenylist() local
211 if (delimited.length != 0 && delimited[0].equals(deviceName)) { in deviceInDenylist()
/system/netd/server/
DXfrmController.cpp1469 netdutils::Status XfrmController::ipSecAddTunnelInterface(const std::string& deviceName, in ipSecAddTunnelInterface() argument
1475 ALOGD("deviceName=%s", deviceName.c_str()); in ipSecAddTunnelInterface()
1486 return ipSecAddXfrmInterface(deviceName, interfaceId, flags); in ipSecAddTunnelInterface()
1488 return ipSecAddVirtualTunnelInterface(deviceName, localAddress, remoteAddress, ikey, okey, in ipSecAddTunnelInterface()
1493 netdutils::Status XfrmController::ipSecAddXfrmInterface(const std::string& deviceName, in ipSecAddXfrmInterface() argument
1497 if (deviceName.empty()) { in ipSecAddXfrmInterface()
1567 strlcpy(xfrmIntfCreateReq.ifName, deviceName.c_str(), IFNAMSIZ); in ipSecAddXfrmInterface()
1582 netdutils::Status XfrmController::ipSecAddVirtualTunnelInterface(const std::string& deviceName, in ipSecAddVirtualTunnelInterface() argument
1589 if (deviceName.empty() || localAddress.empty() || remoteAddress.empty()) { in ipSecAddVirtualTunnelInterface()
1615 char iflaIfNameStrValue[deviceName.length() + 1]; in ipSecAddVirtualTunnelInterface()
[all …]
DXfrmController.h267 static netdutils::Status ipSecAddTunnelInterface(const std::string& deviceName,
273 static netdutils::Status ipSecRemoveTunnelInterface(const std::string& deviceName);
448 static netdutils::Status ipSecAddXfrmInterface(const std::string& deviceName,
450 static netdutils::Status ipSecAddVirtualTunnelInterface(const std::string& deviceName,
DNetdNativeService.h223 binder::Status ipSecAddTunnelInterface(const std::string& deviceName,
228 binder::Status ipSecUpdateTunnelInterface(const std::string& deviceName,
233 binder::Status ipSecRemoveTunnelInterface(const std::string& deviceName);
DNetdNativeService.cpp664 binder::Status NetdNativeService::ipSecAddTunnelInterface(const std::string& deviceName, in ipSecAddTunnelInterface() argument
672 deviceName, localAddress, remoteAddress, iKey, oKey, interfaceId, false)); in ipSecAddTunnelInterface()
675 binder::Status NetdNativeService::ipSecUpdateTunnelInterface(const std::string& deviceName, in ipSecUpdateTunnelInterface() argument
683 deviceName, localAddress, remoteAddress, iKey, oKey, interfaceId, true)); in ipSecUpdateTunnelInterface()
686 binder::Status NetdNativeService::ipSecRemoveTunnelInterface(const std::string& deviceName) { in ipSecRemoveTunnelInterface() argument
689 return asBinderStatus(gCtls->xfrmCtrl.ipSecRemoveTunnelInterface(deviceName)); in ipSecRemoveTunnelInterface()
/system/extras/ioblame/
Dioblame-gmail-launch.example35 File: /data/com.google.android.gm/files/deviceName
188 /data/com.google.android.gm/files/deviceName Reads: 4 KB i_size: 17 bytes
Dioblame-gmail-run.example43 File: /data/com.google.android.gm/files/deviceName
914 /data/com.google.android.gm/files/deviceName Reads: 4 KB i_size: 17 bytes
/system/netd/tests/
Dbinder_test.cpp385 const std::string deviceName; in TEST_F() member
403 status = mNetd->ipSecAddTunnelInterface(td.deviceName, td.localAddress, td.remoteAddress, in TEST_F()
408 EXPECT_NE(0U, if_nametoindex(td.deviceName.c_str())); in TEST_F()
411 status = mNetd->ipSecUpdateTunnelInterface(td.deviceName, td.localAddress, td.remoteAddress, in TEST_F()
416 status = mNetd->ipSecRemoveTunnelInterface(td.deviceName); in TEST_F()
420 EXPECT_EQ(0U, if_nametoindex(td.deviceName.c_str())); in TEST_F()