Home
last modified time | relevance | path

Searched refs:foo (Results 1 – 25 of 30) sorted by relevance

12

/system/extras/ioshark/
Dcompile-only.sh11 fgrep -v '= -1' bar > foo
12 mv foo bar
29 fgrep android_fs_data $1 | sed 's/^.* \[.*\] //' | sed s/://g | sed s/,//g > foo
30 sed 's/android_fs_dataread_start/read/' foo > bar1
33 awk '{ print $2, "ftrace", $3, $5, $7, $9, $13 }' bar > foo
36 awk '{print $7}' foo | sort | uniq > pidlist
39 awk -v pid=$i '{ if (pid == $7) print $0}' foo > fstrace.$i
42 rm foo
62 process_strace $stracefile foo.$pid
63 if ! [ -s foo.$pid ]; then
[all …]
Dcollect-straces-ftraces.sh11 fgrep -v '= -1' bar > foo
12 mv foo bar
29 fgrep android_fs_data $1 | sed 's/^.* \[.*\] //' | sed s/://g | sed s/,//g > foo
31 sed 's/android_fs_dataread_start/read/' foo > bar1
34 awk '{ print $2, "ftrace", $3, $5, $7, $9, $13 }' bar > foo
38 awk '{print $7}' foo | sort | uniq > pidlist
41 awk -v pid=$i '{ if (pid == $7) print $0}' foo > fstrace.$i
44 rm foo
64 process_strace $stracefile foo.$pid
65 if ! [ -s foo.$pid ]; then
[all …]
Dcollect-straces.sh43 fgrep -v '= -1' bar > foo
49 awk -v begin="$begin_time" '{ printf "%f strace ", $1 - begin; $1=""; print $0}' foo > bar
/system/tools/hidl/test/java_test/
Dhidl_test_java_native.cpp107 IBase::Foo foo; in TEST_F() local
108 foo.x = 1; in TEST_F()
109 foo.y.z = 2.5; in TEST_F()
111foo.y.s = "Hello, world, \x46\x6F\x6F\x20\xC2\xA9\x20\x62\x61\x72\x20\xF0\x9D\x8C\x86\x20\x54\x72\… in TEST_F()
113 foo.aaa.resize(5); in TEST_F()
114 for (size_t i = 0; i < foo.aaa.size(); ++i) { in TEST_F()
115 foo.aaa[i].z = 1.0f + (float)i * 0.01f; in TEST_F()
116 foo.aaa[i].s = ("Hello, world " + std::to_string(i)).c_str(); in TEST_F()
121 foo, in TEST_F()
125 EXPECT_EQ(result.y.s.size(), foo.y.s.size()); in TEST_F()
[all …]
/system/media/brillo/audio/audioservice/test/
Dbrillo_audio_client_test.cpp59 std::vector<int> foo; in TEST_F() local
61 EXPECT_EQ(client_.GetDevices(0, foo), ECONNABORTED); in TEST_F()
86 std::vector<int> foo; in TEST_F() local
87 EXPECT_CALL(*bas_.get(), GetDevices(0, &foo)).WillOnce(Return(Status::ok())); in TEST_F()
88 EXPECT_EQ(client_.GetDevices(0, foo), 0); in TEST_F()
93 std::vector<int> foo; in TEST_F() local
176 int foo; in TEST_F() local
177 EXPECT_EQ(client_.GetMaxVolumeSteps(BAudioUsage::kUsageInvalid, &foo), in TEST_F()
183 int foo; in TEST_F() local
184 EXPECT_CALL(*bas_.get(), GetMaxVolumeSteps(AUDIO_STREAM_MUSIC, &foo)) in TEST_F()
[all …]
Dbrillo_audio_manager_test.cpp297 int foo; in TEST_F() local
302 BAudioManager_getMaxVolumeSteps(nullptr, BAudioUsage::kUsageMedia, &foo), in TEST_F()
311 int foo; in TEST_F() local
312 EXPECT_CALL(*bas_.get(), GetMaxVolumeSteps(AUDIO_STREAM_MUSIC, &foo)) in TEST_F()
315 BAudioManager_getMaxVolumeSteps(bam, BAudioUsage::kUsageMedia, &foo), 0); in TEST_F()
320 int foo; in TEST_F() local
323 BAudioManager_getMaxVolumeSteps(bam, BAudioUsage::kUsageMedia, &foo), in TEST_F()
383 int foo; in TEST_F() local
392 nullptr, BAudioUsage::kUsageMedia, device, &foo), in TEST_F()
395 bam, BAudioUsage::kUsageMedia, nullptr, &foo), in TEST_F()
[all …]
/system/core/libutils/tests/
DStrongPointer_test.cpp39 SPFoo* foo = new SPFoo(&isDeleted); in TEST() local
40 ASSERT_EQ(0, foo->getStrongCount()); in TEST()
42 sp<SPFoo> sp1(foo); in TEST()
43 ASSERT_EQ(1, foo->getStrongCount()); in TEST()
46 ASSERT_EQ(1, foo->getStrongCount()) << "std::move failed, incremented refcnt"; in TEST()
DRefBase_test.cpp50 Foo* foo = new Foo(&isDeleted); in TEST() local
51 ASSERT_EQ(INITIAL_STRONG_VALUE, foo->getStrongCount()); in TEST()
53 sp<Foo> sp1(foo); in TEST()
55 ASSERT_EQ(1, foo->getStrongCount()); in TEST()
57 ASSERT_EQ(2, foo->getWeakRefs()->getWeakCount()); in TEST()
60 ASSERT_EQ(1, foo->getStrongCount()) in TEST()
78 Foo* foo = new Foo(&isDeleted); in TEST() local
79 EXPECT_EQ(0, foo->getWeakRefs()->getWeakCount()); in TEST()
81 wp<Foo> wp1(foo); in TEST()
82 EXPECT_EQ(1, foo->getWeakRefs()->getWeakCount()); in TEST()
[all …]
/system/tools/hidl/test/java_test/src/com/android/commands/hidl_test_java/
DHidlTestJava.java261 IBase.Foo foo = new IBase.Foo(); in client() local
262 foo.x = 1; in client()
268 foo.aaa.add(bar); in client()
271 foo.y.z = 3.14f; in client()
272 foo.y.s = "Lorem ipsum..."; in client()
274 IBase.Foo result = proxy.someOtherBaseMethod(foo); in client()
275 ExpectTrue(result.equals(foo)); in client()
281 IBase.Foo foo = new IBase.Foo(); in client() local
282 foo.x = 1; in client()
288 foo.aaa.add(bar); in client()
[all …]
/system/tools/aidl/tests/
Dtest_data_string_constants.cpp29 const String EXAMPLE_CONSTANT = "foo";
99 public static final String EXAMPLE_CONSTANT = "foo";
144 static const ::android::String16 value("foo");
/system/tools/hidl/test/
Dhidl_test_client.cpp82 using ::android::hardware::tests::foo::V1_0::Abc;
83 using ::android::hardware::tests::foo::V1_0::IFoo;
84 using ::android::hardware::tests::foo::V1_0::IFooCallback;
85 using ::android::hardware::tests::foo::V1_0::ISimple;
86 using ::android::hardware::tests::foo::V1_0::implementation::FooCallback;
271 Return<void> rule0c(const ::android::hardware::tests::foo::V1_0::Outer&) override { in rule0c()
275 Return<void> rule0d(const ::android::hardware::tests::foo::V1_0::Outer&) override { in rule0d()
289 Return<void> rule0g(const ::android::hardware::tests::foo::V1_0::Outer::Inner&) override { in rule0g()
293 Return<void> rule0h(const ::android::hardware::tests::foo::V1_0::Outer::Inner&) override { in rule0h()
301 Return<void> rule1b(const ::android::hardware::tests::foo::V1_0::Def&) override { in rule1b()
[all …]
DAndroid.bp23 "android.hardware.tests.foo@1.0",
41 "android.hardware.tests.foo@1.0-impl",
64 "android.hardware.tests.foo@1.0",
DFooCallback.h12 namespace foo {
16 using ::android::hardware::tests::foo::V1_0::IFooCallback;
DFooCallback.cpp13 namespace foo { namespace
/system/security/keystore/
Dtest-keystore208 keystore system u foo
215 keystore system p foo
237 keystore system p foo
250 keystore system p foo
/system/libhidl/transport/base/1.0/
DIBase.hal41 * package android.hardware.foo@1.0;
45 * ["android.hardware.foo@1.0::IChild",
46 * "android.hardware.foo@1.0::IParent"
57 * package android.hardware.foo@1.0;
61 * "android.hardware.foo@1.0::IChild"
124 * package android.hardware.foo@1.0;
/system/update_engine/payload_consumer/
Ddownload_action_unittest.cc205 const char* foo = "foo"; in TEST() local
206 small.insert(small.end(), foo, foo + strlen(foo)); in TEST()
238 const char* foo = "foofoo"; in TEST() local
239 small.insert(small.end(), foo, foo + strlen(foo)); in TEST()
/system/tools/hidl/c2hal/test/
Dsimple.h66 void (*doDump)(int foo, char *buff, int buff_len);
/system/libhidl/transport/manager/1.0/
DIServiceManager.hal62 * add("my_instance", foo); // foo implements IFoo
114 * notifications from "android.hardware.foo@1.0", they must also get
115 * notifications from "android.hardware.foo@1.1". If a matching service
/system/tools/aidl/docs/
Dconstants.md24 const String CONST_A = "foo";
Daidl-cpp.md112 package foo;
124 namespace foo {
151 #include "foo/BnFoo.h"
155 class MyFoo : public foo::BnFoo {
210 // Generator will assume bar/foo.h declares class
212 parcelable ExampleParcelable cpp_header "bar/foo.h";
/system/tools/hidl/test/errors/syntax/1.0/
DIEx1.hal39 // foo = NonExistentEnum, // can't recover from this yet
/system/core/base/
Dlogging_test.cpp68 R"(Check failed: "foo" == "bar")"); in TEST()
100 R"(DCheck failed: "foo" == "bar")"); in TEST()
/system/sepolicy/private/
Duntrusted_app_all.te38 # running "adb install foo.apk".
/system/core/libutils/
DREADME217 To overlay the resource bool/b in package com.foo.bar, to be applied
223 LOCAL_AAPT_FLAGS := -o com.foo.bar

12