Lines Matching defs:id
107 int id = 0;
111 EXPECT_EQ(client_.RegisterAudioCallback(callback, &id), 0);
112 EXPECT_NE(id, 0);
120 int id = -1;
125 EXPECT_EQ(client_.RegisterAudioCallback(callback, &id), 0);
126 EXPECT_NE(id, 0);
127 id = -1;
128 EXPECT_EQ(client_.RegisterAudioCallback(callback, &id), EINVAL);
129 EXPECT_EQ(id, 0);
137 int id = 0;
141 EXPECT_EQ(client_.RegisterAudioCallback(callback, &id), 0);
142 EXPECT_NE(id, 0);
146 EXPECT_EQ(client_.UnregisterAudioCallback(id), 0);